/* ========== ESTILOS DE AUTENTICACIÓN (LOGIN / REGISTRO) ========== */
.auth-container {
    max-width: 500px;
    margin: 60px auto;
    padding: 0 20px;
    color: white;
}

.auth-card {
    background-color: var(--secundary-bg-color);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-top: 3px solid var(--yellow-light-color);
}

/* Sistema de Pestañas */
.auth-tabs {
    display: flex;
    background-color: var(--primary-bg-color);
    border-radius: 30px;
    padding: 5px;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--gray-light-color);
    padding: 10px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: var(--yellow-light-color);
    color: var(--primary-text-color);
}

/* Secciones de los formularios */
.auth-section {
    display: none;
}

.auth-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--gray-light-color);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

/* Campos del formulario */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--gray-light-color);
}

.form-group input {
    background-color: var(--primary-bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--yellow-light-color);
}

.btn-auth {
    background-color: var(--yellow-light-color);
    color: var(--primary-text-color);
    border: none;
    padding: 14px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    margin-top: 10px;
}

.btn-auth:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 480px) {
    .auth-container {
        margin: 30px auto;
    }
    .auth-card {
        padding: 24px;
    }
}