        body {
            margin: 0;
            padding: 0;
            background: #f7f9fb;
            min-height: 100vh;
            font-family: 'Kanit', 'Segoe UI', Arial, sans-serif;
        }

        .navbar {
            width: 100%;
            background: #fff;
            box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 48px;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 10;
        }

        .navbar .brand {
            font-size: 1.35rem;
            font-weight: 500;
            color: #2d3a4a;
            letter-spacing: 0.5px;
        }

        .center-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .forgot-card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 8px 32px 0 rgba(60, 72, 88, 0.10);
            padding: 40px 32px 32px 32px;
            width: 100%;
            max-width: 400px;
            margin-top: 60px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .forgot-card .logo {
            width: 80px;
        }

        .forgot-card .title {
            font-size: 1.5rem;
            font-weight: 500;
            color: #2d3a4a;
            margin-bottom: 4px;
            text-align: center;
        }

        .forgot-card .subtitle {
            font-size: 1rem;
            color: #6c757d;
            margin-bottom: 16px;
            text-align: center;
        }

        .forgot-card form {
            width: 100%;
        }

        .forgot-card label {
            font-size: 0.95rem;
            color: #6c757d;
            margin-bottom: 4px;
            margin-top: 12px;
            display: block;
            font-weight: 500;
        }

        .forgot-card .input-group {
            position: relative;
            margin-bottom: 18px;
            display: flex;
            align-items: center;
        }

        .forgot-card .input-group input[type="email"] {
            width: 100%;
            padding: 10px 12px 10px 38px;
            border: 1px solid #dbe2ea;
            border-radius: 5px;
            font-size: 1rem;
            background: #f7f9fb;
            color: #2d3a4a;
            transition: border 0.2s;
            outline: none;
            font-family: 'Kanit', 'Segoe UI', Arial, sans-serif;
        }

        .forgot-card .input-group i.fas.fa-envelope {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #b0b8c1;
            font-size: 1rem;
            pointer-events: none;
        }

        .forgot-card .forgot-btn {
            width: auto;
            min-width: 100px;
            float: right;
            display: block;
            margin-left: auto;
            margin-top: 8px;
            background: #4285f4;
            color: #fff;
            border: none;
            border-radius: 5px;
            padding: 10px 28px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s;
        }

        .forgot-card .forgot-btn:hover {
            background: #1976d2;
        }

        .forgot-card .link-button {
            display: block;
            text-align: center;
            color: #4285f4;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            margin-top: 20px;
        }

        .forgot-card .link-button:hover {
            text-decoration: underline;
        }

        .forgot-card .error,
        .forgot-card .success {
            width: 100%;
            margin-bottom: 12px;
            padding: 10px;
            border-radius: 5px;
            text-align: center;
            font-size: 0.95rem;
        }

        .forgot-card .error {
            background: #fdeaea;
            color: #d32f2f;
        }

        .forgot-card .success {
            background: #eafaf1;
            color: #388e3c;
        }

        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1000;
        }

        .popup-box {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #ffffff;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            width: 380px;
            text-align: center;
            font-family: 'Kanit', sans-serif;
        }

        .timer-bar {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: #4285f4;
            animation: timer 5s linear forwards;
        }

        @keyframes timer {
            from {
                width: 100%;
            }

            to {
                width: 0%;
            }
        }

        .popup-title {
            color: #4285f4;
            font-size: 22px;
            font-weight: 600;
            margin-top: 15px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #e0e0e0;
        }

        .popup-content {
            color: #1A2526;
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 20px;
            text-align: left;
        }

        .error-icon {
            display: block;
            font-size: 40px;
            color: #d32f2f;
            margin: 0 auto 10px;
        }

        #errorPopup .popup-title,
        #errorPopup .popup-content {
            color: #d32f2f;
        }

        .popup-action-button {
            background: #4285f4;
            color: #ffffff;
            border: none;
            padding: 10px 25px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: background 0.3s ease;
            font-family: 'Kanit', sans-serif;
            margin: 5px;
        }

        .popup-action-button:hover {
            background: #1976d2;
        }

        .loading-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1001;
        }

        .loading-box {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #ffffff;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            text-align: center;
            font-family: 'Kanit', sans-serif;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid #4285f4;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 10px;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .loading-text {
            color: #4285f4;
            font-size: 16px;
            font-weight: 500;
        }

        @media (max-width: 600px) {
            .navbar {
                padding: 0 16px;
            }

            .forgot-card {
                padding: 28px 8px 24px 8px;
            }
        }