/**
 * Enxora Authentication Suite - Enterprise Drop-in Component Styles
 * Ultra-Premium, Native-App Aesthetic (3D Face ID, Passkeys & Enterprise WebAuthn)
 * Brand Theme: Enxora Navy (#1A365D) & Gold Accent (#D97706)
 */

:root {
    --enxora-navy: #1A365D;
    --enxora-navy-dark: #0B1727;
    --enxora-navy-surface: #101F33;
    --enxora-navy-light: #2A4D7D;
    --enxora-navy-glow: rgba(26, 54, 93, 0.3);
    
    --enxora-accent: #D97706;
    --enxora-accent-light: #F59E0B;
    --enxora-accent-glow: rgba(217, 119, 6, 0.25);
    
    --enxora-emerald: #10B981;
    --enxora-emerald-glow: rgba(16, 185, 129, 0.35);
    --enxora-face-green: #30D158;
    --enxora-face-glow: rgba(48, 209, 88, 0.4);
    --enxora-apple-green: var(--enxora-face-green);
    --enxora-apple-glow: var(--enxora-face-glow);
    
    --enxora-surface: #FFFFFF;
    --enxora-surface-muted: #F8FAFC;
    --enxora-border: #E2E8F0;
    --enxora-border-light: rgba(226, 232, 240, 0.8);
    --enxora-text-main: #0F172A;
    --enxora-text-muted: #64748B;
    --enxora-text-dim: #94A3B8;
    --enxora-danger: #EF4444;
}

/* Modal Overlay & Backdrop (Ultra-Lightweight, GPU-Accelerated) */
.enxora-sec-backdrop,
.enxora-auth-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.enxora-sec-backdrop.active,
.enxora-auth-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Card Container (Native App Dialog) */
.enxora-sec-modal,
.enxora-auth-modal {
    background: #FFFFFF;
    border-radius: 20px;
    width: 92%;
    max-width: 375px;
    box-shadow: 
        0 20px 45px -10px rgba(15, 23, 42, 0.22),
        0 1px 3px rgba(15, 23, 42, 0.05),
        0 0 0 1px rgba(226, 232, 240, 0.95);
    overflow: hidden;
    position: relative;
    transform: scale(0.96) translateY(6px);
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease;
    box-sizing: border-box;
    will-change: transform;
}

.enxora-sec-backdrop.active .enxora-sec-modal,
.enxora-auth-backdrop.active .enxora-auth-modal {
    transform: scale(1) translateY(0);
}

/* Top Modal Bar & Brand Header (Clean Modern Platform Aesthetic) */
.enxora-sec-header,
.enxora-auth-header {
    background: #FFFFFF;
    padding: 16px 18px 12px;
    text-align: center;
    color: #0F172A;
    position: relative;
    border-bottom: 1.5px solid #F1F5F9;
}

.enxora-sec-logo-badge,
.enxora-auth-logo-badge {
    width: 38px;
    height: 38px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.enxora-sec-logo-badge img,
.enxora-auth-logo-badge img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.enxora-sec-title,
.enxora-auth-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    margin: 0 0 4px;
    color: #0F172A;
}

.enxora-sec-subtitle,
.enxora-auth-subtitle {
    font-size: 0.76rem;
    color: #475569;
    margin: 0;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F1F5F9;
    padding: 3px 10px;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
}

.enxora-sec-subtitle i,
.enxora-auth-subtitle i {
    font-size: 0.72rem;
    color: #2C5282;
}

.enxora-sec-close,
.enxora-auth-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    transition: background-color 0.08s ease, color 0.08s ease;
}

.enxora-sec-close:hover,
.enxora-auth-close:hover {
    background: #F1F5F9;
    color: #0F172A;
}

/* Native Segmented Control Tabs */
.enxora-sec-tabs,
.enxora-auth-tabs {
    display: flex;
    background: #F1F5F9;
    padding: 3px;
    margin: 10px 14px 0;
    border-radius: 10px;
    gap: 3px;
    border: 1px solid #E2E8F0;
}

.enxora-sec-tab,
.enxora-auth-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 5px 8px;
    border-radius: 7px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background-color 0.08s ease, color 0.08s ease;
    user-select: none;
}

.enxora-sec-tab i,
.enxora-auth-tab i {
    font-size: 0.8rem;
}

.enxora-sec-tab:hover,
.enxora-auth-tab:hover {
    color: #0F172A;
}

.enxora-sec-tab.active,
.enxora-auth-tab.active {
    background: #FFFFFF;
    color: #1A365D;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.enxora-sec-tab.active i,
.enxora-auth-tab.active i {
    color: #1A365D;
}

/* Body / Pane Area */
.enxora-sec-body,
.enxora-auth-body {
    padding: 12px 14px 14px;
}

.enxora-sec-pane,
.enxora-auth-pane {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.enxora-sec-pane.active,
.enxora-auth-pane.active {
    display: flex;
    animation: enxoraSmoothFade 0.15s ease;
}

@keyframes enxoraSmoothFade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.enxora-pane-prompt {
    font-size: 0.8rem;
    color: #64748B;
    margin: 0 0 8px;
    font-weight: 600;
}

/* ==========================================================================
   BIOMETRIC SENSOR NODE (FINGERPRINT / WEBAUTHN)
   ========================================================================== */
.enxora-bio-sensor-wrap {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 4px auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enxora-bio-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, #F1F5F9 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 
        0 6px 16px -2px rgba(26, 54, 93, 0.12),
        0 0 0 5px rgba(241, 245, 249, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.08s ease, background-color 0.08s ease;
    z-index: 2;
}

.enxora-bio-circle:hover {
    transform: translateY(-1px);
    border-color: #CBD5E1;
}

.enxora-bio-circle:active {
    transform: scale(0.94);
    background: #E2E8F0;
}

.enxora-bio-circle svg {
    width: 32px;
    height: 32px;
    fill: var(--enxora-navy);
    transition: fill 0.15s ease;
}

.enxora-bio-circle:hover svg {
    fill: var(--enxora-navy-light);
}

/* Ambient capacitive sensor sweep ring */
.enxora-bio-ring {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(26, 54, 93, 0.15);
    pointer-events: none;
    z-index: 1;
}

.enxora-bio-circle.scanning ~ .enxora-bio-ring {
    border-color: transparent;
    border-top: 1.5px solid var(--enxora-navy-light);
    animation: bioRingRotate 1.4s linear infinite;
}

@keyframes bioRingRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   3D FACE ID VIEWPORT & OPTICAL RETICLE
   ========================================================================== */
.enxora-face-viewport {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: #000000;
    margin: 2px auto 8px;
    box-shadow: 
        0 10px 24px -4px rgba(10, 20, 35, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.enxora-face-viewport video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.enxora-face-viewport canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: scaleX(-1);
    z-index: 5;
}

/* Fine Optical Graduation Ticks (60 ticks) */
.faceid-ticks-container,
.apple-faceid-ticks-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
}

.face-tick,
.apple-tick {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.5px;
    height: 6px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 1px;
    transform-origin: 50% 50%;
    transition: background 0.08s ease;
}

.face-tick.active,
.apple-tick.active {
    background: #38BDF8;
    box-shadow: 0 0 4px #38BDF8;
    height: 8px;
}

.face-tick.matched,
.apple-tick.matched {
    background: var(--enxora-face-green) !important;
    box-shadow: 0 0 6px var(--enxora-face-green) !important;
    height: 8px;
}

/* Ethereal Scanning Reticle & Laser Sweep */
.enxora-face-hud {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 8;
    box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.5);
}

.enxora-face-hud::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 36px; height: 36px;
    margin-top: -18px; margin-left: -18px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.enxora-face-hud .scan-beam {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(56, 189, 248, 0.12) 310deg, rgba(56, 189, 248, 0.5) 360deg);
    animation: faceRadarSpin 2.2s linear infinite;
    pointer-events: none;
}

@keyframes faceRadarSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes appleRadarSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.enxora-face-hud.locked {
    border: 2px solid var(--enxora-face-green);
    box-shadow: inset 0 0 24px rgba(48, 209, 88, 0.3);
}

.enxora-face-hud.locked .scan-beam {
    display: none;
}

/* 3D Face ID Minimalist Verification Icon */
.faceid-success-icon,
.apple-faceid-success-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.75);
    width: 48px;
    height: 48px;
    background: rgba(10, 20, 35, 0.9);
    border: 2px solid var(--enxora-face-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--enxora-face-green);
    font-size: 1.35rem;
    box-shadow: 0 0 18px rgba(48, 209, 88, 0.4);
    opacity: 0;
    pointer-events: none;
    z-index: 20;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.faceid-success-icon.show,
.apple-faceid-success-icon.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   TACTILE ZERO-LAG PIN KEYPAD
   ========================================================================== */
.enxora-pin-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin: 2px 0 10px;
}

.enxora-pin-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #CBD5E1;
    transition: transform 0.06s ease, background-color 0.06s ease, border-color 0.06s ease;
}

.enxora-pin-dot.filled {
    background: #1A365D;
    border-color: #1A365D;
    transform: scale(1.1);
}

.enxora-pin-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    width: 100%;
    max-width: 196px;
    margin: 0 auto;
}

.enxora-pin-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #0F172A;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background-color 0.05s ease, transform 0.05s ease;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    margin: 0 auto;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.enxora-pin-btn .pin-num {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.enxora-pin-btn .pin-sub {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #94A3B8;
    text-transform: uppercase;
    margin-top: 1px;
    pointer-events: none;
}

.enxora-pin-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.enxora-pin-btn:active {
    background: #E2E8F0 !important;
    transform: scale(0.92) !important;
}

.enxora-pin-btn.action {
    background: transparent;
    border: none;
    box-shadow: none;
    font-size: 0.95rem;
    color: #64748B;
}

.enxora-pin-btn.action:hover {
    background: #F1F5F9;
    color: #0F172A;
}

.enxora-pin-btn.action:active {
    background: #E2E8F0;
}

/* Status Message Bar */
.enxora-sec-status,
.enxora-auth-status {
    font-size: 0.76rem;
    font-weight: 600;
    margin: 6px 0 2px;
    min-height: 18px;
    line-height: 1.3;
    color: var(--enxora-text-muted);
    transition: color 0.15s;
}

.enxora-sec-status.success, .enxora-auth-status.success { color: var(--enxora-emerald); }
.enxora-sec-status.error, .enxora-auth-status.error { color: var(--enxora-danger); }
.enxora-sec-status.scanning, .enxora-auth-status.scanning { color: var(--enxora-navy); }

/* Footer Links */
.enxora-sec-footer-links,
.enxora-auth-footer-links {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #F1F5F9;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.enxora-sec-link,
.enxora-auth-link {
    font-size: 0.76rem;
    color: var(--enxora-navy-light);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 3px 6px;
    border-radius: 6px;
    transition: background-color 0.1s ease, color 0.1s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.enxora-sec-link:hover,
.enxora-auth-link:hover {
    color: var(--enxora-navy);
    background: #F1F5F9;
}

/* Shake Animation for Verification Failures */
.enxora-shake {
    animation: enxoraSmoothShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes enxoraSmoothShake {
    10%, 90% { transform: translate3d(-2px, 0, 0); }
    20%, 80% { transform: translate3d(3px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
    40%, 60% { transform: translate3d(3px, 0, 0); }
}

/* ==========================================================================
   GLOBAL TYPOGRAPHY & FONT AWESOME ICON PRESERVATION
   ========================================================================== */
.enxora-sec-modal,
.enxora-auth-modal,
.enxora-auth-inline-wrap,
.btn-fast-auth,
.enxora-auth-tab,
.enxora-sec-tab,
.enxora-pin-btn {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Explicitly preserve Font Awesome 6 icons across all SDK elements */
.enxora-sec-modal i[class*="fa-"],
.enxora-auth-modal i[class*="fa-"],
.enxora-auth-inline-wrap i[class*="fa-"],
.btn-fast-auth i[class*="fa-"],
.enxora-pin-btn i[class*="fa-"],
.enxora-sec-tab i[class*="fa-"],
.enxora-auth-tab i[class*="fa-"],
.auth-separator i[class*="fa-"],
i.fa-solid, i.fa-regular, i.fa-brands, i.fas, i.far, i.fab {
    font-family: "Font Awesome 6 Free", "FontAwesome" !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.enxora-sec-modal i.fa-solid,
.enxora-auth-modal i.fa-solid,
.enxora-auth-inline-wrap i.fa-solid,
.btn-fast-auth i.fa-solid,
.enxora-pin-btn i.fa-solid,
i.fa-solid, i.fas {
    font-weight: 900 !important;
}

/* ==========================================================================
   FAST ACCESS BIOMETRIC / PIN BUTTON & DIVIDER (LOGIN PAGE)
   ========================================================================== */
.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0 12px;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1.5px solid #E2E8F0;
}

.auth-separator span {
    padding: 0 12px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #94A3B8;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.btn-fast-auth {
    width: 100%;
    padding: 8px 12px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    box-sizing: border-box;
}

.btn-fast-auth:hover {
    background: #F8FAFC;
    border-color: #2C5282;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.1);
}

.btn-fast-auth.emp-fast-auth:hover {
    border-color: var(--brand-green, #2C822C);
    box-shadow: 0 4px 12px rgba(44, 130, 44, 0.12);
}

.btn-fast-auth-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.08) 0%, rgba(44, 82, 130, 0.16) 100%);
    color: #2C5282;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    border: 1px solid rgba(44, 82, 130, 0.12);
    transition: transform 0.15s ease;
}

.btn-fast-auth.emp-fast-auth .btn-fast-auth-icon {
    background: linear-gradient(135deg, rgba(44, 130, 44, 0.08) 0%, rgba(44, 130, 44, 0.16) 100%);
    color: var(--brand-green, #2C822C);
    border-color: rgba(44, 130, 44, 0.15);
}

.btn-fast-auth:hover .btn-fast-auth-icon {
    transform: scale(1.05);
}

.btn-fast-auth-content {
    flex: 1;
    min-width: 0;
}

.btn-fast-auth-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: #1A365D;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-fast-auth.emp-fast-auth .btn-fast-auth-title {
    color: #0F172A;
}

.btn-fast-auth-desc {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: #64748B;
    margin-top: 1px;
}

.btn-fast-auth-arrow {
    color: #94A3B8;
    font-size: 0.8rem;
    transition: transform 0.2s, color 0.2s;
    margin-left: auto;
    flex-shrink: 0;
}

.btn-fast-auth:hover .btn-fast-auth-arrow {
    transform: translateX(3px);
    color: #2C5282;
}

.btn-fast-auth.emp-fast-auth:hover .btn-fast-auth-arrow {
    color: var(--brand-green, #2C822C);
}

/* ==========================================================================
   INLINE AUTHENTICATION CONTAINER (COMPACT & MOBILE-FIRST)
   ========================================================================== */
.enxora-auth-inline-wrap {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
    animation: enxoraInlineSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes enxoraInlineSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.enxora-auth-inline-header {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enxora-auth-inline-user {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1E293B;
    max-width: 85%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.enxora-auth-inline-wrap .enxora-auth-tabs {
    margin: 0 0 10px;
    padding: 3px;
    border-radius: 10px;
    gap: 3px;
}

.enxora-auth-inline-wrap .enxora-auth-tab {
    padding: 5px 8px;
    font-size: 0.75rem;
    border-radius: 7px;
    gap: 5px;
}

.enxora-auth-inline-wrap .enxora-auth-body {
    padding: 0;
}

.enxora-auth-inline-wrap .enxora-pane-prompt {
    font-size: 0.8rem;
    color: #64748B;
    margin: 0 0 8px;
    font-weight: 600;
}

/* Biometric sensor - compact */
.enxora-auth-inline-wrap .enxora-bio-sensor-wrap {
    width: 78px;
    height: 78px;
    margin: 4px auto 8px;
}

.enxora-auth-inline-wrap .enxora-bio-circle {
    width: 68px;
    height: 68px;
    box-shadow: 
        0 6px 16px -2px rgba(26, 54, 93, 0.12),
        0 0 0 5px rgba(241, 245, 249, 0.8);
}

.enxora-auth-inline-wrap .enxora-bio-circle svg {
    width: 32px;
    height: 32px;
}

/* Face ID Viewport - compact */
.enxora-auth-inline-wrap .enxora-face-viewport {
    width: 140px;
    height: 140px;
    margin: 2px auto 8px;
}

.enxora-auth-inline-wrap .faceid-success-icon,
.enxora-auth-inline-wrap .apple-faceid-success-icon {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
}

/* PIN Keypad - compact */
.enxora-auth-inline-wrap .enxora-pin-dots {
    gap: 9px;
    margin: 2px 0 10px;
}

.enxora-auth-inline-wrap .enxora-pin-dot {
    width: 11px;
    height: 11px;
}

.enxora-auth-inline-wrap .enxora-pin-keypad {
    max-width: 196px;
    gap: 7px;
    margin: 0 auto;
}

.enxora-auth-inline-wrap .enxora-pin-btn {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.enxora-auth-inline-wrap .enxora-pin-btn .pin-num {
    font-size: 1.15rem;
    line-height: 1;
}

.enxora-auth-inline-wrap .enxora-pin-btn .pin-sub {
    font-size: 0.5rem;
    letter-spacing: 0.8px;
    margin-top: 1px;
}

.enxora-auth-inline-wrap .enxora-pin-btn.action {
    font-size: 0.95rem;
}

/* Status message */
.enxora-auth-inline-wrap .enxora-auth-status {
    font-size: 0.76rem;
    margin: 6px 0 2px;
    min-height: 18px;
    line-height: 1.3;
}

.enxora-auth-inline-footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1.5px solid #F1F5F9;
}

.enxora-btn-return-pw {
    background: none;
    border: none;
    color: #64748B;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.enxora-btn-return-pw:hover {
    color: #0F172A;
    background: #F8FAFC;
}

/* ==========================================================================
   MOBILE SCREEN RESPONSIVE RULES (FITS MOBILE WITHOUT VERTICAL SCROLL)
   ========================================================================== */
@media (max-width: 480px) {
    .enxora-auth-inline-wrap {
        max-width: 100%;
        padding: 0 2px;
    }
    .enxora-auth-inline-wrap .enxora-pin-keypad {
        max-width: 180px;
        gap: 6px;
    }
    .enxora-auth-inline-wrap .enxora-pin-btn {
        width: 44px;
        height: 44px;
    }
    .enxora-auth-inline-wrap .enxora-pin-btn .pin-num {
        font-size: 1.05rem;
    }
    .enxora-auth-inline-wrap .enxora-pin-btn .pin-sub {
        display: none;
    }
    .enxora-auth-inline-wrap .enxora-face-viewport {
        width: 124px;
        height: 124px;
    }
    .enxora-auth-inline-wrap .enxora-bio-sensor-wrap {
        width: 70px;
        height: 70px;
        margin: 2px auto 6px;
    }
    .enxora-auth-inline-wrap .enxora-bio-circle {
        width: 60px;
        height: 60px;
    }
    .enxora-auth-inline-wrap .enxora-bio-circle svg {
        width: 28px;
        height: 28px;
    }
}

/* ==========================================================================
   BANKING APP NATIVE BIOMETRIC QUICK-UNLOCK EXPERIENCE
   ========================================================================== */
.bank-quick-screen {
    text-align: center;
    padding: 6px 4px 10px;
    animation: bankFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bankFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.bank-avatar-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
}

.bank-avatar {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border: 2.5px solid #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25), 0 0 0 4px rgba(59, 130, 246, 0.15);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.bank-bio-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    border: 2.5px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}

.bank-user-title {
    margin: 0 0 3px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.4px;
}

.bank-user-role {
    margin: 0 0 12px;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.bank-auth-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.btn-bank-primary-unlock {
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.btn-bank-primary-unlock:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2c822c 0%, #1a3d1a 100%);
    box-shadow: 0 14px 30px -5px rgba(44, 130, 44, 0.4);
}

.btn-bank-primary-unlock:active {
    transform: scale(0.98);
}

.btn-bank-icon-aura {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 1.35rem;
    flex-shrink: 0;
    position: relative;
}

.btn-bank-icon-aura::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    border: 1.5px solid rgba(59, 130, 246, 0.5);
    animation: bankPulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes bankPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.12); opacity: 0.2; }
}

.btn-bank-text {
    flex: 1;
    min-width: 0;
}

.btn-bank-text strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-bank-text span {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 1px;
}

.bank-alt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.btn-bank-pill {
    padding: 9px 12px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-bank-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.bank-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.btn-bank-link {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
    padding: 4px 6px;
}

.btn-bank-link:hover {
    color: #0f172a;
}


