/* Login is a standalone split-panel layout built from the shared tokens.
   Left: brand, floating-label form, language + version foot.
   Right: full-bleed abstract visual with carousel dots. */
.login-page {
    background: var(--color-surface);
}

.login-stage {
    min-height: 100vh;
    padding: 0;
}

.login-split {
    max-width: none;
    min-height: 100vh;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    background: var(--color-surface);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* --- Left panel --- */
.login-form-panel {
    padding: 2rem clamp(1.5rem, 4vw, 3.5rem);
    background: var(--color-surface);
}

.login-brand {
    gap: .625rem;
    width: fit-content;
    color: var(--bs-heading-color, #0b0f19);
    font-size: 1.25rem;
    font-weight: 700;
}

.login-brand-mark {
    width: 38px;
    height: 38px;
    color: var(--color-primary);
    background: transparent;
    border-radius: var(--radius-xs) !important;
    font-size: 1.75rem;
}

.login-panel-body {
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
    padding-top: 3rem;
}

.login-eyebrow {
    color: var(--color-text-secondary);
    font-size: var(--font-size-md);
}

.login-title {
    color: var(--color-text);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.login-auth-controls { max-width: 400px; }

.login-auth-controls #workos-google-login-form {
    width: 100%;
}

/* --- Google "G" mark in the provider login button --- */
.google-g {
    display: inline-flex;
    margin-right: 10px;
    vertical-align: -3px;
}

.google-g svg {
    width: 18px;
    height: 18px;
}

/* --- Floating-label fields (label sits on the top border) --- */
.float-field {
    position: relative;
}

.float-field .form-control {
    height: 54px;
    padding: 1.35rem 2.75rem .45rem .9rem;
    border-radius: 8px;
}

.float-field > label {
    position: absolute;
    top: -.62em;
    left: 12px;
    z-index: 2;
    padding: 0 6px;
    color: var(--color-primary);
    background: var(--color-surface);
    font-size: .78rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.2;
    pointer-events: none;
}

.float-field .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary);
}

.float-field .field-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    display: inline-flex;
    color: var(--color-text-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.float-field .field-icon .lucide {
    width: 18px;
    height: 18px;
}

.float-field .field-icon-btn {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--color-text-muted);
    background: transparent;
    border: 0;
    border-radius: var(--radius-round);
    transform: translateY(-50%);
    cursor: pointer;
}

.float-field .field-icon-btn:hover {
    color: var(--color-text);
    background: var(--color-surface-hover);
}

.float-field .field-icon-btn .lucide {
    width: 18px;
    height: 18px;
}

.login-remember .form-check-label {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.login-submit {
    min-height: 48px;
    border-radius: 8px;
    font-size: var(--font-size-md);
}

/* --- Divider with rules (splits password form and provider button) --- */
.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0 14px;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.login-divider::before,
.login-divider::after {
    flex: 1;
    height: 1px;
    background: var(--color-border);
    content: "";
}

.auth-method-panel:not(.d-none) {
    animation: auth-method-in 160ms ease-out;
}

@keyframes auth-method-in {
    from {
        opacity: 0;
        transform: translateX(.4rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-method-panel:not(.d-none) { animation: none; }
}

/* --- Panel foot: language + version --- */
.login-panel-foot {
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
    padding-top: 2.5rem;
}

.login-panel-foot .form-select {
    color: var(--color-text-muted);
    background-color: transparent;
    border-color: rgba(55, 63, 81, .25);
}

.login-panel-foot .form-select:focus {
    color: var(--color-text);
    background-color: var(--color-surface);
}

.login-panel-foot .form-select {
    min-width: 132px;
    min-height: 32px;
    padding-block: 4px;
}

/* --- Right visual: original "Fluent Orbit" artwork ---
   M365-inspired (brand blue #0f6cbd, teal #038387, purple #5c2d91),
   but fully original: aurora blobs + orbit rings + floating glass
   productivity cluster. All motion is CSS; JS only swaps captions. */
.login-visual {
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: 100vh;
    padding: 3rem 3rem 6.5rem;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(120% 90% at 80% 0%, #3d8fd1 0%, rgba(61, 143, 209, 0) 55%),
        radial-gradient(90% 70% at 10% 100%, #0a3d7c 0%, rgba(10, 61, 124, 0) 60%),
        linear-gradient(160deg, #123a75 0%, #0f6cbd 45%, #084a92 78%, #0a2a5e 100%);
    isolation: isolate;
}

.lv-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.lv-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; will-change: transform; }
.lv-blob--a {
    width: 34rem; height: 34rem; top: -9rem; right: -7rem;
    background: radial-gradient(circle at 35% 35%, #bfe0fb 0%, #5ea2e3 38%, rgba(94,162,227,0) 70%);
    animation: lv-drift-a 22s ease-in-out infinite alternate;
}
.lv-blob--b {
    width: 30rem; height: 30rem; top: 22%; left: -10rem;
    background: radial-gradient(circle at 60% 40%, #3fd0d4 0%, #038387 45%, rgba(3,131,135,0) 70%);
    opacity: .55;
    animation: lv-drift-b 26s ease-in-out infinite alternate;
}
.lv-blob--c {
    width: 26rem; height: 26rem; bottom: -6rem; right: 8%;
    background: radial-gradient(circle at 50% 50%, #c9a6f2 0%, #5c2d91 55%, rgba(92,45,145,0) 72%);
    opacity: .6;
    animation: lv-drift-c 24s ease-in-out infinite alternate;
}
.lv-blob--d {
    width: 16rem; height: 16rem; top: 44%; right: 30%;
    background: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 65%);
    opacity: .35; filter: blur(40px);
    animation: lv-pulse 7s ease-in-out infinite alternate;
}
.lv-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.32) 1px, transparent 1.5px);
    background-size: 24px 24px;
    mask-image: radial-gradient(75% 65% at 55% 40%, #000 30%, transparent 75%);
    opacity: .35;
}
.lv-orbit {
    position: absolute; top: 50%; left: 50%;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.lv-orbit--one { width: 42rem; height: 42rem; animation: lv-spin 70s linear infinite; }
.lv-orbit--one::after {
    content: ""; position: absolute; top: 8%; left: 12%;
    width: 10px; height: 10px; background: #fff; border-radius: 50%;
    box-shadow: 0 0 18px 4px rgba(255,255,255,.7);
}
.lv-orbit--two { width: 30rem; height: 30rem; border-style: dashed; opacity: .5; animation: lv-spin-rev 55s linear infinite; }
.lv-spark { position: absolute; width: 5px; height: 5px; background: #fff; border-radius: 50%; opacity: .8; animation: lv-twinkle 3.6s ease-in-out infinite; }
.lv-spark--1 { top: 18%; left: 24%; }
.lv-spark--2 { top: 30%; right: 18%; width: 7px; height: 7px; animation-delay: .8s; }
.lv-spark--3 { top: 58%; right: 32%; animation-delay: 1.6s; }
.lv-spark--4 { bottom: 28%; left: 32%; width: 6px; height: 6px; animation-delay: 2.2s; }
.lv-spark--5 { top: 44%; left: 12%; animation-delay: 2.9s; }

/* Floating glass cluster */
.lv-stage { position: relative; z-index: 1; width: 100%; max-width: 420px; margin: auto; will-change: transform; transform: translate3d(0,0,0); }
.lv-card {
    display: flex; align-items: center; gap: .75rem;
    padding: .9rem 1rem;
    color: #242424;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(4, 26, 60, .35), 0 2px 8px rgba(4,26,60,.18);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
.lv-card .lucide { width: 18px; height: 18px; color: #0f6cbd; }
.lv-card--main {
    flex-direction: column; align-items: stretch;
    padding: 1.1rem 1.1rem .95rem;
    animation: lv-float 7s ease-in-out infinite;
}
.lv-card--call {
    margin: 0 1.5rem -1.1rem auto; max-width: 300px;
    border-radius: 14px; animation: lv-float 8s ease-in-out -2s infinite;
}
.lv-card--file {
    margin: -1.1rem auto 0 1.5rem; max-width: 300px;
    border-radius: 14px; animation: lv-float 8.5s ease-in-out -4s infinite;
}
.lv-avatars { display: flex; }
.lv-avatars i {
    width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
    margin-left: -8px; color: #fff; font-size: .62rem; font-weight: 700; font-style: normal;
    background: var(--av, #0f6cbd); border: 2px solid #fff; border-radius: 50%;
}
.lv-avatars i:first-child { margin-left: 0; }
.lv-call-text { display: flex; flex-direction: column; line-height: 1.25; }
.lv-call-text strong { font-size: .82rem; }
.lv-call-text em { color: #616161; font-size: .72rem; font-style: normal; }
.lv-call-btns { display: flex; gap: .4rem; margin-left: auto; }
.lv-call-btns .lucide { padding: 6px; width: 28px; height: 28px; background: #e8f1fc; border-radius: 50%; }
.lv-main-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.lv-today { display: flex; flex-direction: column; line-height: 1.25; }
.lv-today strong { font-size: 1rem; }
.lv-today em { color: #616161; font-size: .72rem; font-style: normal; }
.lv-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; color: #0f6cbd; background: #e8f1fc; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.lv-live i { width: 7px; height: 7px; background: #107c10; border-radius: 50%; animation: lv-pulse 1.6s infinite; }
.lv-row { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem; background: rgba(255,255,255,.65); border: 1px solid rgba(15,108,189,.1); border-radius: 12px; }
.lv-row + .lv-row { margin-top: .5rem; }
.lv-time { color: #616161; font-size: .72rem; font-weight: 600; min-width: 34px; }
.lv-bar { width: 4px; align-self: stretch; border-radius: 4px; }
.lv-bar--blue { background: #0f6cbd; } .lv-bar--teal { background: #038387; } .lv-bar--purple { background: #5c2d91; }
.lv-row-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.lv-row-text strong { font-size: .8rem; } .lv-row-text em { color: #616161; font-size: .7rem; font-style: normal; }
.lv-progress { position: relative; height: 8px; margin-top: .8rem; overflow: hidden; background: #e1eefc; border-radius: 999px; }
.lv-progress i { position: absolute; inset: 0 30% 0 0; background: linear-gradient(90deg, #0f6cbd, #4aa3f0); border-radius: inherit; overflow: hidden; }
.lv-progress i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.7) 50%, transparent 80%); animation: lv-shimmer 2.4s linear infinite; }
.lv-file-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: #fff !important; background: linear-gradient(135deg, #0f6cbd, #038387); border-radius: 10px; }
.lv-file-icon .lucide { color: #fff; }
.lv-file-text { display: flex; flex-direction: column; line-height: 1.25; }
.lv-file-text strong { font-size: .8rem; } .lv-file-text em { color: #616161; font-size: .7rem; font-style: normal; }
.lv-check { margin-left: auto; display: inline-flex; padding: 6px; color: #107c10 !important; background: #dff6dd; border-radius: 50%; }
.lv-check .lucide { color: #107c10; }

/* Caption + dots */
.lv-copy { position: relative; z-index: 1; margin-top: 2.2rem; max-width: 420px; margin-inline: auto; text-align: left; width: 100%; }
.lv-kicker { margin: 0 0 .35rem; color: rgba(255,255,255,.75); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lv-headline { margin: 0 0 .4rem; color: #fff; font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; transition: opacity .35s ease; }
.lv-sub { margin: 0; color: rgba(255,255,255,.82); font-size: .88rem; line-height: 1.5; transition: opacity .35s ease; }
.lv-copy.is-switching .lv-headline, .lv-copy.is-switching .lv-sub { opacity: 0; }


/* The floating theme toggle sits over the visual column; keep it above the
   decorative blobs so it stays clickable. Rendered as a compact 38px square
   (btn btn-subtle + this sizing). */
.login-theme-toggle {
    z-index: 3;
    min-width: 38px;
    min-height: 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: var(--radius-xs);
}

.login-visual-dots {
    position: absolute;
    right: 2rem;
    bottom: 1.75rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-visual-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    background: rgba(255, 255, 255, .65);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}

.login-visual-dots button.on {
    width: 26px;
    height: 7px;
    background: #fff;
    border-radius: 4px;
}

@keyframes lv-drift-a { from { transform: translate(0,0) scale(1); } to { transform: translate(-60px,50px) scale(1.12); } }
@keyframes lv-drift-b { from { transform: translate(0,0) scale(1); } to { transform: translate(70px,-40px) scale(1.08); } }
@keyframes lv-drift-c { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px,-60px) scale(1.15); } }
@keyframes lv-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lv-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes lv-spin-rev { to { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes lv-twinkle { 0%,100% { opacity: .2; transform: scale(.8); } 50% { opacity: .9; transform: scale(1.15); } }
@keyframes lv-pulse { from { opacity: .5; } to { opacity: 1; } }
@keyframes lv-shimmer { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

.authentication-bg { background-color: var(--color-canvas); }

/* --- Dark mode: keep the form on surface, deepen the visual --- */
[data-bs-theme="dark"] .login-page {
    background: var(--color-canvas);
}

[data-bs-theme="dark"] .login-split,
[data-bs-theme="dark"] .login-form-panel,
[data-bs-theme="dark"] .float-field > label {
    background: var(--color-canvas);
}

[data-bs-theme="dark"] .login-visual {
    background:
        radial-gradient(120% 90% at 80% 0%, #1c4e8a 0%, rgba(28,78,138,0) 55%),
        radial-gradient(90% 70% at 10% 100%, #061a3a 0%, rgba(6,26,58,0) 60%),
        linear-gradient(160deg, #050f24 0%, #0a2753 48%, #123a75 80%, #1a1240 100%);
}

[data-bs-theme="dark"] .lv-card {
    color: #f3f2f1;
    background: rgba(27, 26, 25, .72);
    border-color: rgba(255,255,255,.14);
}
[data-bs-theme="dark"] .lv-row { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
[data-bs-theme="dark"] .lv-call-text em,
[data-bs-theme="dark"] .lv-today em,
[data-bs-theme="dark"] .lv-row-text em,
[data-bs-theme="dark"] .lv-file-text em,
[data-bs-theme="dark"] .lv-time { color: #c8c6c4; }
[data-bs-theme="dark"] .lv-progress { background: rgba(255,255,255,.15); }
[data-bs-theme="dark"] .lv-blob { opacity: .5; }

@media (prefers-reduced-motion: reduce) {
    .lv-blob, .lv-orbit--one, .lv-orbit--two, .lv-spark,
    .lv-card--main, .lv-card--call, .lv-card--file,
    .lv-progress i::after, .lv-live i { animation: none !important; }
}

@media (max-width: 991.98px) {
    .login-split {
        min-height: 100vh;
    }
    .login-form-panel {
        min-height: 100vh;
        padding: 2rem 1.5rem;
    }
    .login-brand { align-self: flex-start; }
    .login-panel-body {
        padding-top: 2.5rem;
    }
    .login-panel-foot {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   FileDrop drop-zone scene: a file lands in the dashed zone, uploads with a
   live percentage counter, then surfaces its public link — the product flow
   in miniature, looping through a few file types.
   ========================================================================== */
.lv-card--drop {
    flex-direction: column;
    align-items: stretch;
    padding: 1.1rem 1.1rem .95rem;
    animation: lv-float 7s ease-in-out infinite;
}

.lv-card--link {
    margin: 0 1.5rem -1.1rem auto;
    max-width: 300px;
    border-radius: 14px;
    animation: lv-float 8s ease-in-out -2s infinite;
}

.lv-copy-chip {
    display: inline-flex;
    padding: 6px;
    color: #0f6cbd;
    background: #e8f1fc;
    border-radius: 50%;
    transition: background-color .25s ease, color .25s ease;
}

.lv-copy-chip .lucide { width: 16px; height: 16px; }

.lv-copy-chip.is-copied { color: #107c10; background: #dff6dd; }

.lv-drop {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: .6rem;
    min-height: 128px;
    margin-top: .75rem;
    padding: .8rem;
    border: 1.5px dashed rgba(15, 108, 189, .45);
    border-radius: 14px;
    background: rgba(232, 241, 252, .5);
    transition: background-color .3s ease, border-color .3s ease;
}

.lv-drop.is-active {
    border-color: rgba(15, 108, 189, .9);
    animation: lv-zone-pulse .7s ease;
}

.lv-drop.is-done {
    border-color: rgba(16, 124, 16, .55);
    background: rgba(223, 246, 221, .4);
}

.lv-drop.has-chip .lv-drop-hint { display: none; }

.lv-drop-hint {
    margin: 0;
    color: #616161;
    font-size: .72rem;
    text-align: center;
}

.lv-chip {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .65rem;
    background: #fff;
    border: 1px solid rgba(15, 108, 189, .18);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(4, 26, 60, .12);
    text-align: left;
    opacity: 0;
    transform: translateY(-18px) scale(.96);
}

.lv-drop.has-chip .lv-chip { animation: lv-drop-in .55s cubic-bezier(.22, 1, .36, 1) forwards; }
.lv-drop.is-leaving .lv-chip { animation: lv-chip-out .32s ease forwards; }

.lv-chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: none;
    color: #fff;
    background: linear-gradient(135deg, #0f6cbd, #038387);
    border-radius: 8px;
}

.lv-chip-icon .lucide { width: 16px; height: 16px; color: #fff; }

.lv-chip-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }

.lv-chip-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    line-height: 1.25;
}

.lv-chip-line strong {
    overflow: hidden;
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lv-chip-status {
    color: #0f6cbd;
    font-size: .68rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lv-chip.is-done .lv-chip-status { display: none; }

.lv-chip-bar {
    position: relative;
    height: 5px;
    overflow: hidden;
    background: #e1eefc;
    border-radius: 999px;
}

.lv-chip-bar i {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0%;
    background: linear-gradient(90deg, #0f6cbd, #4aa3f0);
    border-radius: inherit;
    overflow: hidden;
}

.lv-chip-bar i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .7) 50%, transparent 80%);
    animation: lv-shimmer 2.4s linear infinite;
}

.lv-chip.is-done .lv-chip-bar i { background: linear-gradient(90deg, #107c10, #4caf50); }

.lv-chip-check {
    display: none;
    align-items: center;
    justify-content: center;
    flex: none;
    padding: 5px;
    color: #107c10;
    background: #dff6dd;
    border-radius: 50%;
}

.lv-chip-check .lucide { width: 14px; height: 14px; color: #107c10; }

.lv-chip.is-done .lv-chip-check { display: inline-flex; animation: lv-pop .4s cubic-bezier(.34, 1.56, .64, 1); }

.lv-link-pill {
    display: none;
    align-items: center;
    gap: 6px;
    align-self: center;
    padding: .45rem .55rem;
    background: #fff;
    border: 1px solid rgba(15, 108, 189, .25);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(4, 26, 60, .1);
}

.lv-drop.has-link .lv-link-pill { display: inline-flex; animation: lv-pill-in .45s cubic-bezier(.22, 1, .36, 1); }
.lv-drop.is-leaving .lv-link-pill { animation: lv-chip-out .32s ease forwards; }

.lv-link-pill .lucide { width: 14px; height: 14px; color: #0f6cbd; }

.lv-link-pill code {
    color: #0f6cbd;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .68rem;
    font-weight: 600;
}

.lv-link-pill small {
    display: none;
    color: #107c10;
    font-size: .66rem;
    font-weight: 700;
}

.lv-link-pill.is-copied small { display: inline; animation: lv-pop .3s cubic-bezier(.34, 1.56, .64, 1); }

@keyframes lv-drop-in {
    0% { opacity: 0; transform: translateY(-22px) scale(.94); }
    60% { opacity: 1; transform: translateY(2px) scale(1.01); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lv-chip-out {
    to { opacity: 0; transform: translateY(-10px) scale(.97); }
}

@keyframes lv-zone-pulse {
    0% { box-shadow: 0 0 0 0 rgba(15, 108, 189, .35); }
    100% { box-shadow: 0 0 0 14px rgba(15, 108, 189, 0); }
}

@keyframes lv-pop {
    0% { transform: scale(.5); }
    70% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

@keyframes lv-pill-in {
    0% { opacity: 0; transform: translateY(8px) scale(.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Dark mode for the drop scene */
[data-bs-theme="dark"] .lv-drop { background: rgba(255, 255, 255, .05); border-color: rgba(71, 158, 245, .5); }
[data-bs-theme="dark"] .lv-drop.is-active { border-color: #479ef5; }
[data-bs-theme="dark"] .lv-drop.is-done { border-color: rgba(123, 183, 154, .6); background: rgba(16, 124, 16, .16); }
[data-bs-theme="dark"] .lv-drop-hint { color: #c8c6c4; }
[data-bs-theme="dark"] .lv-chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
[data-bs-theme="dark"] .lv-chip-bar { background: rgba(255, 255, 255, .15); }
[data-bs-theme="dark"] .lv-chip-check { background: rgba(16, 124, 16, .28); color: #9fd89f; }
[data-bs-theme="dark"] .lv-chip-check .lucide { color: #9fd89f; }
[data-bs-theme="dark"] .lv-link-pill { background: rgba(255, 255, 255, .08); border-color: rgba(71, 158, 245, .4); box-shadow: none; }
[data-bs-theme="dark"] .lv-link-pill .lucide,
[data-bs-theme="dark"] .lv-link-pill code { color: #479ef5; }
[data-bs-theme="dark"] .lv-link-pill small { color: #9fd89f; }
[data-bs-theme="dark"] .lv-copy-chip { color: #479ef5; background: rgba(71, 158, 245, .2); }
[data-bs-theme="dark"] .lv-copy-chip.is-copied { color: #9fd89f; background: rgba(16, 124, 16, .28); }

/* Reduced motion: show the finished state instead of the looping scene */
@media (prefers-reduced-motion: reduce) {
    .lv-drop .lv-chip { opacity: 1; transform: none; animation: none !important; }
    .lv-drop .lv-link-pill { display: inline-flex; opacity: 1; transform: none; animation: none !important; }
    .lv-drop .lv-chip-check { display: inline-flex; animation: none !important; }
    .lv-drop .lv-drop-hint { display: none; }
}

.lv-chip-size {
    margin: -3px 0 0;
    color: #616161;
    font-size: .68rem;
    font-style: normal;
    line-height: 1.2;
}

[data-bs-theme="dark"] .lv-chip-size { color: #c8c6c4; }

/* The pill carries the real /files/{uuid}/{filename} shape; keep long paths
   on one line inside the zone instead of stretching the card. */
.lv-link-pill { max-width: 100%; }
.lv-link-pill code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
