/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #030303;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    color: white;
    min-height: 100vh; /* Usamos min-height para que scrollee si es necesario */
    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;
    text-transform: uppercase;
}

.login-btn {
    text-decoration: none;
    color: #ccc;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.login-btn:hover { color: white; }

/* CONTENEDOR */
.register-container {
    margin: auto;
    width: 100%;
    max-width: 500px; /* Un poco más ancho que el login */
    padding: 100px 20px 40px 20px; /* Padding top extra por el navbar */
    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: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #999;
    font-size: 15px;
    margin-bottom: 30px;
}

/* INPUTS */
.input-group {
    text-align: left;
    margin-bottom: 15px;
}

.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;
    border: 1px solid transparent;
    border-radius: 4px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.input-group input:focus {
    background-color: #333;
    border-color: #00eaff;
    box-shadow: 0 0 0 2px rgba(0, 234, 255, 0.2);
}

/* BOTÓN */
#btn-submit {
    width: 100%;
    padding: 16px;
    margin-top: 15px;
    border: none;
    border-radius: 30px;
    background: white;
    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);
}

/* MENSAJES */
#error-msg {
    color: #ff4d4d;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 500;
    min-height: 20px;
}

#success-msg {
    color: #00eaff;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* FOOTER */
.footer-links {
    margin-top: 25px;
    font-size: 12px;
    color: #666;
}

.footer-links a { color: #ccc; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 600px) {
    .navbar { padding: 15px 20px; }
    .register-container { padding-top: 80px; }
    h1 { font-size: 26px; }
}