/* ESTILOS DEL HEADER SUPERIOR - MOVIDOS DESDE STYLES.CSS */

/* HEADER SUPERIOR */
.top-header {
    background: #232323;
    height: 90px;
    width: 100vw;
    margin: -15px -15px 20px -15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px 0 20px;
    position: relative;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.header-logo {
    height: 60px;
    width: auto;
}

.filter-tabs {
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.filter-tab {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-family: Arial, sans-serif;
}

.filter-tab:hover {
    background: linear-gradient(135deg, #ff0080, #e91e63);
}

.filter-tab.active {
    background: linear-gradient(135deg, #ff0080, #e91e63);
    font-weight: bold;
}

/* BOTONES DE VOLVER PARA HEADER DINÁMICO */
.back-btn-new {
    background: #444;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
    font-family: Arial, sans-serif;
    cursor: pointer;
}

.back-btn-new:hover {
    background: #666;
}

/* ESTILOS PARA MENÚ DE USUARIO - HEADER DINÁMICO */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-menu-container {
    position: relative;
}

.user-menu-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.user-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 16px;
    border-bottom: 1px solid #444;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.user-type {
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid #444;
    margin: 0;
}

.dropdown-item {
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-item svg {
    flex-shrink: 0;
}



/* RESPONSIVE PARA HEADER */

/* Tablets y móviles grandes */
@media (max-width: 768px) {
    .top-header {
        height: 70px;
        margin: -10px -10px 15px -10px;
        padding: 0 12px;
    }
    
    .header-logo {
        height: 45px;
    }
    
    .filter-tabs {
        gap: 8px;
        margin-right: 15px;
    }
    
    .filter-tab {
        font-size: 13px;
        padding: 5px 10px;
    }

    /* Responsive para menú de usuario */
    .header-right {
        gap: 10px;
    }
    
    .user-menu-btn {
        width: 36px;
        height: 36px;
    }
    
    .user-dropdown {
        min-width: 180px;
        top: 45px;
    }
    
    .user-info {
        padding: 12px;
    }
    
    .user-name {
        font-size: 14px;
    }
    
    .dropdown-item {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* Responsive del reproductor - MOVIDO A styles-reproductor.css */
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .top-header {
        height: 70px;
        padding: 0 30px;
        gap: 10px;
    }
    
    .header-logo {
        height: 35px;
    }
    
    .filter-tabs {
        gap: 5px;
        margin-right: 10px;
    }
    
    .filter-tab {
        font-size: 11px;
        padding: 4px 6px;
        border-radius: 3px;
    }

    .header-right {
        gap: 8px;
    }
    
    .user-menu-btn {
        width: 32px;
        height: 32px;
    }
    
    .user-dropdown {
        min-width: 160px;
        top: 40px;
    }

    /* Responsive del reproductor - MOVIDO A styles-reproductor.css */
}