html, body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    background-color: #ffffff;
    
    font-family: "Be Vietnam Pro", Sans-Serif;
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #F5F5F5;
}

.form-section {
    background: rgba(255, 255, 255, 0.08);
    /*backdrop-filter: blur(12px);*/
    border-radius: 20px;
    padding: 40px 35px;
    color: white;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    background-image: linear-gradient(135deg, #0a1f44, #193366);
}

.form-section h1 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #cdd7f5;
    text-align: left;
}

.form-control {
    background-color: #ffffff; 
    border: 2px solid #3078c8; 
    color: #0a1f44; 
    border-radius: 12px;
    padding: 14px 16px;
    transition: 0.3s ease-in-out;
}

.form-control::placeholder {
    color: #0a1f44; 
    opacity: 0.7; 
}

.form-control:focus {
    background-color: #ffffff; 
    border-color: #5fa9f8; 
    box-shadow: 0 0 10px rgba(95, 169, 248, 0.6);
    color: #0a1f44;
}

.btn-custom {
    background: linear-gradient(90deg, #3078c8, #5fa9f8);
    border: none;
    border-radius: 12px;
    padding: 14px;
    color: white;
    font-weight: 600;
    width: 100%;
    transition: 0.3s ease-in-out;
}

.btn-custom:hover {
    transform: scale(1.03);
    background: linear-gradient(90deg, #2565a9, #4c92e0);
}

.form-section {
    max-width: 460px;        /* Slightly larger container */
    width: 100%;
}

.form-group {
    width: 100%;
}

.form-control {
    width: 100%;
    max-width: 100%;         /* Prevent Bootstrap from restricting the width */
    box-sizing: border-box;  /* Ensures padding doesn't break layout */
    font-size: 1rem;
}

/* Improve responsiveness for smaller screens */
@media (max-width: 480px) {
    .form-section {
        padding: 30px 20px;
    }

    .form-control {
        font-size: 0.95rem;
        padding: 12px 14px;
    }
}
            
.loginFooter {
    padding: 24px;
    background-color: #192f59;
    color: white;
}
            
.footerDiv {
    display: flex;
    align-items: center;
    flex-direction: column;
}
            
.footerDiv > span:nth-of-type(1) {
    margin-bottom: 5px;
}
            
.login-link {
    color: #fea905;
}
.login-link:hover {
    text-decoration: none;
    color: #f09d00;
}

.btn-custom:hover {
    cursor: pointer;
}

.formElement:disabled {
    cursor: not-allowed;
}

.validation {
    margin-top: 10px;
    padding: 5px;
    /*border-radius: 6px;
    background-color: #FFFFFF;*/
    /*display: none;*/
    /*visibility: hidden;
    display: block;*/
    display: none;
    text-align: left;
}

.valid {
    color: lime;
}

.invalid {
    color: red;
}