body.forgot-password-page {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #493DC5, #7E74F1);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    text-align: center;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2B2B2B;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

input[type="email"]:focus {
    border-color: #493DC5;
}

.auth-button {
    width: 100%;
    padding: 12px;
    background: #493DC5;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.auth-button:hover {
    background: #3A2DB3;
}

.auth-footer {
    margin-top: 20px;
}

.auth-link {
    color: #493DC5;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Fix misalignment of input inside the auth card */
.auth-form input[type="email"],
.auth-form input[type="text"],
.auth-form input[type="password"] {
    display: block;
    width: calc(100% - 4px); /* prevents right edge clipping */
    margin: 0 auto; /* centers the input inside the form */
    box-sizing: border-box; /* includes padding in total width */
}

/* Optional: improve form group spacing */
.auth-form .form-group {
    padding: 0 4px; /* slight internal padding */
}

/* Style tweaks for confirmation and success pages */
.auth-card p.auth-subtitle {
    max-width: 320px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}

.auth-card .auth-footer {
    margin-top: 25px;
}
/* Consistent spacing for password reset form */
.auth-form input[type="password"] {
    display: block;
    width: calc(100% - 4px);
    margin: 0 auto 16px auto;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.auth-form input[type="password"]:focus {
    border-color: #493DC5;
}

/* Password requirement list */
.password-rules {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    text-align: left;
    font-size: 0.85rem;
    color: #666;
}

.password-rules li {
    margin-bottom: 4px;
    position: relative;
    padding-left: 18px;
}

.password-rules li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #c0392b;
    font-weight: bold;
}

.password-rules li.valid {
    color: #27ae60;
}

.password-rules li.valid::before {
    content: "✓";
    color: #27ae60;
}

/* Success state styling */
.success-icon {
    background-color: #27ae60;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.auth-card .auth-button {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    text-align: center;
}
