/* Basic page and table styling */
body {
    font-family: "Agbalumo", serif;
    margin: 20px;
    background-color: #f1f1ea;

    /* justify-content: center; */
    align-items: center;
}

.container {
    max-width: fit-content;
    margin-left: auto; 
    margin-right: auto;

    align-items: center;
    
    display: flex;
    border-radius: 10px;

    overflow-x: auto;
}

.container-text { 
    max-width: fit-content;
    margin-left: auto; 
    margin-right: auto;

    color: #2e2c2c;
    /* font-weight: bold; */
    font-size: 18px;
}

.container-text p { 
    margin: 0px;
}

/* Courses Section */
.courses {
    /* background-color: #a8ac98; */
    background-color: #a3a88f;

    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    
    padding: 20px;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.courses input {
    /* width: 150px;  */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Filter Section */
.filter {
    /* background-color: #c3c4b5; */
    background-color: #c0c2ae;

    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    
    
    padding: 20px;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-row {
    display: flex;
    gap: 10px;
}

.filter input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.filter input:nth-child(1) {
    width: 150px; 
}

.filter input:nth-child(2) {
    width: 150px; 
}

.filter input:nth-child(3) {
    width: 150px; 
}

/* Prevent wrapping of rows */
.filter-row, .courses {
    white-space: nowrap;
}





.time-selection { 
    padding: 5px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;

    color: #666666;
}



.heading {
    
    display: flex;
    align-items: center;
    
    max-width: fit-content;
    margin-left: auto; 
    margin-right: auto;

    color: #2e2c2c;

    font-family: "Pacifico", cursive;

    margin-bottom: 30px;
}

.heading h1 { 
    font-size: 32px;
}



.heading p { 
    font-size: 18px;
    font-weight: bold;
    margin-left: 12px;

    color: #5a5454;
    
}



.checkbox { 
    max-width: fit-content;
    margin-left: auto; 
    margin-right: auto;

    margin-top:15px;

    color: #403e3e;
    
}            

.gen-btn-style { 
    max-width: fit-content;
    margin-left: auto; 
    margin-right: auto;

    margin-top: 15px;



}    



/* Style for the status message shown after generating combinations or error */
.message {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    font-family: "Comfortaa", sans-serif;
    color: #2e2c2c; /* Default color */
}

/* Style for the current combination number */
#combination-number {
    font-size: 16px;
    font-weight: bold;
    margin: auto 20px;

    color: #403e3e;
}


input[type="text"], input[type="number"] {
    margin-right: 10px;
    padding: 8px;
    border: 1px solid #ccc;

    font-family: "Comfortaa", sans-serif;
    font-size: 15px;
    font-weight: bold;
}
input[type="text"] {
    text-transform: uppercase; /* This makes the text appear in uppercase */
}


input::placeholder {
    text-transform: none; /* Ensures the placeholder text remains unchanged */
}

button {
    /* margin: 10px; */
    margin-top: 5px;
    padding: 10px 20px;
    background-color: #816a61;
    color: white;
    border: none;
    cursor: pointer;
    font-family: "Comfortaa", sans-serif;
    font-weight: bold;

    border-radius: 5px;
}

button:hover {
    background-color: #96847e;
}

.btn-container {
    display: flex;
    justify-content: space-between; /* Pushes buttons to opposite ends */
    /* padding: 0 20px; Optional padding to add space on the sides */
}

.previous-btn, .next-button {
    padding: 10px 20px;
    font-size: 16px;
}


.cpright { 
    color:rgb(80, 80, 80);
    font-weight:bold;
}


#loading {
    display: none;
    font-size: 20px;
    color: #2e2c2c;
}

.table-container { 
    width: 100%;
    overflow-x:auto;
}
#schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;


    /* overflow-x: auto; */
    
    border: 1px solid #403E3E;
    color: #403e3e;

    
}

#schedule-table th, #schedule-table td {
    
    border: 1px dotted #403E3E;
    padding: 10px;
    text-align: center;
}

#schedule-table th {
    background-color: #e8e6e0;
}
#schedule-table td:nth-child(1) { 
    background-color: #e8e6e0;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.download-btn { 
    max-width: fit-content;
    margin-left: auto; 
    margin-right: auto;

}

.note { 
    max-width: fit-content;
    margin-left: auto; 
    margin-right: auto;

    text-align: center;

    color: #2e2c2c;
}

