:root {
    --lv-ink: #12101a;
    --lv-muted: #6b6578;
    --lv-line: #e4e0ea;
    --lv-surface: #ffffff;
    --lv-accent: #e83e8c;
    --lv-accent-deep: #c2185b;
    --lv-bg-1: #f7f5f2;
    --lv-bg-2: #ebe6f0;
    --lv-radius: 14px;
    --lv-font: "Figtree", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body.lv-auth {
    margin: 0;
    min-height: 100%;
}

body.lv-auth {
    font-family: var(--lv-font);
    color: var(--lv-ink);
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(232, 62, 140, 0.12), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(18, 16, 26, 0.08), transparent 50%),
        linear-gradient(165deg, var(--lv-bg-1), var(--lv-bg-2));
    -webkit-font-smoothing: antialiased;
}

.lv-auth__shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
}

.lv-auth__panel {
    width: 100%;
    max-width: 420px;
    animation: lv-rise 480ms ease-out both;
}

.lv-auth__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    text-align: center;
}

.lv-auth__logo {
    width: 100%;
    padding: 18px 22px;
    border-radius: 16px;
    background: #0a0619;
    line-height: 0;
}

.lv-auth__logo img {
    width: min(200px, 62vw);
    height: auto;
    display: block;
    margin: 0 auto;
}

.lv-auth__eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lv-muted);
}

.lv-auth__title {
    margin: 0 0 6px;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
}

.lv-auth__subtitle {
    margin: 0 0 28px;
    font-size: 0.95rem;
    color: var(--lv-muted);
    text-align: center;
    line-height: 1.45;
}

.lv-auth__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lv-auth__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .lv-auth__row {
        grid-template-columns: 1fr;
    }
}

.lv-auth__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lv-auth__field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lv-ink);
}

.lv-auth__field input[type="text"],
.lv-auth__field input[type="email"],
.lv-auth__field input[type="password"],
.lv-auth__field input[type="tel"] {
    width: 100%;
    border: 1px solid var(--lv-line);
    background: var(--lv-surface);
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    font-size: 0.95rem;
    color: var(--lv-ink);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lv-auth__field input::placeholder {
    color: #a39dae;
}

.lv-auth__field input:focus {
    outline: none;
    border-color: var(--lv-accent);
    box-shadow: 0 0 0 3px rgba(232, 62, 140, 0.15);
}

.lv-auth__remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--lv-muted);
    user-select: none;
}

.lv-auth__remember input {
    width: 16px;
    height: 16px;
    accent-color: var(--lv-accent);
}

.lv-auth__errors {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff1f3;
    border: 1px solid #f5c2cb;
    color: #9b1c34;
    font-size: 0.88rem;
    list-style: none;
}

.lv-auth__errors li + li {
    margin-top: 4px;
}

.lv-auth__submit {
    margin-top: 4px;
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 650;
    color: #fff;
    background: linear-gradient(135deg, var(--lv-ink), #2a2438);
    cursor: pointer;
    transition: transform 140ms ease, opacity 140ms ease, box-shadow 140ms ease;
}

.lv-auth__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(18, 16, 26, 0.18);
}

.lv-auth__submit:active {
    transform: translateY(0);
    opacity: 0.92;
}

.lv-auth__footer {
    margin: 22px 0 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--lv-muted);
}

.lv-auth__footer a {
    color: var(--lv-accent-deep);
    font-weight: 600;
    text-decoration: none;
}

.lv-auth__footer a:hover {
    text-decoration: underline;
}

@keyframes lv-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
