body {
    background: #f3f7fb;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.schedule-embed {
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(27, 65, 107, 0.08);
}

@media (max-width: 768px) {
    .schedule-embed {
        padding-left: 0;
        padding-right: 0;
    }
}

.schedule-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b3d2e;
    padding: 6px 14px;
    border: 2px solid #0b3d2e;
    border-radius: 999px;
    background: #f7f4ef;
}

.schedule-table {
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid #0b3d2e;
}

.schedule-table th {
    background: #0b3d2e;
    color: #fff;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid #0b3d2e;
}

.schedule-table td {
    vertical-align: top;
    text-align: center;
    line-height: 1.2;
    border: 1px solid #0b3d2e;
}

.schedule-table tbody tr {
    height: 12.5px;
}

.schedule-table .time-cell {
    background: #f7f4ef;
    font-weight: 600;
    text-align: left;
    border-right: 2px solid #0b3d2e;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 0.92rem;
}

.schedule-table .time-header {
    white-space: nowrap;
    width: 1%;
}

.schedule-table .open {
    background: #e8f5e9;
    color: #1b5e20;
    font-weight: 600;
}

.schedule-table .closed {
    background: #fdecea;
    color: #b71c1c;
    font-weight: 600;
}

.schedule-table .cell-time {
    font-weight: 600;
}

.schedule-table .cell-lanes {
    font-size: 0.78rem;
    opacity: 0.85;
}
.schedule-table .cell-time {
    font-size: 0.85rem;
}

.print-only {
    display: none;
}

.print-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0b3d2e;
    border: 1px solid #0b3d2e;
    padding: 6px 10px;
    border-radius: 6px;
}

.schedule-table .note {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
}

.schedule-table .label-men_only {
    background: #e6f0ff;
    color: #1a3d7c;
}

.schedule-table .label-women_only {
    background: #fff0f6;
    color: #7a1d47;
}

@media print {
    .print-only {
        display: block;
        margin-bottom: 10px;
    }

    .print-btn,
    .nav,
    .schedule-date,
    .nav-tabs {
        display: none !important;
    }

    .schedule-embed {
        padding: 0;
        border: none;
        box-shadow: none;
    }

    .schedule-table .time-cell {
        font-size: 0.65rem;
        white-space: nowrap;
        min-width: 0px;
        width: 80px !important;
    }

    .schedule-table td .cell-time,
    .schedule-table td .cell-lanes,
    .schedule-table td .note,
    .schedule-table th {
        font-size: 0.65rem;
    }

    .schedule-table .open {
        background: #f4f4f4 !important;
        color: #000;
    }

    .schedule-table .closed {
        background: #dddddd !important;
        color: #000;
        border-style: dashed;
    }
}
