
/* ==== VARSITY SCHEDULE CUSTOM STYLES ==== */
.schedule-hero {
    background: #0a192f;
    padding: 4rem 0 8rem;
    color: white;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.hero-info {
    flex: 1;
    min-width: 300px;
}

.sub-header {
    font-size: 0.9rem;
    color: #94a3b8;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.season-label {
    font-size: 1.2rem;
    color: #cbd5e1;
    font-weight: 600;
    display: block;
    margin-bottom: 2.5rem;
}

.next-game-header {
    font-size: 0.8rem;
    color: #94a3b8;
    letter-spacing: 0.2em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.opponent-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.game-details {
    display: flex;
    gap: 1.5rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
}

.game-details i {
    color: #4169E1;
    margin-right: 0.3rem;
}

/* HERO COUNTDOWN */
.hero-countdown {
    background: rgba(255,255,255,0.03);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.countdown-wrapper {
    display: flex;
    gap: 1rem;
}

.timer-block {
    text-align: center;
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 0.5rem;
    min-width: 80px;
}

.timer-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.timer-label {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    font-weight: 700;
}

/* RECORDS FLOATING CARD */
.records-section {
    max-width: 1400px;
    margin: -4rem auto 3rem;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.records-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.record-item {
    padding: 1.5rem 1rem;
    text-align: center;
    border-right: 1px solid #e2e8f0;
}
.record-item:last-child {
    border-right: none;
}

.record-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.record-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

@media screen and (max-width: 1024px) {
    .records-card {
        grid-template-columns: repeat(4, 1fr);
    }
    .record-item:nth-child(n+5) {
        border-top: 1px solid #e2e8f0;
    }
}

@media screen and (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .game-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    .countdown-wrapper {
        flex-wrap: wrap;
    }
    .records-card {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Toolbar & Container */
.schedule-container {
    max-width: 1400px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

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

.toolbar-left {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-tool {
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-smooth);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.btn-tool i {
    color: var(--text-dark);
}

.btn-tool:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.season-picker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.season-select {
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--header-bg);
    appearance: none;
    cursor: pointer;
    background: white url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%230f172a'%20stroke-width%3D'3'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpolyline%20points%3D'6%209%2012%2015%2018%209'%2F%3E%3C%2Fsvg%3E") no-repeat right 0.8rem center;
    background-size: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.view-toggles {
    display: flex;
    background: #f1f5f9;
    border-radius: 6px;
    padding: 0.25rem;
    gap: 0.25rem;
}

.btn-view {
    background: transparent;
    border: none;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: #64748b;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-view.active {
    background: #2563EB;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* MONTH HEADERS */
.month-header {
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: #0f172a;
    margin: 2.5rem 0 1rem;
    text-transform: uppercase;
}

.month-line {
    width: 4px;
    height: 1.2rem;
    background: #2563EB;
    margin-right: 0.8rem;
    border-radius: 2px;
}

/* GAME CARDS */
.game-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    margin-bottom: 1.25rem;
    display: flex;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.game-card.home::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #2563EB; /* The thick blue border indicator */
}

.card-left {
    flex: 1;
    padding: 1.8rem 2rem 1.8rem 2.5rem; /* Extra left padding for the blue bar */
    display: flex;
    flex-direction: column;
}



.game-date {
    font-size: 0.75rem;
    font-weight: 800;
    color: #2563EB;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
}

.game-opp {
    font-size: 1.4rem;
    font-weight: 900;
    color: #000;
    letter-spacing: 0.02em;
    margin-bottom: 0.8rem;
}

.game-loc-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.game-loc {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #2563EB;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 20px; /* Oval shape */
    transition: all 0.2s;
}

.btn-directions:hover {
    background: rgba(79, 70, 229, 0.05);
}

.game-subtitles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.game-type {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

/* Conference game badge */
.badge-conf {
    display: inline-block;
    background: #1e3a8a;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    line-height: 1.2;
}

/* List view CONF badge — slightly smaller */
.col-type .badge-conf {
    font-size: 0.58rem;
    padding: 0.2rem 0.5rem;
}

.game-note {
    font-size: 0.85rem;
    font-weight: 500;
    color: #2563EB;
}

.card-right {
    width: 250px;
    min-width: 250px;
    padding: 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    border-left: 1px solid #f1f5f9;
}

.game-result-block {
    text-align: right;
}

.game-score {
    font-size: 1.4rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 0.2rem;
}

.game-status {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.game-links {
    display: flex;
    gap: 0.6rem;
}

.btn-link-outline {
    background: white;
    border: 1px solid var(--border-color);
    color: #334155;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-link-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}


/* ==== LIST VIEW (Table style matching screenshot) ==== */
.list-table-container {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    overflow: hidden;
    margin-bottom: 2rem;
}

.list-table-header {
    display: flex;
    padding: 1rem 1.5rem;
    background: transparent;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.list-table-row {
    display: flex;
    padding: 1.25rem 1.5rem 1.25rem 1.15rem;
    border-bottom: 1px solid #e2e8f0;
    align-items: center;
    background: white;
    transition: background 0.2s;
}

.list-table-row:last-child {
    border-bottom: none;
}

.list-table-row:hover {
    background: #f8fafc;
}

.col-date {
    width: 200px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.col-opp {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 900;
    color: #000;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.col-loc {
    width: 320px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.col-type {
    width: 150px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.col-res {
    width: 150px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #000;
}

@media screen and (max-width: 768px) {
    .main-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    .game-card {
        flex-direction: column;
    }
    .card-left {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    .game-card.home::before, .game-card.away::before, .game-card.neutral::before {
        width: 4px;
    }
    .card-right {
        width: 100%;
        min-width: 100%;
        padding: 1rem 1.5rem 1.5rem 1.5rem;
        flex-direction: row;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        align-items: center;
    }
    .game-result-block {
        text-align: left;
    }
    .list-table-container {
        overflow-x: auto;
    }
    .list-table-header,
    .list-table-row {
        min-width: 800px;
    }
    .schedule-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Print Tweaks */

/* ==== PRINT STYLES ==== */
@media print {
    @page {
        margin: 0.5in;
        size: auto;
    }
    
    body {
        background: white !important;
        color: black !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Hide layout cruft */
    .sticky-header-wrapper,
    .premium-footer,
    .schedule-toolbar,
    .btn-directions,
    .game-links,
    .hero-countdown,
    .records-section,
    .sub-header,
    .season-picker {
        display: none !important;
    }
    
    /* Let the true title show, but reformat it for print */
    .schedule-hero {
        background: transparent !important;
        padding: 1rem 0 !important;
        color: black !important;
    }
    .main-title {
        color: black !important;
        font-size: 2rem !important;
        text-align: center;
        margin-bottom: 0 !important;
    }
    .season-label {
        color: #333 !important;
        text-align: center;
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .schedule-container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Force the list wrapper to be visible and unconstrained */
    #wrapperCardView { display: none !important; }
    #wrapperListView { display: block !important; }
    
    /* Scale List View Table */
    .list-table-container {
        border: 1px solid #000 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        overflow-x: visible !important;
        width: 100% !important;
    }
    .list-table-header, .list-table-row {
        min-width: 0 !important;
        width: 100% !important;
        page-break-inside: avoid;
        padding: 0.5rem !important;
        border-bottom: 1px solid #ccc !important;
    }
    .list-table-header {
        font-size: 0.65rem !important;
        background: #f8fafc !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    /* Squish columns so they fit without horizontal scroll */
    .col-date { width: 15% !important; font-size: 0.75rem !important; }
    .col-opp { flex: 1 !important; font-size: 0.85rem !important; }
    .col-loc { width: 25% !important; font-size: 0.75rem !important; }
    .col-type { width: 12% !important; font-size: 0.7rem !important; }
    .col-res { width: 10% !important; font-size: 0.75rem !important; text-align: right; }
    .badge-conf { background: none !important; color: #000 !important; border: 1px solid #000 !important; }
    
    /* Scale Card View (if active) */
    .game-card {
        page-break-inside: avoid;
        border: none !important;
        border-bottom: 1px solid #000 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin-bottom: 0 !important;
    }
    .game-card.home::before { display: none !important; }
    .card-left { padding: 0.5rem 0 !important; }
    .card-right {
        border-left: none !important;
        padding: 0.5rem 0 0.5rem 1rem !important;
        width: auto !important;
        min-width: auto !important;
    }
    .game-date, .game-opp, .game-loc, .game-score { color: black !important; }
}

.game-card.away::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #94a3b8;
}

.game-card.neutral::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #facc15;
}

