:root {
    --bg-deep: #020202;
    --panel-bg: #0a0a0a;
    --border-color: #1f1f1f;
    --accent: #ff0055; /* Rojo neón para admin */
    --accent-glow: rgba(255, 0, 85, 0.4);
    --text-main: #ffffff;
    --text-muted: #666;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: radial-gradient(circle at center, #111 0%, #000 70%);
}

.admin-container {
    width: 100%; max-width: 380px;
    padding: 40px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px; /* Bordes más cuadrados, más técnico */
    text-align: center;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

/* Línea superior roja */
.admin-container::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

.security-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 0, 85, 0.1);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 50px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 0, 85, 0.2);
}

h1 { font-size: 26px; font-weight: 800; letter-spacing: 2px; margin-bottom: 5px; }
h1 span { color: var(--accent); }
.subtitle { color: var(--text-muted); font-size: 13px; margin-bottom: 35px; }

/* INPUTS */
.input-box {
    position: relative; margin-bottom: 20px;
}
.input-box i {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: #444; font-size: 14px; transition: color 0.3s;
}
.input-box input {
    width: 100%;
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 14px 15px 14px 40px;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s;
    font-family: 'JetBrains Mono', monospace;
}
.input-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.1);
}
.input-box input:focus ~ i { color: var(--accent); }

/* BOTÓN */
button {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    text-transform: uppercase;
}
button:hover {
    background: #cc0044;
    box-shadow: 0 0 20px var(--accent-glow);
}
button:disabled { opacity: 0.6; cursor: not-allowed; }

.footer-info {
    margin-top: 40px;
    font-size: 11px;
    color: #333;
    display: flex; justify-content: center; align-items: center; gap: 6px;
}

/* TOASTS */
#toast-container { position: fixed; top: 20px; right: 20px; z-index: 999; }
.toast {
    background: #1a1a1a; color: #fff; padding: 15px 20px;
    border-left: 3px solid var(--accent);
    border-radius: 4px; font-size: 13px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    display: flex; align-items: center; gap: 10px;
    animation: slideIn 0.3s ease;
    margin-bottom: 10px;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }