/* Extracted from app/Views/auth/forgot_password.php */
/* ============================================================
           GLOBAL
           ============================================================ */
        body {
            font-family: 'Inter', sans-serif;
            background-image: url('/assets/background-login.jpg?v=20260830-2');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            padding: 20px;
            background-color: #0f172a; /* fallback */
        }

        /* ============================================================
           GLASS CARD – improved contrast
           ============================================================ */
        .forgot-card {
            background: rgba(15, 23, 42, 0.82);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-radius: 1.5rem;
            padding: 2.5rem 2rem;
            width: 100%;
            max-width: 500px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
            transition: transform 0.2s ease;
        }
        .forgot-card:hover {
            transform: scale(1.005);
        }

        /* ============================================================
           LOGO
           ============================================================ */
        .logo-wrapper {
            text-align: center;
            margin-bottom: 1.8rem;
        }
        .logo-wrapper img {
            max-width: 80px;
            height: auto;
            filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
        }
        .logo-wrapper h2 {
            color: #fff;
            font-weight: 700;
            font-size: 1.5rem;
            margin-top: 0.5rem;
            letter-spacing: -0.5px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.4);
        }

        /* ============================================================
           FORM CONTROLS – bright and readable
           ============================================================ */
        .form-control {
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid rgba(255, 255, 255, 0.4);
            color: #0f172a;
            font-weight: 500;
            padding: 0.75rem 1rem;
            border-radius: 0.75rem;
            font-size: 1rem;
        }
        .form-control:focus {
            background: #ffffff;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
            color: #0f172a;
        }
        .form-control::placeholder {
            color: #64748b;
            font-weight: 400;
        }

        .form-label {
            color: #f1f5f9; /* very bright */
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0.3rem;
        }
        .form-label .required-star {
            color: #f87171;
            margin-left: 2px;
        }

        /* ============================================================
           GUIDELINES BOX – improved readability
           ============================================================ */
        .guidelines-box {
            background: rgba(255, 255, 255, 0.07);
            border-left: 4px solid #3b82f6;
            border-radius: 0.75rem;
            padding: 1.2rem 1.2rem;
            margin-bottom: 1.5rem;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }
        .guidelines-box h5 {
            color: #93c5fd;
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0.75rem;
        }
        .guidelines-box h5 i {
            color: #3b82f6;
            margin-right: 0.5rem;
        }
        .guideline-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.87rem;
            color: rgba(255, 255, 255, 0.9);
            padding: 4px 0;
        }
        .guideline-item i {
            width: 20px;
            text-align: center;
            color: #93c5fd;
            font-size: 0.9rem;
        }
        .help-text {
            margin-top: 0.75rem;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.65);
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 0.75rem;
        }
        .help-text i {
            color: #fbbf24;
            margin-right: 6px;
        }

        /* ============================================================
           BUTTONS
           ============================================================ */
        .btn-primary-custom {
            background: #2563eb;
            border: none;
            font-weight: 700;
            padding: 0.75rem;
            border-radius: 0.75rem;
            transition: all 0.2s;
            color: #fff;
        }
        .btn-primary-custom:hover {
            background: #1d4ed8;
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(37, 99, 235, 0.4);
            color: #fff;
        }
        .btn-primary-custom:disabled {
            opacity: 0.6;
            pointer-events: none;
        }
        .btn-primary-custom .spinner-border {
            width: 1rem;
            height: 1rem;
            border-width: 0.15em;
            margin-right: 0.5rem;
        }

        /* ============================================================
           BACK LINK
           ============================================================ */
        .back-link {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            font-size: 0.85rem;
            transition: color 0.2s;
        }
        .back-link:hover {
            color: #93c5fd;
            text-decoration: underline;
        }
        .back-link i {
            margin-right: 6px;
        }

        /* ============================================================
           ALERTS – high contrast
           ============================================================ */
        .alert-custom {
            border-radius: 0.75rem;
            font-weight: 500;
            border: none;
            background: rgba(239, 68, 68, 0.9);
            color: #fff;
            backdrop-filter: blur(4px);
        }
        .alert-success-custom {
            background: rgba(34, 197, 94, 0.9);
            color: #fff;
        }
        .alert .btn-close {
            filter: brightness(0) invert(1);
        }

        /* ============================================================
           RESPONSIVE
           ============================================================ */
        @media (max-width: 480px) {
            .forgot-card {
                padding: 1.8rem 1.2rem;
            }
            .logo-wrapper h2 {
                font-size: 1.2rem;
            }
            .guidelines-box {
                padding: 1rem;
            }
            .guideline-item {
                font-size: 0.8rem;
            }
        }
