/* ==========================================================================
   DISEÑO ESPECÍFICO DE ACCESO (LOGIN/REGISTRO)
   ========================================================================== */

/* Contenedor principal que centra el formulario entre header y footer */
.access-main {
    background: var(--bg-light);
    min-height: calc(100vh - 70px - 300px); /* Ajuste según altura aproximada de header y footer */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

/* Contenedor limitado del área de autenticación */
.auth-container {
    width: 100%;
    max-width: 420px;
}

/* Caja blanca que contiene los formularios */
.auth-box {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* Pestañas de navegación (Tabs) */
.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: #f1f5f9;
    padding: 0.5rem;
    border-radius: 16px;
}

.auth-tab {
    flex: 1;
    padding: 0.8rem;
    border: none;
    background: transparent;
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.95rem;
}

.auth-tab.active {
    background: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.auth-tab:hover:not(.active) {
    color: var(--text-primary);
}

/* Estilos para el formulario dentro de la caja */
.auth-box form {
    display: flex;
    flex-direction: column;
}

.auth-box .form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.auth-box input {
    background: #f8fafc;
    border: 2px solid transparent;
}

.auth-box input:focus {
    background: var(--bg-white);
    border-color: var(--primary);
}

/* Diseño responsivo para la caja de acceso */
@media (max-width: 480px) {
    .auth-box {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .access-main {
        padding: 2rem 1rem;
    }
}
