/* ============================================
       FORGOT PASSWORD PAGE - CSTechForge Design System
       Com suporte completo a Dark Mode
       ============================================ */

    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
        min-height: 100vh;
        font-family: var(--fg-font-primary, 'Inter', sans-serif);
    }

    /* Dark Mode - Ajuste de background */
    [data-bs-theme="dark"] body {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    }

    .modern-login-container {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .login-card {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--fg-radius-xl, 20px);
        box-shadow: var(--fg-shadow-2xl, 0 25px 50px -12px rgba(0, 0, 0, 0.25));
        border: 1px solid rgba(255, 255, 255, 0.18);
        overflow: hidden;
        width: 100%;
        max-width: 450px;
    }

    /* Dark Mode - Card */
    [data-bs-theme="dark"] .login-card {
        background: rgba(31, 41, 55, 0.95);
        border: 1px solid rgba(55, 65, 81, 0.5);
    }

    .login-header {
        background: #1A1A1A; /* Forge dark */
        border-bottom: 3px solid #4C7DFF; /* Forge accent */
        padding: 40px 30px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .logo-container {
        position: relative;
        z-index: 2;
        margin-bottom: 20px;
    }

    .logo-circle {
        width: 80px;
        height: 80px;
        background: rgba(76, 125, 255, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        border: 2px solid rgba(76, 125, 255, 0.45);
        transition: transform 0.3s ease;
    }

    .logo-circle:hover {
        transform: scale(1.05);
    }

    .logo-circle i {
        font-size: 2.5rem;
        color: white;
    }

    .welcome-text {
        color: white;
        position: relative;
        z-index: 2;
    }

    .welcome-text h2 {
        font-size: var(--fg-font-size-2xl, 1.5rem);
        font-weight: var(--fg-font-weight-bold, 700);
        margin-bottom: 8px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .welcome-text p {
        font-size: var(--fg-font-size-sm, 0.875rem);
        opacity: 0.9;
        margin: 0;
    }

    .login-body {
        padding: 40px 30px;
    }

    /* Dark Mode - Login Body */
    [data-bs-theme="dark"] .login-body {
        color: var(--fg-gray-100, #f3f4f6);
    }

    .form-floating {
        position: relative;
        margin-bottom: 20px;
    }

    .form-floating input {
        border: 2px solid var(--fg-gray-300, #e1e5e9);
        border-radius: var(--fg-radius-lg, 12px);
        padding: 20px 16px 8px 16px;
        font-size: var(--fg-font-size-base, 1rem);
        transition: all 0.3s ease;
        background: var(--fg-gray-50, #f8f9fa);
        width: 100%;
        color: var(--fg-gray-900, #111827);
    }

    /* Dark Mode - Inputs */
    [data-bs-theme="dark"] .form-floating input {
        background: var(--fg-gray-800, #1f2937);
        border-color: var(--fg-gray-700, #374151);
        color: var(--fg-gray-100, #f3f4f6);
    }

    .form-floating input:focus {
        border-color: #3A6FF7; /* Forge brand-blue */
        box-shadow: 0 0 0 0.2rem rgba(58, 111, 247, 0.25);
        background: white;
        outline: none;
    }

    /* Dark Mode - Input Focus */
    [data-bs-theme="dark"] .form-floating input:focus {
        background: var(--fg-gray-700, #374151);
        border-color: #4C7DFF; /* Forge brand-blue dark */
    }

    .form-floating label {
        padding: 16px;
        color: var(--fg-gray-600, #6c757d);
        font-weight: var(--fg-font-weight-medium, 500);
    }

    /* Dark Mode - Labels */
    [data-bs-theme="dark"] .form-floating label {
        color: var(--fg-gray-400, #9ca3af);
    }

    .btn-primary {
        width: 100%;
        padding: 16px;
        background: #3A6FF7; /* Forge brand-blue */
        border: none;
        border-radius: var(--fg-radius-lg, 12px);
        color: white;
        font-weight: var(--fg-font-weight-semibold, 600);
        font-size: var(--fg-font-size-base, 1rem);
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: var(--fg-shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--fg-shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    }

    .btn-primary:active {
        transform: translateY(0);
    }

    .btn-primary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

    .btn-loading {
        display: none;
    }

    .back-to-login {
        text-align: center;
        margin-top: 20px;
    }

    .back-to-login a {
        color: #3A6FF7; /* Forge brand-blue */
        text-decoration: none;
        font-weight: var(--fg-font-weight-medium, 500);
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .back-to-login a:hover {
        color: #7B4DFF; /* Forge brand-purple */
        text-decoration: underline;
    }

    .footer-text {
        text-align: center;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid var(--fg-gray-200, #e5e7eb);
        font-size: var(--fg-font-size-sm, 0.875rem);
        color: var(--fg-gray-600, #6c757d);
    }

    /* Dark Mode - Footer */
    [data-bs-theme="dark"] .footer-text {
        border-top-color: var(--fg-gray-700, #374151);
        color: var(--fg-gray-400, #9ca3af);
    }

    .footer-text a {
        color: #3A6FF7; /* Forge brand-blue */
        text-decoration: none;
    }

    .footer-text a:hover {
        text-decoration: underline;
    }

    /* Success message */
    .success-message {
        display: none;
        padding: 16px;
        background: var(--fg-success-light, #d4edda);
        border: 1px solid var(--fg-success, #28a745);
        border-radius: var(--fg-radius-lg, 12px);
        color: var(--fg-success-dark, #155724);
        margin-bottom: 20px;
        text-align: center;
    }

    [data-bs-theme="dark"] .success-message {
        background: rgba(40, 167, 69, 0.2);
        border-color: var(--fg-success, #28a745);
        color: var(--fg-success-light, #d4edda);
    }
