.dp-auth-page { margin: 0; min-width: 320px; background: var(--dp-surface, #fff); color: var(--dp-text, #101c36); font-family: Inter, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.dp-auth-page *, .dp-auth-page *::before, .dp-auth-page *::after { box-sizing: border-box; }
.dp-auth-page button, .dp-auth-page input { font: inherit; }
.dp-auth-page button, .dp-auth-page a { -webkit-tap-highlight-color: transparent; }
.dp-auth-page a { color: var(--dp-accent, #2855ff); text-underline-offset: 4px; }
.dp-auth-page button:focus-visible, .dp-auth-page a:focus-visible { outline: 3px solid #59c7f5; outline-offset: 4px; }
.dp-auth-shell { display: grid; grid-template-columns: 52% 48%; min-height: 100dvh; }
.dp-auth-hero { min-height: 100dvh; position: relative; overflow: hidden; isolation: isolate; background: #101c36; color: #fff; padding: 40px 46px; }
.dp-auth-logo { position: relative; z-index: 2; display: block; width: 190px; height: 44px; object-fit: contain; object-position: left center; }
.dp-auth-hero-copy { position: relative; z-index: 2; margin: clamp(80px, 13vh, 150px) 0 0; padding: 0 18px; }
.dp-auth-eyebrow { display: block; margin-bottom: 22px; color: #95b0e3; font-size: 10px; font-weight: 650; letter-spacing: .18em; }
.dp-auth-hero-copy h2 { margin: 0; color: #fff; font-size: clamp(40px, 4.85vw, 76px); font-weight: 700; letter-spacing: -.055em; line-height: 1.12; }
.dp-auth-hero-copy p { margin: 23px 0 0; color: #c2d0ea; font-size: clamp(15px, 1.45vw, 21px); line-height: 1.55; font-weight: 400; }
.dp-auth-ribbons { position: absolute; width: 110%; height: auto; right: -16%; bottom: -105px; z-index: -1; pointer-events: none; overflow: visible; }
.dp-auth-copyright { position: absolute; z-index: 2; left: 46px; bottom: 28px; margin: 0; color: #b6c5df; font-size: 11px; }
.dp-auth-main { display: flex; flex-direction: column; position: relative; min-width: 0; min-height: 100dvh; background: #fff; color: var(--dp-text, #101c36); padding: 34px 40px 28px; }
.dp-auth-topbar { display: flex; justify-content: flex-end; align-items: center; min-height: 38px; gap: 18px; }
.dp-auth-tools { display: flex; gap: 16px; align-items: center; }
.dp-auth-mobile-brand { display: none; }
.dp-auth-card { width: 100%; max-width: 390px; margin: auto; padding: 68px 0 72px; }
.dp-auth-panel { margin: 0 0 16px; color: var(--dp-accent, #2855ff); font-size: 13px; font-weight: 650; line-height: 1.4; }
.dp-auth-card h1 { margin: 0; color: inherit; font-size: clamp(25px, 2.55vw, 36px); line-height: 1.2; letter-spacing: -.045em; font-weight: 700; }
.dp-auth-intro { margin: 10px 0 38px; color: var(--dp-muted, #7382a1); line-height: 1.6; font-size: 17px; }
.dp-auth-form { display: grid; gap: 23px; }
.dp-auth-field { min-width: 0; }
.dp-auth-field > label { display: block; margin: 0 0 9px; color: inherit; font-size: 14px; line-height: 1.45; font-weight: 600; }
.dp-auth-field input { display: block; min-width: 0; width: 100%; height: 50px; padding: 0 15px; border: 1px solid #dce2ed; border-radius: 7px; color: var(--dp-text, #101c36); background: #fff; outline: none; box-shadow: 0 1px 2px rgb(16 28 54 / 2%); transition: border-color .15s, box-shadow .15s; font-size: 15px; }
.dp-auth-field input::placeholder { color: #8a97b1; opacity: 1; }
.dp-auth-field input:focus { border-color: #5577ff; box-shadow: 0 0 0 3px rgb(40 85 255 / 11%); }
.dp-auth-password { position: relative; }
.dp-auth-password input { padding-right: 49px; }
.dp-auth-password-toggle { position: absolute; inset: 0 4px 0 auto; width: 42px; height: 100%; display: grid; place-items: center; border: 0; background: transparent; color: #7d8ca9; cursor: pointer; padding: 10px; }
.dp-auth-password-toggle svg { width: 20px; height: 20px; }
.dp-auth-password-toggle[aria-pressed="true"] { color: var(--dp-accent, #2855ff); }
.dp-auth-options { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.dp-auth-checkbox { display: inline-flex; gap: 9px; align-items: center; cursor: pointer; color: var(--dp-muted, #7382a1); }
.dp-auth-checkbox input { appearance: auto; width: 16px; height: 16px; margin: 0; accent-color: #2855ff; cursor: pointer; }
.dp-auth-submit { min-height: 50px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid #2855ff; border-radius: 7px; padding: 12px 18px; background: #2855ff; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; cursor: pointer; box-shadow: 0 4px 8px rgb(40 85 255 / 12%); transition: background .15s, box-shadow .15s; }
.dp-auth-submit:hover { background: #1c46e8; border-color: #1c46e8; box-shadow: 0 5px 13px rgb(40 85 255 / 20%); }
.dp-auth-submit svg { width: 20px; height: 20px; flex: 0 0 auto; }
.dp-auth-security { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 30px; color: var(--dp-muted, #7382a1); }
.dp-auth-security > span { height: 1px; flex: 1; background: var(--dp-border, #e4e9f1); }
.dp-auth-security svg { width: 15px; height: 15px; flex: 0 0 auto; }
.dp-auth-security p { margin: 0; font-size: 12px; line-height: 1.5; white-space: nowrap; }
.dp-auth-footer { text-align: center; color: var(--dp-muted, #7382a1); font-size: 11px; line-height: 1.7; }
.dp-auth-errors, .dp-auth-notice { border: 1px solid #f0b8be; border-radius: 7px; margin: -15px 0 25px; padding: 12px 14px; color: #b53d4c; background: #fff1f3; font-size: 12px; line-height: 1.65; }
.dp-auth-errors p { margin: 0; }
.dp-auth-notice { background: #edf8f4; border-color: #c3e5d7; color: #217257; }
.dp-auth-code { text-align: center; font-size: 22px !important; letter-spacing: .4em; padding-left: 22px !important; }
.dp-auth-hint { margin: 10px 0 0; color: var(--dp-muted, #7382a1); font-size: 11px; line-height: 1.65; }
.dp-auth-back { display: block; width: 100%; margin-top: 0; padding: 8px 0; border: 0; background: transparent; color: var(--dp-muted, #7382a1) !important; text-align: center; cursor: pointer; font-size: 13px; text-decoration: none; line-height: 1.5; }
.dp-auth-back:hover { color: var(--dp-accent, #2855ff) !important; }
.dp-auth-recovery { margin: 25px 0 0; padding: 15px; border: 1px solid var(--dp-border, #e4e9f1); border-radius: 7px; background: var(--dp-accent-soft, #f0f4ff); color: var(--dp-muted, #7382a1); font-size: 11px; line-height: 1.7; }
.dp-auth-recovery strong { display: block; color: var(--dp-text, #101c36); margin-bottom: 4px; }
.dp-auth-setup { display: grid; gap: 20px; }
.dp-auth-setup .dp-auth-form { gap: 18px; }
.dp-auth-qr { width: fit-content; max-width: 100%; margin: 0 auto; padding: 14px; background: #fff; border: 1px solid #e4e9f1; border-radius: 12px; }
.dp-auth-qr img { display: block; width: 190px; max-width: 100%; height: auto; }
.dp-auth-secret { border: 1px solid var(--dp-border, #e4e9f1); border-radius: 7px; background: var(--dp-accent-soft, #f0f4ff); padding: 12px 15px; }
.dp-auth-secret > span { display: block; color: var(--dp-muted, #7382a1); font-size: 10px; }
.dp-auth-secret > code { display: block; margin-top: 6px; color: var(--dp-text, #101c36); font-size: 12px; word-break: break-all; }
.dp-auth-languages { display: flex; align-items: center; gap: 4px; }
.dp-auth-languages a { padding: 7px 8px; font-size: 10px; font-weight: 650; text-decoration: none; color: var(--dp-muted, #7382a1); border-radius: 5px; }
.dp-auth-languages a[aria-current="true"] { background: var(--dp-accent-soft, #eef3ff); color: var(--dp-accent, #2855ff); }
.dp-security-card { width: min(100%, 700px); margin: 24px auto; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--dp-border, #e4e9f1); border-radius: 16px; background: var(--dp-surface, #fff); color: var(--dp-text, #101c36); box-shadow: 0 8px 28px rgb(16 28 54 / 4%); }
.dp-security-heading { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 28px; }
.dp-security-heading h1 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -.025em; color: var(--dp-text, #101c36); }
.dp-security-heading p { margin: 8px 0 0; font-size: 13px; color: var(--dp-muted, #7382a1); line-height: 1.7; }
.dp-security-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--dp-accent-soft, #eef3ff); color: var(--dp-accent, #2855ff); flex: 0 0 auto; }
.dp-security-icon svg { width: 26px; height: 26px; }
.dp-security-card .dp-auth-setup { max-width: 390px; margin: 0 auto; }
.dp-security-card .dp-auth-errors { margin: 0 0 24px; }
.dp-security-card .dp-auth-notice { margin: 0; }
.dp-auth-danger { border-color: #c64a5b; background: #c64a5b; }
.dp-auth-danger:hover { border-color: #a83747; background: #a83747; }
.dp-auth-logo-dark { display: none; }
html[data-demo-pay-theme="dark"] .dp-auth-main { background: #101c36; }
html[data-demo-pay-theme="dark"] .dp-auth-field input { background: #182640; border-color: #30405b; color: #e9effa; box-shadow: none; }
html[data-demo-pay-theme="dark"] .dp-auth-hero { background: #0d172c; }
html[data-demo-pay-theme="dark"] .dp-auth-errors { background: #362132; border-color: #66414e; color: #f0abb4; }
html[data-demo-pay-theme="dark"] .dp-auth-notice { background: #18352e; border-color: #2d5548; color: #a5ddc6; }
html[data-demo-pay-theme="dark"] .dp-auth-logo-light { display: none; }
html[data-demo-pay-theme="dark"] .dp-auth-logo-dark { display: block; }
@media (min-width: 1200px) { .dp-auth-card { max-width: 420px; } .dp-auth-card h1 { font-size: 38px; } }
@media (min-width: 1600px) { .dp-auth-hero-copy { margin-top: 16vh; } .dp-auth-hero-copy h2 { font-size: 76px; } .dp-auth-main { padding: 42px 48px 36px; } }
@media (max-height: 760px) and (min-width: 901px) { .dp-auth-card { padding-top: 38px; padding-bottom: 38px; } .dp-auth-intro { margin-bottom: 28px; } .dp-auth-hero-copy { margin-top: 70px; } .dp-auth-ribbons { bottom: -165px; } }
@media (max-width: 1100px) { .dp-auth-hero { padding: 34px 30px; } .dp-auth-hero-copy { padding: 0; } .dp-auth-hero-copy h2 { font-size: 46px; } .dp-auth-main { padding: 28px; } .dp-auth-copyright { left: 30px; } .dp-auth-ribbons { width: 135%; right: -35%; } }
@media (max-width: 900px) { .dp-auth-shell { grid-template-columns: 42% 58%; } .dp-auth-hero-copy h2 { font-size: 38px; } .dp-auth-hero-copy p { font-size: 14px; } .dp-auth-eyebrow { font-size: 8px; } .dp-auth-card { max-width: 360px; } .dp-auth-logo { width: 155px; } .dp-auth-ribbons { width: 180%; right: -75%; } }
@media (max-width: 680px) { .dp-auth-shell { display: block; } .dp-auth-hero { display: none; } .dp-auth-main { padding: 24px 24px 22px; min-height: 100dvh; } .dp-auth-topbar { justify-content: space-between; } .dp-auth-mobile-brand { display: block; } .dp-auth-mobile-brand img { width: 142px; height: 34px; object-fit: contain; object-position: left; } .dp-auth-tools { gap: 8px; } .dp-auth-card { max-width: 390px; padding: 55px 0; } .dp-auth-card h1 { font-size: 31px; } .dp-auth-intro { font-size: 16px; } .dp-auth-field input { font-size: 16px; height: 52px; } .dp-auth-languages a { padding: 5px; font-size: 9px; } }
@media (max-width: 370px) { .dp-auth-main { padding-left: 18px; padding-right: 18px; } .dp-auth-mobile-brand img { width: 116px; } .dp-auth-card h1 { font-size: 28px; } .dp-auth-tools { gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .dp-auth-page *, .dp-auth-page *::before, .dp-auth-page *::after { transition: none !important; } }
