/*
 * ===================================================================
 *  Vidyamandira Portal V2 - Forgot Password Page Styles
 *  File: /public/assets/css/forgot-password.css
 * ===================================================================
 */

/* --- Base & Variables --- */
:root {
    --primary: #FF9933;
    --primary-light: #FFEBCF;
    --primary-dark: #D47A1F;
    --secondary: #198754;
    --danger: #DC3545;
    --info: #0ea5e9;
    --success: #198754;
    --warning: #ffc107;

    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --text-tertiary: #9CA3AF;

    --app-bg: #F9FAFB;
    --card-bg: #FFFFFF;
    --border-color: #E5E7EB;
    --divider-color: #F3F4F6;

    --radius: 0.5rem;
    --radius-sm: 0.375rem;
    --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --font-sans: 'Poppins', sans-serif;
}

/* --- Core Body & Layout --- */
body {
    font-family: var(--font-sans);
    background-color: var(--app-bg);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
    color: var(--text-secondary);
}

.auth-wrapper {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background-color: var(--card-bg);
    padding: 2rem 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}

/* --- Header & Logo --- */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.auth-header .logo i {
    margin-right: 8px;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* --- Step Progress Bar --- */
.step-progress {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.step-progress .step {
    flex: 1;
    height: 6px;
    background-color: var(--divider-color);
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.step-progress .step.active {
    background-color: var(--primary);
}

/* --- Alerts & Messages --- */
.alert {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}
.alert-success { color: #0f5132; background-color: #d1e7dd; border-color: #badbcc; }
.alert-danger { color: #842029; background-color: #f8d7da; border-color: #f5c2c7; }
.alert-info { color: #055160; background-color: #cff4fc; border-color: #b6effb; }

/* --- Form Elements --- */
.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--card-bg);
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    appearance: none;
    border-radius: var(--radius-sm);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    color: var(--text-primary);
    background-color: var(--card-bg);
    border-color: var(--primary);
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(--primary-light);
}

.mb-3 { margin-bottom: 1rem !important; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.w-100 { width: 100% !important; }

/* --- Password Visibility Toggle --- */
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    cursor: pointer;
    z-index: 10;
}

.toggle-password:hover {
    color: var(--primary);
}

.password-container .form-control {
    padding-right: 2.5rem; /* Make space for icon */
}

/* --- Footer Link --- */
.form-text, .auth-footer-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-footer-link a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.auth-footer-link a:hover {
    text-decoration: underline;
}