/* ========================================
   LP MENU LOGIN - ESTILOS
   ======================================== */

#custom-login-menu {
    min-height: auto;
    padding: 0;
    margin: 0;
}

/* Ocultar mensaje placeholder */
#custom-login-menu:empty:before {
    display: none;
}

/* Contenedor del menú */
.lp-login-menu {
    padding: 0;
    margin: 0;
}

.lp-login-menu p {
    padding-left: 10px;
    cursor: default;
    font-size: 14px;
}

/* Lista de menú */
.lp-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Items del menú */
.lp-menu-item {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    color: #2c3e50;
}

.lp-menu-item:last-child {
    border-bottom: none;
}

.lp-menu-item:hover {
    background-color: #f8f9fa;
}

/* Enlaces del menú */
.lp-menu-link {
    display: block;
    padding: 12px 15px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-menu-link:hover {
    color: #ff6900;
    padding-left: 20px;
}

/* Iconos */
.lp-menu-icon {
    width: 16px;
    display: inline-block;
    text-align: center;
    color: #7f8c8d;
}

.lp-menu-link:hover .lp-menu-icon {
    color: #ff6900;
}

/* Items de información (nombre, estado, puntos) */
.lp-menu-info {
    padding: 12px 15px;
    color: #34495e;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-menu-info-label {
    font-weight: 600;
    color: #2c3e50;
}

.lp-menu-info-value {
    color: #7f8c8d;
    margin-left: auto;
}

/* Header del menú (cuando está logueado) */
.lp-menu-header {
    background: linear-gradient(135deg, #1c2f49 0%, #2c4a6f 100%);
    padding: 15px;
    color: white;
    border-radius: 4px 4px 0 0;
    margin-bottom: 5px;
}

.lp-menu-user-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
}

.lp-menu-user-level {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Botón de logout */
.lp-menu-logout {
    display: block;
    width: 100%;
    padding: 12px 15px;
    background: #e74c3c;
    color: white;
    border: none;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-menu-logout:hover {
    background: #c0392b;
}

.lp-menu-logout .lp-menu-icon {
    color: white;
}

/* Estado de carga */
.lp-menu-loading {
    text-align: center;
    padding: 20px;
    color: #95a5a6;
}

/* Separador */
.lp-menu-separator {
    height: 1px;
    background: #ecf0f1;
    margin: 5px 0;
}

/* Botones primarios (Acceder, Suscribirse) */
.lp-menu-primary {
    background: linear-gradient(135deg, #ff6900 0%, #ff8534 100%);
    color: white !important;
    font-weight: 600;
}

.lp-menu-primary:hover {
    background: linear-gradient(135deg, #e55a00 0%, #ff6900 100%);
    padding-left: 15px;
}

.lp-menu-primary .lp-menu-icon {
    color: white;
}

/* Animación de entrada */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lp-login-menu {
    animation: slideIn 0.3s ease;
}

/* Badges para puntos y nivel */
.lp-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: #ff6900;
    color: white;
}

.lp-badge-points {
    background: #3498db;
}

.lp-badge-level {
    background: #27ae60;
}

/* Responsive */
@media (max-width: 480px) {
    .lp-menu-link,
    .lp-menu-info,
    .lp-menu-logout {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .lp-menu-header {
        padding: 12px;
    }
    
    .lp-menu-user-name {
        font-size: 14px;
    }
}
