/* =========================
   Forgot Password Page Styles
   (Minimal - Only what's needed)
========================= */

:root {
        --primary-gradient: linear-gradient(135deg, #34495e 0%, #34495e 100%);
        --info-gradient: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
        --border-color: #00C2D8;
        --text-color: #000000;
        --text-light: #004116;
        --light-bg: #F8F9FB;
        --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        --transition: all 0.3s ease;
    }
    
    /* Only keep essential styles from the change password page */
    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
        max-width: 1000px;
        margin: 0 auto;
        padding: 20px;
        background: linear-gradient(135deg, #e2e2e0 0%, #e2e2e0 100%);
        min-height: 100vh;
        color: var(--text-color);
        line-height: 1.6;
    }
    
    /* Header - simplified */
    .app-header {
        text-align: center;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 2px solid var(--border-color);
    }
    
    .app-header img {
        display: block;
        margin: 0 auto;
    }
    
    .tagline {
        margin-top: 10px;
        color: var(--text-light);
        font-size: 1.1rem;
        font-weight: 500;
        text-align: center;
    }
    
    /* Main content */
    .app-main {
        animation: fadeIn 0.5s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .forgot-container {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .forgot-header {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .forgot-header h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
        background: var(--info-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }
    
    .forgot-header p {
        color: var(--text-light);
        font-size: 1.1rem;
    }
    
    /* Forgot Card */
    .forgot-card {
        background: var(--light-bg);
        border-radius: 16px;
        padding: 40px;
        border: 2px solid var(--border-color);
        box-shadow: var(--card-shadow);
    }
    
    /* Instructions */
    .instructions-section {
        background: rgba(66, 153, 225, 0.1);
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 25px;
        border: 2px solid rgba(66, 153, 225, 0.3);
        text-align: center;
    }
    
    .instructions-section p {
        color: #2c5282;
        margin: 0;
        font-size: 1.1rem;
    }
    
    /* Form Elements */
    .form-group {
        margin-bottom: 25px;
    }
    
    .form-label {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        font-weight: 600;
        color: var(--text-color);
    }
    
    .form-label i {
        color: var(--border-color);
    }
    
    .input-with-icon {
        position: relative;
        width: 80%;
    }
    
    .input-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-light);
        z-index: 1;
    }
    
    .form-input {
        width: 80%;
        padding: 16px 16px 16px 50px;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        font-size: 16px;
        font-family: 'Inter', sans-serif;
        transition: var(--transition);
        background: white;
        color: var(--text-color);
        height: 56px;
        outline: none;
    }
    
    .form-input:focus {
        border-color: var(--border-color);
        box-shadow: 0 0 0 4px rgba(0, 194, 216, 0.15);
    }
    
    .error-message {
        color: #e53e3e;
        font-size: 0.9rem;
        margin-top: 8px;
        padding-left: 5px;
    }
    
    /* Messages - simplified */
    .messages-container {
        margin: 20px 0;
    }
    
    .message {
        padding: 15px 20px;
        border-radius: 12px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 15px;
        font-weight: 500;
    }
    
    .message.success {
        background: #d4edda;
        border: 1px solid #c3e6cb;
        color: #155724;
    }
    
    .message.error {
        background: #f8d7da;
        border: 1px solid #f5c6cb;
        color: #721c24;
    }
    
    .message i {
        font-size: 1.1rem;
    }
    
    /* Button - centered like other pages */
    .form-actions {
        text-align: center;
        margin-top: 30px;
    }
    
    .btn-primary,
    .btn-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 32px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 16px;
        border: none;
        cursor: pointer;
        transition: var(--transition);
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        margin: 0 10px;
        min-width: 180px;
        height: 56px;
    }
    
    .btn-primary {
        background: var(--info-gradient);
        color: white;
    }
    
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(66, 153, 225, 0.3);
    }
    
    .btn-secondary {
        background: rgba(0, 194, 216, 0.1);
        color: var(--border-color);
        border: 2px solid var(--border-color);
    }
    
    .btn-secondary:hover {
        background: rgba(0, 194, 216, 0.2);
        transform: translateY(-2px);
    }
    
    /* Login Link */
    .login-link {
        text-align: center;
        margin-top: 25px;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 194, 216, 0.2);
    }
    
    .login-link a {
        color: var(--border-color);
        text-decoration: none;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .login-link a:hover {
        text-decoration: underline;
    }
    
    /* Footer */
    .app-footer {
        margin-top: 50px;
        padding-top: 25px;
        border-top: 2px solid var(--border-color);
        text-align: center;
        color: var(--text-light);
        font-size: 0.9rem;
    }
    
    .app-footer strong {
        color: var(--border-color);
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        body {
            padding: 15px;
        }
        
        .forgot-card {
            padding: 30px 20px;
        }
        
        .forgot-header h1 {
            font-size: 1.8rem;
        }
        
        .btn-primary,
        .btn-secondary {
            display: block;
            width: 80%;
            margin: 10px 0;
        }
        
        .form-actions {
            margin-top: 20px;
        }
    }
    
    @media (max-width: 480px) {
        .forgot-header h1 {
            font-size: 1.5rem;
        }
        
        .form-input {
            height: 52px;
            padding: 14px 14px 14px 45px;
        }
    }

/* Add these styles to your existing CSS file */

/* Center the entire form container */
.forgot-card {
        background: var(--light-bg);
        border-radius: 16px;
        padding: 40px;
        border: 2px solid var(--border-color);
        box-shadow: var(--card-shadow);
        max-width: 600px; /* Limit width */
        margin: 0 auto; /* Center the card */
    }
    
    /* Center the form itself */
    .forgot-form {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center horizontally */
        justify-content: center; /* Center vertically if needed */
        width: 100%;
    }
    
    /* Center form groups */
    .form-group {
        margin-bottom: 25px;
        width: 100%;
        max-width: 500px; /* Limit form width */
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Center labels */
    .form-label {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        font-weight: 600;
        color: var(--text-color);
        justify-content: center; /* Center label text */
        text-align: center;
        width: 100%;
    }
    
    /* Center the input with icon container */
    .input-with-icon {
        position: relative;
        width: 100%;
        margin: 0 auto; /* Center the input container */
    }
    
    /* Center error messages */
    .error-message {
        color: #e53e3e;
        font-size: 0.9rem;
        margin-top: 8px;
        padding-left: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 500;
        justify-content: center; /* Center error messages */
        text-align: center;
    }
    
    /* Updated form actions - already centered */
    .form-actions {
        text-align: center;
        margin-top: 30px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    /* Button styles for centering */
    .btn-primary,
    .btn-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 32px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 16px;
        border: none;
        cursor: pointer;
        transition: var(--transition);
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        min-width: 250px; /* Consistent width */
        height: 56px;
    }
    
    /* For desktop: buttons side by side */
    @media (min-width: 769px) {
        .form-actions {
            flex-direction: row;
            justify-content: center;
            gap: 20px;
        }
        
        .btn-primary,
        .btn-secondary {
            min-width: 200px;
        }
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .forgot-card {
            padding: 30px 20px;
        }
        
        .form-group {
            max-width: 100%;
        }
        
        
    }
    
    @media (max-width: 480px) {
        .forgot-header h1 {
            font-size: 1.5rem;
        }
        
        .form-label {
            flex-direction: column;
            gap: 5px;
        }
    }