main {
    margin-top: 60px;
}


/* Login */
.login-container {
    background-color: #487692;
    border-radius: 4px;
    margin-top: 100px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    max-width: 400px; 
    margin-left: auto;
    margin-right: auto;
}

.login-header {
    position: relative;
}

.login-header img {
    width: 100%;
    height: auto;
    border-top-left-radius: 4px; 
    border-top-right-radius: 4px; 
}

.login-form {
    padding: 1.5rem;
    background-color: #487692;
}

.form-group {
    position: relative; /* Allow absolute positioning relative to this container */
    margin-bottom: 2rem; /* Spacing between form elements */
}

.form-control {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    width: 80%; /* Makes the input line shorter */
    margin: 0 auto; /* Center the input if the width is less than 100% */
}

.form-control::placeholder {
    color: #fff; 
}

.form-control:focus {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
    box-shadow: none;
}

.form-group label {
    color: #fff; 
}

.btn-primary:hover {
    background-color: #e7e7e7; 
}

/* Remember Me Checkbox */
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #fff; 
    border-color: #fff;
}

.custom-control-label {
    color: #fff;
}

.custom-control-label::before {
    border-color: #fff;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #007bff; /* Color of the checkmark */
}

.btn-login {
    display: block; /* Makes the button a block-level element */
    width: fit-content; /* Allows the button to shrink-wrap its content */
    margin: 0 auto; /* Centers the button horizontally */
    margin-bottom: 15px;
}

.username-form {
    padding-left: 25px;
}

.password-form {
    padding-left: 25px;
}



/* Index */
.index-container {
    background-color: #487692;
    border-radius: 4px;
    margin-top: 100px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    max-width: 400px; 
    height: 405px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #fff;
    padding: 1.5rem;
}

/*Navbar*/
.nav-item {
    color:  #487692;
}


/*Register*/
.register-container {
    background-color: #487692;
    border-radius: 4px;
    margin-top: 100px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    max-width: 400px; 
    margin-left: auto;
    margin-right: auto;
    height: 405px;
}

.register-form {
    padding: 1.5rem;
    background-color: #487692;
}

.form-group-register {
    position: relative; /* Allow absolute positioning relative to this container */
    margin-bottom: 2rem; /* Spacing between form elements */
}

.username-form-register {
    color: #fff;
    padding-left: 25px;
}


.show-password-container {
    background-color: #487692;
    border-radius: 4px;
    margin-top: 100px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    max-width: 400px; 
    height: 405px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    text-align: center;
}

.grade-container {
    color: #487692;
}


.btn-save {
    display: block; /* Makes the button a block-level element */
    width: fit-content; /* Allows the button to shrink-wrap its content */
    margin: 0 auto; /* Centers the button horizontally */
    margin-bottom: 15px;
    color: #fff;
    background-color:  #487692;
}