/* Password Reset Form Styling (served from root static) */

:root {
    /* Reuse login.css variables for visual consistency */
    --text-color: #333;
    --input-border: #ddd;
    --error-color: #e74c3c;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --background-gradient: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    --primary-color: #4a6cf7;
    --primary-hover: #3a5ce4;
}

/* Hide dashboard chrome on reset page */
.sidebar,
.navbar,
.topnav {
    display: none !important;
}

/* Ensure content uses full width without sidebar/header offsets */
.main-content,
.container-fluid {
    margin: 0 !important;
    padding-top: 0 !important;
}

body {
    background: var(--background-gradient);
    min-height: 100vh;
}

.reset-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
}

.reset-box,
.password-reset-form,
.password-reset-done,
.password-reset-complete,
.password-reset-confirm-form {
    max-width: 420px; /* match login box */
    margin: 50px auto;
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reset-box:hover { /* match login hover depth */
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.password-reset-form h1,
.password-reset-done h1,
.password-reset-complete h1,
.password-reset-confirm-form h1 {
    text-align: center;
    margin-bottom: 12px;
    color: #173b6d;
}

.reset-header {
    text-align: center;
    margin-bottom: 1rem;
}
.reset-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #173b6d;
}
.reset-icon i {
    font-size: 28px;
    line-height: 1;
}

.password-reset-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

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

.form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--input-border);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #f9fafc;
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
    background-color: #fff;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover { background-color: var(--primary-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled {
    background-color: #9fb2ff;
    cursor: not-allowed;
    opacity: 0.8;
}

.auth-links { margin-top: 20px; text-align: center; }
.auth-links a { color: #007bff; text-decoration: none; margin: 0 10px; }
.auth-links a:hover { text-decoration: underline; }

.mb-4 { margin-bottom: 1.5rem; }
.w-100 { width: 100%; }

.form-hint { color: #6c757d; font-size: 13px; }

.error { color: #dc3545; font-size: 12px; margin-top: 5px; display: block; }
.error-message { color: #dc3545; font-size: 12px; margin-top: 6px; display: block; }