/* =========================================================
   SIBF Authentication Pages — auth-pages.css
   Scope: .sibf-auth-page only. No global selectors touched.
   ========================================================= */

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
.sibf-auth-page {
    --ap-orange: #F47836;
    --ap-orange-dk: #d9652a;
    --ap-orange-light: rgba(244, 120, 54, .10);
    --ap-teal: #00AAA6;
    --ap-teal-light: rgba(0, 170, 166, .10);
    --ap-text: #1a1714;
    --ap-text-sec: #5c5450;
    --ap-muted: #9b9390;
    --ap-white: #ffffff;
    --ap-surface: #fffdf8;
    --ap-bg: #f7f4ef;
    --ap-border: rgba(20, 20, 20, .09);
    --ap-border-input: #ddd9d4;
    --ap-input-bg: #fdfcfb;
    --ap-error: #b93a2a;
    --ap-success: #1a7a6a;
    --ap-radius-panel: 28px;
    --ap-radius-input: 8px;
    --ap-shadow-panel: 0 20px 60px rgba(0, 0, 0, .06), 0 2px 12px rgba(0, 0, 0, .04);
    --ap-shadow-focus: 0 0 0 3px rgba(244, 120, 54, .15);
    --ap-transition: .22s ease;
    font-family: "Urbanist", sans-serif;
}

/* =========================================================
   NAVBAR OVERRIDE
   ========================================================= */
.sibf-auth-page .navbar-area {
    background: #1e1e1e;
    background-image: none;
}

.sibf-auth-page .navbar-area.is-sticky {
    background-color: #1e1e1e !important;
}

.sibf-auth-page .sibf-forward-icon,
.sibf-auth-page .sibf-back-icon,
.sibf-auth-page .sibf-prev-icon,
.sibf-auth-page .sibf-next-icon {
    display: inline-block;
    transform-origin: center;
}

[dir="rtl"] .sibf-auth-page .sibf-forward-icon,
[dir="rtl"] .sibf-auth-page .sibf-back-icon,
[dir="rtl"] .sibf-auth-page .sibf-prev-icon,
[dir="rtl"] .sibf-auth-page .sibf-next-icon,
body.rtl .sibf-auth-page .sibf-forward-icon,
body.rtl .sibf-auth-page .sibf-back-icon,
body.rtl .sibf-auth-page .sibf-prev-icon,
body.rtl .sibf-auth-page .sibf-next-icon {
    transform: scaleX(-1);
}

/* =========================================================
   AUTH INTRO STRIP
   ========================================================= */
.sibf-auth-page .sibf-auth-intro {
    background: var(--ap-white);
    border-bottom: 1px solid var(--ap-border);
    padding: 40px 0 36px;
}

.sibf-auth-page .sibf-auth-intro-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.sibf-auth-page .sibf-auth-intro-accent {
    flex-shrink: 0;
    width: 4px;
    height: 52px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--ap-orange) 0%, var(--ap-teal) 100%);
}

.sibf-auth-page .sibf-auth-intro h1 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--ap-text);
    margin-bottom: 4px;
    letter-spacing: -.01em;
    line-height: 1.25;
}

.sibf-auth-page .sibf-auth-intro p {
    color: var(--ap-text-sec);
    font-size: .92rem;
    margin-bottom: 0;
    line-height: 1.55;
}

/* =========================================================
   MAIN SECTION WRAPPER
   ========================================================= */
.sibf-auth-page .sibf-auth-main {
    background: var(--ap-bg);
    padding: 0px 20px 0px;
}

/* =========================================================
   CONTAINERS
   ========================================================= */
.sibf-auth-page .sibf-auth-container {
    max-width: 1240px;
    margin: 0 auto;
}

.sibf-auth-page .sibf-auth-container--narrow {
    max-width: 580px;
    margin: 0 auto;
}

/* =========================================================
   UNIFIED SPLIT SHELL
   ========================================================= */
.sibf-auth-page .sibf-auth-shell {
    background: transparent;
    border: 0px solid var(--ap-border);
    border-radius: 0;
    box-shadow: none;
    overflow: visible; /* must be visible — any overflow value creates a scroll boundary that kills position:sticky in children */
}

.sibf-auth-page .sibf-auth-shell--split {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

/* =========================================================
   LEFT: EDITORIAL AREA
   ========================================================= */

/* Panel base — gradient fills full column height; padding lives on the sticky wrapper */
.sibf-auth-page .sibf-auth-editorial {
    background: #FBF7F1;
    border-right: 1px solid rgba(20, 20, 20, .06);
    position: relative;
    overflow: visible; /* must NOT be hidden/clip — either value traps sticky children */
}

/* Thin brand accent stripe along the very top edge */
.sibf-auth-page .sibf-auth-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ap-orange) 0%, var(--ap-teal) 65%, transparent 100%);
    opacity: .9;
}

/* Sticky wrapper — wraps ALL editorial content; this is the sticky element */
.sibf-auth-page .sibf-auth-editorial-sticky {
    padding: 72px 60px 64px;
    position: relative; /* base: normal flow on mobile */
}

@media (min-width: 992px) {
    .sibf-auth-page .sibf-auth-editorial-sticky {
        position: sticky;
        top: 120px;
    }
}

@media (max-width: 991px) {
    .sibf-auth-page .sibf-auth-editorial-sticky {
        position: static;
    }
}

/* Inner text wrapper — constrains text width for readability */
.sibf-auth-page .sibf-auth-editorial-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-width: 420px;
}

/* Eyebrow label */
.sibf-auth-page .sibf-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ap-orange);
    margin-bottom: 26px;
}

.sibf-auth-page .sibf-auth-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ap-orange);
    border-radius: 2px;
    flex-shrink: 0;
}

/* Headline — larger, heavier, tighter tracking */
.sibf-auth-page .sibf-auth-editorial-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--ap-text);
    margin: 0 0 20px;
    letter-spacing: -.035em;
}

/* Body copy */
.sibf-auth-page .sibf-auth-editorial-copy {
    font-size: .91rem;
    color: var(--ap-text-sec);
    line-height: 1.8;
    margin: 0 0 40px;
}

/* Benefit rows */
.sibf-auth-page .sibf-auth-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.sibf-auth-page .sibf-auth-benefit {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(20, 20, 20, .07);
}

.sibf-auth-page .sibf-auth-benefit:last-child {
    border-bottom: 1px solid rgba(20, 20, 20, .07);
}

.sibf-auth-page .sibf-auth-benefit-number {
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--ap-orange);
    min-width: 24px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.sibf-auth-page .sibf-benefit-text {
    font-size: .9rem;
    color: var(--ap-text-sec);
    line-height: 1.4;
    font-weight: 500;
}

/* Italic editorial quote with left orange accent border */
.sibf-auth-page .sibf-auth-editorial-quote {
    font-size: .84rem;
    font-style: italic;
    color: var(--ap-muted);
    line-height: 1.7;
    margin: auto 0 0;
    padding: 0 0 0 16px;
    border-left: 2px solid rgba(244, 120, 54, .3);
}

/* =========================================================
   RIGHT: FORM PANEL
   ========================================================= */
.sibf-auth-page .sibf-auth-form-panel {
    padding: 120px 52px;
    background: var(--ap-white);
    display: flex;
    flex-direction: column;
}

.sibf-auth-page .sibf-auth-form-section {
    margin-bottom: 28px;
}

.sibf-auth-page .sibf-auth-form-title {
    font-size: clamp(1.5rem, 2vw, 1.85rem);
    font-weight: 800;
    color: var(--ap-text);
    margin: 0 0 8px;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.sibf-auth-page .sibf-auth-form-subtitle {
    font-size: .9rem;
    color: var(--ap-text-sec);
    line-height: 1.6;
    margin: 0;
}

.sibf-auth-page .sibf-form-section-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ap-muted);
    margin: 24px 0 14px;
    padding-top: 24px;
    border-top: 1px solid var(--ap-border);
}

.sibf-auth-page .sibf-form-section-label:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.sibf-auth-page .sibf-optional {
    color: var(--ap-muted);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.sibf-auth-page .sibf-form-help {
    color: var(--ap-text-sec);
    font-size: .82rem;
    line-height: 1.5;
    margin: -8px 0 14px;
}

.sibf-auth-page .sibf-contact-error {
    margin: -6px 0 14px;
}

/* =========================================================
   OTP CARD (centered premium card)
   ========================================================= */
.sibf-auth-page .sibf-auth-otp-card {
    background: transparent;
    border: 0px solid var(--ap-border);
    border-radius: 0;
    box-shadow: none;
    padding: 120px 48px;
    text-align: center;
}

/* The OTP fields are 362px wide. Keep the CTA deliberately just wider,
   rather than allowing it to fill the surrounding content column. */
.sibf-auth-page .sibf-otp-action-area .sibf-auth-form {
    width: min(400px, 100%);
    margin-inline: auto;
}

.sibf-auth-page .sibf-otp-action-area .sibf-btn-primary {
    width: 100%;
    box-sizing: border-box;
    padding-inline: 24px;
}

.sibf-auth-page .sibf-otp-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--ap-orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--ap-orange);
}

.sibf-auth-page .sibf-otp-header {
    margin-bottom: 22px;
}

.sibf-auth-page .sibf-otp-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ap-text);
    margin: 0 0 10px;
    letter-spacing: -.02em;
}

.sibf-auth-page .sibf-otp-header p {
    font-size: .9rem;
    color: var(--ap-text-sec);
    line-height: 1.65;
    margin: 0;
}

.sibf-auth-page .sibf-otp-sent-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ap-teal-light);
    border: 1px solid rgba(0, 170, 166, .2);
    border-radius: 40px;
    padding: 8px 18px;
    font-size: .82rem;
    color: var(--ap-teal);
    font-weight: 500;
    margin-bottom: 24px;
}

/* =========================================================
   OTP DIGIT INPUTS
   ========================================================= */
.sibf-auth-page .sibf-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sibf-auth-page .sibf-otp-digit {
    width: 56px;
    height: 66px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ap-text);
    background: var(--ap-input-bg);
    border: 1.5px solid var(--ap-border-input);
    border-radius: 10px;
    outline: none;
    transition: border-color var(--ap-transition), box-shadow var(--ap-transition), background var(--ap-transition);
    caret-color: var(--ap-orange);
    font-family: inherit;
    -moz-appearance: textfield;
    appearance: textfield;
}

.sibf-auth-page .sibf-otp-digit::-webkit-inner-spin-button,
.sibf-auth-page .sibf-otp-digit::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.sibf-auth-page .sibf-otp-digit:focus {
    border-color: var(--ap-orange);
    box-shadow: var(--ap-shadow-focus);
    background: var(--ap-white);
}

.sibf-auth-page .sibf-otp-digit.sibf-otp-filled {
    background: var(--ap-white);
    border-color: #b8b0a8;
}

.sibf-auth-page .sibf-otp-digit.sibf-otp-error {
    border-color: var(--ap-error);
    box-shadow: 0 0 0 3px rgba(185, 58, 42, .10);
    animation: sibf-shake .4s ease;
}

@keyframes sibf-shake {
    0%, 100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-4px);
    }
    40% {
        transform: translateX(4px);
    }
    60% {
        transform: translateX(-3px);
    }
    80% {
        transform: translateX(3px);
    }
}

.sibf-auth-page #otp-error-digits {
    justify-content: center;
}

.sibf-auth-page .sibf-otp-hint {
    display: block;
    font-size: .78rem;
    color: var(--ap-muted);
    margin-bottom: 22px;
}

/* =========================================================
   OTP RESEND
   ========================================================= */
.sibf-auth-page .sibf-otp-resend {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 14px;
    font-size: .84rem;
    color: var(--ap-text-sec);
}

.sibf-auth-page .sibf-resend-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: .84rem;
    font-weight: 600;
    color: var(--ap-orange);
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity var(--ap-transition);
}

.sibf-auth-page .sibf-resend-btn:hover:not(:disabled) {
    opacity: .75;
}

.sibf-auth-page .sibf-resend-btn:disabled {
    color: var(--ap-muted);
    cursor: default;
    text-decoration: none;
    opacity: .6;
}

.sibf-auth-page .sibf-otp-countdown {
    font-weight: 700;
    color: var(--ap-text-sec);
    font-variant-numeric: tabular-nums;
}

/* =========================================================
   FORM ELEMENTS
   ========================================================= */
.sibf-auth-page .sibf-form-group {
    margin-bottom: 20px;
    position: relative;
}

.sibf-auth-page .sibf-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}

.sibf-auth-page .sibf-label-row label {
    margin-bottom: 0;
}

.sibf-auth-page .sibf-form-group > label,
.sibf-auth-page .sibf-auth-form label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ap-text);
    margin-bottom: 7px;
    line-height: 1.4;
}

.sibf-auth-page .sibf-required {
    color: var(--ap-orange);
    margin-left: 2px;
}

.sibf-auth-page .sibf-input {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-size: .9rem;
    color: var(--ap-text);
    background: var(--ap-input-bg);
    border: 1.5px solid var(--ap-border-input);
    border-radius: var(--ap-radius-input);
    transition: border-color var(--ap-transition), box-shadow var(--ap-transition), background var(--ap-transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    line-height: 1;
}

.sibf-auth-page .sibf-input::placeholder {
    color: var(--ap-muted);
    font-size: .875rem;
}

.sibf-auth-page input[type="email"]::placeholder,
.sibf-auth-page input[type="tel"]::placeholder,
.sibf-auth-page input.sibf-input--identifier::placeholder,
.sibf-auth-page input.sibf-input[dir="ltr"]::placeholder {
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
}

.sibf-auth-page input[type="email"],
.sibf-auth-page input[type="tel"],
.sibf-auth-page input.sibf-input--identifier,
.sibf-auth-page input.sibf-input[dir="ltr"] {
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
}

[dir="rtl"] .sibf-auth-page .sibf-input,
body.rtl .sibf-auth-page .sibf-input {
    text-align: right;
}

[dir="rtl"] .sibf-auth-page input[type="email"],
[dir="rtl"] .sibf-auth-page input[type="tel"],
[dir="rtl"] .sibf-auth-page input.sibf-input--identifier,
[dir="rtl"] .sibf-auth-page input.sibf-input[dir="ltr"],
body.rtl .sibf-auth-page input[type="email"],
body.rtl .sibf-auth-page input[type="tel"],
body.rtl .sibf-auth-page input.sibf-input--identifier,
body.rtl .sibf-auth-page input.sibf-input[dir="ltr"] {
    direction: ltr;
    text-align: right;
    unicode-bidi: plaintext;
}

[dir="rtl"] .sibf-auth-page input[type="email"]::placeholder,
[dir="rtl"] .sibf-auth-page input[type="tel"]::placeholder,
[dir="rtl"] .sibf-auth-page input.sibf-input--identifier::placeholder,
[dir="rtl"] .sibf-auth-page input.sibf-input[dir="ltr"]::placeholder,
body.rtl .sibf-auth-page input[type="email"]::placeholder,
body.rtl .sibf-auth-page input[type="tel"]::placeholder,
body.rtl .sibf-auth-page input.sibf-input--identifier::placeholder,
body.rtl .sibf-auth-page input.sibf-input[dir="ltr"]::placeholder {
    direction: ltr;
    text-align: right;
    unicode-bidi: plaintext;
}

.sibf-auth-page #profile-phone,
.sibf-auth-page #profile-phone::placeholder,
[dir="rtl"] .sibf-auth-page #profile-phone,
[dir="rtl"] .sibf-auth-page #profile-phone::placeholder,
body.rtl .sibf-auth-page #profile-phone,
body.rtl .sibf-auth-page #profile-phone::placeholder {
    direction: ltr !important;
    unicode-bidi: plaintext !important;
}

.sibf-auth-page #profile-phone,
.sibf-auth-page #profile-phone::placeholder {
    text-align: left !important;
}

[dir="rtl"] .sibf-auth-page #profile-phone,
[dir="rtl"] .sibf-auth-page #profile-phone::placeholder,
body.rtl .sibf-auth-page #profile-phone,
body.rtl .sibf-auth-page #profile-phone::placeholder {
    text-align: right !important;
}

.sibf-auth-page #profile-phone::placeholder {
    color: var(--ap-muted) !important;
    opacity: 1 !important;
}

.sibf-auth-page .sibf-input:hover:not(:focus):not(.sibf-input--error) {
    border-color: #c4bfba;
}

.sibf-auth-page .sibf-input:focus {
    border-color: var(--ap-orange);
    box-shadow: var(--ap-shadow-focus);
    background: var(--ap-white);
}

.sibf-auth-page .sibf-input--error {
    border-color: var(--ap-error) !important;
    box-shadow: 0 0 0 3px rgba(185, 58, 42, .09) !important;
}

.sibf-auth-page .sibf-input--success {
    border-color: #b0cfc0;
}

.sibf-auth-page select.sibf-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239b9390' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

[dir="rtl"] .sibf-auth-page select.sibf-input {
    padding-right: 16px;
    padding-left: 40px;
    background-position: left 14px center;
}

.sibf-auth-page .sibf-input-wrap {
    position: relative;
}

.sibf-auth-page .sibf-input-wrap .sibf-input {
    padding-right: 50px;
}

.sibf-auth-page .sibf-pw-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 48px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ap-muted);
    font-size: 1rem;
    transition: color var(--ap-transition);
    padding: 0;
}

.sibf-auth-page .sibf-pw-toggle:hover {
    color: var(--ap-orange);
}

.sibf-auth-page .sibf-forgot-link {
    font-size: .8rem;
    color: var(--ap-orange);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: opacity var(--ap-transition);
}

.sibf-auth-page .sibf-forgot-link:hover {
    opacity: .75;
    text-decoration: underline;
}

.sibf-auth-page .sibf-field-error {
    display: none;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    color: var(--ap-error);
    margin-top: 6px;
    line-height: 1.4;
}

.sibf-auth-page .sibf-field-error.sibf-visible {
    display: flex;
}

.sibf-auth-page .sibf-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sibf-auth-page .sibf-check-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    margin-top: 4px;
}

.sibf-auth-page .sibf-checkbox {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--ap-orange);
    cursor: pointer;
}

.sibf-auth-page .sibf-check-label {
    font-size: .84rem;
    color: var(--ap-text-sec);
    line-height: 1.55;
    cursor: pointer;
}

.sibf-auth-page .sibf-check-label a {
    color: var(--ap-orange);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(244, 120, 54, .4);
}

.sibf-auth-page .sibf-check-label a:hover {
    text-decoration-color: var(--ap-orange);
}

/* =========================================================
   ALERT BANNER
   ========================================================= */
.sibf-auth-page .sibf-alert {
    display: none;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    border-radius: var(--ap-radius-input);
    font-size: .86rem;
    line-height: 1.5;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.sibf-auth-page .sibf-alert.sibf-visible {
    display: flex;
}

.sibf-auth-page .sibf-alert--error {
    background: rgba(185, 58, 42, .06);
    border-color: rgba(185, 58, 42, .18);
    color: var(--ap-error);
}

.sibf-auth-page .sibf-alert--success {
    background: rgba(26, 122, 106, .06);
    border-color: rgba(26, 122, 106, .18);
    color: var(--ap-success);
}

/* =========================================================
   CTA BUTTON
   ========================================================= */
.sibf-auth-page .sibf-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 52px;
    padding: 0 24px;
    background: var(--ap-orange);
    color: var(--ap-white);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .3px;
    border: none;
    border-radius: var(--ap-radius-input);
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: background var(--ap-transition), transform var(--ap-transition), box-shadow var(--ap-transition);
    margin-top: 8px;
}

.sibf-auth-page .sibf-btn-primary:hover:not(:disabled) {
    background: var(--ap-orange-dk);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(244, 120, 54, .28);
    color: var(--ap-white);
    text-decoration: none;
}

.sibf-auth-page .sibf-btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: none;
}

.sibf-auth-page .sibf-btn-primary:disabled,
.sibf-auth-page .sibf-btn-primary.sibf-loading {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.sibf-auth-page .sibf-btn-spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}

.sibf-auth-page .sibf-btn-primary.sibf-loading .sibf-btn-spinner {
    display: block;
    animation: sibf-spin .65s linear infinite;
}

.sibf-auth-page .sibf-btn-primary.sibf-loading .sibf-btn-label {
    opacity: .8;
}

@keyframes sibf-spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   AUTH NAVIGATION LINKS
   ========================================================= */
.sibf-auth-page .sibf-auth-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--ap-border);
}

.sibf-auth-page .sibf-auth-links p {
    font-size: .875rem;
    color: var(--ap-text-sec);
    margin: 0;
}

.sibf-auth-page .sibf-auth-links a {
    color: var(--ap-orange);
    font-weight: 600;
    text-decoration: none;
    transition: opacity var(--ap-transition);
}

.sibf-auth-page .sibf-auth-links a:hover {
    opacity: .78;
    text-decoration: underline;
}

/* =========================================================
   SUCCESS STATE
   ========================================================= */
.sibf-auth-page .sibf-auth-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 0 8px;
    gap: 10px;
}

.sibf-auth-page .sibf-auth-success-state.sibf-visible {
    display: flex;
}

.sibf-auth-page .sibf-success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(26, 122, 106, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: var(--ap-success);
    margin-bottom: 4px;
}

.sibf-auth-page .sibf-auth-success-state h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ap-text);
    margin: 0;
}

.sibf-auth-page .sibf-auth-success-state p {
    font-size: .9rem;
    color: var(--ap-text-sec);
    margin: 0;
    line-height: 1.6;
    max-width: 340px;
}

.sibf-auth-page .sibf-auth-success-state .sibf-btn-primary {
    margin-top: 14px;
    max-width: 280px;
}

/* =========================================================
   RESPONSIVE — Tablet <= 991px
   ========================================================= */
@media (max-width: 991px) {
    .sibf-auth-page .navbar-area {
        min-height: 86px;
    }

    .sibf-auth-page .sibf-auth-main {
        padding: 40px 16px 64px;
    }

    .sibf-auth-page .sibf-auth-shell--split {
        grid-template-columns: 1fr;
    }

    .sibf-auth-page .sibf-auth-editorial {
        border-right: none;
        border-bottom: 1px solid rgba(20, 20, 20, .07);
        background: transparent;
    }

    .sibf-auth-page .sibf-auth-editorial::before {
        display: none;
    }

    .sibf-auth-page .sibf-auth-editorial-sticky {
        padding: 48px 40px 40px;
    }

    .sibf-auth-page .sibf-auth-editorial-title {
        font-size: 1.7rem;
    }

    .sibf-auth-page .sibf-auth-editorial-quote {
        display: block;
        margin-top: 28px;
        padding-inline-start: 14px;
        color: var(--ap-muted);
        font-size: .82rem;
        line-height: 1.7;
    }

    .sibf-auth-page .sibf-auth-form-panel {
        padding: 36px 36px;
    }

    .sibf-auth-page .sibf-auth-otp-card {
        padding: 40px 32px;
    }
}

/* =========================================================
   RESPONSIVE — Mobile <= 575px
   ========================================================= */
@media (max-width: 575px) {
    .sibf-auth-page .sibf-auth-main {
        padding: 24px 12px 48px;
    }

    .sibf-auth-page .sibf-auth-shell {
        border-radius: 18px;
    }

    .sibf-auth-page .sibf-auth-editorial-sticky {
        padding: 32px 20px 28px;
    }

    .sibf-auth-page .sibf-auth-editorial-title {
        font-size: 1.5rem;
    }

    .sibf-auth-page .sibf-auth-editorial-copy {
        font-size: .86rem;
        margin-bottom: 24px;
    }

    .sibf-auth-page .sibf-auth-editorial-quote {
        margin-top: 22px;
        font-size: .8rem;
    }

    .sibf-auth-page .sibf-auth-form-panel {
        padding: 28px 20px;
    }

    .sibf-auth-page .sibf-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sibf-auth-page .sibf-auth-otp-card {
        border-radius: 18px;
        padding: 32px 20px;
    }

    .sibf-auth-page .sibf-otp-digit {
        width: 44px;
        height: 54px;
        font-size: 1.35rem;
        border-radius: 8px;
    }

    .sibf-auth-page .sibf-otp-inputs {
        gap: 7px;
    }
}

/* =========================================================
   RESPONSIVE — Very small <= 375px
   ========================================================= */
@media (max-width: 375px) {
    .sibf-auth-page .sibf-otp-digit {
        width: 38px;
        height: 48px;
        font-size: 1.15rem;
    }

    .sibf-auth-page .sibf-otp-inputs {
        gap: 5px;
    }
}
