.green-schedule-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.green-schedule-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px;
    border-radius: 14px;
    background: #153b32;
    color: #fff;
}

.green-schedule-eyebrow {
    color: #f4a340;
    font-size: 11px;
    letter-spacing: 2px;
}

.green-schedule-heading h1 {
    margin: 8px 0;
    font-size: 27px;
}

.green-schedule-heading p {
    margin: 0;
    color: #b6d3c7;
}

.green-schedule-switch {
    display: flex;
    gap: 8px;
}

.green-schedule-switch a {
    padding: 11px 20px;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    color: #d4e6dc;
}

.green-schedule-switch a.active {
    background: #f4a340;
    color: #19372f;
    font-weight: 700;
}

.green-schedule-dates,
.green-schedule-filter,
.green-schedule-matches {
    background: #fff;
    border: 1px solid #dce8e2;
    border-radius: 12px;
    overflow: hidden;
}

.green-schedule-dates,
.green-schedule-filter {
    padding: 20px;
}

.green-schedule-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.green-schedule-section-title h2 {
    margin: 0;
    color: #193f33;
    font-size: 17px;
}

.green-schedule-section-title span {
    color: #81958a;
    font-size: 12px;
}

.green-schedule-date-controls {
    display: flex;
    gap: 8px;
}

.green-schedule-date-controls button {
    width: 34px;
    height: 34px;
    border: 1px solid #dce8e2;
    border-radius: 8px;
    background: #f7faf8;
    color: #087f65;
    font-size: 22px;
    cursor: pointer;
}

.green-schedule-date-controls button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.green-schedule-date-list {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 9px;
}

.green-schedule-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 72px;
    border: 1px solid #e0ebe5;
    border-radius: 9px;
    background: #f7faf8;
    color: #5c756c;
}

.green-schedule-date strong {
    font-size: 15px;
}

.green-schedule-date span {
    font-size: 12px;
}

.green-schedule-date.active {
    background: #087f65;
    border-color: #087f65;
    color: #fff;
}

.green-schedule-date[hidden] {
    display: none !important;
}

.green-schedule-leagues {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.green-schedule-league {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    border: 1px solid #dce9e2;
    border-radius: 18px;
    background: #f7faf8;
    color: #526e62;
    font-size: 12px;
}

.green-schedule-league img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.green-schedule-league.active,
.green-schedule-league:hover {
    background: #e5f5ee;
    border-color: #087f65;
    color: #087f65;
}

.green-schedule-search {
    position: relative;
    max-width: 360px;
    margin-top: 18px;
}

.green-schedule-search input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dce8e2;
    border-radius: 8px;
    font: inherit;
}

.green-schedule-search-results {
    position: absolute;
    z-index: 20;
    top: 44px;
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dce8e2;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.green-schedule-search-results[hidden] {
    display: none;
}

.green-schedule-search-results a {
    display: block;
    padding: 10px 13px;
}

.green-schedule-search-results a:hover {
    background: #e5f5ee;
}

.green-schedule-matches > .green-schedule-section-title {
    padding: 20px;
    margin: 0;
    border-bottom: 1px solid #e8eee9;
}

.green-schedule-match {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 110px;
    align-items: center;
    gap: 16px;
    padding: 19px 20px;
    border-bottom: 1px solid #edf2ef;
}

.green-schedule-match:hover {
    background: #f6fbf8;
}

.green-schedule-match:last-child {
    border-bottom: 0;
}

.green-schedule-match-meta {
    min-width: 0;
}

.green-schedule-match-league {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #789083;
    font-size: 12px;
}

.green-schedule-match-league img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.green-schedule-match-league span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.green-schedule-match-meta time {
    display: block;
    margin-top: 8px;
    color: #214b3e;
    font-weight: 700;
}

.green-schedule-match-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 65px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-width: 0;
}

.green-schedule-team {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    font-weight: 700;
}

.green-schedule-team.home {
    justify-content: flex-end;
}

.green-schedule-team.away {
    justify-content: flex-start;
}

.green-schedule-team img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    flex-shrink: 0;
}

.green-schedule-team span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.green-schedule-score {
    text-align: center;
    font-size: 17px;
    color: #173d32;
    white-space: nowrap;
}

.green-schedule-match-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.green-schedule-live {
    padding: 6px 9px;
    border-radius: 6px;
    background: #fff3e3;
    color: #b66b15;
    font-size: 11px;
    font-weight: 700;
}

.green-schedule-status {
    color: #788d83;
    font-size: 12px;
}

.green-schedule-status.is-live {
    color: #dc4444;
    font-weight: 700;
}

.green-schedule-status.is-scheduled {
    color: #087f65;
}

.green-schedule-status.is-postponed {
    color: #c47b16;
}

.green-schedule-empty {
    padding: 45px 15px;
    text-align: center;
    color: #81958a;
}

@media (max-width: 760px) {
    .green-schedule-heading {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .green-schedule-heading h1 {
        font-size: 22px;
    }

    .green-schedule-dates,
    .green-schedule-filter {
        padding: 12px;
    }

    .green-schedule-date-list {
        gap: 4px;
    }

    .green-schedule-date {
        min-height: 61px;
        padding: 4px 1px;
    }

    .green-schedule-date strong {
        font-size: 11px;
    }

    .green-schedule-date span {
        font-size: 10px;
    }

    .green-schedule-match {
        grid-template-columns: 75px minmax(0, 1fr);
        gap: 8px;
        padding: 14px 10px;
    }

    .green-schedule-match-teams {
        grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
        gap: 4px;
    }

    .green-schedule-team {
        font-size: 12px;
    }

    .green-schedule-team img {
        width: 20px;
        height: 20px;
    }

    .green-schedule-score {
        font-size: 14px;
    }

    .green-schedule-match-action {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: flex-end;
    }
}

.green-schedule-search-results a[hidden] {
    display: none;
}
