@charset "utf-8";

/*
    Author: Gracie Boyette
    Date: 12/10/2025
*/



.schedule-container {
    max-width: 800px;
    margin: 20px auto; 
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    color: black; 
}

.responsive-schedule {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.header-row, .schedule-row {
    display: contents; 
}

.header-row span, .schedule-row span {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.header-row span {
    background-color: rgb(114, 190, 140); 
    color: white; 
    font-weight: bold;
    grid-column: span 1; 
}

.schedule-row:nth-child(odd) span {
    background-color: #f9f9f9;
}

.schedule-row:nth-child(even) span {
    background-color: #fff;
}

.schedule-row span::before {
    content: attr(data-label);
    display: none; 
    font-weight: bold;
    margin-right: 10px;
}

@media (max-width: 600px) {
    .responsive-schedule {
        display: block; 
        border: none;
    }
    
    .header-row {
        display: none; 
    }

    .schedule-row {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        overflow: hidden;
    }

    .schedule-row span {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #ddd;
        background-color: #fff !important; 
    }

    .schedule-row span:last-child {
        border-bottom: none;
    }

    .schedule-row span::before {
        display: inline-block; 
        color: rgb(114, 190, 140);
    }
}