  :root {
            --primary: #2f855a;
            --primary-dark: #276749;
            --secondary: #9ae6b4;
            --light: #f0fff4;
            --dark: #1a4731;
            --gray: #a0aec0;
            --light-gray: #e6fffa;
            --border: #c6f6d5;
            --error: #f56565;
        }

        body {
            background: linear-gradient(135deg, var(--light), var(--secondary) 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Noto Sans Thai', sans-serif;
            margin: 0;
            padding: 1rem;
        }

        .forgot-password-container {
            width: 100%;
            max-width: 450px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            border-radius: 12px;
            background: var(--light);
        }

        .forgot-password-card {
            background: white;
            padding: 2.25rem 2rem;
            width: 100%;
            border-radius: 12px;
        }

        .forgot-password-header {
            text-align: center;
            margin-bottom: 1.75rem;
        }

        .logo {
            display: block;
            margin: 0 auto 1rem;
            max-width: 100px;
            transition: transform 0.3s ease;
        }

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

        h2 {
            color: var(--dark);
            font-weight: 600;
            font-size: 1.65rem;
            margin-bottom: 0.5rem;
        }

        .welcome-text {
            color: var(--gray);
            font-size: 0.9rem;
            margin: 0;
        }

        .form-floating {
            margin-bottom: 1rem;
            position: relative;
        }

        .form-floating label {
            color: var(--gray);
            font-weight: 400;
            padding-left: 3rem;
            font-size: 0.95rem;
            transform: translateY(-0.1rem);
        }

        .form-control {
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 0.65rem 1rem 0.65rem 2.5rem;
            height: 3rem;
            font-size: 0.95rem;
            transition: all 0.2s ease;
            width: 100%;
            text-indent: 2rem;
        }

        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.2rem rgba(47, 133, 90, 0.2);
        }

        .input-icon {
            position: absolute;
            left: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
            font-size: 1rem;
            z-index: 10;
        }

        .error-message {
            background: rgba(245, 101, 101, 0.1);
            color: var(--error);
            padding: 0.75rem;
            border-radius: 8px;
            margin-bottom: 1rem;
            font-size: 0.85rem;
            text-align: center;
            border-left: 3px solid var(--error);
        }

        .btn-submit {
            background: var(--primary);
            border: none;
            padding: 0.75rem;
            font-size: 1rem;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s ease;
            width: 100%;
            color: white;
            box-shadow: 0 3px 8px rgba(47, 133, 90, 0.2);
        }

        .btn-submit:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(47, 133, 90, 0.3);
        }

        .btn-submit:active {
            transform: translateY(0);
            box-shadow: 0 2px 6px rgba(47, 133, 90, 0.2);
        }

        .forgot-password-footer {
            margin-top: 1.75rem;
            text-align: center;
            color: var(--gray);
            font-size: 0.85rem;
        }

        .forgot-password-footer a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .forgot-password-footer a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(8px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-floating,
        .btn-submit,
        .error-message {
            animation: fadeIn 0.5s ease forwards;
        }

        .form-floating:nth-child(1) {
            animation-delay: 0.1s;
        }

        .form-floating:nth-child(2) {
            animation-delay: 0.2s;
        }

        .form-floating:nth-child(3) {
            animation-delay: 0.3s;
        }

        .form-floating:nth-child(4) {
            animation-delay: 0.4s;
        }

        .btn-submit {
            animation-delay: 0.5s;
        }

        /* Responsive design */
        @media (max-width: 767px) {
            .forgot-password-container {
                width: 100%;
                max-width: 400px;
            }

            .forgot-password-card {
                padding: 1.75rem 1.25rem;
            }

            h2 {
                font-size: 1.5rem;
            }

            .form-control {
                height: 2.75rem;
                padding: 0.5rem 1rem 0.5rem 2.5rem;
                text-indent: 2rem;
            }

            .input-icon {
                font-size: 0.9rem;
            }
        }

        /* SweetAlert2 styles - ใช้ Noto Sans Thai */
        .swal2-container,
        .swal2-popup,
        .swal2-popup *,
        .swal2-title,
        .swal2-html-container,
        .swal2-actions button,
        .swal2-timer-progress-bar {
            font-family: 'Noto Sans Thai', sans-serif !important;
        }

        .swal2-popup {
            font-size: 1.1rem !important;
        }

        .swal2-title {
            font-weight: 600 !important;
        }

        .swal2-html-container {
            font-weight: 400 !important;
        }

        .swal2-actions button {
            font-weight: 500 !important;
        }