/* ==========================================================
   Schedule Component  —  sc-sched
   Dark, branded design.
   ========================================================== */

/* ── Container ──────────────────────────────────────────── */
.sc-sched {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    color: #fff;
}

/* ── Navigation ─────────────────────────────────────────── */
.sc-sched__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.sc-sched__tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Arrow buttons */
.sc-sched__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #C61818;
    background: transparent;
    color: #C61818;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    padding: 0;
    flex-shrink: 0;
    padding-bottom: 5px;
}

.sc-sched__arrow--next {
    padding-left:1;
}

.sc-sched__arrow--prev {
    padding-right:3px;
}

.sc-sched__arrow:hover {
    background: #C61818;
    color: #fff;
}

.sc-sched__arrow:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Jornada pill tabs */
.sc-sched__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 22px;
    border-radius: 50px;
    border: 2px solid #C61818;
    background: transparent;
    color: #e0e0e0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    white-space: nowrap;
}

.sc-sched__tab:hover {
    background: rgba(192, 57, 43, 0.25);
    color: #fff;
}

.sc-sched__tab.is-active {
    background: #C61818;
    color: #fff;
    border-color: #C61818;
}

/* ── Panels ─────────────────────────────────────────────── */
.sc-sched__panel {
    display: none;
}

.sc-sched__panel.is-active {
    display: block;
}

/* Day columns grid */
.sc-sched__days {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 48px;
    align-items: start;
}

/* Single day column */
.sc-sched__day-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sc-sched__day-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 18px 0;
    padding: 0;
}

.sc-sched__time {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(277, 277, 277, 0.90);
    margin: 16px 0px 0px 5px;
    padding-bottom:0px;
}

.sc-sched__time:first-of-type {
    margin-top: 0;
}

/* ── Match card ─────────────────────────────────────────── */
.sc-sched__match {
    display: flex;
    align-items: stretch;
    background: rgb(217, 217, 217, 0.05);
    border: 1px solid #591E1E;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    transition: border-color 0.18s;
}

.sc-sched__match:hover {
    border-color: #C61818;
}

/* Teams section (left) */
.sc-sched__teams {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    gap: 8px;
}

.sc-sched__team-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sc-sched__team-logo {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sc-sched__team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sc-sched__team-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #e8e8e8;
}

.sc-sched__team-score {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    min-width: 20px;
    text-align: right;
}

/* Divider between teams */
.sc-sched__teams .sc-sched__team-row + .sc-sched__team-row {
    padding-top: 8px;
}

/* Actions section (right) */
.sc-sched__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 14px;
    min-width: 88px;
    flex-shrink: 0;
}

/* Base button */
.sc-sched__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.18s, transform 0.12s;
    border: none;
    outline: none;
}

.sc-sched__btn:hover {
    opacity: 0.85;
    transform: scale(1.04);
}

/* YouTube / VOD button */
.sc-sched__btn--yt {
    background: #C61818;
    color: #fff;
    width: 52px;
    height: 38px;
    border-radius: 8px;
}

.sc-sched__btn--yt svg {
    width: 26px;
    height: 26px;
}

/* STATS button */
.sc-sched__btn--stats {
    background: #C61818;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 6px;
    width: 100%;
    text-align: center;
}

/* Placeholder button (future/ongoing match) */
.sc-sched__btn--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 68px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.2);
    cursor: default;
}

.sc-sched__btn--placeholder svg {
    width: 22px;
    height: 22px;
}

/* Status modifier: ongoing — subtle accent border */
.sc-sched__match--ongoing {
    border-color: rgba(255, 165, 0, 0.4);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1000px) {
    .sc-sched__arrow {
        display: none;
    }
    .sc-sched__days {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sc-sched__nav {
        gap: 8px;
    }

    .sc-sched__tab {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
}
