Created page with "* * EveryCRT Advanced Search Styles *: Container: .crt-search-wrapper { display: flex; gap: 24px; max-width: 1400px; margin: 0 auto; padding: 16px; } Mobile filter toggle: .crt-mobile-filter-toggle { display: none; width: 100%; padding: 12px 16px; background: #2a2a2e; border: 1px solid #3a3a3e; border-radius: 8px; color: #fff; font-size: 16px; cursor: pointer; margin-bottom: 16px; } .crt-mob..."
 
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
/**
/**
  * EveryCRT Advanced Search Styles
  * EveryCRT Advanced Search Styles
  *  
  * Light mode is default; dark mode applied via skin-theme-clientpref-night class
  */
  */
/* Utility cards (above search) */
.crt-card-subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
}


/* Container */
/* Container */
Line 18: Line 24:
     width: 100%;
     width: 100%;
     padding: 12px 16px;
     padding: 12px 16px;
     background: #2a2a2e;
     background: #fff;
     border: 1px solid #3a3a3e;
     border: 1px solid #ccc;
     border-radius: 8px;
     border-radius: 8px;
     color: #fff;
     color: #333;
     font-size: 16px;
     font-size: 16px;
     cursor: pointer;
     cursor: pointer;
Line 28: Line 34:


.crt-mobile-filter-toggle:hover {
.crt-mobile-filter-toggle:hover {
     background: #3a3a3e;
     background: #f0f0f0;
}
}


Line 39: Line 45:
     width: 280px;
     width: 280px;
     flex-shrink: 0;
     flex-shrink: 0;
     background: #1a1a1e;
     background: #f8f8f8;
    border: 1px solid #ddd;
     border-radius: 12px;
     border-radius: 12px;
    padding: 16px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
     position: sticky;
     position: sticky;
     top: 80px;
     top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
}
}


Line 52: Line 60:
     justify-content: space-between;
     justify-content: space-between;
     align-items: center;
     align-items: center;
     margin-bottom: 16px;
     padding: 16px;
     padding-bottom: 12px;
     border-bottom: 1px solid #ddd;
     border-bottom: 1px solid #3a3a3e;
     flex-shrink: 0;
}
}


Line 60: Line 68:
     margin: 0;
     margin: 0;
     font-size: 18px;
     font-size: 18px;
     color: #fff;
     color: #333;
}
 
.crt-mobile-close-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
 
.crt-mobile-close-btn:hover {
    color: #333;
}
}


Line 66: Line 89:
     padding: 6px 12px;
     padding: 6px 12px;
     background: transparent;
     background: transparent;
     border: 1px solid #666;
     border: 1px solid #aaa;
     border-radius: 6px;
     border-radius: 6px;
     color: #999;
     color: #666;
     font-size: 12px;
     font-size: 12px;
     cursor: pointer;
     cursor: pointer;
Line 75: Line 98:


.crt-reset-btn:hover {
.crt-reset-btn:hover {
     background: #333;
     background: #e8e8e8;
     color: #fff;
     color: #333;
     border-color: #888;
     border-color: #888;
}
}


/* Filter Sections */
/* Scrollable filters body */
.crt-filters-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: visible;
    padding: 12px;
    min-height: 0;
}
 
/* Filter sections */
.crt-filter-section {
.crt-filter-section {
     margin-bottom: 8px;
     background: #fff;
     background: #2a2a2e;
     border: 1px solid #e0e0e0;
     border-radius: 8px;
     border-radius: 8px;
     overflow: hidden;
    margin-bottom: 12px;
     overflow: visible;
}
 
.crt-filter-section:last-child {
    margin-bottom: 0;
}
}


Line 92: Line 129:
     justify-content: space-between;
     justify-content: space-between;
     align-items: center;
     align-items: center;
     padding: 12px 16px;
     padding: 12px 14px;
     cursor: pointer;
     cursor: pointer;
     user-select: none;
     background: #6B5B95;
    border-radius: 8px 8px 0 0;
    transition: background 0.2s;
}
 
.crt-filter-section.collapsed .crt-section-header {
    border-radius: 8px;
}
}


.crt-section-header:hover {
.crt-section-header:hover {
     background: #333;
     background: #5a4a84;
}
}


.crt-section-title {
.crt-section-title {
     font-weight: 600;
     font-weight: 600;
    font-size: 13px;
     color: #fff;
     color: #fff;
    font-size: 14px;
}
}


.crt-section-toggle {
.crt-section-toggle {
     color: #888;
     color: rgba(255, 255, 255, 0.8);
     font-size: 12px;
     font-size: 10px;
     transition: transform 0.2s;
     transition: transform 0.2s;
}
}
Line 118: Line 161:


.crt-section-content {
.crt-section-content {
     padding: 0 16px 16px;
     padding: 12px;
    background: #fff;
    border-radius: 0 0 8px 8px;
}
}


Line 125: Line 170:
}
}


/* Filter Items */
/* Filter items */
.crt-filter-item {
.crt-filter-item {
     margin-bottom: 12px;
     margin-bottom: 12px;
Line 137: Line 182:
     display: block;
     display: block;
     font-size: 12px;
     font-size: 12px;
     color: #aaa;
     color: #555;
     margin-bottom: 6px;
     margin-bottom: 4px;
}
 
/* Select inputs */
.crt-filter-select {
    width: 100%;
    padding: 8px 12px;
    background: #1a1a1e;
    border: 1px solid #3a3a3e;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
 
.crt-filter-select:hover {
    border-color: #4a4a4e;
}
}


.crt-filter-select:focus {
.crt-filter-select,
    outline: none;
    border-color: #0088ff;
}
 
/* Number inputs */
.crt-filter-number {
.crt-filter-number {
     width: 100%;
     width: 100%;
     padding: 8px 12px;
     padding: 8px 10px;
     background: #1a1a1e;
     background: #fff;
     border: 1px solid #3a3a3e;
     border: 1px solid #ccc;
     border-radius: 6px;
     border-radius: 6px;
     color: #fff;
     color: #333;
     font-size: 14px;
     font-size: 13px;
    box-sizing: border-box;
}
}


.crt-filter-select:focus,
.crt-filter-number:focus {
.crt-filter-number:focus {
    border-color: #6B5B95;
     outline: none;
     outline: none;
    border-color: #0088ff;
}
}


.crt-filter-number::placeholder {
.crt-filter-number::placeholder {
     color: #666;
     color: #999;
}
}


/* Range inputs */
/* Checkbox styles */
.crt-range-inputs {
.crt-checkbox-item {
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 8px;
     gap: 8px;
    padding: 6px 0;
}
}


.crt-range-inputs input {
.crt-checkbox-item input[type="checkbox"] {
     flex: 1;
     width: 16px;
     min-width: 0;
     height: 16px;
    cursor: pointer;
}
}


.crt-range-sep {
    color: #666;
}
/* Checkbox inputs */
.crt-checkbox-label {
.crt-checkbox-label {
     display: flex !important;
     font-size: 13px;
    align-items: center;
     color: #333;
     gap: 8px;
     cursor: pointer;
     cursor: pointer;
    font-size: 14px !important;
    color: #ddd !important;
}
}


.crt-filter-checkbox {
/* Multi-select widget */
    width: 18px;
    height: 18px;
    accent-color: #0088ff;
    cursor: pointer;
}
 
/* Multiselect */
.crt-multiselect {
.crt-multiselect {
     position: relative;
     position: relative;
}
}


.crt-multiselect-selected {
.crt-multiselect-container {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 6px;
     gap: 4px;
     margin-bottom: 8px;
     min-height: 36px;
     min-height: 0;
    padding: 4px 8px;
     background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: text;
    align-items: center;
}
}


.crt-multiselect-tag {
.crt-multiselect-tag {
     display: inline-flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 6px;
     gap: 4px;
     padding: 4px 8px;
     padding: 2px 6px;
     background: #0066cc;
     background: #6B5B95;
     border-radius: 4px;
     border-radius: 4px;
     font-size: 12px;
     font-size: 12px;
Line 239: Line 257:
}
}


.crt-tag-remove {
.crt-multiselect-tag-remove {
     cursor: pointer;
     cursor: pointer;
     opacity: 0.7;
     opacity: 0.7;
     font-size: 14px;
     font-size: 14px;
    line-height: 1;
}
}


.crt-tag-remove:hover {
.crt-multiselect-tag-remove:hover {
     opacity: 1;
     opacity: 1;
}
}


.crt-multiselect-input {
.crt-multiselect-input {
     width: 100%;
     flex: 1;
     padding: 8px 12px;
     min-width: 80px;
    background: #1a1a1e;
     border: none;
     border: 1px solid #3a3a3e;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}
 
.crt-multiselect-input:focus {
     outline: none;
     outline: none;
     border-color: #0088ff;
     font-size: 13px;
    padding: 4px 0;
    background: transparent;
    color: #333;
}
}


.crt-multiselect-input::placeholder {
.crt-multiselect-input::placeholder {
     color: #666;
     color: #999;
}
}


.crt-multiselect-dropdown {
.crt-multiselect-dropdown {
    display: none;
     position: absolute;
     position: absolute;
     top: 100%;
     top: 100%;
Line 276: Line 290:
     max-height: 200px;
     max-height: 200px;
     overflow-y: auto;
     overflow-y: auto;
     background: #1a1a1e;
     background: #fff;
     border: 1px solid #3a3a3e;
     border: 1px solid #ccc;
     border-top: none;
     border-radius: 6px;
     border-radius: 0 0 6px 6px;
    margin-top: 4px;
     z-index: 100;
    z-index: 1000;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
     display: none;
}
}


.crt-multiselect-dropdown.visible {
.crt-multiselect.open .crt-multiselect-dropdown {
     display: block;
     display: block;
}
}


.crt-multiselect-option {
.crt-multiselect-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 8px;
     gap: 8px;
    padding: 8px 12px;
     color: #333;
    cursor: pointer;
    font-size: 13px;
     color: #ddd;
}
}


.crt-multiselect-option:hover {
.crt-multiselect-option:hover {
     background: #2a2a2e;
     background: #f0f0f0;
}
}


.crt-multiselect-option.selected {
.crt-multiselect-option.selected {
     background: #0066cc33;
     background: rgba(107, 91, 149, 0.15);
}
}


.crt-option-check {
.crt-option-check {
     width: 16px;
     color: #6B5B95;
     color: #0088ff;
     font-size: 12px;
}
}


Line 313: Line 329:
     padding: 12px;
     padding: 12px;
     text-align: center;
     text-align: center;
     color: #666;
     color: #999;
     font-size: 13px;
     font-size: 13px;
}
}


/* Apply button */
/* Apply button (hidden on desktop with auto-apply) */
.crt-apply-filters {
.crt-apply-filters {
     margin-top: 16px;
     display: none;
     padding-top: 16px;
     padding: 12px;
     border-top: 1px solid #3a3a3e;
     border-top: 1px solid #ddd;
    background: #f8f8f8;
    flex-shrink: 0;
}
}


.crt-apply-btn {
.crt-apply-btn {
     width: 100%;
     width: 100%;
     padding: 12px 16px;
     padding: 10px;
     background: #0088ff;
     background: #6B5B95;
     border: none;
     border: none;
     border-radius: 8px;
     border-radius: 6px;
     color: #fff;
     color: #fff;
     font-size: 14px;
     font-size: 14px;
     font-weight: 600;
     font-weight: 500;
     cursor: pointer;
     cursor: pointer;
     transition: background 0.2s;
     transition: background 0.2s;
Line 338: Line 356:


.crt-apply-btn:hover {
.crt-apply-btn:hover {
     background: #0077dd;
     background: #5a4a84;
}
}


/* Results Area */
/* Results area */
.crt-search-results {
.crt-search-results {
     flex: 1;
     flex: 1;
Line 351: Line 369:
     justify-content: space-between;
     justify-content: space-between;
     align-items: center;
     align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 12px;
     gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #3a3a3e;
}
}


.crt-results-count {
.crt-results-count {
     font-size: 14px;
     font-size: 14px;
     color: #aaa;
     color: #666;
}
}


Line 366: Line 384:
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 16px;
     gap: 12px;
}
}


Line 377: Line 395:
.crt-results-sort label {
.crt-results-sort label {
     font-size: 13px;
     font-size: 13px;
     color: #888;
     color: #666;
}
}


.crt-results-sort select {
.crt-results-sort select {
     padding: 6px 10px;
     padding: 6px 10px;
     background: #2a2a2e;
     background: #fff;
     border: 1px solid #3a3a3e;
     border: 1px solid #ccc;
     border-radius: 6px;
     border-radius: 6px;
     color: #fff;
     color: #333;
     font-size: 13px;
     font-size: 13px;
    cursor: pointer;
}
}


Line 397: Line 414:
.crt-view-btn {
.crt-view-btn {
     padding: 6px 10px;
     padding: 6px 10px;
     background: #2a2a2e;
     background: #fff;
     border: 1px solid #3a3a3e;
     border: 1px solid #ccc;
     border-radius: 6px;
     border-radius: 6px;
     color: #888;
     color: #666;
    font-size: 16px;
     cursor: pointer;
     cursor: pointer;
    font-size: 14px;
     transition: all 0.2s;
     transition: all 0.2s;
}
}


.crt-view-btn:hover {
.crt-view-btn:hover {
     background: #333;
     background: #f0f0f0;
     color: #fff;
     color: #333;
}
}


.crt-view-btn.active {
.crt-view-btn.active {
     background: #0066cc;
     background: #6B5B95;
     border-color: #0066cc;
     border-color: #6B5B95;
     color: #fff;
     color: #fff;
}
}


/* Active Filters */
/* Active filters display */
.crt-active-filters {
.crt-active-filters {
     display: flex;
     display: flex;
Line 426: Line 443:


.crt-active-filter {
.crt-active-filter {
     display: inline-flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 6px;
     gap: 6px;
     padding: 6px 10px;
     padding: 4px 10px;
     background: #2a2a2e;
     background: #f0f0f0;
     border: 1px solid #3a3a3e;
     border: 1px solid #ddd;
     border-radius: 6px;
     border-radius: 16px;
     font-size: 12px;
     font-size: 12px;
     color: #ddd;
     color: #333;
}
}


.crt-af-label {
.crt-af-label {
     color: #888;
     color: #666;
}
}


Line 445: Line 462:
     color: #888;
     color: #888;
     font-size: 14px;
     font-size: 14px;
     margin-left: 2px;
     line-height: 1;
}
}


.crt-af-remove:hover {
.crt-af-remove:hover {
     color: #ff6666;
     color: #c44;
}
}


.crt-clear-all-filters {
.crt-clear-all-filters {
     padding: 6px 12px;
     padding: 4px 12px;
     background: transparent;
     background: transparent;
     border: 1px solid #666;
     border: 1px solid #aaa;
     border-radius: 6px;
     border-radius: 16px;
     color: #888;
     color: #666;
     font-size: 12px;
     font-size: 12px;
     cursor: pointer;
     cursor: pointer;
Line 463: Line 480:


.crt-clear-all-filters:hover {
.crt-clear-all-filters:hover {
     background: #333;
     background: #e8e8e8;
     color: #fff;
     color: #333;
}
}


/* Results Grid */
/* Results grid */
.crt-results-grid {
.crt-results-grid {
     display: grid;
     display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
     gap: 16px;
     gap: 16px;
}
.crt-results-grid.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
}


Line 481: Line 495:
}
}


/* Result Cards */
/* Result cards */
.crt-result-card {
.crt-result-card {
     display: block;
     display: block;
     background: #2a2a2e;
     background: #fff;
     border-radius: 12px;
    border: 1px solid #e0e0e0;
     border-radius: 10px;
     overflow: hidden;
     overflow: hidden;
     text-decoration: none;
     text-decoration: none;
    color: inherit;
     transition: all 0.2s;
     transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
}


.crt-result-card:hover {
.crt-result-card:hover {
     transform: translateY(-4px);
     transform: translateY(-2px);
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
}


.grid-view .crt-card-image {
.crt-card-image {
     aspect-ratio: 4/3;
     position: relative;
     background: #1a1a1e;
     padding-bottom: 75%; /* 4:3 aspect ratio */
    display: flex;
     background: #f5f5f5;
     align-items: center;
    justify-content: center;
     overflow: hidden;
     overflow: hidden;
}
}


.grid-view .crt-card-image img {
.crt-card-image img {
    position: absolute;
    top: 0;
    left: 0;
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
Line 513: Line 529:


.crt-no-image {
.crt-no-image {
     display: flex;
     position: absolute;
     align-items: center;
     top: 50%;
     justify-content: center;
     left: 50%;
     width: 100%;
     transform: translate(-50%, -50%);
    height: 100%;
    color: #444;
     font-size: 48px;
     font-size: 48px;
    color: #ccc;
}
}


Line 531: Line 546:
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     letter-spacing: 0.5px;
     margin-bottom: 4px;
     margin-bottom: 2px;
}
}


.crt-card-title {
.crt-card-title {
     font-size: 14px;
     font-size: 15px;
     font-weight: 600;
     font-weight: 600;
     color: #fff;
     color: #333;
     margin-bottom: 8px;
     margin-bottom: 8px;
    line-height: 1.3;
}
}


Line 545: Line 559:
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 6px;
     gap: 4px;
}
}


.crt-card-meta span {
.crt-card-meta span {
    display: inline-block;
     padding: 2px 6px;
     padding: 2px 6px;
     background: #1a1a1e;
     background: #f0f0f0;
     border-radius: 4px;
     border-radius: 4px;
     font-size: 11px;
     font-size: 11px;
     color: #aaa;
     color: #666;
}
}


.crt-meta-type {
.crt-meta-type {
     background: #0066cc33 !important;
     background: rgba(107, 91, 149, 0.15) !important;
     color: #66aaff !important;
     color: #6B5B95 !important;
}
}


/* List view adjustments */
/* List view specific styles */
.list-view .crt-result-card {
.crt-results-grid.list-view .crt-result-card {
     display: flex;
     display: flex;
     align-items: center;
     flex-direction: row;
}
}


.list-view .crt-card-image {
.crt-results-grid.list-view .crt-card-image {
     width: 120px;
     width: 120px;
    min-width: 120px;
    padding-bottom: 0;
     height: 90px;
     height: 90px;
    flex-shrink: 0;
}
     background: #1a1a1e;
 
.crt-results-grid.list-view .crt-card-info {
     flex: 1;
     display: flex;
     display: flex;
     align-items: center;
     flex-direction: column;
     justify-content: center;
     justify-content: center;
}
}


.list-view .crt-card-image img {
/* Pagination */
     max-width: 100%;
.crt-pagination {
     max-height: 100%;
    display: flex;
     object-fit: contain;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
     padding-top: 24px;
     border-top: 1px solid #ddd;
     flex-wrap: wrap;
}
}


.list-view .crt-no-image {
.crt-pagination-info {
     font-size: 32px;
     font-size: 13px;
    color: #666;
    margin-right: 16px;
}
}


.list-view .crt-card-info {
.crt-page-btn {
     flex: 1;
     min-width: 36px;
     display: flex;
    height: 36px;
     align-items: center;
    padding: 0 12px;
     gap: 16px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
     color: #333;
     font-size: 13px;
     cursor: pointer;
    transition: all 0.2s;
}
 
.crt-page-btn:hover {
    background: #f0f0f0;
    border-color: #aaa;
}
}


.list-view .crt-card-brand {
.crt-page-btn.active {
     display: none;
     background: #6B5B95;
    border-color: #6B5B95;
    color: #fff;
}
}


.list-view .crt-card-title {
.crt-page-btn:disabled {
     margin: 0;
     opacity: 0.5;
     min-width: 200px;
     cursor: not-allowed;
}
}


.list-view .crt-card-meta {
.crt-page-ellipsis {
     margin: 0;
     padding: 0 4px;
    color: #999;
}
}


/* Loading State */
/* Loading state */
.crt-loading {
.crt-loading {
     display: flex;
     display: flex;
Line 614: Line 653:
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     padding: 64px;
     padding: 48px;
     color: #888;
     color: #666;
}
}


Line 621: Line 660:
     width: 40px;
     width: 40px;
     height: 40px;
     height: 40px;
     border: 3px solid #333;
     border: 3px solid #ddd;
     border-top-color: #0088ff;
     border-top-color: #6B5B95;
     border-radius: 50%;
     border-radius: 50%;
     animation: spin 0.8s linear infinite;
     animation: spin 0.8s linear infinite;
Line 632: Line 671:
}
}


.crt-loading-text {
/* No results state */
    font-size: 14px;
}
 
/* No Results */
.crt-no-results {
.crt-no-results {
     text-align: center;
     text-align: center;
     padding: 64px 32px;
     padding: 48px;
     color: #888;
     color: #666;
}
}


Line 646: Line 681:
     font-size: 64px;
     font-size: 64px;
     margin-bottom: 16px;
     margin-bottom: 16px;
    opacity: 0.3;
}
}


Line 652: Line 686:
     font-size: 18px;
     font-size: 18px;
     margin-bottom: 8px;
     margin-bottom: 8px;
     color: #aaa;
     color: #555;
}
}


Line 660: Line 694:


.crt-no-results-hint a {
.crt-no-results-hint a {
     color: #0088ff;
     color: #6B5B95;
}
}


/* Error State */
/* Error state */
.crt-error {
.crt-error {
     text-align: center;
     text-align: center;
     padding: 64px 32px;
     padding: 48px;
     color: #ff6666;
     color: #c44;
}
}


Line 675: Line 709:
}
}


.crt-error-text {
/* Mobile responsive */
    font-size: 16px;
}
 
/* Pagination */
.crt-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #3a3a3e;
}
 
.crt-pagination-info {
    font-size: 13px;
    color: #888;
}
 
.crt-pagination-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}
 
.crt-page-btn {
    padding: 8px 12px;
    background: #2a2a2e;
    border: 1px solid #3a3a3e;
    border-radius: 6px;
    color: #ddd;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
 
.crt-page-btn:hover {
    background: #333;
    border-color: #4a4a4e;
}
 
.crt-page-btn.active {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}
 
.crt-page-prev,
.crt-page-next {
    font-weight: 500;
}
 
.crt-page-ellipsis {
    color: #666;
    padding: 0 8px;
}
 
/* Mobile Styles */
@media (max-width: 900px) {
@media (max-width: 900px) {
     .crt-search-wrapper {
     .crt-search-wrapper {
         flex-direction: column;
         flex-direction: column;
    }
    .crt-card-subtitle {
        display: none;
    }
    .crt-mobile-filter-toggle {
        display: block;
     }
     }
      
      
     .crt-mobile-filter-toggle {
     .crt-mobile-close-btn {
         display: flex;
         display: block;
        align-items: center;
        justify-content: center;
     }
     }
      
      
     .crt-search-filters {
     .crt-search-filters {
         display: none;
         display: none;
        width: 100%;
         position: fixed;
         position: fixed;
         top: 0;
         top: 0;
Line 753: Line 735:
         right: 0;
         right: 0;
         bottom: 0;
         bottom: 0;
         width: 100%;
         height: 100vh;
         max-height: none;
         max-height: none;
         border-radius: 0;
         border-radius: 0;
         z-index: 1000;
         z-index: 10000;
         padding-top: 60px;
         background: #f8f8f8;
        flex-direction: column;
     }
     }
      
      
     .crt-search-filters.visible {
     .crt-search-filters.mobile-open {
         display: block;
         display: flex;
    }
   
    .crt-filters-body {
        flex: 1 1 0;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
     }
     }
      
      
     .crt-filters-header {
     .crt-apply-filters {
         position: fixed;
         display: block;
        top: 0;
        left: 0;
        right: 0;
        background: #1a1a1e;
        padding: 16px;
        margin: 0;
        border-bottom: 1px solid #3a3a3e;
        z-index: 1;
     }
     }
      
      
     .crt-results-grid.grid-view {
     .crt-results-grid {
         grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
         grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
     }
     }
      
      
     .list-view .crt-card-info {
     .crt-results-header {
         flex-direction: column;
         flex-direction: column;
         align-items: flex-start;
         align-items: flex-start;
        gap: 8px;
     }
     }
}
}


@media (max-width: 600px) {
@media (max-width: 480px) {
     .crt-results-grid.grid-view {
     .crt-results-grid {
         grid-template-columns: repeat(2, 1fr);
         grid-template-columns: 1fr 1fr;
         gap: 12px;
         gap: 10px;
     }
     }
      
      
     .crt-card-info {
     .crt-card-info {
         padding: 10px;
         padding: 8px;
     }
     }
      
      
Line 800: Line 781:
         font-size: 13px;
         font-size: 13px;
     }
     }
      
}
     .crt-results-header {
 
         flex-direction: column;
/* Notifications */
         align-items: stretch;
.crt-notifications {
    position: fixed;
     top: 60px;
    right: 20px;
    z-index: 1000;
     max-width: 400px;
}
 
.crt-notification {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #1e1e22;
    border: 1px solid #3a3a3e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}
 
@keyframes slideIn {
    from {
         opacity: 0;
         transform: translateX(20px);
     }
     }
      
     to {
    .crt-results-controls {
        opacity: 1;
         justify-content: space-between;
         transform: translateX(0);
     }
     }
}
}


/* Light mode overrides (for non-dark theme wikis) */
.crt-notification-warning {
.skin-theme-clientpref-day .crt-search-filters,
    border-color: #f59e0b;
.skin-theme-clientpref-day .crt-filter-section {
    background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
     background: #f5f5f5;
}
 
.crt-notification-error {
    border-color: #ef4444;
    background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
}
 
.crt-notification-info {
    border-color: #3b82f6;
}
 
.crt-notification-icon {
    flex-shrink: 0;
    font-size: 16px;
}
 
.crt-notification-message {
    flex: 1;
    font-size: 14px;
    color: #e5e5e5;
    line-height: 1.4;
}
 
.crt-notification-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
 
.crt-notification-close:hover {
    color: #fff;
}
 
 
 
 
 
/* ============================================
  DARK MODE OVERRIDES
  Applied when .skin-theme-clientpref-night is on html
  ============================================ */
 
html.skin-theme-clientpref-night .crt-mobile-filter-toggle {
    background: #2a2a2e;
    border-color: #3a3a3e;
    color: #fff;
}
 
html.skin-theme-clientpref-night .crt-mobile-filter-toggle:hover {
    background: #3a3a3e;
}
 
html.skin-theme-clientpref-night .crt-mobile-close-btn {
    color: #aaa;
}
 
html.skin-theme-clientpref-night .crt-mobile-close-btn:hover {
    color: #fff;
}
 
html.skin-theme-clientpref-night .crt-search-filters {
    background: #1a1a1e;
    border-color: #3a3a3e;
}
 
html.skin-theme-clientpref-night .crt-filters-header {
    border-bottom-color: #3a3a3e;
}
 
html.skin-theme-clientpref-night .crt-filters-header h2 {
    color: #fff;
}
 
html.skin-theme-clientpref-night .crt-reset-btn {
    border-color: #666;
    color: #999;
}
 
html.skin-theme-clientpref-night .crt-reset-btn:hover {
    background: #333;
    color: #fff;
    border-color: #888;
}
 
html.skin-theme-clientpref-night .crt-filter-section {
    background: #2a2a2e;
    border-color: #3a3a3e;
}
 
html.skin-theme-clientpref-night .crt-section-header {
    background: #3a3a3e;
}
 
html.skin-theme-clientpref-night .crt-section-header:hover {
    background: #4a4a4e;
}
 
html.skin-theme-clientpref-night .crt-section-content {
    background: #2a2a2e;
}
 
html.skin-theme-clientpref-night .crt-filter-item label {
    color: #aaa;
}
 
html.skin-theme-clientpref-night .crt-filter-select,
html.skin-theme-clientpref-night .crt-filter-number {
    background: #1a1a1e;
    border-color: #4a4a4e;
    color: #fff;
}
 
html.skin-theme-clientpref-night .crt-filter-select:focus,
html.skin-theme-clientpref-night .crt-filter-number:focus {
    border-color: #6B5B95;
}
 
html.skin-theme-clientpref-night .crt-filter-number::placeholder {
    color: #666;
}
 
html.skin-theme-clientpref-night .crt-checkbox-label {
    color: #ccc;
}
 
html.skin-theme-clientpref-night .crt-multiselect-container {
    background: #1a1a1e;
    border-color: #4a4a4e;
}
 
html.skin-theme-clientpref-night .crt-multiselect-input {
    color: #fff;
}
 
html.skin-theme-clientpref-night .crt-multiselect-input::placeholder {
    color: #666;
}
 
html.skin-theme-clientpref-night .crt-multiselect-dropdown {
    background: #2a2a2e;
    border-color: #4a4a4e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
 
html.skin-theme-clientpref-night .crt-multiselect-option {
    color: #fff;
}
 
html.skin-theme-clientpref-night .crt-multiselect-option:hover {
    background: #3a3a3e;
}
 
html.skin-theme-clientpref-night .crt-multiselect-option.selected {
    background: rgba(107, 91, 149, 0.3);
}
 
html.skin-theme-clientpref-night .crt-apply-filters {
    background: #1a1a1e;
    border-top-color: #3a3a3e;
}
 
html.skin-theme-clientpref-night .crt-results-header {
    border-bottom-color: #3a3a3e;
}
 
html.skin-theme-clientpref-night .crt-results-count {
    color: #aaa;
}
 
html.skin-theme-clientpref-night .crt-results-sort label {
    color: #aaa;
}
 
html.skin-theme-clientpref-night .crt-results-sort select {
    background: #2a2a2e;
    border-color: #4a4a4e;
    color: #fff;
}
 
html.skin-theme-clientpref-night .crt-view-btn {
    background: #2a2a2e;
    border-color: #4a4a4e;
    color: #aaa;
}
 
html.skin-theme-clientpref-night .crt-view-btn:hover {
    background: #3a3a3e;
    color: #fff;
}
 
html.skin-theme-clientpref-night .crt-view-btn.active {
    background: #6B5B95;
    border-color: #6B5B95;
    color: #fff;
}
 
html.skin-theme-clientpref-night .crt-active-filter {
    background: #2a2a2e;
    border-color: #4a4a4e;
    color: #fff;
}
 
html.skin-theme-clientpref-night .crt-af-label {
    color: #888;
}
 
html.skin-theme-clientpref-night .crt-af-remove {
    color: #888;
}
 
html.skin-theme-clientpref-night .crt-af-remove:hover {
    color: #f66;
}
 
html.skin-theme-clientpref-night .crt-clear-all-filters {
    border-color: #666;
    color: #aaa;
}
 
html.skin-theme-clientpref-night .crt-clear-all-filters:hover {
    background: #333;
    color: #fff;
}
 
html.skin-theme-clientpref-night .crt-result-card {
    background: #2a2a2e;
    border-color: #3a3a3e;
    box-shadow: none;
}
 
html.skin-theme-clientpref-night .crt-result-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
 
html.skin-theme-clientpref-night .crt-card-image {
    background: #1a1a1e;
}
 
html.skin-theme-clientpref-night .crt-no-image {
    color: #4a4a4e;
}
 
html.skin-theme-clientpref-night .crt-card-brand {
    color: #888;
}
 
html.skin-theme-clientpref-night .crt-card-title {
    color: #fff;
}
 
html.skin-theme-clientpref-night .crt-card-meta span {
    background: #3a3a3e;
    color: #aaa;
}
 
html.skin-theme-clientpref-night .crt-meta-type {
     background: rgba(107, 91, 149, 0.3) !important;
    color: #a99bc9 !important;
}
}


.skin-theme-clientpref-day .crt-section-header:hover {
html.skin-theme-clientpref-night .crt-pagination {
     background: #eee;
     border-top-color: #3a3a3e;
}
}


.skin-theme-clientpref-day .crt-section-title,
html.skin-theme-clientpref-night .crt-pagination-info {
.skin-theme-clientpref-day .crt-card-title {
     color: #aaa;
     color: #222;
}
}


.skin-theme-clientpref-day .crt-filter-select,
html.skin-theme-clientpref-night .crt-page-btn {
.skin-theme-clientpref-day .crt-filter-number,
     background: #2a2a2e;
.skin-theme-clientpref-day .crt-multiselect-input,
     border-color: #4a4a4e;
.skin-theme-clientpref-day .crt-multiselect-dropdown {
     color: #fff;
     background: #fff;
     border-color: #ddd;
     color: #222;
}
}


.skin-theme-clientpref-day .crt-result-card {
html.skin-theme-clientpref-night .crt-page-btn:hover {
     background: #fff;
     background: #3a3a3e;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
     border-color: #5a5a5e;
}
}


.skin-theme-clientpref-day .crt-card-image {
html.skin-theme-clientpref-night .crt-page-btn.active {
     background: #f5f5f5;
     background: #6B5B95;
    border-color: #6B5B95;
}
}


.skin-theme-clientpref-day .crt-card-meta span {
html.skin-theme-clientpref-night .crt-page-ellipsis {
    background: #eee;
     color: #666;
     color: #666;
}
}


.skin-theme-clientpref-day .crt-page-btn {
html.skin-theme-clientpref-night .crt-loading {
     background: #f5f5f5;
    color: #aaa;
     border-color: #ddd;
}
     color: #222;
 
html.skin-theme-clientpref-night .crt-spinner {
     border-color: #4a4a4e;
     border-top-color: #6B5B95;
}
 
html.skin-theme-clientpref-night .crt-no-results {
    color: #aaa;
}
 
html.skin-theme-clientpref-night .crt-no-results-text {
     color: #ccc;
}
}


.skin-theme-clientpref-day .crt-page-btn:hover {
html.skin-theme-clientpref-night .crt-no-results-hint a {
     background: #eee;
     color: #a99bc9;
}
}

Latest revision as of 06:29, 19 February 2026

/**
 * EveryCRT Advanced Search Styles
 * Light mode is default; dark mode applied via skin-theme-clientpref-night class
 */

/* Utility cards (above search) */
.crt-card-subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Container */
.crt-search-wrapper {
    display: flex;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px;
}

/* Mobile filter toggle */
.crt-mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 16px;
}

.crt-mobile-filter-toggle:hover {
    background: #f0f0f0;
}

.crt-mobile-filter-toggle .crt-filter-icon {
    margin-right: 8px;
}

/* Filters Sidebar */
.crt-search-filters {
    width: 280px;
    flex-shrink: 0;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 12px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
}

.crt-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
}

.crt-filters-header h2 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.crt-mobile-close-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.crt-mobile-close-btn:hover {
    color: #333;
}

.crt-reset-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #aaa;
    border-radius: 6px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.crt-reset-btn:hover {
    background: #e8e8e8;
    color: #333;
    border-color: #888;
}

/* Scrollable filters body */
.crt-filters-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: visible;
    padding: 12px;
    min-height: 0;
}

/* Filter sections */
.crt-filter-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: visible;
}

.crt-filter-section:last-child {
    margin-bottom: 0;
}

.crt-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    cursor: pointer;
    background: #6B5B95;
    border-radius: 8px 8px 0 0;
    transition: background 0.2s;
}

.crt-filter-section.collapsed .crt-section-header {
    border-radius: 8px;
}

.crt-section-header:hover {
    background: #5a4a84;
}

.crt-section-title {
    font-weight: 600;
    font-size: 13px;
    color: #fff;
}

.crt-section-toggle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    transition: transform 0.2s;
}

.crt-filter-section.collapsed .crt-section-toggle {
    transform: rotate(-90deg);
}

.crt-section-content {
    padding: 12px;
    background: #fff;
    border-radius: 0 0 8px 8px;
}

.crt-filter-section.collapsed .crt-section-content {
    display: none;
}

/* Filter items */
.crt-filter-item {
    margin-bottom: 12px;
}

.crt-filter-item:last-child {
    margin-bottom: 0;
}

.crt-filter-item label {
    display: block;
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
}

.crt-filter-select,
.crt-filter-number {
    width: 100%;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #333;
    font-size: 13px;
    box-sizing: border-box;
}

.crt-filter-select:focus,
.crt-filter-number:focus {
    border-color: #6B5B95;
    outline: none;
}

.crt-filter-number::placeholder {
    color: #999;
}

/* Checkbox styles */
.crt-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.crt-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.crt-checkbox-label {
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

/* Multi-select widget */
.crt-multiselect {
    position: relative;
}

.crt-multiselect-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 36px;
    padding: 4px 8px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: text;
    align-items: center;
}

.crt-multiselect-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    background: #6B5B95;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
}

.crt-multiselect-tag-remove {
    cursor: pointer;
    opacity: 0.7;
    font-size: 14px;
    line-height: 1;
}

.crt-multiselect-tag-remove:hover {
    opacity: 1;
}

.crt-multiselect-input {
    flex: 1;
    min-width: 80px;
    border: none;
    outline: none;
    font-size: 13px;
    padding: 4px 0;
    background: transparent;
    color: #333;
}

.crt-multiselect-input::placeholder {
    color: #999;
}

.crt-multiselect-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 4px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
}

.crt-multiselect.open .crt-multiselect-dropdown {
    display: block;
}

.crt-multiselect-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.crt-multiselect-option:hover {
    background: #f0f0f0;
}

.crt-multiselect-option.selected {
    background: rgba(107, 91, 149, 0.15);
}

.crt-option-check {
    color: #6B5B95;
    font-size: 12px;
}

.crt-multiselect-empty {
    padding: 12px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* Apply button (hidden on desktop with auto-apply) */
.crt-apply-filters {
    display: none;
    padding: 12px;
    border-top: 1px solid #ddd;
    background: #f8f8f8;
    flex-shrink: 0;
}

.crt-apply-btn {
    width: 100%;
    padding: 10px;
    background: #6B5B95;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.crt-apply-btn:hover {
    background: #5a4a84;
}

/* Results area */
.crt-search-results {
    flex: 1;
    min-width: 0;
}

.crt-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
    gap: 12px;
}

.crt-results-count {
    font-size: 14px;
    color: #666;
}

.crt-results-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crt-results-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.crt-results-sort label {
    font-size: 13px;
    color: #666;
}

.crt-results-sort select {
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #333;
    font-size: 13px;
}

.crt-view-toggle {
    display: flex;
    gap: 4px;
}

.crt-view-btn {
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.crt-view-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.crt-view-btn.active {
    background: #6B5B95;
    border-color: #6B5B95;
    color: #fff;
}

/* Active filters display */
.crt-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.crt-active-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 12px;
    color: #333;
}

.crt-af-label {
    color: #666;
}

.crt-af-remove {
    cursor: pointer;
    color: #888;
    font-size: 14px;
    line-height: 1;
}

.crt-af-remove:hover {
    color: #c44;
}

.crt-clear-all-filters {
    padding: 4px 12px;
    background: transparent;
    border: 1px solid #aaa;
    border-radius: 16px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

.crt-clear-all-filters:hover {
    background: #e8e8e8;
    color: #333;
}

/* Results grid */
.crt-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.crt-results-grid.list-view {
    grid-template-columns: 1fr;
}

/* Result cards */
.crt-result-card {
    display: block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.crt-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.crt-card-image {
    position: relative;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    background: #f5f5f5;
    overflow: hidden;
}

.crt-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.crt-no-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: #ccc;
}

.crt-card-info {
    padding: 12px;
}

.crt-card-brand {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.crt-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.crt-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.crt-card-meta span {
    padding: 2px 6px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 11px;
    color: #666;
}

.crt-meta-type {
    background: rgba(107, 91, 149, 0.15) !important;
    color: #6B5B95 !important;
}

/* List view specific styles */
.crt-results-grid.list-view .crt-result-card {
    display: flex;
    flex-direction: row;
}

.crt-results-grid.list-view .crt-card-image {
    width: 120px;
    min-width: 120px;
    padding-bottom: 0;
    height: 90px;
}

.crt-results-grid.list-view .crt-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Pagination */
.crt-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
    flex-wrap: wrap;
}

.crt-pagination-info {
    font-size: 13px;
    color: #666;
    margin-right: 16px;
}

.crt-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.crt-page-btn:hover {
    background: #f0f0f0;
    border-color: #aaa;
}

.crt-page-btn.active {
    background: #6B5B95;
    border-color: #6B5B95;
    color: #fff;
}

.crt-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.crt-page-ellipsis {
    padding: 0 4px;
    color: #999;
}

/* Loading state */
.crt-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    color: #666;
}

.crt-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #ddd;
    border-top-color: #6B5B95;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* No results state */
.crt-no-results {
    text-align: center;
    padding: 48px;
    color: #666;
}

.crt-no-results-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.crt-no-results-text {
    font-size: 18px;
    margin-bottom: 8px;
    color: #555;
}

.crt-no-results-hint {
    font-size: 14px;
}

.crt-no-results-hint a {
    color: #6B5B95;
}

/* Error state */
.crt-error {
    text-align: center;
    padding: 48px;
    color: #c44;
}

.crt-error-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* Mobile responsive */
@media (max-width: 900px) {
    .crt-search-wrapper {
        flex-direction: column;
    }

    .crt-card-subtitle {
        display: none;
    }

    .crt-mobile-filter-toggle {
        display: block;
    }
    
    .crt-mobile-close-btn {
        display: block;
    }
    
    .crt-search-filters {
        display: none;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        max-height: none;
        border-radius: 0;
        z-index: 10000;
        background: #f8f8f8;
        flex-direction: column;
    }
    
    .crt-search-filters.mobile-open {
        display: flex;
    }
    
    .crt-filters-body {
        flex: 1 1 0;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .crt-apply-filters {
        display: block;
    }
    
    .crt-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .crt-results-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .crt-results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .crt-card-info {
        padding: 8px;
    }
    
    .crt-card-title {
        font-size: 13px;
    }
}

/* Notifications */
.crt-notifications {
    position: fixed;
    top: 60px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.crt-notification {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #1e1e22;
    border: 1px solid #3a3a3e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.crt-notification-warning {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
}

.crt-notification-error {
    border-color: #ef4444;
    background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
}

.crt-notification-info {
    border-color: #3b82f6;
}

.crt-notification-icon {
    flex-shrink: 0;
    font-size: 16px;
}

.crt-notification-message {
    flex: 1;
    font-size: 14px;
    color: #e5e5e5;
    line-height: 1.4;
}

.crt-notification-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.crt-notification-close:hover {
    color: #fff;
}





/* ============================================
   DARK MODE OVERRIDES
   Applied when .skin-theme-clientpref-night is on html
   ============================================ */

html.skin-theme-clientpref-night .crt-mobile-filter-toggle {
    background: #2a2a2e;
    border-color: #3a3a3e;
    color: #fff;
}

html.skin-theme-clientpref-night .crt-mobile-filter-toggle:hover {
    background: #3a3a3e;
}

html.skin-theme-clientpref-night .crt-mobile-close-btn {
    color: #aaa;
}

html.skin-theme-clientpref-night .crt-mobile-close-btn:hover {
    color: #fff;
}

html.skin-theme-clientpref-night .crt-search-filters {
    background: #1a1a1e;
    border-color: #3a3a3e;
}

html.skin-theme-clientpref-night .crt-filters-header {
    border-bottom-color: #3a3a3e;
}

html.skin-theme-clientpref-night .crt-filters-header h2 {
    color: #fff;
}

html.skin-theme-clientpref-night .crt-reset-btn {
    border-color: #666;
    color: #999;
}

html.skin-theme-clientpref-night .crt-reset-btn:hover {
    background: #333;
    color: #fff;
    border-color: #888;
}

html.skin-theme-clientpref-night .crt-filter-section {
    background: #2a2a2e;
    border-color: #3a3a3e;
}

html.skin-theme-clientpref-night .crt-section-header {
    background: #3a3a3e;
}

html.skin-theme-clientpref-night .crt-section-header:hover {
    background: #4a4a4e;
}

html.skin-theme-clientpref-night .crt-section-content {
    background: #2a2a2e;
}

html.skin-theme-clientpref-night .crt-filter-item label {
    color: #aaa;
}

html.skin-theme-clientpref-night .crt-filter-select,
html.skin-theme-clientpref-night .crt-filter-number {
    background: #1a1a1e;
    border-color: #4a4a4e;
    color: #fff;
}

html.skin-theme-clientpref-night .crt-filter-select:focus,
html.skin-theme-clientpref-night .crt-filter-number:focus {
    border-color: #6B5B95;
}

html.skin-theme-clientpref-night .crt-filter-number::placeholder {
    color: #666;
}

html.skin-theme-clientpref-night .crt-checkbox-label {
    color: #ccc;
}

html.skin-theme-clientpref-night .crt-multiselect-container {
    background: #1a1a1e;
    border-color: #4a4a4e;
}

html.skin-theme-clientpref-night .crt-multiselect-input {
    color: #fff;
}

html.skin-theme-clientpref-night .crt-multiselect-input::placeholder {
    color: #666;
}

html.skin-theme-clientpref-night .crt-multiselect-dropdown {
    background: #2a2a2e;
    border-color: #4a4a4e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

html.skin-theme-clientpref-night .crt-multiselect-option {
    color: #fff;
}

html.skin-theme-clientpref-night .crt-multiselect-option:hover {
    background: #3a3a3e;
}

html.skin-theme-clientpref-night .crt-multiselect-option.selected {
    background: rgba(107, 91, 149, 0.3);
}

html.skin-theme-clientpref-night .crt-apply-filters {
    background: #1a1a1e;
    border-top-color: #3a3a3e;
}

html.skin-theme-clientpref-night .crt-results-header {
    border-bottom-color: #3a3a3e;
}

html.skin-theme-clientpref-night .crt-results-count {
    color: #aaa;
}

html.skin-theme-clientpref-night .crt-results-sort label {
    color: #aaa;
}

html.skin-theme-clientpref-night .crt-results-sort select {
    background: #2a2a2e;
    border-color: #4a4a4e;
    color: #fff;
}

html.skin-theme-clientpref-night .crt-view-btn {
    background: #2a2a2e;
    border-color: #4a4a4e;
    color: #aaa;
}

html.skin-theme-clientpref-night .crt-view-btn:hover {
    background: #3a3a3e;
    color: #fff;
}

html.skin-theme-clientpref-night .crt-view-btn.active {
    background: #6B5B95;
    border-color: #6B5B95;
    color: #fff;
}

html.skin-theme-clientpref-night .crt-active-filter {
    background: #2a2a2e;
    border-color: #4a4a4e;
    color: #fff;
}

html.skin-theme-clientpref-night .crt-af-label {
    color: #888;
}

html.skin-theme-clientpref-night .crt-af-remove {
    color: #888;
}

html.skin-theme-clientpref-night .crt-af-remove:hover {
    color: #f66;
}

html.skin-theme-clientpref-night .crt-clear-all-filters {
    border-color: #666;
    color: #aaa;
}

html.skin-theme-clientpref-night .crt-clear-all-filters:hover {
    background: #333;
    color: #fff;
}

html.skin-theme-clientpref-night .crt-result-card {
    background: #2a2a2e;
    border-color: #3a3a3e;
    box-shadow: none;
}

html.skin-theme-clientpref-night .crt-result-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

html.skin-theme-clientpref-night .crt-card-image {
    background: #1a1a1e;
}

html.skin-theme-clientpref-night .crt-no-image {
    color: #4a4a4e;
}

html.skin-theme-clientpref-night .crt-card-brand {
    color: #888;
}

html.skin-theme-clientpref-night .crt-card-title {
    color: #fff;
}

html.skin-theme-clientpref-night .crt-card-meta span {
    background: #3a3a3e;
    color: #aaa;
}

html.skin-theme-clientpref-night .crt-meta-type {
    background: rgba(107, 91, 149, 0.3) !important;
    color: #a99bc9 !important;
}

html.skin-theme-clientpref-night .crt-pagination {
    border-top-color: #3a3a3e;
}

html.skin-theme-clientpref-night .crt-pagination-info {
    color: #aaa;
}

html.skin-theme-clientpref-night .crt-page-btn {
    background: #2a2a2e;
    border-color: #4a4a4e;
    color: #fff;
}

html.skin-theme-clientpref-night .crt-page-btn:hover {
    background: #3a3a3e;
    border-color: #5a5a5e;
}

html.skin-theme-clientpref-night .crt-page-btn.active {
    background: #6B5B95;
    border-color: #6B5B95;
}

html.skin-theme-clientpref-night .crt-page-ellipsis {
    color: #666;
}

html.skin-theme-clientpref-night .crt-loading {
    color: #aaa;
}

html.skin-theme-clientpref-night .crt-spinner {
    border-color: #4a4a4e;
    border-top-color: #6B5B95;
}

html.skin-theme-clientpref-night .crt-no-results {
    color: #aaa;
}

html.skin-theme-clientpref-night .crt-no-results-text {
    color: #ccc;
}

html.skin-theme-clientpref-night .crt-no-results-hint a {
    color: #a99bc9;
}
MediaWiki Appliance - Powered by TurnKey Linux