/* Marketing/public-layout specific styles. Authenticated app-shell styles land in Phase 1's app.css. */

.ot-navbar {
    background-color: transparent;
    border-bottom: 1px solid transparent;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    transition: background-color var(--duration-standard) var(--ease-standard),
                border-color var(--duration-standard) var(--ease-standard),
                box-shadow var(--duration-standard) var(--ease-standard),
                backdrop-filter var(--duration-standard) var(--ease-standard);
}
/* Blur + shadow pick up once scrolled past the hero (main.js toggles this
   class at scrollY > 8) — smoothly, via the transition above, not a snap. */
.ot-navbar--scrolled {
    /* Was a hardcoded dark navy rgba() — stayed near-black even in light
       mode, dropping nav-link contrast (--ot-text renders dark-on-dark
       there) to ~3:1. --ot-bg-rgb tracks the active theme, so this now
       reads correctly in both. */
    background-color: rgba(var(--ot-bg-rgb), 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: var(--ot-border);
    box-shadow: 0 4px 24px -12px rgba(0, 0, 0, 0.6);
}
/* Bigger, more confident brand lockup in the navbar — desktop only. At
   mobile widths the top bar also has to fit the theme/language controls
   (see below) without forcing a horizontal scroll, so it keeps the
   original, more compact .ot-brand sizing there; the tagline is hidden
   below lg entirely (still present for screen readers via the visible
   "OneTap" text alone — it's decorative repetition of the page's own
   <title>/nav, not unique information). .ot-brand itself stays untouched
   (shared with the admin/dashboard sidebars and the auth pages, which
   weren't asked to change). */
@media (min-width: 992px) {
    .ot-navbar .ot-brand-name {
        font-size: 1.55rem;
        letter-spacing: -0.015em;
    }
    .ot-navbar .ot-brand-sub {
        font-size: 0.76rem;
        font-weight: 500;
        letter-spacing: 0.03em;
    }
}
@media (max-width: 991.98px) {
    .ot-navbar .ot-brand-sub {
        display: none;
    }
    /* The brand mark + name, the theme/language controls, and the hamburger
       all have to fit one row down to very narrow phones — shrink the
       controls' own footprint, and wrap as a hard safety net (never a
       horizontal scrollbar) if a given phone still can't fit them. */
    .ot-navbar .ot-brand-mark {
        width: 32px;
        height: 32px;
    }
    .ot-navbar > .container {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    .ot-lang-switch {
        padding: 1px;
        gap: 1px;
    }
    .ot-lang-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
}
@media (max-width: 359.98px) {
    /* Very narrow phones (iPhone SE and similar ~320-360px): the language
       switcher moves to the wrapped second row with the brand, so the top
       row is just the mark + theme toggle + hamburger — still zero
       horizontal scroll, just a slightly different split. */
    .ot-navbar .ot-mobile-controls .ot-lang-switch {
        order: 3;
        flex-basis: 100%;
        margin-top: 6px;
    }
}
.ot-navbar .ot-brand-text {
    gap: 1px;
}

.ot-hero {
    position: relative;
    padding: 64px 0 48px;
    background:
        radial-gradient(60% 60% at 80% 0%, rgba(37, 99, 235, 0.12), transparent 70%),
        var(--ot-bg);
}
/* Ambient blobs (see .ot-blob in theme.css) sized/positioned per section
   here, since the section layout is public-page-specific. Clipped by their
   OWN wrapper — not .ot-hero itself — so this can never interact with
   Bootstrap's .row negative-margin gutters (an overflow:hidden directly on
   .ot-hero clipped that too, silently chopping off real content at narrow
   viewports; caught via a live diagnostic, not assumed). The wrapper is
   purely decorative/absolute, zero footprint in the section's own layout. */
.ot-blob-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.ot-hero .ot-blob-1 {
    width: 380px;
    height: 380px;
    top: -140px;
    right: -80px;
    background: rgba(37, 99, 235, 0.16);
}
.ot-hero .ot-blob-2 {
    width: 300px;
    height: 300px;
    bottom: -160px;
    left: -100px;
    background: rgba(63, 207, 174, 0.10);
}
.ot-hero > .container {
    position: relative;
    z-index: 1;
}
.ot-hero h1 {
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.25rem);
    letter-spacing: -0.02em;
}
.ot-hero p.lead {
    color: var(--ot-text-muted);
    font-size: 1.125rem;
}

.ot-service-card {
    height: 100%;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: transform var(--duration-fast) var(--ease-fast), border-color var(--duration-fast) var(--ease-fast);
}
.ot-service-card:hover {
    transform: translateY(-4px);
    border-color: var(--ot-accent);
}
.ot-service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--ot-radius-md);
    background: rgba(37, 99, 235, 0.12);
    color: var(--ot-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

/* Bulleted feature lists inside service cards + "Why OneTap" tiles */
.ot-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ot-feature-list li {
    color: var(--ot-text-muted);
    font-size: 0.9rem;
    padding-left: 26px;
    position: relative;
}
.ot-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322C55E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
}

/* "Why OneTap" tiles */
.ot-why-tile {
    height: 100%;
    padding: 8px 4px;
}

/* "Works with the platforms you already use" badges */
.ot-platform-group {
    background-color: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-lg);
    padding: 24px;
    height: 100%;
    text-align: center;
    transition: border-color var(--duration-fast) var(--ease-fast);
}
.ot-platform-group:hover {
    border-color: var(--ot-accent);
}
.ot-platform-group-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ot-text-muted);
    margin-bottom: 16px;
}
.ot-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.ot-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    min-height: 40px;
    border-radius: 999px;
    background: var(--ot-surface-muted);
    border: 1px solid var(--ot-border);
    color: var(--ot-text);
    font-weight: 600;
    font-size: 0.875rem;
}
.ot-badge-muted {
    background: transparent;
    color: var(--ot-text-muted);
    font-weight: 500;
    border-style: dashed;
}

.ot-step {
    text-align: center;
    padding: 8px;
}
.ot-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ot-accent);
    color: var(--ot-accent-ink);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    flex-shrink: 0;
}

/* Numbered flow steps (service detail pages) — left-aligned, number + text side by side */
.ot-flow-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-md);
    padding: 18px 20px;
}
.ot-flow-step-number {
    width: 32px;
    height: 32px;
    margin: 0;
    font-size: 0.9rem;
}

/* Vertical timeline (How it works page) */
.ot-timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}
.ot-timeline-item {
    display: flex;
    gap: 24px;
    padding-bottom: 40px;
    position: relative;
}
.ot-timeline-item:not(.ot-timeline-item-last)::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: var(--ot-border);
}
.ot-timeline-number {
    margin: 0;
    flex-shrink: 0;
}
.ot-timeline-content {
    padding-top: 4px;
}

/* Compact pricing cards (service page grids) — live data from
   the admin-managed `plans` table, never hardcoded. */
.ot-price-card {
    position: relative;
    height: 100%;
    background-color: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-lg);
    padding: 24px 16px;
    text-align: center;
    transition: transform var(--duration-fast) var(--ease-fast), border-color var(--duration-fast) var(--ease-fast);
}
.ot-price-card:hover {
    transform: translateY(-4px);
    border-color: var(--ot-accent);
}
.ot-price-card--trial {
    border-color: var(--ot-accent);
    background: linear-gradient(180deg, rgba(37,99,235,.08), var(--ot-surface) 40%);
}
.ot-price-card-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ot-accent);
    color: var(--ot-accent-ink);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.ot-price-card-duration {
    color: var(--ot-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 8px;
}
.ot-price-card-amount {
    font-size: 1.75rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
}
.ot-price-card-meta {
    color: var(--ot-text-muted);
    font-size: 0.8rem;
}

/* Simple 3-column pricing table (Foreign Numbers page) */
.ot-pricing-table {
    background-color: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-lg);
    overflow: hidden;
}
.ot-pricing-table-head,
.ot-pricing-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    padding: 14px 20px;
    align-items: center;
}
.ot-pricing-table-head {
    background-color: var(--ot-surface-muted);
    color: var(--ot-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}
.ot-pricing-table-row {
    border-top: 1px solid var(--ot-border);
    color: var(--ot-text);
    transition: background-color var(--duration-fast) var(--ease-fast);
}
.ot-pricing-table-row:hover {
    background-color: var(--ot-surface-muted);
}

/* Website-for-sale listing cards (Web Development page) */
.ot-listing-card {
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--duration-fast) var(--ease-fast), border-color var(--duration-fast) var(--ease-fast);
}
.ot-listing-card:hover {
    transform: translateY(-4px);
    border-color: var(--ot-accent);
}
.ot-listing-thumb {
    height: 160px;
    background-color: var(--ot-surface-muted);
    background-size: cover;
    background-position: center top;
    flex-shrink: 0;
}
.ot-listing-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ot-text-muted);
}
.ot-listing-thumb {
    position: relative;
}

/* "LIVE" badge — admin-confirmed the demo link currently loads. Separate
   concept from is_active (published on the site at all, labeled
   "Published" in the admin panel precisely to avoid colliding with this
   word). Small green-dot pill, never a claim OneTap can't back up: it
   only ever shows what an admin has explicitly asserted. */
.ot-live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.ot-live-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ot-success);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
    flex-shrink: 0;
}

/* Category filter row above the listings grid — client-side, no reload;
   real counts computed from the actual listings, not fixed labels. */
.ot-filter-chip {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    min-height: 40px;
    border-radius: 999px;
    background: var(--ot-surface-muted);
    border: 1px solid var(--ot-border);
    color: var(--ot-text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--ease-fast), color var(--duration-fast) var(--ease-fast), border-color var(--duration-fast) var(--ease-fast);
}
.ot-filter-chip:hover { color: var(--ot-text); border-color: var(--ot-accent); }
.ot-filter-chip[aria-pressed="true"] { background: var(--ot-accent); border-color: var(--ot-accent); color: var(--ot-accent-ink); }
.ot-filter-chip .count { opacity: 0.75; font-weight: 500; }

/* Live sandboxed preview inside the "Quick view" modal — only created
   (src set) once the modal actually opens, so a listings page with many
   cards never loads a dozen third-party sites at once. Falls back to the
   static thumbnail if the iframe hasn't loaded within a few seconds or
   errors out, so a broken/slow demo link never breaks OneTap's own page. */
.ot-listing-preview {
    position: relative;
    height: 220px;
    background-color: var(--ot-surface-muted);
    flex-shrink: 0;
}
.ot-listing-preview iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity var(--duration-standard) var(--ease-standard);
}
.ot-listing-preview.is-loaded iframe { opacity: 1; }
.ot-listing-preview .ot-listing-thumb {
    position: absolute;
    inset: 0;
    height: 100%;
    transition: opacity var(--duration-standard) var(--ease-standard);
}
.ot-listing-preview.is-loaded .ot-listing-thumb { opacity: 0; pointer-events: none; }

/* Listing detail: feature checklist (1-col mobile -> 2-col desktop) and
   the price's small FCFA-reference line. */
.ot-listing-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px 20px;
}
@media (min-width: 480px) {
    .ot-listing-features { grid-template-columns: 1fr 1fr; }
}
.ot-listing-rate {
    color: var(--ot-text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}
.ot-listing-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
@media (min-width: 480px) {
    .ot-listing-modal-actions { flex-direction: row; }
}

/* "What every website includes" — global, not per-listing: 1-col mobile,
   2x2 on desktop. */
.ot-includes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 640px) {
    .ot-includes-grid { grid-template-columns: 1fr 1fr; }
}
.ot-includes-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-md);
    padding: 16px 18px;
}
.ot-includes-item svg { color: var(--ot-success); flex-shrink: 0; margin-top: 2px; }

/* "Quick view" modal, shared by every product card (listings, number plans,
   number pricing) — Bootstrap's modal is light-themed by default, this
   reskins it to match the rest of the site rather than clashing. */
.ot-product-modal {
    background: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-lg);
    color: var(--ot-text);
}
.ot-product-modal .ot-listing-thumb {
    border-radius: var(--ot-radius-lg) var(--ot-radius-lg) 0 0;
}
/* Quick view / Buy now pair under a price card */
.ot-price-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.modal-backdrop.show {
    opacity: 0.7;
}

.ot-whatsapp-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1030;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6);
    transition: transform 150ms ease-out;
}
.ot-whatsapp-fab:hover { transform: scale(1.06); color: #fff; }

/* Shifted up while the cookie banner is showing so the two never overlap —
   toggled via a body class in cookie-consent.js, not a fixed guess at the
   banner's height. */
body.ot-has-cookie-banner .ot-whatsapp-fab { bottom: 92px; }

.ot-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1040;
    max-width: 720px;
    margin: 0 auto;
    background: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-md);
    box-shadow: var(--ot-shadow-card);
    padding: 16px 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}
.ot-cookie-banner p {
    margin: 0;
    flex: 1 1 320px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ot-text-muted);
}
.ot-cookie-banner[hidden] { display: none; }
@media (max-width: 576px) {
    .ot-cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
    body.ot-has-cookie-banner .ot-whatsapp-fab { bottom: 130px; }
}

.ot-footer {
    background-color: var(--ot-bg-deep);
    border-top: 1px solid var(--ot-border);
    padding: 56px 0 24px;
    color: var(--ot-text-muted);
    font-size: 0.9rem;
}
.ot-footer a { color: var(--ot-text-muted); }
.ot-footer a:hover { color: var(--ot-accent); }

.ot-footer-blurb {
    color: var(--ot-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 340px;
}
.ot-footer-heading {
    color: var(--ot-text);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.ot-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ot-footer-links a {
    display: inline-block;
    min-height: 24px;
}
.ot-footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ot-success);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 16px;
}
.ot-footer-whatsapp:hover { color: var(--ot-accent); }
.ot-footer-divider {
    border-color: var(--ot-border);
    opacity: 1;
    margin: 0;
}
.ot-footer-copy { font-size: 0.825rem; }
.ot-footer-trust {
    font-size: 0.8rem;
    color: var(--ot-text-muted);
}

/* Two-column auth shell (Login / Register) — branded left panel + form
   right panel, sharing one border/shadow instead of a plain centered card. */
.ot-auth-shell {
    display: flex;
    max-width: 880px;
    background-color: var(--ot-surface);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-lg);
    box-shadow: var(--ot-shadow-card);
    overflow: hidden;
}
.ot-auth-shell--wide { max-width: 960px; }

.ot-auth-brand {
    flex: 0 0 40%;
    padding: 48px 40px;
    background:
        radial-gradient(120% 100% at 0% 0%, rgba(37, 99, 235, 0.14), transparent 60%),
        var(--ot-bg-deep);
    border-right: 1px solid var(--ot-border);
    display: none;
    flex-direction: column;
    justify-content: center;
}
.ot-auth-form {
    flex: 1 1 auto;
    min-width: 0;
    padding: 40px 32px;
}

.ot-auth-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ot-auth-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ot-text-muted);
    font-size: 0.9rem;
}
.ot-auth-point-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

@media (min-width: 992px) {
    .ot-auth-brand { display: flex; }
    .ot-auth-form { padding: 48px 56px; }
}

/* "Continue with Google" — the sole OAuth option (Facebook/Apple removed
   from login/register). Own real-brand treatment rather than the generic
   .btn-outline-light every other button uses, since it's now a single,
   prominent choice, not one of three identical pills. */
.ot-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 0 20px;
    background-color: var(--ot-surface);
    border: 1px solid var(--ot-border-strong);
    border-radius: var(--ot-radius-sm);
    color: var(--ot-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: var(--ot-shadow-sm);
    transition: transform var(--duration-fast) var(--ease-fast),
                box-shadow var(--duration-fast) var(--ease-fast),
                border-color var(--duration-fast) var(--ease-fast);
}
.ot-google-btn:hover,
.ot-google-btn:focus-visible {
    color: var(--ot-text);
    border-color: var(--ot-text-subtle);
    box-shadow: var(--ot-shadow-md);
    transform: translateY(-1px);
}
.ot-google-btn:active { transform: translateY(0); }
.ot-google-btn-icon {
    display: inline-flex;
    flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
    .ot-google-btn:hover, .ot-google-btn:focus-visible { transform: none; }
}

/* OTP input group */
.ot-otp-inputs { display: flex; gap: 10px; justify-content: center; }
.ot-otp-inputs input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .ot-otp-inputs input { width: 40px; height: 48px; font-size: 1.25rem; }

    /* Hero CTAs stack full-width at this breakpoint (flex-column) — btn-lg's
       default padding/font-size reads oversized once each button is its own
       full-width row on a narrow phone, so scale both down here only. */
    .ot-hero .btn-lg {
        padding: 0.55rem 1rem;
        font-size: 0.95rem;
    }
}

/* Animated flash/toast messages (Part 6 polish) — the existing server-
   rendered flash banner just gains a slide-in entrance, a manual close
   button, and (for success/info only — errors need to be read and acted
   on) an auto-dismiss timer, instead of sitting there as a static banner
   until the next page load. Still a normal form POST + redirect
   underneath; see flash-toast.js. */
.ot-flash { animation: ot-flash-in 220ms ease-out; }
.ot-flash.ot-flash-out { animation: ot-flash-out 220ms ease-in forwards; }
.ot-flash-close {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    padding: 6px;
    opacity: 0.6;
    color: inherit;
}
.ot-flash-close:hover { opacity: 1; }
@keyframes ot-flash-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ot-flash-out {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
    .ot-flash, .ot-flash.ot-flash-out { animation: none; }
}
