/* Extracted from auth/forgot_password.php — keep selectors unchanged */

:root {
            --deep-green: #0a4d1c;
            --maanyag-gold: #ffcc00;
            --light-green: #e8f5e9;
            --dark-green: #064e1a;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: linear-gradient(135deg, rgba(10, 77, 28, 0.92), rgba(10, 77, 28, 0.95)), url('assets/img/maanyag-hero.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Poppins', sans-serif;
            padding: 20px;
        }

        .forgot-card {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            border: none;
            animation: slideUp 0.6s ease;
            max-width: 440px;
            width: 100%;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .gold-line {
            height: 6px;
            background: linear-gradient(90deg, var(--maanyag-gold), #f5d742, var(--maanyag-gold));
            background-size: 200% 100%;
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        .card-header {
            padding: 30px 30px 20px;
            text-align: center;
            background: white;
        }

        .card-body {
            padding: 10px 30px 30px;
        }

        .logo-container {
            margin-bottom: 20px;
        }

        .logo-container img {
            height: 65px;
            width: auto;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        }

        .card-title {
            color: var(--deep-green);
            font-weight: 700;
            font-size: 24px;
            margin-bottom: 8px;
        }

        .card-subtitle {
            color: #6c757d;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.6;
        }

        .form-label {
            font-weight: 600;
            font-size: 13px;
            color: #495057;
            margin-bottom: 6px;
        }

        .input-group-text {
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-right: none;
            border-radius: 12px 0 0 12px;
            padding: 0 16px;
        }

        .input-group-text i {
            color: var(--deep-green);
            font-size: 18px;
        }

        .form-control {
            border: 2px solid #e9ecef;
            border-radius: 0 12px 12px 0;
            padding: 12px 16px;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            border-color: var(--maanyag-gold);
            box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.15);
        }

        .form-control::placeholder {
            color: #adb5bd;
            font-weight: 300;
        }

        .btn-reset {
            background: linear-gradient(135deg, var(--deep-green), var(--dark-green));
            color: white;
            font-weight: 700;
            padding: 14px;
            border-radius: 12px;
            border: none;
            transition: all 0.3s ease;
            font-size: 15px;
            letter-spacing: 0.5px;
            position: relative;
            overflow: hidden;
        }

        .btn-reset:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(10, 77, 28, 0.35);
            color: var(--maanyag-gold);
        }

        .btn-reset:active {
            transform: translateY(0);
            box-shadow: 0 4px 15px rgba(10, 77, 28, 0.25);
        }

        .btn-reset i {
            transition: transform 0.3s ease;
        }

        .btn-reset:hover i {
            transform: translateX(4px);
        }

        .btn-reset:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none !important;
        }

        .back-link {
            color: var(--deep-green);
            font-weight: 600;
            font-size: 13px;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .back-link:hover {
            color: var(--dark-green);
            transform: translateX(-3px);
        }

        .back-link i {
            font-size: 14px;
        }

        .alert-custom {
            border-radius: 12px;
            padding: 14px 18px;
            margin-bottom: 20px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            border: none;
            animation: slideDown 0.4s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .alert-success-custom {
            background: #f0fff4;
            border-left: 4px solid #38a169;
            color: #276749;
        }

        .alert-danger-custom {
            background: #fff5f5;
            border-left: 4px solid #e53e3e;
            color: #c53030;
        }

        .alert-warning-custom {
            background: #fffbeb;
            border-left: 4px solid #d69e2e;
            color: #975a16;
        }

        .alert-custom .alert-icon {
            font-size: 20px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .alert-custom .alert-content {
            flex: 1;
        }

        .alert-custom .alert-title {
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 2px;
        }

        .alert-custom .alert-message {
            font-size: 13px;
            opacity: 0.9;
        }

        .divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 20px 0 16px;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid #e9ecef;
        }

        .divider::before {
            margin-right: 15px;
        }

        .divider::after {
            margin-left: 15px;
        }

        .divider-text {
            color: #adb5bd;
            font-size: 12px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .help-text {
            font-size: 12px;
            color: #6c757d;
            text-align: center;
            margin-top: 16px;
            line-height: 1.6;
        }

        .help-text i {
            color: var(--deep-green);
        }

        .security-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--light-green);
            color: var(--deep-green);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
        }

        /* Loading spinner for button */
        .spinner-border-sm-custom {
            width: 18px;
            height: 18px;
            border-width: 2px;
        }

        @media (max-width: 576px) {
            .card-header {
                padding: 20px 20px 15px;
            }
            .card-body {
                padding: 10px 20px 25px;
            }
            .card-title {
                font-size: 20px;
            }
            .logo-container img {
                height: 55px;
            }
            .btn-reset {
                padding: 12px;
                font-size: 14px;
            }
            .otp-input {
                width: 40px;
                height: 50px;
                font-size: 20px;
            }
        }
