/* ═══════════════════════════════════════════════════
   login.css — Pagina de autentificare FirstCopy
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg:      #0a0a0b;
    --surface: #111113;
    --border:  #252529;
    --border2: #2e2e34;
    --accent:  #e8ff47;
    --text:    #f0f0f2;
    --muted:   #6b6b75;
    --danger:  #ff4757;
    --radius:  10px;
}
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Subtle grid background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(232,255,71,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,255,71,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 380px;
    position: relative;
    z-index: 1;
}

.logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-dot {
    width: 9px; height: 9px;
    background: var(--accent);
    border-radius: 50%;
}
.subtitle {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 2rem;
    font-family: 'DM Mono', monospace;
}

.field { margin-bottom: 1rem; }
.field label {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}
.field input {
    width: 100%;
    background: #0a0a0b;
    border: 1px solid var(--border2);
    color: var(--text);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}
.field input:focus { border-color: var(--accent); }

.error-box {
    background: rgba(255,71,87,0.1);
    border: 1px solid rgba(255,71,87,0.3);
    color: var(--danger);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    margin-bottom: 1rem;
    font-family: 'DM Mono', monospace;
    line-height: 1.5;
}

.btn-login {
    width: 100%;
    padding: 0.75rem;
    background: var(--accent);
    color: #0a0a0b;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    margin-top: 0.5rem;
}
.btn-login:hover { opacity: 0.88; }
.btn-login:disabled { opacity: 0.4; cursor: not-allowed; }

.footer-note {
    text-align: center;
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 1.5rem;
    font-family: 'DM Mono', monospace;
}
