/* Estilos base con Quicksand */
body {
    font-family: 'Quicksand', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    margin: 0;
    padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Contenedor Principal */
.contenedor {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
}

/* Paneles Activos */
.registro {
    display: none;
    animation: fadeIn 0.4s;
}

.registro.activo {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cabecera */
.header {
    text-align: center;
    margin-bottom: 20px;
}
.header img {
    margin-bottom: 10px;
}
.header h6 {
    font-size: 1.2rem;
    color: #0d47a1;
    margin: 0;
}
.header hr {
    border: 0;
    height: 2px;
    background: #e0e0e0;
    margin-top: 15px;
}

/* Estructura de Formularios (Regla Estricta) */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.contenedor-input {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    padding: 5px 10px;
}

.contenedor-input svg {
    width: 20px;
    height: 20px;
    color: #555;
    margin-right: 10px;
}

.contenedor-input input,
.contenedor-input select,
.contenedor-input textarea {
    border: none;
    outline: none;
    width: 100%;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 14px;
    background: transparent;
}

/* Botones (Regla Estricta) */
.contenedor-boton {
    text-align: right;
    margin-top: 20px;
}

.btn-login, #btn-login, .btn-primary {
    background-color: #0d47a1;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-login:hover, .btn-primary:hover {
    background-color: #1565c0;
}

.btn-secondary {
    background-color: #757575;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    cursor: pointer;
    margin-right: 10px;
}

/* Navegación Fases */
.nav-fases {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.nav-fases button {
    background: #e0e0e0;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: #333;
}
.nav-fases button.active {
    background: #0d47a1;
    color: white;
}
