/*==========================================================================
  BSE BOND - E-PPDi2FA.css
  Shared stylesheet for the 2FA / account pages, matching the split-screen
  design of E-PPDiLogin (Design 2 : transaction portal).
  Used by : Authentication_Mode, Google_Authentication, Security_Question,
            Send_OTP, ForgetPassword
  Palette : ink #10263A | BSE navy #0F486A | flame #F26522
            paper #F5F7FA | line #D8E0E9 | slate #44607C
  CSP     : no inline styles anywhere; server controls addressed via
            CssClass and [id$="..."] attribute-suffix selectors.
==========================================================================*/

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}


body {
    font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
    color: #44607C;
    background-color: #F5F7FA;
}

/*---------------- Split shell ----------------*/

.split-shell {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

/*---------------- Left : photo / brand panel ----------------*/

.visual-panel {
    position: relative;
    width: 56%;
    min-height: 100vh;
    background-color: #0E2A42;
    border-right: 6px solid #F26522;
    overflow: hidden;
    background-image: url("../images/BSE.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-right: 6px solid #F26522;   
}

/* Session-driven company image (imgLogo) fills the panel */
.visual-photo,
img[id$="imgLogo"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    background-image: url("../images/BSE.png");
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 56px 52px 0 52px;
    background: linear-gradient(180deg,
        rgba(10, 30, 48, 0.30) 0%,
        rgba(10, 30, 48, 0.55) 45%,
        rgba(8, 24, 40, 0.92) 100%);
}

.visual-brand { margin-bottom: 14px; }

.visual-eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #FDB913;
    margin-bottom: 10px;
    font-weight: 600;
}

.visual-title {
    margin: 0;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #FFFFFF;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
    line-height: 1.05;
}

.visual-tag {
    margin: 8px 0 0 0;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #BCD6EA;
}

.visual-copy {
    max-width: 440px;
    font-size: 14px;
    line-height: 1.7;
    color: #D9E5EF;
    margin: 14px 0 34px 0;
}

.visual-ticker {
    display: flex;
    align-items: center;
    margin: 0 -52px;
    padding: 13px 52px;
    background: rgba(0, 0, 0, 0.45);
    border-top: 1px solid rgba(253, 185, 19, 0.5);
}

.ticker-cell {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: #7FE28F;
    white-space: nowrap;
}

.ticker-sep {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #F26522;
    margin: 0 16px;
    flex: none;
}

/*---------------- Right : workspace ----------------*/

.work-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #F5F7FA;
    min-width: 0;
}

.work-head {
    padding: 26px 64px 0 64px;
    text-align: right;
}

.head-logo,
img[id$="imghead"] {
    display: inline-block;
    width: 110px !important;
    height: auto !important;
}

.work-body {
    flex: 1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 8px 28px 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.offline-note,
div[id$="div_offline"],
div[id$="div_MSG"] {
    font-size: medium;
    color: #B33A00;
    font-variant: small-caps;
    font-weight: 600;
    margin-bottom: 12px;
}

.work-title {
    margin: 0 0 4px 0;
    font-size: 26px;
    font-weight: 700;
    color: #10263A;
}

.work-sub {
    margin: 0 0 30px 0;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #7C93A9;
}

/*---------------- Fields (underline style) ----------------*/

.field-group { margin-bottom: 22px; }

.field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
     font-size: 13px;
    font-weight: 600;
    color: #10263A;
    margin-bottom: 4px;
}

.field-input {
    height: 36px !important;
    width: 100% !important;
    padding: 0 2px;
    font-size: 14px;
    font-family: inherit;
    color: #10263A;
    background: transparent;
    border: none;
    border-bottom: 2px solid #C4D1DE;
    border-radius: 0;
    outline: none;
    transition: border-color .15s ease;
}

.field-input:focus { border-bottom-color: #F26522; }

::-webkit-input-placeholder { color: #9FB2C4; }
::placeholder               { color: #9FB2C4; }

/* Validators & inline errors — server-side rendered, hidden when empty */
.field-error {
    display: inline-block;
    margin: 4px 0 0 6px;
    font-size: 11px;
    color: #C00000 !important;
}

.field-error:empty { display: none; }

.error-inline,
span[id$="panel"],
p[id$="ErrorPanel"] {
    display: block;
    margin: 6px 0 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #C00000;
}

.error-inline label,
span[id$="panel"] label,
p[id$="ErrorPanel"] label {
    color: #C00000;
    font-size: 12px;
    margin: 0;
}

/*---------------- Answer / OTP rows ----------------*/

.answer-row {
    display: flex;
    align-items: center;
}

.answer-row .field-input {
    flex: 1;
    width: auto !important;
    min-width: 0;
}

.eye-btn {
    border: none !important;
    background: transparent;
    height: 20px !important;
    width: 24px !important;
    cursor: pointer;
    margin-left: 10px;
    opacity: 0.8;
}

.eye-btn:hover { opacity: 1; }

/*---------------- Choice list (Authentication mode radios) ----------------*/

.choice-list { margin-bottom: 4px; }

.choice-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: #FFFFFF;
    border: 1px solid #C4D1DE;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: border-color .15s ease;
}

.choice-row:hover { border-color: #0F486A; }

.choice-row label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #10263A;
    cursor: pointer;
    flex: 1;
    margin: 0;
}

.choice-row input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #0F486A;
    cursor: pointer;
    flex: none;
    margin-left: 12px;
}

/*---------------- OTP contact summary ----------------*/

.otp-meta {
    margin: 0 0 20px 0;
    padding: 12px 16px;
    background: #FFFFFF;
    border: 1px solid #C4D1DE;
    border-radius: 4px;
}

.otp-meta-row {
    display: flex;
    align-items: baseline;
    padding: 4px 0;
    font-size: 13px;
}

.otp-meta-label {
    width: 90px;
    flex: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0F486A;
}

.otp-value,
span[id$="lblMobileNumber"],
span[id$="lblEmailId"] {
    font-weight: 600;
    color: #10263A;
    font-size: 13px;
}

/*---------------- QR block (Google authentication) ----------------*/

.qr-block {
    margin-top: 24px;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #C4D1DE;
    border-radius: 4px
    color: #0F486A;
}

.otp-value,
span[id$="lblMobileNumber"],
span[id$="lblEmailId"] {
    font-weight: 600;
    color: #10263A;
    font-size: 13px;
}

/*---------------- QR block (Google authentication) ----------------*/

.qr-block {
    margin-top: 24px;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #C4D1DE;
    border-radius: 4px;
    text-align: center;
}

.qr-note {
    margin: 0 0 10px 0;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #7C93A9;
}

.qr-img,
img[id$="qrimg"] {
    display: block;
    margin: 0 auto 12px auto;
    height: 120px !important;
    width: 120px !important;
    border: 1px solid #D8E0E9;
    background: #FFFFFF;
}

/*---------------- Captcha row (ForgetPassword) ----------------*/

.captcha-row {
    display: flex;
    align-items: flex-end;
}

.captcha-row .field-input {
    flex: 1;
    width: auto !important;
    min-width: 0;
}

.captcha-box {
    display: inline-flex;
    align-items: center;
    margin-left: 14px;
    padding: 4px 9px;
    background: #FFFFFF;
    border: 1px solid #C4D1DE;
    border-radius: 4px;
}

.captcha-img,
img[id$="imgCaptcha"] {
    height: 30px !important;
    width: 90px !important;
    display: block;
}

.captcha-refresh,
input[id$="btnRefresh"] {
    border: none !important;
    background: transparent;
    height: 18px !important;
    width: 18px !important;
    cursor: pointer;
    margin-left: 9px;
    opacity: 0.85;
}

.captcha-refresh:hover { opacity: 1; }

/*---------------- Buttons ----------------*/

.button-row {
    display: flex;
    margin: 26px 0 8px 0;
}

.btn-primary {
    background-color: #0F486A !important;
    color: #FFFFFF !important;
    height: 42px;
    flex: 1;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    /*text-transform: uppercase;*/
    border: none;
   /* border-bottom: 3px solid #F26522;*/
    text-align: center;
    display: inline-block;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color .15s ease;
}

.btn-primary:hover { background-color: #135A85 !important; }

.btn-ghost {
    background: transparent !important;
    color: #44607C !important;
    height: 42px;
    min-width: 92px;
    padding: 0 16px;
    margin-left: 12px;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid #C4D1DE;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    border-radius: 3px;
    transition: border-color .15s ease, color .15s ease;
}

.btn-ghost:hover {
    border-color: #0F486A;
    color: #0F486A !important;
}

.btn-ghost:first-child { margin-left: 0; }

.btn-hidden { display: none !important; }

/* Server message + countdown clock */
.server-message,
span[id$="lblMsg"] {
    display: inline-block;
    color: #C00000 !important;
    font-size: 12px !important;
    font-weight: bold;
    width: 100% !important;
    margin: 4px 0 0 0;
}

.orangebold,
span[id$="clock"] {
    color: #F26522;
    font-weight: bold;
    font-size: 12px;
}

/*---------------- Footer (ForgetPassword disclosures) ----------------*/

.work-footer {
    padding: 18px 64px 22px 64px;
    border-top: 1px solid #D8E0E9;
    background: #EEF2F6;
}

.footer-line {
    margin: 0 0 7px 0;
    font-size: 11px;
    line-height: 1.55;
    color: #607690;
}

.company-name,
span[id$="lblCompanyName"] {
    display: inline-block;
    color: #0F486A !important;
    font-size: 11px !important;
    font-weight: bold;
    width: auto !important;
}

.footer-note,
span[id$="Label1"] {
    display: inline-block;
    font-size: 10.5px !important;
    width: 100% !important;
    max-width: 900px;
    color: #7C93A9;
}

/*---------------- Responsive ----------------*/

@media (max-width: 1080px) {
    .visual-panel { width: 42%; }
    .visual-title { font-size: 42px; }
    .work-head, .work-footer { padding-left: 36px; padding-right: 36px; }
}

@media (max-width: 860px) {
    .split-shell { flex-direction: column; }

    .visual-panel {
        width: 100%;
        min-height: 300px;
        border-right: none;
        border-bottom: 6px solid #F26522;
    }

    .visual-overlay { padding: 32px 28px 0 28px; }
    .visual-title { font-size: 36px; }
    .visual-copy { display: none; }

    .visual-ticker {
        margin: 0 -28px;
        padding: 10px 28px;
        overflow: hidden;
    }

    .work-head { text-align: center; padding-top: 20px; }
    .work-body { padding: 12px 24px 26px 24px; }
    .work-footer { padding: 16px 24px 20px 24px; }
}

@media (max-width: 480px) {
    .button-row { flex-direction: column; }

    .btn-ghost {
        min-width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }

    .captcha-row { flex-wrap: wrap; }

    .captcha-box {
        margin-left: 0;
        margin-top: 10px;
    }
}
@media (max-width: 860px) {

    .work-body {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 24px 26px 24px;
    }

    .choice-row {
        width: 100%;
    }

    .button-row {
        width: 100%;
    }

    .btn-primary {
        width: 100%;
    }
}