/* ================= GLOBAL ================= */
/*body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: radial-gradient(circle at top, #f5f9ff, #e2eaf3);
    color: #1e2a3a;
}
*/

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    /* Professional PSU gradient */
    background: linear-gradient( 135deg, #eef3f9 0%, #e6edf6 40%, #dde7f2 100% );
    color: #1e2a3a;
}


/* ================= HERO ================= */
.hero-section {
    text-align: center;
    padding: 10px 20px 5px;
    margin:0;
}
.footer-section {
    text-align: center;
    padding: 5px 5px 1px;
}

.brand-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 18px;
}
/*
.bank-logo {
    max-height: 70px;
}

.app-logo {
    max-height: 60px;
}*/

.hero-title {
    font-size: 28px;
    font-weight: 700;
    /*color: #1f3c88;*/
    color: #fff;
}
.bank-logo{

}
.footer-title {
    margin-top:1%;
    font-size: 18px;
    font-weight: 700;
    color: #1f3c88;
}
.footer-title2 {
    margin-top: 1%;
    font-size: 14px;
    font-weight: 700;
    color: #1f3c88;
}

/* ================= LOGIN ================= */
.login-area {
    display: flex;
    justify-content: center;
    /*padding-bottom: 10px;*/
    padding: 100px 20px 25px;
}

.login-card {
    max-width: 600px;
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(31,60,136,0.18);
}

.login-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #1f3c88;
    margin-bottom: 15px;
}

/* ================= FORM ================= */
.login-field {
    margin-bottom: 16px;
    margin-right:10px;
}

    .login-field label {
        font-size: 13px;
        font-weight: 750;
        display: block;
        margin-bottom: 6px;
    }

.login-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 9px;
    border: 2.5px solid #cfd8dc;
    font-size: 14px;
}

    .login-input:focus {
        border-color: #3f51b5;
        outline: none;
        box-shadow: 0 0 0 3px rgba(63,81,181,0.2);
    }

/* ARIA INVALID */
input[aria-invalid="true"] {
    border-color: #c62828;
}

/* ================= CAPTCHA ================= */
/*.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-input {
    width: 120px;
    text-align: center;
    letter-spacing: 2.5px;
}

.captcha-image {
    height: 44px;
    border-radius: 6px;
    border: 1px solid #cfd8dc;
}

.captcha-refresh {
    width: 22px;
    cursor: pointer;
}*/





/* ===== Arithmetic CAPTCHA ===== */

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2%;
}

.captcha-question {
    font-size: 16px;
    font-weight: 700;
    color: #1f3c88;
    min-width: 80px;
    text-align: center;
}

.captcha-input {
    width: 90px;
    text-align: center;
    font-weight: 600;
}

.captcha-refresh {
    width: 22px;
    cursor: pointer;
    opacity: 0.75;
}

    .captcha-refresh:hover {
        opacity: 1;
    }


/* ================= BUTTON ================= */
.login-action {
    text-align: center;
    margin-top: 24px;
}

.login-button {
    background: linear-gradient(to right, #1f3c88, #3f51b5);
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 30px;
    border: none;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    
}

/* ================= ERROR ================= */
.login-message {
    color: #c62828;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
}

/* ================= ACCESSIBILITY ================= */

/* Visible keyboard focus */
/*:focus-visible {
    outline: 3px solid #ff9800;
    outline-offset: 2px;
}*/
:focus-visible {
    outline: 3px solid #ffeb3b;
    outline-offset: 3px;
}


/* Screen-reader-only text */






/* ================= TOP GRADIENT STRIP ================= */

.top-strip {
    width: 100%;
    height:75px;
    background: linear-gradient( 90deg, #1f3c88 0%, #2f55a4 45%, #3f6fd0 100% );
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.top-strip-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logos inside strip */
.top-strip .bank-logo {
    max-height: 65px;
    padding-top:0;
    margin-top:0px;
}

.top-strip .app-logo {
    max-height: 54px;
}

/* ================= HERO SECTION SPACING ================= */

.hero-section {
    text-align: center;
    padding: 5px 20px 25px;
}

/* ================= ACCESSIBILITY ================= */

/* Ensure focus is visible even on gradient */
.top-strip a:focus-visible,
.top-strip img:focus-visible {
    outline: 3px solid #ffeb3b;
    outline-offset: 3px;
}



/* ===== FORCE CAPTCHA QUESTION VISIBILITY ===== */

.captcha-question,
#litCaptchaQuestion,
#lblCaptchaQuestion {
    display: inline-block !important;
    min-width: 90px;
    font-size: 18px !important;
    font-weight: 720 !important;
    color: #1f3c88 !important;
    text-align: center;
    line-height: 1.4;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ===== TOP STRIP OVERRIDES ===== */

.top-strip {
    width: 100% !important;
}

.top-strip-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 8px 16px !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
}

.bank-logo {
    height: 60px !important;
    z-index: 2 !important;
}

.hero-title {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* ==========================================================================
   RESPONSIVE — TABLETS (≤991px)
   ========================================================================== */
@media screen and (max-width: 991px) {
    .login-area {
        padding: 60px 16px 20px;
    }

    .login-card {
        max-width: 500px;
        padding: 28px 24px;
    }

    .hero-title {
        font-size: 24px !important;
        white-space: normal !important;
    }

    .top-strip {
        height: auto !important;
        min-height: 60px;
    }
}

/* ==========================================================================
   RESPONSIVE — PHONES LANDSCAPE (≤768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .top-strip-content {
        flex-direction: column !important;
        gap: 8px !important;
        padding: 10px 12px !important;
    }

    .hero-title {
        position: static !important;
        transform: none !important;
        white-space: normal !important;
        font-size: 20px !important;
        line-height: 1.3;
    }

    .bank-logo {
        height: 44px !important;
    }

    .top-strip {
        height: auto !important;
    }

    .login-area {
        padding: 40px 12px 16px;
    }

    .login-card {
        max-width: 100%;
        padding: 24px 20px;
        border-radius: 14px;
    }

    .hero-section {
        padding: 4px 12px 16px;
    }

    .footer-title {
        font-size: 14px;
    }

    .footer-title2 {
        font-size: 12px;
    }

    .footer-section img {
        width: 28px;
        height: auto;
    }
}

/* ==========================================================================
   RESPONSIVE — PHONES PORTRAIT (≤480px)
   ========================================================================== */
@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .brand-row {
        flex-direction: column;
        gap: 8px;
    }

    .hero-title {
        font-size: 16px !important;
        line-height: 1.3;
    }

    .bank-logo {
        height: 36px !important;
    }

    .top-strip-content {
        padding: 8px 10px !important;
    }

    .login-area {
        padding: 24px 10px 12px;
    }

    .login-card {
        padding: 20px 16px;
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(31, 60, 136, 0.14);
    }

    .login-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    /* Form inputs — full width with good touch targets */
    .input-field,
    .login-input {
        width: 100% !important;
        min-height: 44px;
        font-size: 16px;          /* prevents iOS zoom on focus */
        padding: 10px 12px;
        box-sizing: border-box;
    }

    .input-label {
        font-size: 13px;
        margin-bottom: 4px;
    }

    /* Captcha row — stack vertically */
    .captcha-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .captcha-question {
        font-size: 15px !important;
        min-width: auto;
    }

    .captcha-input {
        width: 100% !important;
        box-sizing: border-box;
    }

    .captcha-refresh {
        width: 28px;
        min-height: 44px;       /* WCAG touch target */
    }

    /* Login button — full width */
    .btn-primary-main,
    .login-button {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
        padding: 12px 20px;
        box-sizing: border-box;
    }

    .login-action {
        margin-top: 16px;
    }

    /* Footer */
    .footer-title {
        font-size: 12px;
    }

    .footer-title2 {
        font-size: 11px;
    }

    .footer-section {
        padding: 4px 8px 2px;
    }

    .footer-section img {
        width: 24px;
        height: auto;
    }
}

/* ==========================================================================
   RESPONSIVE — VERY SMALL PHONES (≤360px)
   ========================================================================== */
@media screen and (max-width: 360px) {
    .hero-title {
        font-size: 14px !important;
    }

    .login-card {
        padding: 16px 12px;
    }

    .bank-logo {
        height: 30px !important;
    }
}












































