/* --- Global Styles & Body Background --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-image: linear-gradient(rgba(0, 20, 40, 0.6), rgba(0, 20, 40, 0.6)), url('Home-Page-Photo-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: #fff;
}

/* --- Login Container --- */
.login-container {
    background-color: rgba(10, 25, 47, 0.486); /* Dark blue, semi-transparent */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    width: 100%;
    max-width: 800px;
    text-align: center;
}

/* --- Logo --- */
.logo-container {
    margin-bottom: 20px;
}

.logo-container img {
    max-width: 200px;
    height: auto;
}

/* --- Typography --- */
h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.intro-text {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 30px;
}

h2 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* --- Form Styles --- */
form {
    display: flex;
    flex-direction: column;
}

label {
    text-align: left;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #ddd;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #445;
    background-color: #1a2a40;
    color: #fff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #007bff; /* Heritage Blue accent */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.116);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container input {
    margin-right: 8px;
}

.form-options a {
    color: #8ab4f8; /* A light, accessible blue */
    text-decoration: none;
}

.form-options a:hover {
    text-decoration: underline;
}

button[type="submit"] {
    padding: 15px;
    border: none;
    border-radius: 6px;
    background-color: #007bff; /* Heritage Blue (or a strong primary color) */
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* --- Separator Sections --- */
.registration-info,
.help-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: #ccc;
}

.registration-info h3,
.help-footer h4 {
    color: #fff;
    font-weight: 500;
    margin-bottom: 10px;
}

.help-footer strong {
    color: #fff;
    font-weight: 500;
}

.copyright {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #aaa;
}

/* --- STYLES FOR FORGOT PASSWORD PAGE --- */

/* The main container with the frosted glass effect */
.card-container {
    background-color: rgba(23, 28, 36, 0.7); /* Dark semi-transparent background */
    backdrop-filter: blur(12px); /* Frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    width: 100%;
    max-width: 480px; 
    overflow: hidden; /* This is critical for the design to work */
    text-align: center;
}

/* The white box at the top holding the full-color logo */
.card-container .large-logo-box {
    background-color: #fff;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-container .large-logo-box img {
    max-width: 150px; /* Adjust logo size if needed */
    height: auto;
}

/* The area below the logo for text and the button */
.card-container .content-box {
    padding: 30px 40px;
}

/* The "Check Your Email" heading */
.card-container .content-box h1 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: left; /* Aligned left as in the image */
}

/* The confirmation paragraph */
.card-container .confirmation-text {
    color: #c0c5ce;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left; /* Aligned left as in the image */
}

/* The "Return to Login" button/link */
.card-container .return-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    background-color: #0084FF; /* Bright blue from image */
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.card-container .return-link:hover {
    background-color: #0073e6;
    text-decoration: none;
}

/* --- Responsive Design for Mobile --- */
@media (max-width: 550px) {
    .login-container {
        padding: 25px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}