/* =============================================================================
   AnimePaste — login.css — Torii Theme
   ============================================================================= */
:root {
    --bg:        #0d0d0f;
    --bg-card:   #111114;
    --bg-surface:#16161a;
    --text:      #f0f0f0;
    --text-muted:#9ca3af;
    --text-dim:  #8b95a3;
    --text-faint:#374151;
    --border:    rgba(255,255,255,0.08);
    --border-md: rgba(255,255,255,0.14);
    --accent:    #e85d04;
    --accent2:   #f4a261;
    --danger:    #f87171;
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 14px;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    /* Radial glow igual al hero de animerd */
    background-image: radial-gradient(ellipse 70% 50% at 50% 0%,
        rgba(232,93,4,0.08) 0%, transparent 65%);
}

.login-container {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* ── Logo ── */
.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.login-logo-sq {
    width: 48px; height: 48px;
    background: var(--accent);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 900; color: #fff;
    box-shadow: 0 8px 24px rgba(232,93,4,0.35);
}

.login-logo h1 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin: 0;
}

.login-logo p {
    font-size: 13px;
    color: var(--text-dim);
    margin: 0;
}

/* ── Card de login ── */
.login-box {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ── Alert error ── */
.alert-error {
    background: rgba(248,113,113,0.08);
    border: 1px solid rgba(248,113,113,0.25);
    color: var(--danger);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.4;
}

/* ── Campos ── */
.form-group { margin-bottom: 16px; }

.form-label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
}

.form-input {
    width: 100%;
    padding: 10px 13px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232,93,4,0.12);
}

.form-input::placeholder { color: var(--text-faint); }

/* ── Botón ── */
.btn-login {
    width: 100%;
    padding: 11px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 6px;
    transition: opacity .18s, transform .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.btn-login:hover { opacity: .88; transform: translateY(-1px); }
.btn-login:active { transform: translateY(0); }

/* ── Footer ── */
.footer-link {
    font-size: 12px;
    color: var(--text-faint);
    text-align: center;
}