/* ==========================================================================
   exam_time_table.css — Sneh Shikshan Avam Manav Seva Sansthan (Rewa, MP)
   Professional PDF Exam Time Table Page
   ========================================================================== */

:root {
    --orange:        #ffa500;
    --orange-dark:   #e69500;
    --navy:          #1a2c4e;
    --navy-dark:     #0f1c34;
    --navy-light:    #2a3f66;
    --white:         #ffffff;
    --text-dark:     #222222;
    --text-muted:    #667085;
    --bg-soft:       #f7f9fc;
    --green:         #10b981;
    --blue:          #3b82f6;
    --red:           #ef4444;
    --shadow-sm:     0 2px 10px rgba(0, 0, 0, 0.06);
    --shadow-md:     0 6px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg:     0 12px 40px rgba(0, 0, 0, 0.15);
    --radius:        14px;
}

/* -------------------- Utility -------------------- */
.section-pad { padding: 70px 0; }

.section-tag {
    display: inline-block;
    background: rgba(255, 165, 0, 0.15);
    color: var(--orange-dark);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.25;
}

.section-sub {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-head { margin-bottom: 30px; }

/* -------------------- Buttons -------------------- */
.btn-brand {
    background: var(--orange);
    color: var(--white) !important;
    font-weight: 700;
    border: 2px solid var(--orange);
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 14.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.btn-brand:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 44, 78, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

/* ==========================================================================
   PAGE HERO
   ========================================================================== */
.page-hero {
    position: relative;
    min-height: 280px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 0;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255, 165, 0, 0.20), transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(255, 165, 0, 0.15), transparent 45%);
    pointer-events: none;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(255,255,255,0.03) 0 20px,
            transparent 20px 40px);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin: 0 0 14px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.page-breadcrumb {
    justify-content: center;
    margin: 0;
    background: transparent;
    padding: 0;
}

.page-breadcrumb .breadcrumb-item,
.page-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.page-breadcrumb .breadcrumb-item a:hover { color: var(--orange); }
.page-breadcrumb .breadcrumb-item.active { color: var(--orange); font-weight: 700; }

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    line-height: 1;
}

.page-breadcrumb i { margin-right: 4px; }

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats-strip {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 35px 0;
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: "";
    position: absolute;
    top: -50px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stats-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    padding: 10px;
    transition: transform 0.3s ease;
}

.stats-item:hover { transform: translateY(-3px); }

.stats-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.35);
}

.stats-info { text-align: left; }

.stats-info h3 {
    font-size: 30px;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 2px;
    line-height: 1;
}

.stats-info p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   ETT SECTION
   ========================================================================== */
.ett-section { background: var(--bg-soft); }

/* -------------------- Toolbar -------------------- */
.ett-toolbar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.ett-search {
    flex: 1;
    min-width: 240px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-soft);
    border: 1.5px solid #e5e9f0;
    border-radius: 50px;
    padding: 9px 20px;
    transition: all 0.3s ease;
    position: relative;
}

.ett-search:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.15);
    background: var(--white);
}

.ett-search-icon {
    color: var(--orange);
    font-size: 16px;
    flex-shrink: 0;
}

.ett-search-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 14.5px;
    color: var(--navy);
    padding: 3px 0;
}

.ett-search-input::placeholder { color: #9ca3af; }

.ett-search-clear {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    padding: 4px;
    cursor: pointer;
    display: none;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.25s ease;
}

.ett-search-clear:hover {
    color: var(--red);
    background: rgba(239, 68, 68, 0.1);
}

.ett-search-clear.visible { display: inline-flex; }

.ett-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ett-filter {
    background: var(--bg-soft);
    border: 1.5px solid transparent;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ett-filter i { color: var(--orange); font-size: 13px; transition: color 0.25s; }

.ett-filter:hover {
    background: rgba(255, 165, 0, 0.12);
    color: var(--orange-dark);
}

.ett-filter.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(255, 165, 0, 0.35);
}

.ett-filter.active i { color: var(--white); }

.ett-filter-count {
    background: rgba(26, 44, 78, 0.10);
    color: var(--navy);
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
    line-height: 1.5;
}

.ett-filter.active .ett-filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

/* Results Info */
.ett-results {
    color: var(--text-muted);
    font-size: 13.5px;
    margin-bottom: 20px;
    padding: 0 4px;
}

.ett-results b { color: var(--navy); font-weight: 700; }

/* ==========================================================================
   TIMETABLE GRID
   ========================================================================== */
.ett-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 24px;
}

/* -------------------- Card -------------------- */
.ett-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1.5px solid #eef1f6;
    height: 100%;
}

.ett-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--card-color, var(--orange));
}

.ett-card.is-latest {
    border-color: var(--orange);
    box-shadow: 0 8px 24px rgba(255, 165, 0, 0.15);
}

/* Card Head */
.ett-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fff8ec 0%, #ffffff 100%);
    border-bottom: 1px solid #eef1f6;
    position: relative;
}

.ett-head-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--card-color, var(--orange));
    color: var(--white);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ett-head-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.ett-type-badge {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.ett-latest-badge,
.ett-new-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 30px;
    width: fit-content;
    letter-spacing: 0.4px;
}

.ett-latest-badge {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    animation: ettPulse 2s ease-in-out infinite;
}

.ett-new-badge {
    background: var(--green);
    color: var(--white);
}

@keyframes ettPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.5); }
    50%      { box-shadow: 0 0 0 6px rgba(255, 165, 0, 0); }
}

.ett-id-badge {
    color: var(--text-muted);
    font-size: 11.5px;
    font-weight: 700;
    background: var(--bg-soft);
    padding: 4px 10px;
    border-radius: 8px;
    flex-shrink: 0;
}

/* PDF Preview */
.ett-card-preview {
    position: relative;
    height: 140px;
    background: linear-gradient(135deg, #eef1f6 0%, #e1e7f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ett-pdf-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #ef4444;
    transition: transform 0.35s ease;
}

.ett-pdf-thumb i {
    font-size: 56px;
    filter: drop-shadow(0 6px 12px rgba(239, 68, 68, 0.3));
}

.ett-pdf-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--navy);
    background: var(--white);
    padding: 3px 12px;
    border-radius: 30px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.ett-card:hover .ett-pdf-thumb { transform: scale(1.05); }

.ett-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 44, 78, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ett-card:hover .ett-preview-overlay { opacity: 1; }

.ett-preview-btn {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(255, 165, 0, 0.5);
}

.ett-preview-btn:hover {
    background: var(--white);
    color: var(--orange-dark);
    transform: scale(1.05);
}

.ett-pdf-missing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

.ett-pdf-missing i {
    font-size: 34px;
    color: #cbd5e1;
}

/* Card Body */
.ett-card-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.ett-card-title {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.ett-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Meta Grid */
.ett-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px dashed #eef1f6;
    border-bottom: 1px dashed #eef1f6;
}

.ett-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ett-meta-item--full {
    grid-column: 1 / -1;
}

.ett-meta-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ett-meta-label i { color: var(--orange); font-size: 11.5px; }

.ett-meta-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Actions */
.ett-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}

.ett-btn {
    flex: 1;
    min-width: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.ett-btn i { font-size: 13.5px; }

.ett-btn--primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.ett-btn--primary i { color: var(--orange); transition: color 0.25s; }

.ett-btn--primary:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 165, 0, 0.4);
}

.ett-btn--primary:hover i { color: var(--white); }

.ett-btn--download {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.ett-btn--download:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 165, 0, 0.5);
}

.ett-btn--print {
    background: transparent;
    color: var(--navy);
    border-color: #d1d5db;
}

.ett-btn--print i { color: var(--orange); }

.ett-btn--print:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.ett-btn--print:hover i { color: var(--orange); }

/* Empty / No Results */
.ett-empty,
.ett-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--text-muted);
}

.ett-empty i,
.ett-no-results i {
    font-size: 60px;
    color: #cbd5e1;
    margin-bottom: 18px;
    display: inline-block;
}

.ett-empty h5,
.ett-no-results h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.ett-empty p,
.ett-no-results p { font-size: 14px; margin: 0; }

/* Note */
.list-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(255, 165, 0, 0.08);
    border-left: 4px solid var(--orange);
    border-radius: 10px;
    padding: 14px 20px;
    margin-top: 30px;
    font-size: 13.5px;
    color: #7c5b19;
    line-height: 1.6;
}

.list-note i {
    color: var(--orange);
    font-size: 17px;
    flex-shrink: 0;
    margin-top: 2px;
}

.list-note a {
    color: var(--orange-dark);
    font-weight: 700;
    text-decoration: none;
}

.list-note a:hover { text-decoration: underline; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 55px 0;
    color: var(--white);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--white);
}

.cta-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================================================
   PDF MODAL
   ========================================================================== */
.ett-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.ett-modal.open { display: flex; }

.ett-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 40, 0.85);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ett-modal.open .ett-modal-backdrop { opacity: 1; }

.ett-modal-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    max-width: 1100px;
    width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(0.94) translateY(20px);
    transition: transform 0.35s ease;
    z-index: 2;
}

.ett-modal.open .ett-modal-card {
    transform: scale(1) translateY(0);
}

.ett-modal-head {
    background: var(--navy);
    color: var(--white);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.ett-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.ett-modal-title-wrap i {
    color: #ef4444;
    font-size: 24px;
    flex-shrink: 0;
}

.ett-modal-title-wrap h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ett-modal-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ett-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.ett-modal-btn i { font-size: 14px; }

.ett-modal-btn--download {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.ett-modal-btn--download:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
}

.ett-modal-btn--print {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.ett-modal-btn--print:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.ett-modal-btn--close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: transparent;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
}

.ett-modal-btn--close:hover {
    background: var(--red);
    transform: rotate(90deg);
}

.ett-modal-body {
    flex: 1;
    background: #525659;
    position: relative;
    overflow: hidden;
}

.ett-modal-body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {

    .section-pad { padding: 50px 0; }
    .section-head { margin-bottom: 24px; }

    .page-hero { min-height: 220px; padding: 40px 0; }

    .stats-icon { width: 52px; height: 52px; font-size: 22px; }
    .stats-info h3 { font-size: 24px; }
    .stats-info p { font-size: 11.5px; }

    .ett-toolbar { padding: 14px 16px; }
    .ett-search { min-width: 100%; }

    .ett-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 18px;
    }

    .ett-card-head { padding: 14px 16px; gap: 10px; }
    .ett-head-icon { width: 40px; height: 40px; font-size: 18px; }
    .ett-card-preview { height: 120px; }
    .ett-pdf-thumb i { font-size: 48px; }

    .ett-modal-head { padding: 12px 16px; }
    .ett-modal-title-wrap h5 { font-size: 13.5px; }
    .ett-modal-btn span { display: none; }
    .ett-modal-btn { padding: 8px 12px; }
    .ett-modal-btn--close { width: 38px; height: 38px; }

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-buttons { justify-content: center; width: 100%; }
}

@media (max-width: 575.98px) {

    .section-pad { padding: 40px 0; }
    .section-title { font-size: 1.3rem; }
    .section-sub { font-size: 14px; margin-bottom: 26px; }

    .page-hero { min-height: 180px; padding: 30px 0; }
    .page-hero-title { font-size: 1.5rem; }

    .stats-item { gap: 10px; padding: 6px; }
    .stats-icon { width: 44px; height: 44px; font-size: 18px; }
    .stats-info h3 { font-size: 20px; }
    .stats-info p { font-size: 10.5px; }

    .ett-toolbar { padding: 12px 14px; gap: 10px; }
    .ett-search { padding: 8px 16px; }
    .ett-search-input { font-size: 13.5px; }

    .ett-filter { font-size: 11.5px; padding: 6px 12px; gap: 5px; }
    .ett-filter i { font-size: 11.5px; }
    .ett-filter-count { font-size: 9.5px; padding: 1px 6px; }

    .ett-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ett-card-preview { height: 110px; }
    .ett-pdf-thumb i { font-size: 42px; }
    .ett-pdf-label { font-size: 11px; padding: 2px 9px; }

    .ett-card-body { padding: 16px 16px 18px; gap: 12px; }
    .ett-card-title { font-size: 14.5px; min-height: auto; }

    .ett-meta-grid { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 0; }
    .ett-meta-label { font-size: 10px; }
    .ett-meta-value { font-size: 12px; }

    .ett-actions { gap: 6px; }
    .ett-btn { font-size: 11.5px; padding: 9px 10px; min-width: auto; }
    .ett-btn i { font-size: 12px; }

    .ett-modal { padding: 10px; }
    .ett-modal-card { height: 92vh; }
    .ett-modal-head { padding: 10px 14px; }
    .ett-modal-title-wrap i { font-size: 20px; }
    .ett-modal-title-wrap h5 { font-size: 12.5px; }
    .ett-modal-btn { padding: 6px 10px; font-size: 12px; }
    .ett-modal-btn--close { width: 34px; height: 34px; }

    .list-note { font-size: 12.5px; padding: 12px 14px; }
}

/* ==========================================================================
   PRINT (single timetable print)
   ========================================================================== */
@media print {
    .site-header, .topbar, .brandbar, .mainnav, .newsbar,
    .page-hero, .stats-strip, .ett-toolbar, .ett-results,
    .ett-actions, .ett-preview-overlay, .cta-section,
    .ett-modal, .list-note, .footer, footer {
        display: none !important;
    }

    body { padding-top: 0 !important; background: #fff !important; }
    .section-pad { padding: 10px 0 !important; }

    .ett-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ett-card { box-shadow: none !important; border: 1px solid #ccc !important; page-break-inside: avoid; }
}