/* ===== Inline style block 1 from forgetPassword.html ===== */
/* ================= RESET ================= */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            overflow-x: hidden;
        }

        /* ================= PAGE WRAPPER ================= */
        .page-wrapper {
            position: relative;
            width: 100%;
            min-height: 100vh;
        }

        /* ================= FULL BACKGROUND SLIDER ================= */
        .hero-slider {
            position: fixed;
            inset: 0;
            z-index: -2;
        }

        .hero-image {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            animation: bgSlide 36s infinite;
        }

        .hero-image:nth-child(1) { animation-delay: 0s; }
        .hero-image:nth-child(2) { animation-delay: 6s; }
        .hero-image:nth-child(3) { animation-delay: 12s; }
        .hero-image:nth-child(4) { animation-delay: 18s; }
        .hero-image:nth-child(5) { animation-delay: 24s; }
        .hero-image:nth-child(6) { animation-delay: 30s; }

        @keyframes bgSlide {
            0% { opacity: 0; }
            8% { opacity: 1; }
            30% { opacity: 1; }
            38% { opacity: 0; }
            100% { opacity: 0; }
        }

        /* Dark overlay */
        .page-wrapper::before {
            content: "";
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.45);
            z-index: -1;
        }

        /* ================= HEADER ================= */
        .main-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 64px;
            padding: 12px 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #342c68;
            backdrop-filter: blur(8px);
            z-index: 1000;
        }

        .logo-left {
            height: 30px;
        }

        .header-title {
            color: #ffffff;
            font-size: 14px;
            font-weight: 500;
        }

        /* ================= MAIN LOGIN ================= */
        .left-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-top: 64px;
            z-index: 2;
        }

        /* ================= GLASS CARD ================= */
        .login-container {
            width: 100%;
            max-width: 460px;
            padding: 48px;
            border-radius: 16px;
            background: rgba(255,255,255,0.18);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.35);
        }

        /* ================= TEXT ================= */
        .welcome-text {
            font-size: 26px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 22px;
        }

        .subtitle {
            font-size: 14px;
            color: #e0e0e0;
            margin-bottom: 32px;
        }

        /* ================= INPUTS ================= */
        .input-field {
            margin-bottom: 20px;
        }

        label {
            font-size: 13px;
            color: #ffffff;
            font-weight: 500;
            margin-bottom: 8px;
            display: block;
        }

        label i {
            margin-right: 6px;
        }

        input[type="text"],
        input[type="password"] {
            width: 100%;
            padding: 12px 14px;
            border-radius: 8px;
            border: none;
            background: rgba(255,255,255,0.9);
            font-size: 14px;
        }

        input::placeholder {
            color: #6c757d;
        }

        input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(52,44,104,0.35);
        }

        /* ================= PASSWORD ================= */
        .password-wrapper {
            position: relative;
        }

        .password-wrapper input {
            padding-right: 44px;
        }

        .toggle-password {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: #5f6672;
            font-size: 16px;
            padding: 0;
        }

        /* ================= CAPTCHA ================= */
        .captcha-row {
            display: grid;
            grid-template-columns: 160px 46px 1fr;
            gap: 12px;
            align-items: flex-end;
            margin-bottom: 20px;
        }

        .captcha-group {
            display: flex;
            flex-direction: column;
        }

        .captcha-group label {
            margin-bottom: 8px;
        }

        .captcha-box {
            height: 46px;
            min-width: 160px;
            background: rgba(255,255,255,0.9);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            letter-spacing: 3px;
            user-select: none;
        }

        .captcha-group input {
            height: 46px;
            padding: 12px 14px;
            border-radius: 8px;
            border: none;
            background: rgba(255,255,255,0.9);
        }

        .refresh-captcha {
            width: 46px;
            height: 46px;
            align-self: flex-end;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.9);
            border: none;
            cursor: pointer;
        }

        .refresh-captcha:hover {
            background: #342c68;
            color: #ffffff;
        }

        /* ================= EXTRAS (ONE LINE FIX) ================= */
        .form-extras {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 24px;
            font-size: 13px;
            color: #ffffff;
            flex-wrap: nowrap;
        }

        .remember {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }

        .forgot-link {
            color: #ffffff;
            text-decoration: underline;
            white-space: nowrap;
        }

        /* ================= BUTTON ================= */
        .login-btn {
            width: 100%;
            padding: 14px;
            border-radius: 8px;
            border: none;
            background: #342c68;
            color: #ffffff;
            font-weight: 600;
            cursor: pointer;
        }

        .login-btn:hover {
            background: #241d53;
        }
.otp-action-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 8px;
}

.otp-action-slot {
    position: relative;
    height: 48px;
    margin-bottom: 8px;
    overflow: hidden;
}

.otp-action-slot #submitBtn,
.otp-action-row {
    position: absolute;
    inset: 0;
    width: 100%;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.otp-action-slot #submitBtn {
    height: 48px;
    min-height: 48px;
    padding-top: 0;
    padding-bottom: 0;
}

.otp-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.otp-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-14px);
}

.otp-action-btn {
    height: 48px;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    background: #342c68;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    padding: 0 10px;
    cursor: pointer;
}

.otp-send-btn {
    background: #342c68;
    pointer-events: auto;
    opacity: 1;
}

.otp-action-btn.otp-channel-btn:not(.selected) {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.95);
}

.otp-action-btn.otp-channel-btn.selected {
    background: #342c68;
}

.otp-action-row.otp-visible .otp-action-btn {
    animation: otpSlideIn 0.25s ease both;
}

.otp-action-row.otp-visible .otp-action-btn:nth-child(1) {
    animation-delay: 0s;
}

.otp-action-row.otp-visible .otp-action-btn:nth-child(2) {
    animation-delay: 0.06s;
}

.otp-action-row.otp-visible .otp-action-btn:nth-child(3) {
    animation-delay: 0.12s;
}

@keyframes otpSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}/* ================= FOOTER ================= */
        .main-footer {
            position: fixed;
            bottom: 24px;
            left: 24px;
            z-index: 10;
        }

        .logo-bottom-right {
            height: 30px;
            filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
        }

        /* ================= RESPONSIVE ================= */
        @media (max-width: 768px) {
            .left-section {
                padding: 80px 30px;
            }

            .login-container {
                padding: 36px;
            }
        }

        @media (max-width: 480px) {
            .captcha-row {
                grid-template-columns: 1fr;
                align-items: stretch;
            }

            .refresh-captcha {
                width: 100%;
            }
        }

        @media (max-width: 360px) {
            .form-extras {
                flex-direction: column;
                align-items: flex-start;
            }
        }

.otp-container {
    margin-top: 15px;
}

.otp-boxes {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: 8px;
}

.otp-input {
    width: 45px;
    height: 50px;
    font-size: 22px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    background: rgba(255,255,255,0.95);
}

.otp-input:focus {
    border-color: #d83030;
    box-shadow: 0 0 3px rgba(216,48,48,.5);
}

#confirmOtpHtml {
    justify-content: center;
    align-items: center;
    min-height: 100vh;   /* full screen height */
    width: 100%;
}

#confirmOtpHtml .login-container {
    max-width: 420px;
    width: 100%;
}

#fp-otp-submit-wrap {
    margin-top: 44px;
}

#fp-otp-countdown {
    font-size: 12px;
    margin-bottom: 8px;
    text-align: right;
    color: #ffffff;
}

#fp-otp-time {
    color: #ff0000;
    font-weight: 700;
}

#password-validation-message {
    margin-top: 10px;
    display: block;
    color: #ffffff;
    background: rgba(34, 43, 69, 0.92);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px;
    padding: 10px 12px;
    line-height: 1.45;
    font-size: 13px;
}

.back-btn {
    margin-top: 8px;
    background: rgba(255,255,255,0.92);
    color: #1e2144;
}

.back-btn:hover {
    background: #ffffff;
    color: #131633;
}

.swal2-popup.dp-toast-popup {
    min-width: 360px;
    border-radius: 12px;
    background: #1f2b57 !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.swal2-title.dp-toast-title {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.swal2-popup.dp-toast-popup .swal2-icon.swal2-error {
    border-color: #ff6b6b !important;
    color: #ff6b6b !important;
}

.swal2-popup.dp-toast-popup .swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
    background-color: #ff6b6b !important;
}

#confirmOtpHtml[hidden],
#createPasswordHtml[hidden],
#sendOtpHtml[hidden],
#password-validation-message[hidden] {
    display: none !important;
}

