/* ============================================================
   VIDYARTHIASTRA — MOCK TEST ENGINE STYLES
   ============================================================ */

.mock-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Header section */
.mock-header-banner {
    text-align: center;
    margin-bottom: 2.5rem;
}

.mock-header-banner h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.mock-header-banner p {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Catalog Grid */
.mock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.mock-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mock-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.mock-card-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    background: #e0e7ff;
    color: #3730a3;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.mock-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.mock-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.mock-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-start-test {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.btn-start-test:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Guest Lock Badge & Locked Button */
.mock-card-lock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 6px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

.btn-start-test.btn-guest-locked {
    background: #0f172a;
    color: #f8fafc;
    border: 1px solid #1e293b;
}

.btn-start-test.btn-guest-locked:hover {
    background: #1e293b;
    border-color: #334155;
    color: #ffffff;
}

.mock-card-languages {
    margin-top: 0.6rem;
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Active Test Layout */
.test-session-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .test-session-layout {
        grid-template-columns: 1fr;
    }
}

/* Test Control Bar */
.test-top-bar {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.test-title-info h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.test-timer-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.test-timer-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-family: monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.test-timer-pill.urgent {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* Question Area */
.test-question-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem;
}

.q-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1.25rem;
}

.q-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.q-marks-info {
    font-size: 0.85rem;
    color: #16a34a;
    font-weight: 600;
}

.q-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Options */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;
}

.option-item:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.option-item.selected {
    border-color: #2563eb;
    background: #eff6ff;
}

.option-radio {
    width: 20px;
    height: 20px;
    accent-color: #2563eb;
    cursor: pointer;
}

.option-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
}

.option-item.selected .option-label {
    background: #2563eb;
    color: #ffffff;
}

.option-text {
    font-size: 1rem;
    color: #334155;
    flex: 1;
}

/* Action Controls */
.test-actions-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.btn-secondary {
    padding: 0.65rem 1.2rem;
    border-radius: 9px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-secondary:hover {
    background: #f8fafc;
    color: #1e293b;
}

.btn-review {
    padding: 0.65rem 1.2rem;
    border-radius: 9px;
    border: 1px solid #c084fc;
    background: #faf5ff;
    color: #7e22ce;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-review.active {
    background: #7e22ce;
    color: #ffffff;
}

.btn-primary {
    padding: 0.65rem 1.3rem;
    border-radius: 9px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-submit-test {
    padding: 0.65rem 1.5rem;
    border-radius: 9px;
    border: none;
    background: #16a34a;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-submit-test:hover {
    background: #15803d;
}

/* Question Palette */
.palette-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.palette-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 0.25rem;
    margin-bottom: 1.5rem;
}

.palette-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s;
    position: relative;
}

.palette-btn.current {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.palette-btn.answered {
    background: #22c55e;
    color: #ffffff;
    border-color: #16a34a;
}

.palette-btn.unanswered {
    background: #ef4444;
    color: #ffffff;
    border-color: #dc2626;
}

.palette-btn.reviewed {
    background: #a855f7;
    color: #ffffff;
    border-color: #9333ea;
}

.palette-btn.reviewed-answered {
    background: #a855f7;
    color: #ffffff;
    border-color: #9333ea;
}

.palette-btn.reviewed-answered::after {
    content: '';
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.palette-legend {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

/* Result Card */
.result-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.score-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 4px solid #2563eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 2rem;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1;
}

.score-max {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 0.25rem;
}

.result-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-stat-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.stat-val {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-lbl {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-weight: 600;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   ACADEMIC RESULT DASHBOARD & PERFORMANCE ANALYSIS
   ============================================================ */
.result-dashboard {
    max-width: 1040px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.result-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.result-overview-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.result-overview-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
}

.score-percentage-pill {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0.35rem 0.85rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-top: -0.5rem;
}

.result-overview-right {
    flex: 1;
}

.analysis-section {
    margin-bottom: 2.5rem;
}

.section-title-wrapper {
    margin-bottom: 1.25rem;
}

.analysis-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.section-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 0.25rem;
    display: block;
}

/* Subject Cards Grid */
.subject-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.subject-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.subject-card:hover {
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.06);
}

.subject-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
}

.subject-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.subject-badge {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.subject-card-score-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

.subject-score-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e3a8a;
}

.subject-score-max {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.subject-stats-table {
    width: 100%;
    font-size: 0.88rem;
    border-collapse: collapse;
}

.subject-stats-table tr {
    border-bottom: 1px solid #f8fafc;
}

.subject-stats-table tr:last-child {
    border-bottom: none;
}

.subject-stats-table td {
    padding: 0.4rem 0;
    color: #64748b;
}

.subject-stats-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: #1e293b;
}

/* Chart Container Card */
.chart-container-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.chart-wrapper {
    width: 100%;
    overflow-x: auto;
}

/* Result Actions */
.result-actions-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* ============================================================
   REVIEW EXAM MODE STYLES
   ============================================================ */
.review-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.review-mode-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    text-transform: uppercase;
}

.review-summary-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.review-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    color: #64748b;
}

.review-pill.correct {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.review-pill.incorrect {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.review-pill.unattempted {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

.review-pill.dropped {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.review-top-actions {
    display: flex;
    gap: 0.5rem;
}

/* Review Filter Bar */
.review-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.5rem;
}

.review-filter-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.review-filter-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.review-filter-pills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.filter-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.filter-btn.correct.active {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

.filter-btn.incorrect.active {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

.filter-btn.unattempted.active {
    background: #64748b;
    border-color: #64748b;
    color: #ffffff;
}

/* Review Option Styling */
.review-options-list .option-item {
    cursor: default;
}

.review-option-item.student-correct {
    border-color: #16a34a !important;
    background: #f0fdf4 !important;
}

.review-option-item.student-correct .option-label {
    background: #16a34a !important;
    color: #ffffff !important;
}

.review-option-item.student-incorrect {
    border-color: #dc2626 !important;
    background: #fef2f2 !important;
}

.review-option-item.student-incorrect .option-label {
    background: #dc2626 !important;
    color: #ffffff !important;
}

/* Correct Answer Box (Shown only for incorrect questions) */
.rev-correct-box {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.rev-correct-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 0.35rem;
}

.rev-correct-text {
    font-size: 1rem;
    font-weight: 600;
    color: #14532d;
    line-height: 1.5;
}

/* Palette statuses */
.palette-btn.correct {
    background: #16a34a !important;
    color: #ffffff !important;
    border-color: #15803d !important;
}

.palette-btn.incorrect {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #b91c1c !important;
}

.palette-btn.unattempted {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-color: #cbd5e1 !important;
}

.palette-btn.dropped {
    background: #d97706 !important;
    color: #ffffff !important;
    border-color: #b45309 !important;
}

/* Badges */
.q-badge.status-correct {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.q-badge.status-incorrect {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.q-badge.status-unattempted {
    background: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}

.q-badge.status-dropped {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

/* ============================================================
   SEARCH, SORTING & CATALOG TOOLBAR
   ============================================================ */

.mock-catalog-toolbar {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.mock-search-wrapper {
    position: relative;
    flex: 1 1 360px;
    min-width: 260px;
    display: flex;
    align-items: center;
}

.mock-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.mock-search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 2.85rem;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.mock-search-input::-webkit-search-cancel-button {
    display: none;
}

.mock-search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.mock-search-clear-btn {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    background: #e2e8f0;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 1.2rem;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
    padding: 0;
}

.mock-search-clear-btn:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.mock-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.mock-sort-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.mock-sort-select {
    padding: 0.75rem 2.25rem 0.75rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 600;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 16px;
    appearance: none;
    -webkit-appearance: none;
    color: #1e293b;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 44px;
    box-sizing: border-box;
}

.mock-sort-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.mock-catalog-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.6rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #64748b;
}

.mock-results-count {
    font-weight: 600;
    color: #334155;
}

.mock-reset-filters-btn {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.mock-reset-filters-btn:hover {
    color: #1d4ed8;
}

/* Empty Search Results Card */
.mock-no-results-card {
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    padding: 3.5rem 1.5rem;
    text-align: center;
    margin: 2rem 0;
}

.mock-no-results-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    margin-bottom: 1rem;
}

.mock-no-results-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.mock-no-results-card p {
    color: #64748b;
    max-width: 480px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.55;
}

.btn-clear-search-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn-clear-search-action:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Card Badges: Year & Shift */
.mock-card-year-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    letter-spacing: 0.03em;
}

.mock-card-shift-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .mock-catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .mock-search-wrapper {
        width: 100%;
        min-width: 0;
    }

    .mock-sort-wrapper {
        width: 100%;
        justify-content: space-between;
    }

    .mock-sort-select {
        flex: 1;
        min-width: 0;
    }

    .mock-catalog-stats-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .result-overview-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.25rem;
    }
    .result-actions-bar {
        flex-direction: column;
    }
    .review-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .review-filter-bar {
        flex-direction: column;
    }
}
