.time-table-page {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.time-table-page table,
td,
th {
    border: 2px solid black;
    border-collapse: collapse;
}

.time-table-page td {
    width: 250px;
}

.time-table-page tr {
    height: 90px;
}

.time-table {
    text-align: center;
    font-size: 20px;
    /* font-weight: bold; */
}

.time-table-page button:hover {
    background-color: #6772E5;
    color: white;
    cursor: pointer;
}

#time-table-btns {
    display: flex;
    margin-left: 1150px;
    gap: 20px;
}

.time-table-btn {
    margin-top: 25px;
    padding: 10px 25px;
    background-color: #E6E6FA;
    color: #333333;
    font-weight: bold;
    font-size: 25px;
    border-radius: 8px;
}

.time-table-edit-mode .time-table-class:hover {
    background-color: #FEF79E;
    cursor: pointer;
}

#time-table-edit-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    max-height: 400px;
    height: 90%;

    position: relative;
}

.close-modal-btn:hover {
    color: #000;
}

#time-table-edit-modal-content h2,
#time-table-edit-modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

#time-table-modal-form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: bold;
}

.color-swatches {
    display: flex;
    gap: 8px;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.1s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.selected {
    border-width: 3px;
    border-color: #333;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

#time-table-modal-form .form-btn {
    margin-top: 10px;
}