html,
body {
    /* height: 100%; */
    margin: 0;
}

body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* min-height: 100vh; */
    /* Set a minimum height equal to the viewport height */
    /* margin: auto 0; */
    font-family: Arial, sans-serif;
    overflow: auto;

}

form {
    width: 100%;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h3 {
    text-align: left !important;
}


.formContainer {
    display: flex;
    flex-direction: column;
    width: 430px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 8px;
}

.required::after {
    content: " *";
    color: red;
}

input,
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
}


button {
    background-color: #4caf50;
    font-size: 16px;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 460px;
}


#resultAndTimeTableContainer {
    /* width: 490px; */
    /* height: 400px; */
    /* Adjust the height as needed */
    overflow-x: auto;
    display: none;
    /* Enable vertical scroll if content overflows */
}

#result {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: none;
    width: 100%;
    /* Ensure result section takes up full width */
    max-width: 800px;
    /* Adjust the maximum width as needed */
    overflow-x: auto;
    /* Horizontal scroll if content overflows */
}

#timeTable {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: block;
    /* Ensure the time table is displayed */
    width: 100%;
    /* Ensure time table takes up full width */
    max-width: 800px;
    /* Adjust the maximum width as needed */
    overflow-x: auto;
    /* Horizontal scroll if content overflows */
}

/* Adjustments for responsiveness */
@media only screen and (max-width: 600px) {
    .formContainer {
        width: 100%;
        /* Make form container full width on smaller screens */
        padding: 10px;
        /* Adjust padding for smaller screens */
    }
}

.result-row {
    display: flex;
    flex-wrap: wrap;
    /* Allow columns to wrap to the next line */
    margin-top: 10px;
    /* Added some top margin between rows */
}

.result-column {
    margin-right: 10px;
    margin-bottom: 10px;
    /* Added some bottom margin between columns */
    padding: 8px;
    /* Added padding to each column for better spacing */
    border: 1px solid #ccc;
    /* Added a border to each column */
    border-radius: 4px;
    background-color: #fff;
    /* Added background color to each column */
}

.error-message {
    color: red;
    margin-top: 5px;
}

.error-input {
    border: 1px solid red;
}

table {
    border-collapse: collapse;
    width: 100%;
}

table {
    border: 1px solid black;
    margin: 50;
}

th,
td {
    border: 1px solid black;
    /* margin: 10; */
}

th,
td {
    padding: 10px;
    text-align: left;
}

.slot-div {
    margin-bottom: 20px;
}

.slot-label {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.list-div {
    margin-bottom: 15px;
}

.venue-div {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.students-div {
    font-weight: bold;
    margin-bottom: 5px;
}

.details-div {
    margin-left: 15px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}