body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('../images/Signin.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background-image 0.5s ease-in-out; /* Smooth background change */
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #202454;
    opacity: 0.8;
    z-index: -1;
}

.logo-container {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.logo {
    width: 8.47vw;
    height: 4.44vh;
}

.logo-container-forgot {
    position: absolute;
    top: 26.8%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.logo-container-reset {
    position: absolute;
    top: 24.25%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}


.login-container {
    background-color: white;
    width: 40.69vw;
    height: 50vh;
    max-width: 380px;
    max-height: 500px;
    min-width: 300px;
    min-height: 350px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.login-container h2 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: left;
}

.login-container p {
    margin: 0px;
    margin-bottom: 10px;
    text-align: left;
}

.login-container p a {
    font-weight: bold;
    color: black;
    text-decoration: none;
}

.dialog-container {
    background-color: white;
    width: 40.69vw;
    height: 25vh;
    max-width: 380px;
    max-height: 300px;
    min-width: 300px;
    min-height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.dialog-container h2 {
    font-size: 24px;
    margin-top: 0; /* Remove any top margin */
    margin-bottom: 20px;
}

.dialog-container p {
    margin-bottom: 15px;
    font-size: 15px;
    color: #777;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    height: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

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

.form-control-light {
    font-size: 12px;
    color: #aaa;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-footer a {
    font-weight: bold;
    color: black;
    text-decoration: none;
}

.btn {
    width: 100%;
    padding: 12px;
    background: #444;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover {
    background: #333;
}

.reset-container {
    background-color: white;
    width: 40.69vw;
    height: 20vh;
    max-width: 380px;
    max-height: 300px;
    min-width: 300px;
    min-height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.reset-container h2 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 20px;
}

.reset-container p {
    font-size: 15px;
    margin: 10px 0 20px;
    text-align: center;
    color: #333; /* Light black color */
}

.reset-container .btn {
    width: 100%;
    padding: 12px;
    background: #444;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px; /* Space before the button */
}

.reset-container .btn:hover {
    background: #333;
}

.reset-container-pass {
    background-color: white;
    width: 40.69vw;
    height: 40vh;
    max-width: 380px;
    max-height: 400px;
    min-width: 300px;
    min-height: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.reset-container-pass h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 10px;
}

.reset-container-pass p {
    margin: 10px 0;
    font-size: 12px;
    margin-bottom: 10px;
    color: #777;
}

.reset-container-pass .btn {
    width: 100%;
    padding: 12px;
    background: #444;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    opacity: 0.6;
    pointer-events: none;
    margin-top: 10px; /* Increased margin to push the button down */
}

.reset-container-pass .btn.active {
    background: #333;
    opacity: 1;
    pointer-events: all;
}

.reset-container-pass .btn:hover {
    background: #333;
}

.signup-checking-box {
    background-color: white;
    width: 40.69vw;
    height: 10vh;
    max-width: 380px;
    max-height: 200px;
    min-width: 300px;
    min-height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
    z-index: 1;
}
    
.signup-checking-box h2 {
    font-size: 24px;
    margin-top: 0; /* Remove any top margin */
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.logo-container-signup {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
 
.links-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
        
.link {
    font-size: 1em;
    color: #007bff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    transition: background-color 0.3s, color 0.3s;
}
        
.link:hover {
    background-color: #007bff;
    color: white;
}
