body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    background-color: #f8f9fa;

}


header {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.name {
    color: white;
}

.schedule-container {
    max-width: 950px;
    background-color: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: auto;
    border-radius: 10px;
}

h1,
h2 {
    text-align: center;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;

}

th,
td {
    border: 1px solid #c1c9d1;
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

th {
    background-color: #2c3e50;
    color: white;
}

.day-header {
    background-color: #2c3e50;
    color: white;
    width: auto;
}

.time-slot {
    background-color: #dde3ec;
    font-weight: normal;
}

/* Custom colors for each subject cell */
.light-blue {
    background-color: #b0c4de;
    color: #2c3e50;
}

/* AI / AD */
.light-red {
    background-color: #f5c9c5;
    color: #2c3e50;
}

/* COA / TDM */
.red {
    background-color: #ea4335;
    color: white;
}

/* ISD / DD */
.yellow {
    background-color: #fbbc04;
    color: #2c3e50;
}

/* OSL / SRM */
.light-yellow {
    background-color: #fff9c4;
    color: #2c3e50;
}

/* OS / SRM */
.green {
    background-color: #a5d6a7;
    color: #2c3e50;
}

/* MAD / AM */
.gray {
    background-color: #cfd8dc;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .schedule-container {
        margin-left: -15px;
        transform: scale(0.8, 0.8);
        transform-origin: top center;
        width: 100%;
        overflow: auto;
    }
    
}

@media (max-width: 480px) {
    .schedule-container {
        margin-left: -15px;
        transform: scale(0.8, 0.8);
        transform-origin: top center;
        width: 100%;
        overflow: auto;
    }
}