/* ======================================= */
/* FORGOT PASSWORD STYLES - WHITE/BLACK THEME */
/* ======================================= */

/* --- Page Container and Structure --- */

.container {
    max-width: 450px;
    margin: 100px auto;
    padding: 40px;
    /* Theme Change: White background with minimal shadow */
    background-color: #ffffff; 
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    text-align: center;
}

/* --- Typography --- */

.container h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
    /* Content is Black */
    color: #000000; 
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.container p {
    /* Content is Black or dark gray */
    color: #333333; 
    margin-bottom: 20px;
    line-height: 1.5;
}

/* --- Form Elements --- */

.container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.container input[type="email"],
.container input[type="password"],
.container input[type="text"] {
    width: 100%;
    padding: 15px 12px;
    /* Input should be clean white with a subtle border */
    border: 1px solid #888; 
    border-radius: 4px;
    background-color: #ffffff;
    color: #000000;
    box-sizing: border-box; 
    font-size: 1em;
    transition: border-color 0.3s;
}

.container input[type="email"]::placeholder,
.container input[type="password"]::placeholder {
    color: #999;
}

.container input[type="email"]:focus,
.container input[type="password"]:focus {
    /* Focus uses the primary black color for high contrast */
    border-color: #000000; 
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

/* --- Buttons (Bold Black Background) --- */

.btn-primary {
    padding: 12px 25px;
    /* Button is Black */
    background-color: #000000; 
    /* Text is White */
    color: #ffffff; 
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s, opacity 0.3s;
}

.btn-primary:hover {
    /* Slightly less opaque on hover */
    background-color: #000000;
    opacity: 0.9;
}

/* --- Status Messages --- */

.success {
    color: #006400; /* Dark green for success */
    font-weight: bold;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #006400;
    border-radius: 4px;
    background-color: #f0fff0; /* Very light background for success message */
}

.error {
    color: #a00000; /* Dark red for errors */
    font-weight: bold;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #a00000;
    border-radius: 4px;
    background-color: #fff0f0; /* Very light background for error message */
}


/* --- Password Visibility Toggle Styling --- */

/* Wrapper to position the icon relative to the input */
.password-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px; /* Adjust spacing as needed */
}

/* Position the eye icon */
.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px; /* Adjust distance from the right edge */
    transform: translateY(-50%);
    cursor: pointer;
    color: #555; /* Icon color */
    font-size: 1em;
    padding: 5px; /* clickable area */
    z-index: 10;
}

/* Ensure input padding doesn't hide the icon */
.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    padding-right: 40px !important; /* Push text over so it doesn't overlap the icon */
}