@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

/* ── LOGIN PAGE ── */
#login {
    background: #000 !important;
    position: relative;
    overflow: hidden;
}

#login::before {
    content: '';
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, rgba(0,0,0,0.1) 0px, rgba(0,0,0,0.1) 1px, transparent 1px, transparent 3px);
    pointer-events: none; z-index: 1;
}

#login .card {
    background: rgba(0, 255, 65, 0.03) !important;
    border: 1px solid rgba(0, 255, 65, 0.2) !important;
    border-radius: 4px !important;
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.05), inset 0 0 30px rgba(0, 255, 65, 0.02) !important;
    position: relative;
    z-index: 2;
    max-width: 420px;
    padding: 30px !important;
}

#login .card::before {
    content: '\2620';
    display: block;
    text-align: center;
    font-size: 50px;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 20px #ff0040);
    animation: pulse-skull 2s ease-in-out infinite;
}

#login .card h1,
#login .card .branding {
    font-family: 'Orbitron', sans-serif !important;
    color: #ff0040 !important;
    text-shadow: 0 0 10px #ff0040, 0 0 20px #ff0040 !important;
    letter-spacing: 4px !important;
    font-size: 20px !important;
    text-align: center;
    animation: glitch-text 3s infinite;
}

#login .card::after {
    content: 'AUTHORIZED PERSONNEL ONLY';
    display: block;
    text-align: center;
    font-size: 12px;
    color: #00ff41;
    letter-spacing: 3px;
    opacity: 0.6;
    margin-bottom: 15px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

#login input {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(0, 255, 65, 0.3) !important;
    color: #00ff41 !important;
    font-family: 'Segoe UI', Arial, sans-serif !important;
    font-size: 15px !important;
    border-radius: 2px !important;
    caret-color: #00ff41;
    padding: 12px 15px !important;
}

#login input:focus {
    border-color: #00ff41 !important;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2) !important;
}

#login input::placeholder {
    color: rgba(0, 255, 65, 0.25) !important;
}

#login input:-webkit-autofill {
    -webkit-text-fill-color: #00ff41 !important;
    -webkit-box-shadow: 0 0 0 1000px #000 inset !important;
}

#login button,
#login input[type="submit"] {
    background: transparent !important;
    border: 1px solid #ff0040 !important;
    color: #ff0040 !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 5px !important;
    text-transform: uppercase !important;
    border-radius: 2px !important;
    padding: 14px !important;
    cursor: pointer;
    transition: all 0.3s !important;
}

#login button:hover,
#login input[type="submit"]:hover {
    background: #ff0040 !important;
    color: #000 !important;
    box-shadow: 0 0 30px rgba(255, 0, 64, 0.5) !important;
}

#login .wrong {
    color: #ff0040 !important;
    text-shadow: 0 0 10px rgba(255, 0, 64, 0.5);
}

#login .card img,
#login .card svg,
#login .card .logo {
    display: none !important;
}

#login label {
    color: #00ff41 !important;
    font-family: 'Segoe UI', Arial, sans-serif !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    opacity: 0.8;
}

/* ── ANIMATIONS ── */
@keyframes pulse-skull {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes glitch-text {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 1px); text-shadow: 2px 0 #00ff41, -2px 0 #ff0040; }
    94% { transform: translate(2px, -1px); text-shadow: -2px 0 #00ff41, 2px 0 #ff0040; }
    96% { transform: translate(0); }
}

/* ── MAIN APP ── */
#app .branding {
    font-family: 'Orbitron', sans-serif !important;
    letter-spacing: 2px !important;
}
