/*
  heyclicky-shell.css - v2
  ------------------------
  Full aesthetic match to index-heyclicky.php landing page.
  Loaded only when ps_is_dev_host() is true (via ui.php gate).

  Palette + type + hover animations + custom cursor + dot background
  are all mirrored from the landing so login/register/dashboard/purchase
  feel like the same product.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================================
   0. Reset default cursor everywhere; JS-driven arrow lives via
      ui.php's injected #ps-cursor div (matches landing).
   ============================================================ */
html, body, *, *:hover, a, button { cursor: url("/assets/heyclicky/cursor.png?v=3") 2 2, auto !important; }
a:hover, button:hover, summary:hover, [role="button"]:hover, .site-btn:hover, .site-btn-primary:hover, .site-btn-secondary:hover, .site-card:hover, details:hover, footer a:hover {
    cursor: url("/assets/heyclicky/cursor-pointer.png?v=3") 2 2, pointer !important;
}
@media (hover: none) { html, body, * { cursor: auto !important; } }

/* ============================================================
   1. Design tokens - match landing exactly
   ============================================================ */
:root {
    --bg:              #f5f5f5 !important;
    --surface:         #ffffff !important;
    --surface-raised:  #fbfbfb !important;
    --surface-muted:   #f0f0f0 !important;
    --surface-grouped: #f0f0f0 !important;
    --border:          #e5e5e5 !important;
    --border-subtle:   #f0f0f0 !important;
    --border-strong:   #d0d0d0 !important;
    --text:            #111111 !important;
    --text-muted:      #555555 !important;
    --text-faint:      #888888 !important;
    --text-quaternary: #a1a1a1 !important;
    --text-disabled:   #c8c8c8 !important;
    --accent:          #111111 !important;  /* landing uses solid black CTA */
    --accent-hover:    #000000 !important;
    --accent-active:   #000000 !important;
    --accent-soft:     rgba(17,17,17,0.06) !important;
    --accent-ring:     rgba(17,17,17,0.20) !important;
    --accent-glow:     rgba(17,17,17,0.18) !important;
    --accent-strong:   #000000 !important;
}

/* ============================================================
   2. Body + page floor - match landing dot-grid background
   ============================================================ */
html, body {
    background: #f5f5f5 !important;
    color: #111 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.005em;
    scroll-behavior: smooth !important;
}

/* Landing's signature dot pattern - matches the stage backdrop */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.09) 1px, transparent 1.4px);
    background-size: 22px 22px;
    background-position: 0 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}
body > * { position: relative; z-index: 1; }

/* Kill dark ambient decorations from prod theme */
.site-snow, .site-bg-noise, .site-hero-glow, .site-hero-gradient,
.site-starfield, .site-particles { display: none !important; }

/* ============================================================
   3. Hide the BETA / dev-host ribbon banner + prod-only ambient
      decorations that fight the clean landing aesthetic.
   ============================================================ */
a[title="Switch to production"],
a[href="https://permspoofer.com/"][title],
[href*="https://permspoofer.com/"][title*="Switch"],
.dev-ribbon, .dev-banner, .site-dev-ribbon,
canvas[data-particle-animation] { display: none !important; }

/* Snow/particles wrapper (its child canvas is above); nuke the whole thing */
.site-snow, [class*="site-snow"] { display: none !important; }

/* ============================================================
   3b. Nav restyle — flatten "Preise / Am I banned / Live demo / Blog"
       into landing-style centered strip + neutralize the DE/TR
       language pill so it doesn't overpower the header.
   ============================================================ */
.site-nav nav, header.site-nav nav {
    justify-content: center !important;
    gap: 22px !important;
    align-items: center !important;
}
.site-nav nav a {
    color: #111 !important;
    font-size: 14px !important;
    padding: 6px 4px !important;
    background: transparent !important;
    border: none !important;
}
.site-nav nav a:hover { color: #000 !important; }

/* Language switcher pill — soften to match landing chip style */
.site-nav [role="group"][aria-label="Language"] {
    border: 1px solid #e5e5e5 !important;
    background: #fff !important;
    padding: 2px !important;
}
.site-nav [role="group"][aria-label="Language"] button {
    color: #555 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    font-size: 11px !important;
    padding: 4px 8px !important;
}
.site-nav [role="group"][aria-label="Language"] button[aria-pressed="true"] {
    background: #ffffff !important;
    color: #111 !important;
    border: 1px solid #d1d5db !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    font-weight: 700 !important;
}

/* "Anmelden" / "Kaufen" nav CTAs — swap to landing pill style */
.site-nav a[href*="/login"], .site-nav a[href*="/register"],
.site-nav a[href*="/purchase"], .site-nav a[href*="/dashboard"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    padding: 0 16px !important;
    border-radius: 18px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    background: #fff !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    transition: transform .18s ease, background .18s ease !important;
}
.site-nav a[href*="/purchase"] {
    background: #fff !important;
    color: #111 !important;
    border-color: #d1d5db !important;
}
.site-nav a[href*="/purchase"]:hover { background: #fafafa !important; border-color: #a1a1a1 !important; transform: translateY(-2px); }
.site-nav a[href*="/login"]:hover, .site-nav a[href*="/register"]:hover { background: #fafafa !important; border-color: #a1a1a1 !important; transform: translateY(-2px); }

/* ============================================================
   4. Tailwind dark-mode class rewrites (kept from v1, tightened)
   ============================================================ */
.bg-zinc-950, .bg-zinc-900, .bg-black                     { background-color: #ffffff !important; }
.bg-zinc-900\/60, .bg-zinc-900\/50                        { background-color: #fbfbfb !important; }
.bg-zinc-800, .bg-zinc-800\/60, .bg-zinc-800\/50,
.bg-zinc-800\/40                                          { background-color: #f0f0f0 !important; }
.bg-white\/5, .bg-white\/10                               { background-color: #ffffff !important; }
.bg-zinc-950\/95, .bg-black\/50                           { background-color: rgba(255,255,255,0.95) !important; }

.text-white, .text-zinc-50, .text-zinc-100, .text-zinc-200 { color: #111 !important; }
.text-zinc-300, .text-zinc-400                             { color: #555 !important; }
.text-zinc-500                                             { color: #888 !important; }
.text-zinc-600, .text-zinc-700                             { color: #a1a1a1 !important; }

.border, .border-zinc-700, .border-zinc-800,
.border-zinc-900, .border-white\/10, .border-white\/20     { border-color: #e5e5e5 !important; }
.divide-zinc-800 > * + *, .divide-zinc-700 > * + *         { border-color: #e5e5e5 !important; }

/* Blue accents from prod flatten to landing's black CTA */
.text-blue-300, .text-blue-400, .text-blue-500,
.text-blue-600                                             { color: #111 !important; }
.bg-blue-500, .bg-blue-600, .bg-blue-500\/20               { background-color: #111 !important; color: #fff !important; }
.bg-blue-500\/10                                           { background-color: rgba(17,17,17,0.06) !important; }
.border-blue-500\/40, .border-blue-500\/60,
.border-blue-500\/30                                       { border-color: rgba(17,17,17,0.20) !important; }

.bg-emerald-500\/20                                        { background-color: rgba(30,180,100,0.14) !important; }
.text-emerald-400, .text-green-400                         { color: #1a9f56 !important; }
.text-red-400                                              { color: #d5352d !important; }
.text-amber-300, .text-amber-400                           { color: #b45309 !important; }

/* ============================================================
   5. Buttons - EXACT copy of heyclicky's `.btn.os-win.pr-cta`
      (the "Claim Pro launch seat" pill on the landing pricing card):
        background: linear-gradient(#fbfbfb 0%,#ededed 42%,#e4e4e4 100%)
        border:     1px solid #626262
        height:     40px  padding 0 20px 1px
        + gloss overlay strip at top
      Applied to every button-like surface across internal pages so
      dashboard / login / register / purchase / admin all match.
   ============================================================ */
/* Scope narrowed: only style explicit button classes. Bare
   <button type="button"> can be a password toggle / dropdown / menu
   trigger which shouldn't get the pill treatment. */
.site-btn, .btn, .btn-primary,
input[type="submit"],
a.site-btn, a.btn,
.dash-btn, .nav-btn, .ticket-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 20px 1px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    background: linear-gradient(#fbfbfb 0%, #ededed 42%, #e4e4e4 100%) !important;
    color: #111111 !important;
    border: 1px solid #626262 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.6) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    transition: transform .12s cubic-bezier(.2,.7,.2,1),
                opacity .15s ease,
                box-shadow .18s ease !important;
    will-change: transform !important;
}

/* Gloss overlay strip - scoped tightly to explicit button classes only. */
.site-btn::before, .btn::before,
input[type="submit"]::before,
a.site-btn::before, a.btn::before,
.dash-btn::before, .nav-btn::before, .ticket-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 3px !important;
    left: 12px !important;
    right: 12px !important;
    height: 12px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.05)) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
.site-btn > *, .btn > *,
input[type="submit"] > *,
a.site-btn > *, a.btn > * { position: relative !important; z-index: 2 !important; }
.site-btn:hover, .btn:hover,
button[type="submit"]:hover, input[type="submit"]:hover, button[type="button"]:hover,
a.site-btn:hover, a.btn:hover,
.dash-btn:hover, .nav-btn:hover, .ticket-btn:hover {
    transform: translateY(-1px) !important;
    opacity: 0.85 !important;
}

/* Primary variant - SAME os-win gradient pill. No separate solid-black
   variant anymore; every button matches Claim Pro. */
.site-btn-primary, .btn-primary,
button.site-btn-primary, a.site-btn-primary {
    /* Inherits everything from the default rule above - just alias. */
    background: linear-gradient(#fbfbfb 0%, #ededed 42%, #e4e4e4 100%) !important;
    color: #111 !important;
    border: 1px solid #626262 !important;
}
.site-btn-primary:hover, .btn-primary:hover,
button.site-btn-primary:hover, a.site-btn-primary:hover {
    opacity: 0.85 !important;
    transform: translateY(-1px) !important;
}

/* Secondary variant - explicit outlined pill */
.site-btn-secondary, .btn-secondary,
a.site-btn-secondary, button.site-btn-secondary {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid #d1d5db !important;
}
.site-btn-secondary:hover, .btn-secondary:hover,
a.site-btn-secondary:hover, button.site-btn-secondary:hover {
    background: #fafafa !important;
    border-color: #a1a1a1 !important;
}

/* Sidebar links (.site-sidebar-link) - uniform row style, active = os-win pill */
.site-sidebar-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 9px 12px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #111 !important;
    text-decoration: none !important;
    transition: background-color .18s ease, transform .18s ease !important;
    background: transparent !important;
    height: auto !important;
    min-height: 0 !important;
    box-shadow: none !important;
    border: 1px solid transparent !important;
    white-space: normal !important;
    font-weight: 500 !important;
    justify-content: flex-start !important;
    line-height: 1.2 !important;
}
.site-sidebar-link:hover {
    background: rgba(0,0,0,0.04) !important;
    transform: translateX(2px) !important;
    color: #000 !important;
}
.site-sidebar-link.active,
.site-sidebar-link[aria-current="page"] {
    background: linear-gradient(#fbfbfb 0%, #ededed 42%, #e4e4e4 100%) !important;
    color: #111 !important;
    font-weight: 700 !important;
    border: 1px solid #626262 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.6) !important;
}
.site-sidebar-link svg { flex-shrink: 0 !important; width: 16px !important; height: 16px !important; }

/* Small utility pills (Copy, Rotate, etc.) - same gradient recipe, just shorter. */
button.dash-copy, button.dash-rotate, .site-card button, .site-card a.btn-inline,
.copy-btn, [data-action="copy"], [data-action="rotate"] {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 16px 1px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    background: linear-gradient(#fbfbfb 0%, #ededed 42%, #e4e4e4 100%) !important;
    color: #111 !important;
    border: 1px solid #626262 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.6) !important;
    cursor: pointer !important;
    overflow: hidden !important;
    transition: transform .12s ease, opacity .15s ease !important;
}
button.dash-copy::before, button.dash-rotate::before, .copy-btn::before,
[data-action="copy"]::before, [data-action="rotate"]::before {
    content: '' !important;
    position: absolute !important;
    top: 3px !important;
    left: 10px !important;
    right: 10px !important;
    height: 10px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.05)) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
button.dash-copy > *, button.dash-rotate > *, .copy-btn > *,
[data-action="copy"] > *, [data-action="rotate"] > * { position: relative !important; z-index: 2 !important; }
button.dash-copy:hover, button.dash-rotate:hover, .copy-btn:hover,
[data-action="copy"]:hover, [data-action="rotate"]:hover {
    transform: translateY(-1px) !important;
    opacity: 0.85 !important;
}

/* ============================================================
   6. Cards + panels - match .ps-card from landing
   ============================================================ */
.site-card, .site-panel, .site-alert, .site-testimonial,
.site-nav, header.site-nav {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    color: #111 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04) !important;
}
.site-card {
    transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s cubic-bezier(.2,.7,.2,1), border-color .2s ease !important;
    will-change: transform;
}
.site-card:hover {
    transform: translateY(-3px) scale(1.005) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,0.10) !important;
    border-color: #d0d0d0 !important;
}

/* ============================================================
   7. Nav - flatten prod nav to a clean centered strip
   ============================================================ */
.site-nav, header.site-nav, header.site-header {
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5 !important;
    box-shadow: none !important;
}
.site-nav a { transition: transform .18s ease, color .18s ease !important; }
.site-nav a:hover { transform: translateY(-2px); color: #000 !important; }

/* Language switcher chips inside nav - lighten weight */
.site-nav .lang-switcher a, .site-nav [data-lang] {
    border-radius: 999px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* ============================================================
   8. Form inputs - clean white with black focus ring
   ============================================================ */
.site-input, .site-textarea, .site-select,
input[type="text"], input[type="email"], input[type="password"],
input[type="url"], input[type="tel"], input[type="number"],
textarea, select {
    background: #ffffff !important;
    color: #111 !important;
    border: 1.5px solid #d0d0d0 !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    transition: border-color .18s ease, box-shadow .18s ease !important;
}
input:focus, textarea:focus, select:focus {
    border-color: #111 !important;
    box-shadow: 0 0 0 4px rgba(17,17,17,0.08) !important;
    outline: none !important;
}
input::placeholder, textarea::placeholder { color: #999 !important; }

/* ============================================================
   9. Typography - match landing hero + section headings
   ============================================================ */
h1 { font-weight: 800 !important; letter-spacing: -0.03em !important; line-height: 1.02 !important; }
h2 { font-weight: 800 !important; letter-spacing: -0.02em !important; line-height: 1.05 !important; }
h3 { font-weight: 700 !important; letter-spacing: -0.01em !important; }

/* ============================================================
   10. Scrollbars - light theme
   ============================================================ */
* { scrollbar-color: #c8c8c8 #f0f0f0 !important; }
*::-webkit-scrollbar-track { background: #f0f0f0 !important; }
*::-webkit-scrollbar-thumb { background: #c8c8c8 !important; border: 2px solid #f0f0f0 !important; }

/* ============================================================
   11. Focus ring - flat black outline
   ============================================================ */
*:focus-visible { outline: 2px solid #111 !important; outline-offset: 2px !important; }

/* ============================================================
   12. Link default color
   ============================================================ */
a { color: inherit; transition: color .18s ease; }
a:hover { color: #000; }
a.text-blue-400, a.text-blue-300, a.text-blue-500 { color: #111 !important; }
a.text-blue-400:hover { color: #000 !important; }

/* ============================================================
   13. Ensure our landing dot pattern shows behind everything
   ============================================================ */
main, .site-container, .site-shell, section, article, aside {
    background-color: transparent !important;
}

/* ============================================================
   14. macOS window chrome - ONLY on the login / register / onboarding
       card (.ob-card). Dashboard and admin cards stay clean.
   ============================================================ */
.site-card.ob-card, .ob-card {
    position: relative !important;
    padding-top: 52px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.10) !important;
    border: 1px solid #d1d5db !important;
    background: #fff !important;
}
.site-card.ob-card::before, .ob-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 34px;
    background: linear-gradient(180deg,#93c5fd,#60a5fa);
    border-bottom: 1px solid #c5c5c5;
    z-index: 1;
}
.site-card.ob-card::after, .ob-card::after {
    content: '';
    position: absolute; top: 11px; left: 12px;
    width: 54px; height: 12px; z-index: 2;
    background:
      radial-gradient(circle at 6px 6px,  #ff5f57 5px, transparent 5.5px),
      radial-gradient(circle at 24px 6px, #febc2e 5px, transparent 5.5px),
      radial-gradient(circle at 42px 6px, #28c840 5px, transparent 5.5px);
    background-repeat: no-repeat;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.10);
    border-radius: 2px;
}

/* Dashboard / admin / ticket cards - keep the blue macOS title bar
   (::before) but NO traffic-light circles (::after) - matches the user's
   request: "restore blue top bars, drop the red/yellow/green dots". */
main .site-card:not(.ob-card) {
    position: relative !important;
    background: #fff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
    padding: 40px 22px 22px !important;
    overflow: hidden !important;
}
main .site-card:not(.ob-card)::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    height: 26px !important;
    background: linear-gradient(180deg,#93c5fd,#60a5fa) !important;
    border-bottom: 1px solid #c5c5c5 !important;
    z-index: 1 !important;
    display: block !important;
}
/* Explicitly kill any traffic-light ::after dots */
main .site-card:not(.ob-card)::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

/* Force the wrapper of the loader command box to be a positioning
   context. Tailwind's .relative class doesn't always land before
   the absolute button paints - explicit override guarantees the
   Copy button anchors to the wrapper edge, not to the outer card. */
div.relative:has(> pre#ps-cmd),
div:has(> pre#ps-cmd) {
    position: relative !important;
    display: block !important;
    overflow: visible !important;
}

/* Copy button inside loader command box (pre#ps-cmd + button)
   - small os-win pill, top-right corner of the code block. */
pre#ps-cmd + button,
[id="ps-cmd"] ~ button {
    position: absolute !important;
    top: 8px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 14px 1px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    background: linear-gradient(#fbfbfb 0%, #ededed 42%, #e4e4e4 100%) !important;
    color: #111 !important;
    border: 1px solid #626262 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.6) !important;
    z-index: 5 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    max-width: none !important;
    width: auto !important;
    box-sizing: border-box !important;
}
pre#ps-cmd + button::before, [id="ps-cmd"] ~ button::before {
    content: '' !important;
    position: absolute !important;
    top: 2px !important; left: 8px !important; right: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.05)) !important;
    pointer-events: none !important; z-index: 1 !important;
}
pre#ps-cmd + button > *, [id="ps-cmd"] ~ button > *,
pre#ps-cmd + button { z-index: 2 !important; }
pre#ps-cmd + button:hover, [id="ps-cmd"] ~ button:hover {
    opacity: 0.85 !important;
    transform: translateY(-1px) !important;
}

/* Sidebar Copy button (small pill next to the account code) */
.site-sidebar button.site-btn.site-btn-secondary,
.site-sidebar button.site-btn {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 10px 1px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    background: linear-gradient(#fbfbfb 0%, #ededed 42%, #e4e4e4 100%) !important;
    color: #111 !important;
    border: 1px solid #626262 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.6) !important;
    line-height: 1 !important;
    overflow: hidden !important;
    position: relative !important;
    white-space: nowrap !important;
}
.site-sidebar button.site-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 2px !important; left: 6px !important; right: 6px !important;
    height: 7px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.05)) !important;
    pointer-events: none !important; z-index: 1 !important;
}
.site-sidebar button.site-btn > * { position: relative !important; z-index: 2 !important; }

/* Sidebar Rotate button (bare <button type="submit"> inside its own form).
   The default rule above catches it and applies the full pill. But the
   template gave it .text-[10px] underline text-zinc-500 - override to
   look like a proper small text-only utility link, NOT a pill. */
.site-sidebar form button[type="submit"] {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 6px !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    text-decoration: underline dotted !important;
    text-underline-offset: 2px !important;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 4px !important;
    transition: color .18s ease !important;
    overflow: visible !important;
    position: static !important;
}
.site-sidebar form button[type="submit"]::before {
    content: none !important;
    display: none !important;
}
.site-sidebar form button[type="submit"]:hover {
    color: #dc2626 !important;
    background: transparent !important;
    transform: none !important;
}

/* ============================================================
   15. Text contrast fixes for the onboarding step markup
   ============================================================ */
.ob-eyebrow, [class*="ob-eyebrow"] { color: #6b7280 !important; font-size: 12px !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.06em !important; }
.ob-title, [class*="ob-title"]     { color: #111 !important; font-size: 22px !important; font-weight: 800 !important; letter-spacing: -0.02em !important; margin: 4px 0 6px !important; }
.ob-sub,   [class*="ob-sub"]       { color: #4b5563 !important; font-size: 14px !important; line-height: 1.5 !important; }

/* The blue horizontal progress bar under the brand — keep visible + accented */
.ob-progress                       { background: #e5e5e5 !important; height: 3px !important; border-radius: 999px !important; overflow: hidden !important; margin: 10px 0 22px !important; }
.ob-progress #ob-progress-bar,
.ob-progress > span                { background: #111 !important; display: block !important; height: 100% !important; }

/* Onboarding brand wordmark inside the card — solid black, big */
.site-brand, .site-brand-mark, .site-brand-logo,
.site-brand-mark-head, .site-brand-mark-tail { color: #111 !important; font-weight: 800 !important; letter-spacing: -0.02em !important; }
.site-brand-mark-tail                        { color: #4b5563 !important; }

/* Continue / submit button ~ match landing pill */
button#ob-continue, button[type="submit"] {
    background: #111 !important; color: #fff !important;
    border-radius: 22px !important; height: 44px !important; font-weight: 700 !important;
    border: none !important; box-shadow: 0 6px 18px rgba(0,0,0,0.14) !important;
}

/* Muted footer link row */
.ob-foot, .ob-card + div, .site-card .text-sm.text-zinc-400 { color: #6b7280 !important; }

/* ============================================================
   16. Password-visibility toggle (.ob-eye) - hard KILL.
       Was rendering as a floating grey circle below the password
       input regardless of position overrides. Nice-to-have UX,
       not critical; hiding it entirely is the reliable fix.
   ============================================================ */
.ob-password { position: relative !important; }
.ob-eye,
button.ob-eye,
button[data-ob-toggle-pass],
.ob-password > button,
.ob-password button[type="button"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}
.ob-eye::before, .ob-eye::after,
button.ob-eye::before, button.ob-eye::after,
button[data-ob-toggle-pass]::before, button[data-ob-toggle-pass]::after,
.ob-password > button::before, .ob-password > button::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

/* Belt-and-braces: any leftover pseudo-element in the login card that
   could render as a floating circle - nuke it. */
.ob-card .ob-password *::before, .ob-card .ob-password *::after,
.ob-card .ob-hint::before, .ob-card .ob-hint::after,
.ob-card .ob-input::before, .ob-card .ob-input::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

/* Back button (.ob-back) - proper pill matching the rest, dark theme colors reset */
.ob-back {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    padding: 0 20px 1px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    background: linear-gradient(#fbfbfb 0%, #ededed 42%, #e4e4e4 100%) !important;
    color: #111 !important;
    border: 1px solid #626262 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.6) !important;
    cursor: pointer !important;
    overflow: hidden !important;
    transition: transform .12s ease, opacity .15s ease !important;
}
.ob-back::before {
    content: '' !important;
    position: absolute !important;
    top: 3px !important; left: 12px !important; right: 12px !important;
    height: 12px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.05)) !important;
    pointer-events: none !important; z-index: 1 !important;
}
.ob-back > *, .ob-back { z-index: 2 !important; }
.ob-back:hover { opacity: 0.85 !important; transform: translateY(-1px) !important; background: linear-gradient(#fbfbfb 0%, #ededed 42%, #e4e4e4 100%) !important; color: #111 !important; }
