.ocpa-auth-body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;background:var(--ocpa-bg,#f8fafc);color:#0f172a}
.ocpa-auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}
.ocpa-auth-card{width:100%;max-width:440px;background:#fff;border-radius:16px;box-shadow:0 10px 40px rgba(15,23,42,.08);padding:32px}
.ocpa-auth-logo{max-height:56px;display:block;margin:0 auto 16px}
.ocpa-auth-site-title{text-align:center;margin:0 0 16px;font-size:1.5rem}
.ocpa-auth-tabs{display:flex;gap:8px;margin-bottom:24px}
.ocpa-tab{flex:1;border:1px solid #e2e8f0;background:#fff;padding:10px;border-radius:8px;cursor:pointer;font-weight:600}
.ocpa-tab.is-active{background:var(--ocpa-accent,#2563eb);color:#fff;border-color:var(--ocpa-accent,#2563eb)}
.ocpa-panel{display:none}
.ocpa-panel.is-active{display:block}
.ocpa-panel.ocpa-panel-enter{animation:ocpaPanelIn .28s ease}
@keyframes ocpaPanelIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.ocpa-banner{padding:12px 14px;border-radius:8px;margin-bottom:16px;font-size:.9rem}
.ocpa-banner-info{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe}
.ocpa-banner-warning{background:#fffbeb;color:#92400e;border:1px solid #fcd34d}
.ocpa-field-row{margin-bottom:16px}
.ocpa-field-row label{display:block;font-weight:600;margin-bottom:6px;font-size:.9rem}
.ocpa-input,.ocpa-country-select{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px;font-size:1rem;box-sizing:border-box}
.ocpa-otp-input{font-size:1.35rem;letter-spacing:.35em;text-align:center;font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){.ocpa-panel.ocpa-panel-enter{animation:none}}
.ocpa-input:focus,.ocpa-country-select:focus{outline:2px solid var(--ocpa-accent,#2563eb);border-color:var(--ocpa-accent,#2563eb)}
.ocpa-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;padding:12px 16px;border:none;border-radius:8px;font-weight:600;cursor:pointer;font-size:1rem}
.ocpa-btn:disabled{opacity:.6;cursor:not-allowed}
.ocpa-btn-primary{background:var(--ocpa-accent,#2563eb);color:#fff}
.ocpa-btn-secondary{background:#e2e8f0;color:#0f172a}
.ocpa-help{font-size:.85rem;color:#64748b;margin-top:6px}
.ocpa-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:#94a3b8;font-size:.85rem}
.ocpa-divider::before,.ocpa-divider::after{content:"";flex:1;height:1px;background:#e2e8f0}
.ocpa-password-wrap{position:relative}
.ocpa-password-meter{font-size:12px;margin-top:6px;color:#64748b}
.ocpa-password-meter.is-0,.ocpa-password-meter.is-1{color:#dc2626}
.ocpa-password-meter.is-2{color:#d97706}
.ocpa-password-meter.is-3,.ocpa-password-meter.is-4{color:#059669}
.ocpa-toggle-password{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:none;background:transparent;cursor:pointer}
.ocpa-toast{position:fixed;top:16px;right:16px;padding:12px 16px;border-radius:8px;color:#fff;z-index:9999}
.ocpa-toast.is-success{background:#16a34a}
.ocpa-toast.is-error{background:#dc2626}
.ocpa-auth-footer{text-align:center;margin-top:24px;font-size:.8rem}
.ocpa-auth-footer a{color:#64748b;text-decoration:none}
.ocpa-empty-state{text-align:center;padding:24px}
.ocpa-checkbox-row label{font-weight:400}
.ocpa-headline{margin:0 0 16px;font-size:1.25rem}
.ocpa-subtext{margin:0 0 16px;color:#64748b;font-size:.95rem;line-height:1.45}
.ocpa-method-toggle{display:flex;gap:8px;margin-bottom:16px}
.ocpa-method-btn{flex:1;border:1px solid #e2e8f0;background:#fff;padding:8px;border-radius:8px;cursor:pointer;font-weight:600;font-size:.9rem}
.ocpa-method-btn.is-active{background:var(--ocpa-accent,#2563eb);color:#fff;border-color:var(--ocpa-accent,#2563eb)}
.ocpa-tab-switch{text-align:center;margin-top:20px;font-size:.9rem;color:#64748b}
.ocpa-login-block[hidden]{display:none!important}
.ocpa-link{border:none;background:none;color:var(--ocpa-accent,#2563eb);cursor:pointer;padding:0;font-size:.9rem}
.ocpa-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center}
.ocpa-modal[hidden]{display:none}
.ocpa-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.5)}
.ocpa-modal-dialog{position:relative;background:#fff;border-radius:16px;padding:24px;width:min(440px,92vw);max-height:90vh;overflow:auto;z-index:1}
.ocpa-modal-close{position:absolute;top:8px;right:12px;border:none;background:transparent;font-size:1.5rem;cursor:pointer}
@media(max-width:480px){.ocpa-auth-card{padding:20px;border-radius:12px}}
.ocpa-panel.is-active{animation:ocpa-fade-in .25s ease}
@keyframes ocpa-fade-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ocpa-social-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ocpa-btn-social{flex:1;min-width:120px;background:#f1f5f9;color:#0f172a}
.ocpa-badge.is-success{color:#166534;font-weight:600}
.ocpa-badge.is-warning{color:#b45309;font-weight:600}
.ocpa-qr-login{text-align:center;margin-top:12px}
.ocpa-qr-canvas{display:inline-block;padding:8px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}
.ocpa-custom-field[hidden]{display:none}
.ocpa-required{color:#dc2626}
.ocpa-login-methods{display:flex;flex-direction:column;gap:0}
.ocpa-login-methods[data-ocpa-login-order="password_first"] .ocpa-login-phone{order:2}
.ocpa-login-methods[data-ocpa-login-order="password_first"] .ocpa-login-password{order:1}
.ocpa-headline-otp{font-size:1rem;margin:0 0 8px}
.ocpa-auth-app{position:relative}
.ocpa-loading-overlay{position:absolute;inset:0;background:rgba(248,250,252,.85);display:flex;align-items:center;justify-content:center;z-index:50;border-radius:inherit}
.ocpa-auth-page .ocpa-loading-overlay,.ocpa-auth-shell .ocpa-loading-overlay{position:fixed;inset:0;z-index:100001;border-radius:0}
.ocpa-loading-overlay[hidden]{display:none}
.ocpa-spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:var(--ocpa-accent,#2563eb);border-radius:50%;animation:ocpa-spin .8s linear infinite}
@keyframes ocpa-spin{to{transform:rotate(360deg)}}
.ocpa-captcha-row{margin-top:8px}
#ocpa-woo-checkout-panel{border:1px solid #e2e8f0;border-radius:8px;padding:16px;margin:16px 0}
#ocpa-woo-checkout-panel.is-verified{border-color:#16a34a;background:#f0fdf4}
.ocpa-auth-embed{max-width:480px;margin:0 auto}
.ocpa-auth-embed--split_hero{max-width:960px}
.ocpa-register-shared-extras{margin-top:16px;padding-top:12px;border-top:1px solid #e2e8f0}
.ocpa-register-panel[hidden]{display:none!important}
.ocpa-register-method-tabs{margin-bottom:20px}

/* Auth page layout presets */
.ocpa-auth-page--split_hero{align-items:stretch;justify-content:center;gap:0;padding:0}
.ocpa-auth-page--with-hero{display:grid;grid-template-columns:minmax(280px,1fr) minmax(320px,440px);max-width:1100px;margin:0 auto;min-height:100vh}
.ocpa-auth-page--with-hero .ocpa-auth-card-wrap{display:flex;align-items:center;justify-content:center;padding:24px}
.ocpa-auth-page--with-hero .ocpa-auth-card{max-width:440px;box-shadow:0 10px 40px rgba(15,23,42,.1)}
.ocpa-auth-hero{position:relative;background:linear-gradient(145deg,#0f172a 0%,#1e3a5f 55%,var(--ocpa-accent,#2563eb) 120%);color:#f8fafc;padding:48px 40px;display:flex;align-items:center;min-height:100vh}
.ocpa-auth-hero__inner{position:relative;z-index:1;max-width:420px}
.ocpa-auth-hero__glow{position:absolute;inset:-20%;background:radial-gradient(circle at 30% 20%,var(--ocpa-hero-accent,#2563eb),transparent 55%);opacity:.35;animation:ocpaHeroGlow 8s ease-in-out infinite alternate;pointer-events:none}
@keyframes ocpaHeroGlow{from{transform:translate(0,0) scale(1)}to{transform:translate(4%,-3%) scale(1.08)}}
.ocpa-auth-hero__eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;opacity:.85;margin:0 0 8px}
.ocpa-auth-hero__title{font-size:clamp(1.5rem,3vw,2rem);margin:0 0 12px;line-height:1.2}
.ocpa-auth-hero__lead{margin:0 0 24px;opacity:.9;line-height:1.5;font-size:.95rem}
.ocpa-auth-steps{list-style:none;margin:0 0 28px;padding:0;display:flex;flex-direction:column;gap:12px}
.ocpa-auth-steps__item{display:flex;align-items:center;gap:12px;opacity:.55;transition:opacity .25s ease,transform .25s ease}
.ocpa-auth-steps__item.is-active{opacity:1;transform:translateX(4px)}
.ocpa-auth-steps__item.is-done{opacity:.75}
.ocpa-auth-steps__num{width:28px;height:28px;border-radius:50%;border:2px solid rgba(248,250,252,.5);display:inline-flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700}
.ocpa-auth-steps__item.is-active .ocpa-auth-steps__num{background:#fff;color:#0f172a;border-color:#fff}
.ocpa-auth-steps__item.is-done .ocpa-auth-steps__num{background:rgba(34,197,94,.25);border-color:#4ade80}
.ocpa-auth-hero__features{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.ocpa-auth-hero__feature{display:flex;gap:12px;align-items:flex-start;font-size:.9rem;line-height:1.45}
.ocpa-auth-hero__check{flex-shrink:0;width:20px;height:20px;border-radius:50%;background:rgba(34,197,94,.25);position:relative;margin-top:2px}
.ocpa-auth-hero__check::after{content:"";position:absolute;left:6px;top:4px;width:5px;height:9px;border:solid #4ade80;border-width:0 2px 2px 0;transform:rotate(45deg)}
.ocpa-auth-hero-compact{margin-bottom:20px;padding:16px;border-radius:12px;background:linear-gradient(135deg,rgba(37,99,235,.08),rgba(15,23,42,.04));border:1px solid rgba(37,99,235,.15)}
.ocpa-auth-hero-compact .ocpa-auth-hero{min-height:auto;padding:0;background:transparent;color:inherit}
.ocpa-auth-hero-compact .ocpa-auth-hero__glow{display:none}
.ocpa-auth-hero-compact .ocpa-auth-hero__title{font-size:1.15rem;color:#0f172a}
.ocpa-auth-hero-compact .ocpa-auth-hero__lead{color:#64748b;font-size:.85rem;margin-bottom:12px}
.ocpa-auth-hero-compact .ocpa-auth-steps{flex-direction:row;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.ocpa-auth-hero-compact .ocpa-auth-steps__item{flex:1;min-width:90px;font-size:.75rem}
.ocpa-auth-hero-compact .ocpa-auth-hero__features{display:none}
.ocpa-auth-body--modern_animated .ocpa-auth-hero-compact ~ .ocpa-auth-main .ocpa-panel-register > .ocpa-headline,
.ocpa-auth-body--modern_animated .ocpa-auth-hero-compact ~ .ocpa-auth-main .ocpa-panel-register > .ocpa-subtext{display:none}
.ocpa-auth-page--with-hero .ocpa-panel-register > .ocpa-headline,
.ocpa-auth-page--with-hero .ocpa-panel-register > .ocpa-subtext{display:none}

/* Staggered entrance (respect reduced motion in JS) */
.ocpa-animate-in{opacity:0;transform:translateY(10px)}
.ocpa-animate-in--played{animation:ocpaStaggerIn .55s cubic-bezier(.22,1,.36,1) forwards;animation-delay:var(--ocpa-delay,0ms)}
@keyframes ocpaStaggerIn{to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){
	.ocpa-animate-in,.ocpa-animate-in--played{opacity:1;transform:none;animation:none}
	.ocpa-auth-hero__glow{animation:none}
	.ocpa-panel.ocpa-panel-enter{animation:none}
}

/* OneClick footer */
.ocpa-auth-footer{margin-top:28px;padding-top:20px;border-top:1px solid #e2e8f0;text-align:center}
.ocpa-auth-footer__line{margin:0;font-size:.8rem;color:#64748b;line-height:1.5;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:center}
.ocpa-auth-footer__link{font-weight:600;color:var(--ocpa-accent,#2563eb);text-decoration:none}
.ocpa-auth-footer__link:hover{text-decoration:underline}

@media (max-width:900px){
	.ocpa-auth-page--with-hero{grid-template-columns:1fr}
	.ocpa-auth-hero{min-height:auto;padding:32px 24px}
	.ocpa-auth-page--with-hero .ocpa-auth-card-wrap{padding:20px}
}
@media (max-width:480px){
	.ocpa-auth-hero-compact .ocpa-auth-steps{flex-direction:column}
	.ocpa-method-toggle{flex-direction:column}
}
