/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #030303;
    /* Degradado sutil como el de la imagen */
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.logo {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 2px;
    color: white; /* O puedes poner tu color azul neón: #00eaff */
    text-transform: uppercase;
}

.register-btn {
    text-decoration: none;
    color: #ccc;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.register-btn:hover {
    color: white;
}

/* CONTENEDOR CENTRAL */
.login-container {
    margin: auto;
    width: 100%;
    max-width: 480px;
    padding: 20px;
    text-align: center;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #999;
    font-size: 15px;
    margin-bottom: 40px;
}

/* FORMULARIO */
.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 8px;
    margin-left: 2px;
}

.input-group input {
    width: 100%;
    padding: 16px;
    background-color: #262626; /* Gris oscuro HBO */
    border: 1px solid transparent;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.input-group input:focus {
    background-color: #333;
    border-color: #00eaff; /* Toque de color Zero Flix al enfocar */
    box-shadow: 0 0 0 2px rgba(0, 234, 255, 0.2);
}

/* BOTÓN */
#btn-submit {
    width: 100%;
    padding: 16px;
    margin-top: 10px;
    border: none;
    border-radius: 30px; /* Bordes muy redondos estilo HBO/Netflix */
    background: white; /* Botón blanco resalta en fondo negro */
    color: black;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

#btn-submit:hover {
    background-color: #e6e6e6;
    transform: scale(1.01);
}

#btn-submit:active {
    transform: scale(0.98);
}

/* ERROR MESSAGE */
#error-msg {
    color: #ff4d4d;
    font-size: 13px;
    margin-bottom: 15px;
    min-height: 18px;
    font-weight: 500;
}

/* FOOTER LINKS */
.footer-links {
    margin-top: 30px;
}

.footer-links a {
    color: #00eaff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .login-container {
        padding: 30px;
    }
    h1 { font-size: 28px; }
}