/* Add this to your CSS file or in a <style> block in your HTML */

html, body {
    height: 100%; /* Ensure full height for centering */
    margin: 0;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #DDEFF6;

}

.full-screen-container {
    width: 100%;
    height: calc(100vh - 150px);
}

#login, #forgotPassword, #createAccount, #addStudent, #addUser , #dynamicForm{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Drop shadow */
    border-radius: 8px; /* Optional: rounded corners */
    background-color: white; /* Optional: background color */
    min-width: 400px;
}

@media (max-width: 768px) {
    #login, #forgotPassword, #createAccount, #addStudent , #addUser{
        min-width: 350px;
    }
}

#loginRow, #forgotPasswordRow, #createAccountRow, #addStudentRow, #addUserRow , #dynamicFormRow{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.menu {
    /* Optional: Set a max-width to ensure it doesn't stretch too much */
    max-width: 500px;
}


.full-width-btn{
    width:100%
}

.btn{
    background-color:#132e56;
    border-color: #132e56;
    color:#ffffff
}

.btn:hover,.btn:active,.btn:focus,.btn:target {
    background-color: #1b3c73;
    border-color: #1b3c73;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
}

.navbar {
    background-color: #662e6c;
    z-index: 1030; /* Ensure it appears above other content */
    position: fixed;
    top: 0;
}
.nav-item{
    background-color: lightblue;
    padding: 2px;
    margin: 2px;
    border-radius: 5px;
    border: 2px solid white;
    font-size: 1.2em;
    font-weight: bold;

}

.logo {
    width: 35%;
}

.search-bar {
    width: 65%;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
    }
    .logo, .search-bar {
        width: 100%;
        text-align: center;
    }
}


legend {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: underline;

}

.flashed-message-box{
    z-index: 1030; /* Ensure it appears above other content */
    position: fixed;
}

#form-label{
    font-weight: bold;
}