:root {
    --primary: #1e3a8a; /* Azul Marino Corporativo */
    --accent: #3b82f6;
    --success: #10b981;
    --bg: #f8fafc;
    --text-main: #1e293b;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body {
    background-color: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Contenedor del Login */
.login-container {
    width: 100%;
    max-width: 450px;
}

.login-box {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.header { margin-bottom: 30px; }
.logo-icon { font-size: 3rem; margin-bottom: 10px; display: block; }
h1 { color: var(--primary); font-size: 1.8rem; font-weight: 600; }
p { color: #64748b; font-size: 0.9rem; }

/* Formularios */
.input-group { text-align: left; margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.85rem; color: var(--text-main); }
input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
}
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }

/* Botones */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.btn-primary:hover { background: #1e40af; }
.btn-secondary { background: #94a3b8; margin-top: 10px; }

/* Modal de Registro */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8);
    display: flex; justify-content: center; align-items: center;
    z-index: 1000;
}
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
}
.hidden { display: none; }

/* Responsivo */
@media (max-width: 480px) {
    .login-box { padding: 30px 20px; }
}