@font-face {
    font-family: "Manrope";
    src: url("/fonts/manrope-400.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/manrope-500.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/manrope-700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Oxanium";
    src: url("/fonts/oxanium-500.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Oxanium";
    src: url("/fonts/oxanium-600.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Oxanium";
    src: url("/fonts/oxanium-700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --auth-bg: #05070c;
    --auth-bg-deep: #020308;
    --auth-panel: rgba(8, 12, 22, 0.9);
    --auth-ink: #f6fbff;
    --auth-muted: #91a0c0;
    --auth-line: rgba(94, 255, 208, 0.38);
    --auth-accent: #00f5ff;
    --auth-accent-2: #7cff00;
    --auth-danger: #ff4d6d;
    --auth-success: #7cff00;
    --auth-shadow: 0 0 0 1px rgba(94, 255, 208, 0.12), 0 0 22px rgba(0, 245, 255, 0.14), 0 30px 80px rgba(0, 0, 0, 0.55);
    font-family: "Manrope", "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
    font-size: 14px;
}

* { box-sizing: border-box; }

.auth-body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 245, 255, 0.16), transparent 24%),
        radial-gradient(circle at 88% 14%, rgba(124, 255, 0, 0.14), transparent 22%),
        radial-gradient(circle at 50% 100%, rgba(255, 61, 242, 0.12), transparent 30%),
        linear-gradient(180deg, var(--auth-bg) 0%, var(--auth-bg-deep) 100%);
    color: var(--auth-ink);
    padding: 5px;
}

.auth-shell {
    position: relative;
    width: min(100%, 528px);
    background: var(--auth-panel);
    backdrop-filter: blur(16px);
    border: 1px solid var(--auth-line);
    border-radius: 5px;
    box-shadow: var(--auth-shadow);
    padding: 5px;
    overflow: hidden;
}

.auth-shell-recovery {
    width: min(100%, 460px);
}

.auth-brand {
    position: relative;
    margin-bottom: 5px;
}

.auth-brand-login {
    padding-right: 88px;
}

.auth-brand-mark {
    position: absolute;
    top: 0;
    right: 0;
    width: 75px;
    max-width: 24vw;
    height: auto;
    pointer-events: none;
    opacity: 0.92;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.auth-eyebrow {
    font-family: "Oxanium", "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--auth-accent);
    margin: 0 0 5px;
}

.auth-shell h1 {
    font-family: "Saira Stencil One", "Century Gothic", "Questrial", "Avant Garde", sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    line-height: 1;
    margin: 0 0 5px;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.auth-shell-recovery h1 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    line-height: 0.95;
}

.auth-subtitle {
    margin: 0 0 5px;
    line-height: 1.25;
    color: var(--auth-muted);
    font-size: 1.3rem;
}

.auth-shell label {
    display: block;
    font-size: 1.08rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.auth-shell input {
    width: 100%;
    border: 1px solid rgba(0, 245, 255, 0.22);
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 5px;
    background: rgba(2, 6, 14, 0.92);
    color: var(--auth-ink);
    font: inherit;
    font-size: 1.08rem;
}

.auth-shell input:focus {
    outline: none;
    border-color: rgba(0, 245, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.22), 0 0 20px rgba(0, 245, 255, 0.16);
}

.auth-shell button {
    width: 100%;
    border: 1px solid rgba(0, 245, 255, 0.32);
    border-radius: 5px;
    padding: 5px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.18), rgba(124, 255, 0, 0.18));
    color: var(--auth-ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.12);
    font-size: 1.08rem;
}

.auth-message {
    margin: 0 0 5px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid transparent;
    font-size: 1.08rem;
}

.auth-message-error {
    background: rgba(255, 77, 109, 0.09);
    color: var(--auth-danger);
    border-color: rgba(255, 77, 109, 0.24);
}

.auth-message-success {
    background: rgba(124, 255, 0, 0.09);
    color: var(--auth-success);
    border-color: rgba(124, 255, 0, 0.24);
}

@media (max-width: 640px) {
    .auth-subtitle {
        font-size: 1.04rem;
    }
}
