/* Fleischmann One — login */

:root {
    --one-yellow: #f5c518;
    --one-yellow-deep: #d4a50f;
    --one-ink: #f4f7fb;
    --one-muted: rgba(244, 247, 251, .62);
    --one-panel: rgba(255, 255, 255, .06);
    --one-line: rgba(255, 255, 255, .12);
    --one-font: "Manrope", "Segoe UI", sans-serif;
    --one-display: "Sora", "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
}

body.one-login {
    min-height: 100vh;
    color: var(--one-ink);
    font-family: var(--one-font);
    background: #070a0e;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.one-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 55% at 18% -5%, rgba(245, 197, 24, .28), transparent 55%),
        radial-gradient(ellipse 60% 45% at 95% 15%, rgba(26, 111, 212, .14), transparent 50%),
        radial-gradient(ellipse 70% 50% at 50% 110%, rgba(245, 197, 24, .08), transparent 50%),
        linear-gradient(165deg, #0c1016 0%, #121820 45%, #0a0d12 100%);
    pointer-events: none;
}

.one-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    opacity: .45;
}

.one-stage {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 48px);
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 48px 0 24px;
}

.one-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    animation: one-rise .55s ease both;
}

.one-logo {
    display: block;
    width: min(320px, 72vw);
    height: auto;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45));
}

.one-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.one-wordmark__one {
    font-family: var(--one-display);
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1;
    color: var(--one-yellow);
    text-transform: uppercase;
    position: relative;
    padding-left: 18px;
    animation: one-glow 3.8s ease-in-out infinite;
}

.one-wordmark__one::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 4px;
    border-radius: 4px;
    background: var(--one-yellow);
    box-shadow: 0 0 18px rgba(245, 197, 24, .55);
}

.one-tagline {
    margin: 4px 0 0;
    max-width: 28rem;
    font-size: 15px;
    font-weight: 600;
    color: var(--one-muted);
    letter-spacing: .02em;
}

.one-panel {
    width: min(420px, 100%);
    justify-self: end;
    padding: 32px 28px 28px;
    border-radius: 22px;
    border: 1px solid var(--one-line);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
    box-shadow: 0 28px 60px rgba(0, 0, 0, .35);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    animation: one-rise .55s ease .08s both;
}

.one-panel h1 {
    margin: 0;
    font-family: var(--one-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.one-panel__sub {
    margin: 8px 0 22px;
    color: var(--one-muted);
    font-size: 14px;
    font-weight: 500;
}

.one-alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(225, 29, 72, .35);
    background: rgba(225, 29, 72, .12);
    color: #fecdd3;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.one-ok {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(245, 197, 24, .35);
    background: rgba(245, 197, 24, .12);
    color: #ffe566;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.one-form {
    display: grid;
    gap: 14px;
}

.one-field {
    display: grid;
    gap: 7px;
}

.one-field span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--one-muted);
}

.one-field input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(8, 12, 18, .55);
    color: #fff;
    font: inherit;
    font-weight: 600;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.one-field input::placeholder {
    color: rgba(255, 255, 255, .32);
}

.one-field input:focus {
    border-color: var(--one-yellow);
    box-shadow: 0 0 0 4px rgba(245, 197, 24, .22);
}

.one-submit {
    margin-top: 6px;
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    font-family: var(--one-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #111827;
    cursor: pointer;
    background: linear-gradient(145deg, #ffe566 0%, var(--one-yellow) 48%, var(--one-yellow-deep) 100%);
    box-shadow: 0 14px 32px rgba(245, 197, 24, .28);
    transition: transform .16s ease, box-shadow .16s ease;
}

.one-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(245, 197, 24, .36);
}

.one-submit:active {
    transform: translateY(0);
}

.one-foot {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 16px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
}

@keyframes one-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes one-glow {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50% { text-shadow: 0 0 28px rgba(245, 197, 24, .35); }
}

@media (max-width: 900px) {
    .one-stage {
        grid-template-columns: 1fr;
        width: min(480px, calc(100% - 32px));
        padding-top: 36px;
        gap: 28px;
    }

    .one-hero {
        align-items: center;
        text-align: center;
    }

    .one-tagline {
        text-align: center;
    }

    .one-panel {
        justify-self: stretch;
        width: 100%;
    }

    .one-wordmark__one {
        padding-left: 0;
    }

    .one-wordmark__one::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .one-hero,
    .one-panel,
    .one-wordmark__one {
        animation: none !important;
    }
}
