/* ============================================================
   ADSNITRO AUTH LAYOUT â€” Shared CSS
   Compatible: Livewire 3 Â· CSS nativo Â· Sin Tailwind
============================================================ */

/* â”€â”€ Variables â”€â”€ */
:root {
    --orange:        #f97316;
    --orange-light:  rgba(249,115,22,0.13);
    --orange-border: rgba(249,115,22,0.28);
    --bg:       #050505;
    --surface:  #0f0f0f;
    --surface2: #161616;
    --surface3: #1e1e1e;
    --border:   rgba(255,255,255,0.07);
    --border2:  rgba(255,255,255,0.13);
    --text:     #f1f1f1;
    --muted:    #5a5a5a;
    --muted2:   #888;
    --green:    #22c55e;
    --red:      #ef4444;
    --yellow:   #eab308;
    --blue:     #3b82f6;
    --radius:   16px;
}

/* â”€â”€ Reset â”€â”€ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* â”€â”€ Background glow â”€â”€ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(249,115,22,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* â”€â”€ Auth page wrapper â”€â”€ */
.auth-page {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 48px 24px 72px;
    display: flex;
    flex-direction: column;
}

/* Centrado vertical para pÃ¡ginas simples (login, banned, pendingâ€¦) */
.auth-centered {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-centered .auth-page {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* â”€â”€ Logo â”€â”€ */
.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 44px;
}
.auth-logo img {
    height: 42px;
    width: auto;
    display: block;
}
.auth-logo a {
    display: inline-block;
    line-height: 0;
}

/* â”€â”€ Separador naranja â”€â”€ */
.sep-line {
    width: 28px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    margin-bottom: 16px;
    opacity: 0.8;
}

/* â”€â”€ TipografÃ­a de headings â”€â”€ */
.auth-h1 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.05;
    color: #fff;
}
.auth-h1 span { color: var(--orange); }
.auth-h1.red  span { color: var(--red); }

.auth-subtitle {
    font-size: 0.82rem;
    color: var(--muted2);
    margin-top: 9px;
    line-height: 1.65;
}

/* â”€â”€ Animaciones de entrada escalonadas â”€â”€ */
.a1  { animation: authFadeUp .55s .00s cubic-bezier(.16,1,.3,1) both; }
.a2  { animation: authFadeUp .55s .07s cubic-bezier(.16,1,.3,1) both; }
.a3  { animation: authFadeUp .55s .14s cubic-bezier(.16,1,.3,1) both; }
.a4  { animation: authFadeUp .55s .21s cubic-bezier(.16,1,.3,1) both; }
.a5  { animation: authFadeUp .55s .28s cubic-bezier(.16,1,.3,1) both; }
.a6  { animation: authFadeUp .55s .35s cubic-bezier(.16,1,.3,1) both; }
.a7  { animation: authFadeUp .55s .42s cubic-bezier(.16,1,.3,1) both; }
.a8  { animation: authFadeUp .55s .49s cubic-bezier(.16,1,.3,1) both; }

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

/* â”€â”€ Campos de formulario â”€â”€ */
.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.auth-label {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #aaa;
}
.auth-label .req { color: var(--red); margin-left: 2px; }

/* Input wrapper con icono */
.auth-input-wrap { position: relative; }

.auth-field-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}
.auth-field-icon svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Inputs y selects */
.auth-input,
.auth-select {
    width: 100%;
    background: var(--surface2);
    border: 1.5px solid var(--border2);
    border-radius: var(--radius);
    padding: 13px 14px 13px 42px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.auth-input:focus,
.auth-select:focus {
    border-color: var(--orange);
    background: rgba(249,115,22,0.03);
    box-shadow: 0 0 0 3px rgba(249,115,22,0.07);
}
.auth-input::placeholder { color: var(--muted); }
.auth-input.no-icon,
.auth-select.no-icon    { padding-left: 14px; }
.auth-input.error       { border-color: var(--red); background: rgba(239,68,68,0.05); }

/* Password input â€” espacio para el ojo */
.auth-input.has-eye { padding-right: 46px; }

/* Select */
.auth-select { cursor: pointer; }
.auth-select option { background: #161616; color: #fff; }
.auth-select:disabled { opacity: 0.38; cursor: not-allowed; }

/* Select custom arrow */
.auth-select-wrap { position: relative; }
.auth-select-wrap::after {
    content: '';
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--muted);
    pointer-events: none;
}

/* Eye toggle button */
.auth-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    line-height: 0;
}
.auth-eye:hover { color: var(--muted2); }
.auth-eye svg {
    width: 15px; height: 15px;
    stroke: currentColor; fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Mensajes de error de campo */
.auth-error {
    font-size: 0.7rem;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}
.auth-error svg {
    width: 12px; height: 12px;
    stroke: currentColor; fill: none;
    stroke-width: 2.5; stroke-linecap: round; flex-shrink: 0;
}

/* â”€â”€ BotÃ³n principal (glass naranja) â”€â”€ */
.auth-btn {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid var(--orange);
    border-radius: var(--radius);
    padding: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -0.01em;
}
.auth-btn:hover {
    background: rgba(249,115,22,0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(249,115,22,0.22);
}
.auth-btn:active { transform: scale(0.98); }
.auth-btn:disabled,
.auth-btn.disabled { opacity: 0.38; pointer-events: none; transform: none; box-shadow: none; }
.auth-btn svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none;
    stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* BotÃ³n secundario (gris) */
.auth-btn-secondary {
    background: var(--surface2);
    border: 1.5px solid var(--border2);
    border-radius: var(--radius);
    padding: 13px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--muted2);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 7px;
}
.auth-btn-secondary:hover {
    color: #fff;
    background: var(--surface3);
    border-color: var(--border2);
}
.auth-btn-secondary svg {
    width: 15px; height: 15px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* â”€â”€ BotÃ³n Google â”€â”€ */
.auth-google-btn {
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.22s ease;
    text-decoration: none;
}
.auth-google-btn:hover {
    border-color: rgba(255,255,255,0.22);
    background: var(--surface3);
    transform: translateY(-1px);
}
.auth-google-btn:active { transform: scale(0.99); }
.auth-google-btn img,
.auth-google-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* â”€â”€ Divider â”€â”€ */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border2);
}
.auth-divider span {
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* â”€â”€ Checkbox personalizado â”€â”€ */
.auth-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.auth-checkbox-wrap input[type="checkbox"] { display: none; }
.auth-check {
    width: 18px; height: 18px;
    border-radius: 6px;
    background: var(--surface2);
    border: 1.5px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.auth-checkbox-wrap input:checked + .auth-check {
    background: var(--orange);
    border-color: var(--orange);
}
.auth-check svg {
    width: 10px; height: 10px;
    stroke: #000; fill: none;
    stroke-width: 3;
    stroke-linecap: round; stroke-linejoin: round;
    opacity: 0;
    transition: opacity 0.15s;
}
.auth-checkbox-wrap input:checked + .auth-check svg { opacity: 1; }
.auth-check-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted2);
}

/* â”€â”€ Info / notice box â”€â”€ */
.auth-notice {
    border-radius: 14px;
    padding: 13px 15px;
    display: flex;
    gap: 11px;
    align-items: flex-start;
}
.auth-notice svg {
    width: 15px; height: 15px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round;
    flex-shrink: 0;
    margin-top: 1px;
}
.auth-notice p { font-size: 0.73rem; line-height: 1.6; }
.auth-notice p strong { font-weight: 700; }

/* Variantes de notice */
.auth-notice-orange {
    background: rgba(249,115,22,0.07);
    border: 1px solid var(--orange-border);
    color: #bbb;
}
.auth-notice-orange svg { color: var(--orange); }
.auth-notice-orange strong { color: #fff; }

.auth-notice-blue {
    background: rgba(59,130,246,0.07);
    border: 1px solid rgba(59,130,246,0.22);
    color: #93c5fd;
}
.auth-notice-blue svg { color: #60a5fa; }
.auth-notice-blue strong { color: #bfdbfe; }

.auth-notice-yellow {
    background: rgba(234,179,8,0.07);
    border: 1px solid rgba(234,179,8,0.22);
    color: #fde68a;
}
.auth-notice-yellow svg { color: var(--yellow); }
.auth-notice-yellow strong { color: #fef3c7; }

.auth-notice-red {
    background: rgba(239,68,68,0.07);
    border: 1px solid rgba(239,68,68,0.22);
    color: #fca5a5;
}
.auth-notice-red svg { color: var(--red); }
.auth-notice-red strong { color: #fecaca; }

/* â”€â”€ Status tag (pill) â”€â”€ */
.auth-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 99px;
    padding: 5px 14px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.auth-tag-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    animation: authDotBlink 1.5s ease-in-out infinite;
}
@keyframes authDotBlink { 0%,100%{opacity:1} 50%{opacity:0.25} }

.auth-tag-orange {
    background: var(--orange-light);
    border: 1px solid var(--orange-border);
    color: var(--orange);
}
.auth-tag-orange .auth-tag-dot { background: var(--orange); }

.auth-tag-red {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.28);
    color: var(--red);
}
.auth-tag-red .auth-tag-dot { background: var(--red); }

.auth-tag-green {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.28);
    color: var(--green);
}
.auth-tag-green .auth-tag-dot { background: var(--green); }

/* â”€â”€ Password strength bar â”€â”€ */
.auth-strength-bar {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}
.auth-strength-seg {
    flex: 1;
    height: 3px;
    border-radius: 99px;
    background: var(--surface3);
    transition: background 0.35s ease;
}
.auth-strength-hint {
    font-size: 0.66rem;
    color: var(--muted);
    margin-top: 5px;
    transition: color 0.3s;
}

/* â”€â”€ Requirement checklist â”€â”€ */
.auth-req-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}
.auth-req-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--muted2);
    transition: color 0.2s;
}
.auth-req-item.met { color: var(--green); }
.auth-req-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--surface3);
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    flex-shrink: 0;
}
.auth-req-item.met .auth-req-dot {
    background: rgba(34,197,94,0.15);
    border-color: rgba(34,197,94,0.4);
}
.auth-req-dot svg {
    width: 9px; height: 9px;
    stroke: var(--green); fill: none;
    stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
    opacity: 0;
    transition: opacity 0.2s;
}
.auth-req-item.met .auth-req-dot svg { opacity: 1; }

/* â”€â”€ OTP cells â”€â”€ */
.auth-otp-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 8px;
}
.auth-otp-cell {
    width: 50px; height: 60px;
    background: var(--surface2);
    border: 1.5px solid var(--border2);
    border-radius: 15px;
    font-family: 'DM Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    outline: none;
    caret-color: var(--orange);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.auth-otp-cell:focus {
    border-color: var(--orange);
    background: rgba(249,115,22,0.04);
    box-shadow: 0 0 0 3px rgba(249,115,22,0.08);
}
.auth-otp-cell.filled { border-color: var(--orange-border); color: var(--orange); }
.auth-otp-cell.error  {
    border-color: var(--red);
    background: rgba(239,68,68,0.06);
    animation: authShake 0.35s ease;
}
@keyframes authShake {
    0%,100% { transform: translateX(0); }
    20%,60%  { transform: translateX(-5px); }
    40%,80%  { transform: translateX(5px); }
}

/* â”€â”€ Step indicator â”€â”€ */
.auth-steps {
    display: flex;
    align-items: flex-start;
    margin-bottom: 36px;
}
.auth-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}
.auth-step-node {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border2);
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--muted);
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
    flex-shrink: 0;
}
.auth-step-node.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #000;
    box-shadow: 0 0 16px rgba(249,115,22,0.45);
    transform: scale(1.1);
}
.auth-step-node.done {
    background: rgba(34,197,94,0.12);
    border-color: rgba(34,197,94,0.45);
    color: var(--green);
}
.auth-step-label {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
    white-space: nowrap;
}
.auth-step-label.active { color: var(--orange); }
.auth-step-label.done   { color: var(--green); }
.auth-step-line {
    flex: 1;
    height: 1.5px;
    background: var(--border2);
    max-width: 56px;
    margin: 0 6px;
    margin-bottom: 22px;
    transition: background 0.4s;
}
.auth-step-line.done { background: rgba(34,197,94,0.4); }

/* â”€â”€ Platform cards (registro) â”€â”€ */
.auth-platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth-platform-card {
    background: var(--surface2);
    border: 1.5px solid var(--border2);
    border-radius: var(--radius);
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
    transition: all 0.22s ease;
}
.auth-platform-card:hover { border-color: rgba(255,255,255,0.2); background: var(--surface3); }
.auth-platform-card.selected { border-color: var(--orange); background: var(--orange-light); }
.auth-platform-card input[type="checkbox"] { display: none; }
.auth-plat-icon {
    width: 36px; height: 36px;
    border-radius: 11px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.auth-platform-card.selected .auth-plat-icon { transform: scale(1.08); }
.auth-plat-icon svg { width: 17px; height: 17px; }
.auth-plat-meta   { background: #0866FF; }
.auth-plat-tiktok { background: #111; border: 1px solid rgba(255,255,255,0.12); }
.auth-plat-info { flex: 1; min-width: 0; }
.auth-plat-name { font-size: 0.82rem; font-weight: 700; color: #fff; }
.auth-plat-sub  { font-size: 0.62rem; color: #777; margin-top: 1px; }
.auth-platform-card.selected .auth-plat-sub { color: #bbb; }
.auth-plat-check {
    width: 19px; height: 19px;
    border-radius: 6px;
    flex-shrink: 0;
    background: var(--surface3);
    border: 1.5px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.auth-platform-card.selected .auth-plat-check { background: var(--orange); border-color: var(--orange); }
.auth-plat-check svg {
    width: 11px; height: 11px;
    stroke: #000; fill: none;
    stroke-width: 3;
    stroke-linecap: round; stroke-linejoin: round;
    opacity: 0;
    transition: opacity 0.15s;
}
.auth-platform-card.selected .auth-plat-check svg { opacity: 1; }

/* â”€â”€ Info cards (pending / banned) â”€â”€ */
.auth-info-card {
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 16px;
    padding: 15px 17px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
}
.auth-info-icon {
    width: 36px; height: 36px;
    border-radius: 11px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-info-icon svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.auth-info-icon-orange { background: var(--orange-light); color: var(--orange); }
.auth-info-icon-red    { background: rgba(239,68,68,0.12); color: var(--red); }
.auth-info-icon-green  { background: rgba(34,197,94,0.1);  color: var(--green); }
.auth-info-icon-blue   { background: rgba(59,130,246,0.12); color: #60a5fa; }
.auth-info-icon-muted  { background: rgba(255,255,255,0.04); color: var(--muted2); }
.auth-info-icon-yellow { background: rgba(234,179,8,0.1);  color: var(--yellow); }

.auth-info-title { font-size: 0.82rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.auth-info-sub   { font-size: 0.72rem; color: var(--muted2); line-height: 1.55; }
.auth-info-sub a { color: var(--orange); text-decoration: none; font-weight: 600; }

/* â”€â”€ Checking strip (auto-poll indicator) â”€â”€ */
.auth-checking-strip {
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 14px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 11px;
}
.auth-spin {
    width: 17px; height: 17px;
    flex-shrink: 0;
    stroke: var(--orange); fill: none;
    stroke-width: 2.5; stroke-linecap: round;
    animation: authSpin 1s linear infinite;
}
@keyframes authSpin { to { transform: rotate(360deg); } }
.auth-checking-text { flex: 1; }
.auth-checking-text p    { font-size: 0.76rem; font-weight: 600; color: var(--text); }
.auth-checking-text span { font-size: 0.66rem; color: var(--muted2); }
.auth-check-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--orange);
    animation: authDotBlink 1.5s infinite;
}

/* â”€â”€ Success overlay â”€â”€ */
.auth-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.auth-success-overlay.visible {
    display: flex;
    animation: authFadeIn 0.25s ease;
}
@keyframes authFadeIn { from{opacity:0} to{opacity:1} }

.auth-s-ring-wrap { position: relative; width: 120px; height: 120px; margin-bottom: 28px; }
.auth-s-ring-svg  { width: 120px; height: 120px; overflow: visible; }
.auth-s-ring-bg   { fill: none; stroke: rgba(249,115,22,0.1); stroke-width: 3; }
.auth-s-ring-glow {
    fill: none; stroke: rgba(249,115,22,0.18); stroke-width: 9;
    stroke-linecap: round;
    transform-origin: 60px 60px; transform: rotate(-90deg);
    stroke-dasharray: 345; stroke-dashoffset: 345;
    filter: blur(4px);
}
.auth-s-ring-prog {
    fill: none; stroke: var(--orange); stroke-width: 3;
    stroke-linecap: round;
    transform-origin: 60px 60px; transform: rotate(-90deg);
    stroke-dasharray: 345; stroke-dashoffset: 345;
}
.auth-s-ring-prog.run,
.auth-s-ring-glow.run { animation: authRingFill .9s .1s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes authRingFill { to { stroke-dashoffset: 0; } }

.auth-s-icon-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.auth-s-icon-bg {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.2) 0%, rgba(249,115,22,0.05) 100%);
    display: flex; align-items: center; justify-content: center;
    animation: authIconPop .5s .7s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes authIconPop {
    from { transform: scale(0) rotate(-20deg); opacity: 0; }
    to   { transform: scale(1) rotate(0);      opacity: 1; }
}
.auth-s-check-svg { width: 44px; height: 44px; }
.auth-s-check-path {
    fill: none; stroke: var(--orange); stroke-width: 2.5;
    stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 40; stroke-dashoffset: 40;
}
.auth-s-check-path.run { animation: authDrawCheck .4s .95s ease forwards; }
@keyframes authDrawCheck { to { stroke-dashoffset: 0; } }

.auth-s-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.auth-s-particle  {
    position: absolute; top: 50%; left: 50%;
    animation: authParticleFly var(--dur) var(--delay) ease-out both;
}
@keyframes authParticleFly {
    0%   { transform: translate(-50%,-50%) scale(1); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0); opacity: 0; }
}

.auth-s-title {
    font-size: 1.7rem; font-weight: 900;
    letter-spacing: -0.05em; color: #fff;
    margin-bottom: 8px; text-align: center;
    animation: authFadeUp .5s 1.05s cubic-bezier(.16,1,.3,1) both;
}
.auth-s-title span { color: var(--orange); }
.auth-s-sub {
    font-size: 0.82rem; color: var(--muted2);
    text-align: center; max-width: 260px; line-height: 1.6;
    animation: authFadeUp .5s 1.15s cubic-bezier(.16,1,.3,1) both;
}
.auth-s-badge {
    margin-top: 20px;
    background: var(--orange-light);
    border: 1px solid var(--orange-border);
    border-radius: 99px;
    padding: 6px 18px;
    font-size: 0.72rem; font-weight: 700; color: var(--orange);
    animation: authFadeUp .5s 1.25s cubic-bezier(.16,1,.3,1) both;
}

/* â”€â”€ Progress bar (complete-profile) â”€â”€ */
.auth-progress-wrap { margin-bottom: 28px; }
.auth-progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}
.auth-progress-label span:first-child { font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted2); }
.auth-progress-label span:last-child  { font-size: 0.67rem; font-weight: 700; color: var(--orange); }
.auth-progress-track { height: 3px; background: var(--surface3); border-radius: 99px; overflow: hidden; }
.auth-progress-fill  { height: 100%; background: linear-gradient(90deg, var(--orange), #ffb56b); border-radius: 99px; width: 0%; transition: width 0.5s cubic-bezier(.16,1,.3,1); }

/* â”€â”€ Section label (formularios largos) â”€â”€ */
.auth-section-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 10px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* â”€â”€ Footer link â”€â”€ */
.auth-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 0.78rem;
    color: var(--muted);
}
.auth-footer a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
}
.auth-footer a:hover { opacity: 0.8; }

/* â”€â”€ Mono secret / ref code â”€â”€ */
.auth-mono {
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.12em;
    color: var(--orange);
}

/* â”€â”€ Livewire loading states â”€â”€ */
[wire\:loading]          { display: none; }
[wire\:loading.block]    { display: block; }
[wire\:loading.flex]     { display: flex; }
[wire\:loading.inline]   { display: inline; }

/* Spinner global para wire:loading */
.auth-wire-spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: authSpin .7s linear infinite;
    flex-shrink: 0;
}

/* â”€â”€ Utilidades spacing â”€â”€ */
.mb8  { margin-bottom:  8px; }
.mb12 { margin-bottom: 12px; }
.mb16 { margin-bottom: 16px; }
.mb20 { margin-bottom: 20px; }
.mb24 { margin-bottom: 24px; }
.mb28 { margin-bottom: 28px; }
.mt8  { margin-top:  8px; }
.mt12 { margin-top: 12px; }
.mt16 { margin-top: 16px; }
.mt20 { margin-top: 20px; }
.gap8  { gap:  8px; }
.gap10 { gap: 10px; }
.gap12 { gap: 12px; }
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center  { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.text-center { text-align: center; }

/* Allow text selection in form fields (body uses user-select: none) */
.auth-input,
.auth-select,
.auth-otp-cell,
.auth-checkbox-wrap {
    user-select: text;
    -webkit-user-select: text;
}

/* =============================================================================
   Login page — original static design (Google first, divider, email form)
   ============================================================================= */

.auth-page.auth-page--login {
    max-width: 460px;
    padding: 0 0 56px;
}

.auth-page.auth-page--password {
    max-width: 420px;
    padding: 0 0 56px;
}

.auth-page.auth-page--admin-welcome {
    max-width: 440px;
    padding: 0 0 48px;
}

.login-design.admin-welcome-setup .admin-welcome-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
}

.login-design.admin-welcome-setup .admin-welcome-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    opacity: 0.55;
    transition: opacity 0.45s ease, border-color 0.45s ease, background 0.45s ease, transform 0.45s ease;
}

.login-design.admin-welcome-setup .admin-welcome-step.is-done {
    opacity: 1;
    border-color: rgba(249, 115, 22, 0.35);
    background: rgba(249, 115, 22, 0.06);
    transform: translateY(-1px);
}

.login-design.admin-welcome-setup .admin-welcome-step-icon {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--orange);
}

.login-design.admin-welcome-setup .admin-welcome-ring {
    width: 40px;
    height: 40px;
    display: block;
}

.login-design.admin-welcome-setup .admin-welcome-check {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 22px;
    height: 22px;
    stroke: #000;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    background: var(--orange);
    border-radius: 50%;
    padding: 4px;
    box-sizing: border-box;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-design.admin-welcome-setup .admin-welcome-step.is-done .admin-welcome-check {
    opacity: 1;
    transform: scale(1);
}

.login-design.admin-welcome-setup .admin-welcome-step-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 4px;
}

.login-design.admin-welcome-setup .admin-welcome-step-sub {
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--muted2);
}

.login-design.admin-welcome-setup .admin-welcome-connector {
    width: 2px;
    height: 14px;
    margin-left: 33px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: background 0.4s ease;
}

.login-design.admin-welcome-setup .admin-welcome-connector.is-done {
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.55), rgba(249, 115, 22, 0.15));
}

.login-design.admin-welcome-setup .admin-welcome-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.login-design.admin-welcome-setup .admin-welcome-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--muted2);
}

.login-design {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 48px 28px 54px;
    display: flex;
    flex-direction: column;
}

.login-design .login-session-banner {
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #86efac;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.28);
    margin-bottom: 20px;
}

/* Create / set password — info callout */
.login-design .password-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.78rem;
    line-height: 1.55;
    color: #fdba74;
    background: rgba(249, 115, 22, 0.09);
    border: 1px solid rgba(249, 115, 22, 0.28);
    margin-bottom: 22px;
}
.login-design .password-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--orange);
    opacity: 0.95;
}
.login-design .password-notice strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fed7aa;
    margin-bottom: 4px;
}

.login-design .password-footer-link {
    background: none;
    border: none;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted2);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.login-design .password-footer-link:hover {
    color: var(--orange);
}

.login-design .a1 { animation: loginFadeUp .5s .00s cubic-bezier(.16, 1, .3, 1) both; }
.login-design .a2 { animation: loginFadeUp .5s .07s cubic-bezier(.16, 1, .3, 1) both; }
.login-design .a3 { animation: loginFadeUp .5s .14s cubic-bezier(.16, 1, .3, 1) both; }
.login-design .a4 { animation: loginFadeUp .5s .20s cubic-bezier(.16, 1, .3, 1) both; }
.login-design .a5 { animation: loginFadeUp .5s .26s cubic-bezier(.16, 1, .3, 1) both; }
.login-design .a6 { animation: loginFadeUp .5s .32s cubic-bezier(.16, 1, .3, 1) both; }
.login-design .a7 { animation: loginFadeUp .5s .38s cubic-bezier(.16, 1, .3, 1) both; }

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

.login-design .logo-wrap {
    margin-bottom: 34px;
    display: flex;
    justify-content: center;
}
.login-design .logo-wrap a {
    display: inline-block;
    line-height: 0;
}
.login-design .logo-wrap img {
    height: 42px;
    display: block;
}

.login-design .heading {
    margin-bottom: 28px;
    text-align: center;
}
.login-design .login-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border: 1px solid var(--orange-border);
    border-radius: 999px;
    padding: 6px 14px;
    background: var(--orange-light);
    color: var(--orange);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.login-design .sep-line {
    width: 30px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    margin: 0 auto 18px;
}
.login-design .heading h1 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.04;
    color: #fff;
}
.login-design .heading h1 span {
    color: var(--orange);
}
.login-design .heading p {
    font-size: 0.83rem;
    color: #999;
    margin-top: 10px;
    line-height: 1.6;
}

.login-design .login-panel {
    position: relative;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
        rgba(15, 15, 15, 0.82);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}
.login-design .login-panel::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.16), transparent 42%);
    pointer-events: none;
}
.login-design .login-panel > * {
    position: relative;
    z-index: 1;
}

.login-design .google-btn {
    width: 100%;
    background: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.87rem;
    font-weight: 700;
    color: #171717;
    cursor: pointer;
    transition: all 0.2s ease;
}
.login-design .google-btn:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: #fff;
    transform: translateY(-1px);
}
.login-design .google-btn:active {
    transform: scale(0.99);
}
.login-design .g-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.login-design .google-btn-inner,
.login-design .google-btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.login-design .google-btn-loading {
    color: #404040;
}

/* Test mode — misma anchura que Google; estilo distintivo naranja suave */
.login-design .test-mode-btn {
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    width: 100%;
    margin-top: 12px;
    background: rgba(249, 115, 22, 0.09);
    border: 1px solid rgba(249, 115, 22, 0.38);
    border-radius: var(--radius);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--orange);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.login-design .test-mode-btn:hover:not(:disabled) {
    background: rgba(249, 115, 22, 0.16);
    border-color: rgba(249, 115, 22, 0.55);
    transform: translateY(-1px);
}
.login-design .test-mode-btn:active:not(:disabled) {
    transform: scale(0.99);
}
.login-design .test-mode-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.login-design .test-mode-btn-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.login-design .test-mode-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.login-design .test-mode-btn-loading {
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--muted2);
}

/* Quick admin — mismo ancho, acento azul */
.login-design .admin-quick-btn {
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    width: 100%;
    margin-top: 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.45);
    border-radius: var(--radius);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #93c5fd;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.login-design .admin-quick-btn:hover:not(:disabled) {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(96, 165, 250, 0.65);
    transform: translateY(-1px);
}
.login-design .admin-quick-btn:active:not(:disabled) {
    transform: scale(0.99);
}
.login-design .admin-quick-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.login-design .admin-quick-btn-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.login-design .admin-quick-icon {
    display: block;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    overflow: visible;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.login-design .admin-quick-btn-loading {
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--muted2);
}

/* Toggle + email/password form (below quick sign-in buttons) */
.login-design .login-email-toggle {
    width: 100%;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px dashed rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted2);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    user-select: none;
    -webkit-user-select: none;
}
.login-design .login-email-toggle:hover {
    border-color: rgba(249, 115, 22, 0.35);
    color: #c8c8c8;
    background: rgba(249, 115, 22, 0.04);
}
.login-design .login-email-toggle svg {
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.login-design .login-email-form {
    margin-top: 0;
    padding-top: 0;
    text-align: left;
}

.login-design .divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
}
.login-design .divider::before,
.login-design .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.login-design .divider span {
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}
.login-design .dev-divider {
    margin: 18px 0 0;
}

.login-design .form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.login-design .field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.login-design .field label {
    font-size: 0.69rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #c0c0c0;
}

.login-design .input-wrap {
    position: relative;
}
.login-design .field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}
.login-design .field-icon svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.login-design input[type='email'],
.login-design input[type='password'] {
    width: 100%;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 13px 14px 13px 42px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    user-select: text;
    -webkit-user-select: text;
}
.login-design .input-wrap input[type='password'] {
    padding-right: 46px;
}
.login-design input:focus {
    border-color: var(--orange);
    background: transparent;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08);
}
.login-design input:-webkit-autofill,
.login-design input:-webkit-autofill:hover,
.login-design input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    background-color: transparent !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
    transition: background-color 9999s ease-out;
}
.login-design input::placeholder {
    color: var(--muted);
}
.login-design input.input-error {
    border-color: var(--red);
    background: transparent;
}

.login-design .field-error {
    font-size: 0.7rem;
    color: var(--red);
    margin-top: 2px;
}

.login-design .eye-btn {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}
.login-design .eye-btn:hover {
    color: #999;
}
.login-design .eye-btn svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-design .form-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.login-design .remember-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.login-design .remember-wrap input[type='checkbox'] {
    display: none;
}
.login-design .custom-check {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: #161616;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.login-design .remember-wrap input:checked + .custom-check {
    background: var(--orange);
    border-color: var(--orange);
}
.login-design .custom-check svg {
    width: 10px;
    height: 10px;
    stroke: #000;
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transition: opacity 0.15s;
}
.login-design .remember-wrap input:checked + .custom-check svg {
    opacity: 1;
}
.login-design .remember-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: #c0c0c0;
    cursor: pointer;
}
.login-design .forgot-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--orange);
    text-decoration: none;
    transition: opacity 0.2s;
}
.login-design .forgot-link:hover {
    opacity: 0.7;
}

.login-design .submit-btn {
    width: 100%;
    margin-top: 6px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(251, 146, 60, 0.82));
    border: 1.5px solid var(--orange);
    border-radius: var(--radius);
    padding: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.login-design .submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #fb923c, #fdba74);
    transform: translateY(-2px);
    box-shadow: 0 10px 34px rgba(249, 115, 22, 0.28);
}
.login-design .submit-btn:active:not(:disabled) {
    transform: scale(0.98);
}
.login-design .submit-btn:disabled {
    opacity: 0.65;
    pointer-events: none;
}
.login-design .submit-btn-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.login-design .submit-btn-inner svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.login-design .submit-btn-loading {
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-design .page-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 0.78rem;
    color: var(--muted);
}
.login-design .page-footer a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
}
.login-design .page-footer a:hover {
    opacity: 0.8;
}

@media (max-width: 480px) {
    .login-design {
        padding: 40px 20px 48px;
    }
}

@media (max-width: 768px) {
    .login-design input[type='email'],
    .login-design input[type='password'],
    .register-design input[type='text'],
    .register-design input[type='email'],
    .register-design input[type='tel'],
    .register-design input[type='number'],
    .register-design input[type='password'],
    .register-design select {
        font-size: 16px;
    }
}

/* =============================================================================
   Register — multi-step wizard (native CSS, no Tailwind)
   ============================================================================= */

body.register-page-body {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 44px 20px 72px;
    min-height: 100dvh;
}

body.register-page-body > div {
    width: 100%;
    display: flex;
    justify-content: center;
}

body.register-page-body .auth-centered {
    align-items: flex-start;
    padding-top: 0;
}

.auth-page.auth-page--register {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0 48px;
}

.register-design {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    /* Solo transform: evita quedar en opacity:0 si fill-mode/backwards falla */
    animation: registerFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes registerFadeUp {
    from {
        transform: translateY(14px);
    }
    to {
        transform: translateY(0);
    }
}

.register-design .logo-wrap {
    margin-bottom: 44px;
    display: flex;
    justify-content: center;
}
.register-design .logo-wrap a {
    display: inline-block;
    line-height: 0;
}
.register-design .logo-wrap img {
    height: 42px;
    display: block;
}

.register-design .steps-wrap {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}
.register-design .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}
.register-design .step-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: #161616;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--muted);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}
.register-design .step-dot.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #000;
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.4);
    transform: scale(1.1);
}
.register-design .step-dot.done {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.45);
    color: var(--green);
}
.register-design .step-label {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
    white-space: nowrap;
}
.register-design .step-label.active {
    color: var(--orange);
}
.register-design .step-label.done {
    color: var(--green);
}
.register-design .step-line {
    flex: 1;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.08);
    max-width: 56px;
    margin: 0 6px;
    margin-bottom: 22px;
    transition: background 0.4s;
}
.register-design .step-line.done {
    background: rgba(34, 197, 94, 0.4);
}

.register-design .step-panel {
    display: none;
}
.register-design .step-panel.active {
    display: block;
    animation: registerSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes registerSlideIn {
    from {
        transform: translateX(12px);
    }
    to {
        transform: translateX(0);
    }
}

.register-design .sep-line {
    width: 28px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    margin-bottom: 16px;
}
.register-design .step-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 10px;
}
.register-design .step-tag svg {
    width: 11px;
    height: 11px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
}
.register-design .step-heading {
    margin-bottom: 28px;
}
.register-design .step-heading h2 {
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
}
.register-design .step-heading h2 span {
    color: var(--orange);
}
.register-design .step-heading p {
    font-size: 0.8rem;
    color: var(--muted2);
    margin-top: 8px;
    line-height: 1.6;
}

.register-design .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.register-design .col-full {
    grid-column: 1 / -1;
}

.register-design .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.register-design .field label {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #c0c0c0;
}
.register-design .field label .req {
    color: var(--red);
    margin-left: 2px;
}
.register-design .field-error {
    font-size: 0.7rem;
    color: var(--red);
    margin-top: 2px;
}

.register-design .input-wrap {
    position: relative;
}
.register-design .field-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}
.register-design .field-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.register-design input[type='text'],
.register-design input[type='email'],
.register-design input[type='tel'],
.register-design input[type='number'],
.register-design input[type='password'],
.register-design select {
    width: 100%;
    background: #161616;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 12px 13px 12px 39px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: #fff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    user-select: text;
    -webkit-user-select: text;
}
.register-design .input-wrap input[type='password'] {
    padding-right: 42px;
}
.register-design input:focus,
.register-design select:focus {
    border-color: var(--orange);
    background: rgba(249, 115, 22, 0.04);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08);
}
.register-design input::placeholder {
    color: var(--muted);
}
.register-design select {
    color: #fff;
    cursor: pointer;
}
.register-design select option {
    background: #161616;
    color: #fff;
}
.register-design select:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.register-design .no-icon {
    padding-left: 13px !important;
}
.register-design .select-arrow::after {
    content: '';
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #555;
    pointer-events: none;
}

.register-design .eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}
.register-design .eye-btn:hover {
    color: var(--muted2);
}
.register-design .eye-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.register-design .platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.register-design .platform-card {
    background: #161616;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
    transition: all 0.22s ease;
}
.register-design .platform-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: #1e1e1e;
}
.register-design .platform-card.selected {
    border-color: var(--orange);
    background: var(--orange-light);
}
.register-design .plat-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.register-design .platform-card.selected .plat-icon {
    transform: scale(1.08);
}
.register-design .plat-icon svg {
    width: 17px;
    height: 17px;
}
.register-design .plat-meta {
    background: #0866ff;
}
.register-design .plat-tiktok {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.register-design .plat-info {
    flex: 1;
    min-width: 0;
}
.register-design .plat-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
}
.register-design .plat-sub {
    font-size: 0.62rem;
    color: var(--muted2);
    margin-top: 1px;
}
.register-design .platform-card.selected .plat-sub {
    color: #bbb;
}
.register-design .plat-check {
    width: 19px;
    height: 19px;
    border-radius: 6px;
    flex-shrink: 0;
    background: #1e1e1e;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.register-design .platform-card.selected .plat-check {
    background: var(--orange);
    border-color: var(--orange);
}
.register-design .plat-check svg {
    width: 11px;
    height: 11px;
    stroke: #000;
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transition: opacity 0.15s;
}
.register-design .platform-card.selected .plat-check svg {
    opacity: 1;
}

.register-design .spend-row {
    display: flex;
    gap: 10px;
}
.register-design .spend-row .input-wrap {
    flex: 1;
}
.register-design .cur-wrap {
    width: 100px;
    flex-shrink: 0;
    position: relative;
}
.register-design .cur-wrap::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #555;
    pointer-events: none;
}
.register-design .cur-wrap select {
    padding-left: 12px;
}

.register-design .pwd-strength-bar {
    height: 2.5px;
    border-radius: 99px;
    background: #1e1e1e;
    margin-top: 7px;
    overflow: hidden;
}
.register-design .pwd-strength-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.4s, background 0.4s;
    width: 0%;
}

.register-design .pwd-hint {
    font-size: 0.66rem;
    color: var(--muted);
    margin-top: 5px;
    transition: color 0.3s;
}

.register-design .info-notice {
    background: rgba(249, 115, 22, 0.07);
    border: 1px solid var(--orange-border);
    border-radius: 13px;
    padding: 12px 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.register-design .info-notice svg {
    width: 14px;
    height: 14px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    flex-shrink: 0;
    margin-top: 1px;
}
.register-design .info-notice p {
    font-size: 0.72rem;
    color: var(--muted2);
    line-height: 1.55;
}
.register-design .info-notice p strong {
    color: var(--text);
}

.register-design .terms-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.register-design .terms-check {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 1px;
    background: #161616;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.register-design .terms-check.checked {
    background: var(--orange);
    border-color: var(--orange);
}
.register-design .terms-check svg {
    width: 10px;
    height: 10px;
    stroke: #000;
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transition: opacity 0.15s;
}
.register-design .terms-check.checked svg {
    opacity: 1;
}
.register-design .terms-text {
    font-size: 0.73rem;
    color: var(--muted2);
    line-height: 1.55;
}
.register-design .terms-text a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
}

.register-design .review-section {
    margin-bottom: 18px;
}
.register-design .review-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 8px;
}
.register-design .review-rows {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
}
.register-design .review-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 14px;
}
.register-design .review-row:last-child {
    border-bottom: none;
}
.register-design .review-key {
    font-size: 0.72rem;
    color: var(--muted2);
    font-weight: 500;
    flex-shrink: 0;
}
.register-design .review-val {
    font-size: 0.82rem;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
    max-width: 60%;
    color: var(--text);
}
.register-design .review-val.orange {
    color: var(--orange);
}

.register-design .btn-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.register-design .btn-back {
    background: #161616;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 13px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--muted2);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}
.register-design .btn-back:hover {
    color: #fff;
    background: #1e1e1e;
    border-color: rgba(255, 255, 255, 0.2);
}
.register-design .btn-back svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.register-design .btn-next {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--orange);
    border-radius: var(--radius);
    padding: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.register-design .btn-next:hover:not(:disabled) {
    background: rgba(249, 115, 22, 0.16);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2);
}
.register-design .btn-next:active:not(:disabled) {
    transform: scale(0.98);
}
.register-design .btn-next:disabled {
    opacity: 0.6;
    pointer-events: none;
}
.register-design .btn-next svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.register-design .btn-loading-inline {
    letter-spacing: 0.05em;
}
/* Idle label + chevron; hidden together while register() is in flight (see wire:loading.remove). */
.register-design .btn-next-register-idle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
/* Default hidden: global [wire:loading.flex] would otherwise show this before Livewire runs. */
.register-design .btn-create-loading {
    align-items: center;
    gap: 8px;
}

.register-design .page-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.78rem;
    color: var(--muted);
}
.register-design .page-footer a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
}
.register-design .page-footer a:hover {
    opacity: 0.8;
}

.register-design .mb8 {
    margin-bottom: 8px;
}
.register-design .mb14 {
    margin-bottom: 14px;
}
.register-design .mb20 {
    margin-bottom: 20px;
}
.register-design .mb24 {
    margin-bottom: 24px;
}

@media (max-width: 520px) {
    .register-design .form-grid {
        grid-template-columns: 1fr;
    }
    body.register-page-body {
        padding: 32px 16px 56px;
    }
}

/* =============================================================================
   2FA initial setup — native CSS
   ============================================================================= */

body.twofa-setup-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
}

body.twofa-setup-body > div {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-page.auth-page--twofa-setup {
    max-width: 420px;
    padding: 52px 28px 60px;
}

.twofa-setup .a1 { animation: twofaFadeUp .55s .00s cubic-bezier(.16,1,.3,1) both; }
.twofa-setup .a2 { animation: twofaFadeUp .55s .07s cubic-bezier(.16,1,.3,1) both; }
.twofa-setup .a3 { animation: twofaFadeUp .55s .14s cubic-bezier(.16,1,.3,1) both; }
.twofa-setup .a4 { animation: twofaFadeUp .55s .21s cubic-bezier(.16,1,.3,1) both; }
.twofa-setup .a5 { animation: twofaFadeUp .55s .28s cubic-bezier(.16,1,.3,1) both; }
.twofa-setup .a6 { animation: twofaFadeUp .55s .35s cubic-bezier(.16,1,.3,1) both; }
.twofa-setup .a7 { animation: twofaFadeUp .55s .42s cubic-bezier(.16,1,.3,1) both; }

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

.twofa-setup .logo-wrap { margin-bottom: 44px; display: flex; justify-content: center; }
.twofa-setup .logo-wrap img { height: 42px; display: block; }

.twofa-setup .sep-line { width: 30px; height: 2px; background: var(--orange); border-radius: 2px; margin-bottom: 18px; }
.twofa-setup .heading { margin-bottom: 8px; }
.twofa-setup .heading h1 { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1.06; color: #fff; }
.twofa-setup .heading h1 span { color: var(--orange); }
.twofa-setup .heading p { font-size: 0.82rem; color: var(--muted2); margin-top: 9px; line-height: 1.6; margin-bottom: 28px; }

.twofa-setup .step-track { display: flex; align-items: center; gap: 0; margin-bottom: 32px; }
.twofa-setup .step-node {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    border: 1.5px solid var(--border2); background: var(--surface2);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 800; color: var(--muted);
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.twofa-setup .step-node.active { background: var(--orange); border-color: var(--orange); color: #000; box-shadow: 0 0 14px rgba(249,115,22,0.4); }
.twofa-setup .step-node.done { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.45); color: var(--green); font-size: 0.65rem; }
.twofa-setup .step-edge { flex: 1; height: 1.5px; background: var(--border2); transition: background 0.4s; }
.twofa-setup .step-edge.done { background: rgba(34,197,94,0.4); }
.twofa-setup .step-label-row { display: flex; justify-content: space-between; margin-top: -18px; margin-bottom: 28px; padding: 0 2px; }
.twofa-setup .step-lbl {
    font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--muted); width: 30px; text-align: center; transition: color 0.3s;
    white-space: nowrap; transform: translateX(-50%); margin-left: 15px;
}
.twofa-setup .step-lbl:first-child { margin-left: 0; transform: none; }
.twofa-setup .step-lbl:last-child { margin-left: 0; transform: none; text-align: right; }
.twofa-setup .step-lbl.active { color: var(--orange); }
.twofa-setup .step-lbl.done { color: var(--green); }

.twofa-setup .qr-wrap {
    background: var(--surface2); border: 1px solid var(--border2);
    border-radius: 20px; padding: 28px 20px 20px;
    display: flex; flex-direction: column; align-items: center; margin-bottom: 18px;
}
.twofa-setup .qr-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 18px; }
.twofa-setup .qr-box {
    width: 168px; height: 168px; background: #fff; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; padding: 12px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08); margin-bottom: 20px; position: relative; overflow: hidden;
}
.twofa-setup .qr-box svg { width: 100%; height: 100%; }
.twofa-setup .qr-corner { position: absolute; width: 20px; height: 20px; border-color: var(--orange); border-style: solid; }
.twofa-setup .qr-corner.tl { top: 0; left: 0; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.twofa-setup .qr-corner.tr { top: 0; right: 0; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.twofa-setup .qr-corner.bl { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.twofa-setup .qr-corner.br { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }
.twofa-setup .qr-divider { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 16px; }
.twofa-setup .qr-divider::before, .twofa-setup .qr-divider::after { content: ''; flex: 1; height: 1px; background: var(--border2); }
.twofa-setup .qr-divider span { font-size: 0.62rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }

.twofa-setup .secret-block {
    width: 100%; background: var(--surface3); border: 1px solid var(--border2); border-radius: 12px;
    padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.twofa-setup .secret-code {
    font-family: 'DM Mono', monospace; font-size: 0.88rem; font-weight: 500;
    letter-spacing: 0.15em; color: var(--orange); word-break: break-all;
}
.twofa-setup .copy-btn {
    background: var(--orange); border: none; border-radius: 8px; padding: 7px 13px;
    font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 700; color: #000;
    cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.twofa-setup .copy-btn:hover { background: #ff8c3a; }
.twofa-setup .copy-btn:active { transform: scale(0.93); }
.twofa-setup .copy-btn.copied { background: var(--green); }

.twofa-setup .notice {
    background: rgba(59,130,246,0.07); border: 1px solid rgba(59,130,246,0.22);
    border-radius: 14px; padding: 13px 15px;
    display: flex; gap: 11px; align-items: flex-start; margin-bottom: 24px;
}
.twofa-setup .notice svg { width: 15px; height: 15px; stroke: #60a5fa; fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; margin-top: 1px; }
.twofa-setup .notice p { font-size: 0.73rem; color: #93c5fd; line-height: 1.6; }
.twofa-setup .notice p strong { color: #bfdbfe; }

.twofa-setup .otp-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted2); margin-bottom: 12px; }
.twofa-setup .otp-row { display: flex; gap: 10px; justify-content: center; margin-bottom: 8px; }
.twofa-setup .otp-cell {
    width: 48px; height: 58px; background: var(--surface2); border: 1.5px solid var(--border2);
    border-radius: 14px; font-family: 'DM Mono', monospace; font-size: 1.4rem; font-weight: 600;
    color: #fff; text-align: center; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; caret-color: var(--orange);
    user-select: text; -webkit-user-select: text;
}
.twofa-setup .otp-cell:focus { border-color: var(--orange); background: rgba(249,115,22,0.04); box-shadow: 0 0 0 3px rgba(249,115,22,0.08); }
.twofa-setup .otp-cell.filled { border-color: var(--orange-border); color: var(--orange); }
.twofa-setup .otp-cell.error { border-color: var(--red); background: rgba(239,68,68,0.06); animation: twofaShake 0.35s ease; }
@keyframes twofaShake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-5px)} 40%,80%{transform:translateX(5px)} }

.twofa-setup .otp-error-msg {
    font-size: 0.72rem; color: var(--red); text-align: center; min-height: 18px;
    margin-bottom: 4px; transition: opacity 0.2s; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.twofa-setup .otp-error-msg svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }

.twofa-setup .verify-btn {
    width: 100%; margin-top: 18px; background: rgba(255,255,255,0.03);
    border: 1.5px solid var(--orange); border-radius: var(--radius); padding: 15px;
    font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 700; color: #fff;
    cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.twofa-setup .verify-btn:hover:not(:disabled) { background: rgba(249,115,22,0.15); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(249,115,22,0.22); }
.twofa-setup .verify-btn:active:not(:disabled) { transform: scale(0.98); }
.twofa-setup .verify-btn.disabled { opacity: 0.35; pointer-events: none; }
.twofa-setup .verify-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.twofa-setup .twofa-btn-content { display: inline-flex; align-items: center; gap: 8px; }
.twofa-setup .twofa-btn-loading { align-items: center; gap: 8px; }

.twofa-setup .checking-strip {
    width: 100%; background: var(--surface); border: 1px solid var(--border2);
    border-radius: 14px; padding: 13px 16px; margin-top: 18px;
    display: flex; align-items: center; gap: 11px;
}
.twofa-setup .spin-icon { width: 17px; height: 17px; flex-shrink: 0; stroke: var(--orange); fill: none; stroke-width: 2.5; stroke-linecap: round; animation: twofaSpin 1s linear infinite; }
@keyframes twofaSpin { to { transform: rotate(360deg); } }
.twofa-setup .checking-text { flex: 1; }
.twofa-setup .checking-text p { font-size: 0.76rem; font-weight: 600; color: var(--text); }
.twofa-setup .checking-text span { font-size: 0.66rem; color: var(--muted2); }
.twofa-setup .check-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: authDotBlink 1.5s infinite; }

.twofa-setup .success-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.92); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); z-index: 3000; display: none;
    flex-direction: column; align-items: center; justify-content: center;
}
.twofa-setup .success-overlay.visible { display: flex; animation: twofaFadeIn 0.25s ease; }
@keyframes twofaFadeIn { from { opacity: 0; } to { opacity: 1; } }

.twofa-setup .s-ring-wrap { position: relative; width: 120px; height: 120px; margin-bottom: 28px; }
.twofa-setup .s-ring-svg { width: 120px; height: 120px; overflow: visible; }
.twofa-setup .s-ring-bg { fill: none; stroke: rgba(34,197,94,0.1); stroke-width: 3; }
.twofa-setup .s-ring-glow {
    fill: none; stroke: rgba(34,197,94,0.18); stroke-width: 9; stroke-linecap: round;
    transform-origin: 60px 60px; transform: rotate(-90deg); stroke-dasharray: 345; stroke-dashoffset: 345; filter: blur(4px);
}
.twofa-setup .s-ring-prog {
    fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round;
    transform-origin: 60px 60px; transform: rotate(-90deg); stroke-dasharray: 345; stroke-dashoffset: 345;
}
.twofa-setup .s-ring-prog.run, .twofa-setup .s-ring-glow.run { animation: twofaRingFill .9s .1s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes twofaRingFill { to { stroke-dashoffset: 0; } }

.twofa-setup .s-icon-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.twofa-setup .s-icon-bg {
    width: 68px; height: 68px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,0.2) 0%, rgba(34,197,94,0.05) 100%);
    display: flex; align-items: center; justify-content: center;
    animation: twofaIconPop .5s .7s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes twofaIconPop { from { transform: scale(0) rotate(-20deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
.twofa-setup .s-check-svg { width: 44px; height: 44px; }
.twofa-setup .s-check-path {
    fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 40; stroke-dashoffset: 40;
}
.twofa-setup .s-check-path.run { animation: twofaDrawCheck .4s .95s ease forwards; }
@keyframes twofaDrawCheck { to { stroke-dashoffset: 0; } }

.twofa-setup .s-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.twofa-setup .s-title {
    font-size: 1.7rem; font-weight: 900; letter-spacing: -0.05em; color: #fff; margin-bottom: 8px;
    text-align: center; animation: twofaFadeUp .5s 1.05s cubic-bezier(.16,1,.3,1) both;
}
.twofa-setup .s-title span { color: var(--green); }
.twofa-setup .s-sub {
    font-size: 0.82rem; color: var(--muted2); text-align: center; max-width: 260px; line-height: 1.6;
    animation: twofaFadeUp .5s 1.15s cubic-bezier(.16,1,.3,1) both;
}
.twofa-setup .s-badge {
    margin-top: 20px; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25);
    border-radius: 99px; padding: 6px 18px; font-size: 0.72rem; font-weight: 700; color: var(--green);
    animation: twofaFadeUp .5s 1.25s cubic-bezier(.16,1,.3,1) both;
}

@media (max-width: 480px) {
    .auth-page.auth-page--twofa-setup {
        padding: 42px 20px 52px;
    }
    .twofa-setup .otp-cell {
        width: 44px;
        height: 54px;
    }
}

/* ============================================================
   VERIFY EMAIL (AdsNitro)
============================================================ */
body.verify-email-body .verify-email-page .ve-email-badge,
body.verify-email-body .ve-footer-note a {
    user-select: text;
    -webkit-user-select: text;
}

.auth-page.auth-page--verify-email {
    max-width: 420px;
    padding: 48px 28px 56px;
}

.verify-email-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ve-a1 { animation: veFadeUp .55s 0s cubic-bezier(.16,1,.3,1) both; }
.ve-a2 { animation: veFadeUp .55s .08s cubic-bezier(.16,1,.3,1) both; }
.ve-a3 { animation: veFadeUp .55s .16s cubic-bezier(.16,1,.3,1) both; }
.ve-a4 { animation: veFadeUp .55s .24s cubic-bezier(.16,1,.3,1) both; }
.ve-a5 { animation: veFadeUp .55s .32s cubic-bezier(.16,1,.3,1) both; }
.ve-a6 { animation: veFadeUp .55s .40s cubic-bezier(.16,1,.3,1) both; }
.ve-a7 { animation: veFadeUp .55s .48s cubic-bezier(.16,1,.3,1) both; }
@keyframes veFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.verify-email-page .logo-wrap { margin-bottom: 40px; display: flex; justify-content: center; }
.verify-email-page .logo-wrap img { height: 42px; display: block; }

.ve-icon-wrap { position: relative; width: 100px; height: 100px; margin-bottom: 28px; }
.ve-icon-ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1.5px dashed rgba(249,115,22,0.3);
    animation: veRotateSlow 14s linear infinite;
}
.ve-icon-ring2 {
    position: absolute; inset: 8px; border-radius: 50%;
    border: 1px dashed rgba(249,115,22,0.14);
    animation: veRotateSlow 9s linear infinite reverse;
}
@keyframes veRotateSlow { to { transform: rotate(360deg); } }

.ve-icon-glow {
    position: absolute; inset: 14px; border-radius: 50%;
    background: var(--orange-light);
    animation: veGlowPulse 2.8s ease-in-out infinite;
}
@keyframes veGlowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.07); }
}

.ve-icon-circle {
    position: absolute; inset: 14px; border-radius: 50%;
    border: 1.5px solid var(--orange-border);
    display: flex; align-items: center; justify-content: center;
}
.ve-icon-circle svg {
    width: 28px; height: 28px;
    stroke: var(--orange); fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    animation: veIconFloat 3.2s ease-in-out infinite;
}
@keyframes veIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.ve-status-tag {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--orange-light); border: 1px solid var(--orange-border);
    border-radius: 99px; padding: 5px 14px;
    font-size: 0.65rem; font-weight: 700; color: var(--orange);
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.ve-tag-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
    animation: authDotBlink 1.5s ease-in-out infinite;
}

.ve-sep-line {
    width: 30px; height: 2px; background: var(--orange); border-radius: 2px;
    margin: 0 auto 18px; opacity: 0.8;
}
.verify-email-page .ve-h1 {
    font-size: 1.95rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1.05;
    color: #fff; margin-bottom: 12px;
}
.verify-email-page .ve-h1 span { color: var(--orange); }
.ve-subtitle {
    font-size: 0.82rem; color: var(--muted2); line-height: 1.7;
    max-width: 320px; margin: 0 auto 28px;
}

.ve-email-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--surface2); border: 1px solid var(--border2);
    border-radius: 99px; padding: 8px 18px;
    font-size: 0.8rem; font-weight: 600; color: var(--text); margin-bottom: 28px;
}
.ve-email-badge svg {
    width: 14px; height: 14px; stroke: var(--orange); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}

.ve-alert-sent {
    width: 100%;
    background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.28);
    border-radius: 14px; padding: 13px 16px;
    display: none; align-items: flex-start; gap: 11px;
    margin-bottom: 18px; text-align: left;
}
.ve-alert-sent.visible { display: flex; animation: veFadeUp 0.4s cubic-bezier(.16,1,.3,1); }
.ve-alert-sent svg {
    width: 16px; height: 16px; stroke: var(--green); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0; margin-top: 1px;
}
.ve-alert-sent p { font-size: 0.76rem; color: #86efac; line-height: 1.55; }

.ve-alert-error {
    width: 100%; font-size: 0.76rem; color: var(--red); margin-bottom: 12px; text-align: center;
}

.ve-btn-row { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }

.ve-resend-btn {
    width: 100%; background: rgba(255,255,255,0.03);
    border: 1.5px solid var(--orange); border-radius: var(--radius); padding: 15px;
    font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 700;
    color: #fff; cursor: pointer; transition: all 0.25s ease;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ve-resend-btn:hover:not(:disabled) {
    background: rgba(249,115,22,0.15); transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(249,115,22,0.22);
}
.ve-resend-btn:active:not(:disabled) { transform: scale(0.98); }
.ve-resend-btn:disabled { opacity: 0.4; pointer-events: none; cursor: not-allowed; }
.ve-resend-inner { display: inline-flex; align-items: center; gap: 8px; }
.ve-resend-inner svg,
.ve-resend-loading svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ve-resend-loading { display: inline-flex; align-items: center; gap: 8px; }
.ve-spin-inline { animation: veSpin 1s linear infinite; flex-shrink: 0; }
@keyframes veSpin { to { transform: rotate(360deg); } }

.ve-signout-btn {
    width: 100%; background: var(--surface2);
    border: 1.5px solid var(--border2); border-radius: var(--radius); padding: 14px;
    font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 700;
    color: var(--muted2); cursor: pointer; transition: all 0.22s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ve-signout-btn:hover {
    border-color: rgba(255,255,255,0.22); color: #fff; background: var(--surface3);
}
.ve-signout-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.ve-cooldown-hint { font-size: 0.72rem; color: var(--muted2); margin-bottom: 22px; min-height: 18px; }
.ve-cooldown-hint span { color: var(--orange); font-weight: 700; }

.ve-checking-strip {
    width: 100%; background: var(--surface);
    border: 1px solid var(--border2); border-radius: 14px;
    padding: 13px 16px; margin-bottom: 22px;
    display: flex; align-items: center; gap: 11px;
}
.ve-spin-icon {
    width: 17px; height: 17px; flex-shrink: 0;
    stroke: var(--orange); fill: none; stroke-width: 2.5; stroke-linecap: round;
    animation: veSpin 1s linear infinite;
}
.ve-checking-text { flex: 1; text-align: left; }
.ve-checking-text p { font-size: 0.76rem; font-weight: 600; color: var(--text); }
.ve-checking-text span { font-size: 0.66rem; color: var(--muted2); }
.ve-check-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
    animation: authDotBlink 1.5s infinite;
}

.ve-footer-note { font-size: 0.72rem; color: var(--muted); line-height: 1.6; }
.ve-footer-note a { color: var(--orange); text-decoration: none; font-weight: 600; }
.ve-footer-note a:hover { opacity: 0.8; }

/* Verified overlay */
.ve-verified-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 3000; display: none;
    flex-direction: column; align-items: center; justify-content: center;
}
.ve-verified-overlay.visible { display: flex; animation: veFadeIn 0.25s ease; }
@keyframes veFadeIn { from { opacity: 0; } to { opacity: 1; } }

.ve-v-ring-wrap { position: relative; width: 120px; height: 120px; margin-bottom: 28px; }
.ve-v-ring-svg { width: 120px; height: 120px; overflow: visible; }
.ve-v-ring-bg { fill: none; stroke: rgba(34,197,94,0.1); stroke-width: 3; }
.ve-v-ring-glow {
    fill: none; stroke: rgba(34,197,94,0.18); stroke-width: 9; stroke-linecap: round;
    transform-origin: 60px 60px; transform: rotate(-90deg);
    stroke-dasharray: 345; stroke-dashoffset: 345; filter: blur(4px);
}
.ve-v-ring-prog {
    fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round;
    transform-origin: 60px 60px; transform: rotate(-90deg);
    stroke-dasharray: 345; stroke-dashoffset: 345;
}
.ve-v-ring-prog.run, .ve-v-ring-glow.run { animation: veRingFill .9s .1s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes veRingFill { to { stroke-dashoffset: 0; } }

.ve-v-icon-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ve-v-icon-bg {
    width: 68px; height: 68px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,0.2) 0%, rgba(34,197,94,0.05) 100%);
    display: flex; align-items: center; justify-content: center;
    animation: veIconPop .5s .7s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes veIconPop {
    from { transform: scale(0) rotate(-20deg); opacity: 0; }
    to { transform: scale(1) rotate(0); opacity: 1; }
}

.ve-v-check-svg { width: 44px; height: 44px; }
.ve-v-check-path {
    fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 40; stroke-dashoffset: 40;
}
.ve-v-check-path.run { animation: veDrawCheck .4s .95s ease forwards; }
@keyframes veDrawCheck { to { stroke-dashoffset: 0; } }

.ve-v-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ve-v-particle {
    position: absolute; top: 50%; left: 50%;
    animation: veParticleFly var(--dur) var(--delay) ease-out both;
}
@keyframes veParticleFly {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0); opacity: 0; }
}

.ve-v-title {
    font-size: 1.7rem; font-weight: 900; letter-spacing: -0.05em; color: #fff;
    margin-bottom: 8px; text-align: center;
    animation: veFadeUp .5s 1.05s cubic-bezier(.16,1,.3,1) both;
}
.ve-v-title span { color: var(--green); }
.ve-v-sub {
    font-size: 0.82rem; color: var(--muted2); text-align: center;
    max-width: 260px; line-height: 1.6;
    animation: veFadeUp .5s 1.15s cubic-bezier(.16,1,.3,1) both;
}
.ve-v-badge {
    margin-top: 20px; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25);
    border-radius: 99px; padding: 6px 18px; font-size: 0.72rem; font-weight: 700; color: var(--green);
    animation: veFadeUp .5s 1.25s cubic-bezier(.16,1,.3,1) both;
}

@media (max-width: 480px) {
    .auth-page.auth-page--verify-email {
        padding: 42px 20px 52px;
    }
}

/* ============================================================
   PENDING APPROVAL (AdsNitro)
============================================================ */
body.pending-approval-body .pa-footer-note a,
body.pending-approval-body .pa-inline-link {
    user-select: text;
    -webkit-user-select: text;
}

.auth-page.auth-page--pending-approval {
    max-width: 420px;
    padding: 48px 28px 56px;
}

.pending-approval-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pa-a1 { animation: paFadeUp .55s 0s cubic-bezier(.16,1,.3,1) both; }
.pa-a2 { animation: paFadeUp .55s .08s cubic-bezier(.16,1,.3,1) both; }
.pa-a3 { animation: paFadeUp .55s .16s cubic-bezier(.16,1,.3,1) both; }
.pa-a4 { animation: paFadeUp .55s .24s cubic-bezier(.16,1,.3,1) both; }
.pa-a5 { animation: paFadeUp .55s .32s cubic-bezier(.16,1,.3,1) both; }
.pa-a6 { animation: paFadeUp .55s .4s cubic-bezier(.16,1,.3,1) both; }
@keyframes paFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.pending-approval-page .logo-wrap { margin-bottom: 44px; display: flex; justify-content: center; }
.pending-approval-page .logo-wrap img { height: 42px; display: block; }

.pa-status-icon-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    margin-bottom: 32px;
}
.pa-pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(249,115,22,0.4);
    animation: paPulseRing 2.4s ease-out infinite;
}
.pa-pulse-ring:nth-child(2) { animation-delay: 0.8s; }
.pa-pulse-ring:nth-child(3) { animation-delay: 1.6s; }
@keyframes paPulseRing {
    0% { transform: scale(0.7); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: scale(1.7); opacity: 0; }
}

.pa-status-icon-circle {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: var(--orange-light);
    border: 1.5px solid var(--orange-border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pa-status-icon-circle svg {
    width: 32px;
    height: 32px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: paIconFloat 3s ease-in-out infinite;
}
@keyframes paIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.pa-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--orange-light);
    border: 1px solid var(--orange-border);
    border-radius: 99px;
    padding: 5px 14px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.pa-status-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    animation: authDotBlink 1.5s ease-in-out infinite;
}
.pa-dot-green { background: var(--green) !important; }

.pending-approval-page .pa-h1 {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 12px;
}
.pending-approval-page .pa-h1 span { color: var(--orange); }

.pa-subtitle {
    font-size: 0.83rem;
    color: var(--muted2);
    line-height: 1.65;
    max-width: 320px;
    margin: 0 auto 32px;
}

.pa-info-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.pa-info-card {
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
}
.pa-info-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pa-info-card-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pa-ic-orange { background: var(--orange-light); color: var(--orange); }
.pa-ic-green { background: rgba(34,197,94,0.1); color: var(--green); }
.pa-ic-blue { background: rgba(59,130,246,0.12); color: #60a5fa; }

.pa-info-card-text { flex: 1; min-width: 0; }
.pa-info-card-title { font-size: 0.82rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.pa-info-card-sub { font-size: 0.72rem; color: var(--muted2); line-height: 1.55; }
.pa-info-card-sub strong { color: #fff; font-weight: 600; }
.pa-inline-link { color: var(--orange); font-weight: 600; text-decoration: none; }
.pa-inline-link:hover { opacity: 0.85; }

.pa-checking-strip {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.pa-spin-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    animation: veSpin 1s linear infinite;
}
.pa-checking-text { flex: 1; text-align: left; }
.pa-checking-text p { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.pa-checking-text span { font-size: 0.68rem; color: var(--muted2); }
.pa-checking-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
    animation: authDotBlink 1.5s ease-in-out infinite;
}

.pa-signout-btn {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid var(--border2);
    border-radius: var(--radius);
    padding: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--muted2);
    cursor: pointer;
    transition: all 0.22s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}
.pa-signout-btn:hover {
    border-color: rgba(255,255,255,0.22);
    color: #fff;
    background: var(--surface2);
}
.pa-signout-btn:active { transform: scale(0.98); }
.pa-signout-btn svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pa-footer-note { font-size: 0.72rem; color: var(--muted); line-height: 1.6; }
.pa-footer-note a { color: var(--orange); text-decoration: none; font-weight: 600; }
.pa-footer-note a:hover { opacity: 0.8; }

/* Approved overlay */
.pa-approved-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 28px;
    overflow-y: auto;
}
.pa-approved-overlay.visible { display: flex; animation: paFadeIn 0.25s ease; }
@keyframes paFadeIn { from { opacity: 0; } to { opacity: 1; } }

.pa-approved-inner {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pa-approved-ring-wrap { position: relative; width: 110px; height: 110px; margin-bottom: 28px; }
.pa-approved-ring-svg { width: 110px; height: 110px; overflow: visible; }
.pa-ring-bg { fill: none; stroke: rgba(34,197,94,0.12); stroke-width: 3; }
.pa-ring-fill {
    fill: none;
    stroke: var(--green);
    stroke-width: 3;
    stroke-linecap: round;
    transform-origin: 55px 55px;
    transform: rotate(-90deg);
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
}
.pa-ring-glow {
    fill: none;
    stroke: rgba(34,197,94,0.18);
    stroke-width: 9;
    stroke-linecap: round;
    transform-origin: 55px 55px;
    transform: rotate(-90deg);
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    filter: blur(4px);
}
.pa-ring-fill.animate, .pa-ring-glow.animate { animation: paRingFill 0.9s 0.1s cubic-bezier(0.34,1.56,0.64,1) forwards; }
@keyframes paRingFill { to { stroke-dashoffset: 0; } }

.pa-approved-check-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pa-approved-check-bg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,0.18) 0%, rgba(34,197,94,0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pa-check-svg { width: 42px; height: 42px; }
.pa-check-path {
    fill: none;
    stroke: var(--green);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 38;
    stroke-dashoffset: 38;
}
.pa-check-path.animate { animation: paDrawCheck 0.4s 0.85s ease forwards; }
@keyframes paDrawCheck { to { stroke-dashoffset: 0; } }

.pa-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pa-particle {
    position: absolute;
    top: 50%;
    left: 50%;
    animation: paParticleFly var(--dur) var(--delay) ease-out both;
}
@keyframes paParticleFly {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0); opacity: 0; }
}

.pa-approved-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 99px;
    padding: 5px 14px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.pa-approved-title {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #fff;
    margin: 14px 0 10px;
}
.pa-approved-title span { color: var(--green); }

.pa-approved-sub {
    font-size: 0.83rem;
    color: var(--muted2);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto 28px;
}

.pa-approved-badge {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.25);
    border-radius: 99px;
    padding: 6px 18px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 28px;
}

.pa-dashboard-btn {
    width: 100%;
    max-width: 360px;
    background: rgba(34,197,94,0.08);
    border: 1.5px solid rgba(34,197,94,0.35);
    border-radius: var(--radius);
    padding: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--green);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pa-dashboard-btn:hover {
    background: rgba(34,197,94,0.14);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34,197,94,0.15);
}
.pa-dashboard-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 480px) {
    .auth-page.auth-page--pending-approval {
        padding: 42px 20px 52px;
    }
}

.pa-ic-red { background: rgba(239,68,68,0.12); color: var(--red); }
.pa-ic-muted { background: rgba(255,255,255,0.04); color: var(--muted2); }

/* ════════════════════════════════════════════════════════════
   ACCOUNT REMOVED (soft-deleted user)
   ════════════════════════════════════════════════════════════ */
body.account-deleted-body .pa-footer-note a,
body.account-deleted-body .pa-inline-link {
    user-select: text;
    -webkit-user-select: text;
}

.auth-page.auth-page--account-deleted {
    max-width: 420px;
    padding: 48px 28px 56px;
}

.account-deleted-page .ad-head-accent { color: var(--red); }

.account-deleted-page .ad-icon-wrap { margin-bottom: 32px; }

.account-deleted-page .ad-pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(239,68,68,0.45);
    animation: adPulseRing 2.4s ease-out infinite;
}
.account-deleted-page .ad-pulse-ring:nth-child(2) { animation-delay: 0.8s; }
.account-deleted-page .ad-pulse-ring:nth-child(3) { animation-delay: 1.6s; }

@keyframes adPulseRing {
    0% { transform: scale(0.7); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: scale(1.7); opacity: 0; }
}

.account-deleted-page .ad-status-icon-circle {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: rgba(239,68,68,0.12);
    border: 1.5px solid rgba(239,68,68,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.account-deleted-page .ad-status-icon-circle svg {
    width: 32px;
    height: 32px;
    stroke: var(--red);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: paIconFloat 3s ease-in-out infinite;
}

.account-deleted-page .ad-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.35);
    border-radius: 99px;
    padding: 5px 14px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fca5a5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.account-deleted-page .ad-status-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: authDotBlink 1.5s ease-in-out infinite;
}

.account-deleted-page .ad-strip { margin-bottom: 28px; text-align: left; }

.account-deleted-page .pa-signout-btn {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.35);
    color: #fecaca;
}
.account-deleted-page .pa-signout-btn:hover {
    background: rgba(239,68,68,0.18);
    border-color: rgba(239,68,68,0.5);
    color: #fff;
}

@media (max-width: 480px) {
    .auth-page.auth-page--account-deleted {
        padding: 42px 20px 52px;
    }
}

