* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f0f23;
    color: #ffffff;
    overflow-x: hidden;
    padding-bottom: 120px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(5, 5, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2a9d8a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 20px;
}

.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-bar {
    width: 100%;
    padding: 12px 20px 12px 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-bar:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #2a9d8a;
    box-shadow: 0 0 20px rgba(42, 157, 138, 0.3);
}

.search-bar::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

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

.favorites-btn:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* Menú de Biblioteca */
.library-menu-container {
    position: relative;
}

.library-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(5, 5, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.library-menu-container:hover .library-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.library-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #2a9d8a;
}

.library-menu-item i {
    width: 16px;
    font-size: 14px;
}

/* Contenido Principal */
.main-content {
    margin-top: 80px;
    padding: 30px;
}

/* Sección Hero */
.hero-section {
    position: relative;
    height: 400px;
    margin-bottom: 50px;
    overflow: hidden;
    border-radius: 20px;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 40px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(1.5px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 157, 138, 0.8) 0%, rgba(69, 183, 184, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: center;
}

.hero-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-btn.primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2a9d8a;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.hero-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(42, 157, 138, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-btn.primary:hover::before {
    left: 100%;
}

.hero-btn.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #ffffff 0%, #e9ecef 100%);
    color: #1a7a6b;
}

.hero-btn.secondary {
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-btn.secondary:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.section {
    margin-bottom: 50px;
}

.section-header {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.section-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.section-text {
    flex: 1;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Botón Crear Playlist */
.create-playlist-btn {
    padding: 12px 24px;
    border-radius: 25px;
    background: #2a9d8a;
    color: #ffffff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.create-playlist-btn:hover {
    background: #45b7b8;
    transform: translateY(-2px);
}

/* Controles de Playlist */
.playlist-card {
    position: relative;
}

.action-buttons-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Menú Contextual */
.context-menu-container {
    position: relative;
}

.share-item:hover {
    color: #2a9d8a;
}

.edit-item:hover {
    color: #2a9d8a;
}

.delete-item:hover {
    color: #ff6b6b;
}

.save-item:hover {
    color: #2a9d8a;
}

/* Sistema de Carrusel */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
}

.carousel-track .content-card {
    flex: 0 0 auto;
    width: calc((100% - 80px) / 5); /* 5 cards en desktop */
    margin: 0;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    padding: 0 10px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(5, 5, 15, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 1);
    border-color: #2a9d8a;
    color: #2a9d8a;
}


/* Grid fallback para cuando no hay carrusel */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.content-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-image {
    width: 100%;
    height: 200px;
    background: #2a9d8a;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ffffff;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
}

.card-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    flex-shrink: 0;
    white-space: nowrap;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    flex-shrink: 0;
}

.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2a9d8a;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.play-btn:hover {
    background: #45b7b8;
    transform: scale(1.1);
}

/* Estilos base para action-btn - sobrescritos por estilos específicos */

/* Corazones rojos en la sección de favoritos */
.favorite-heart {
    color: #ff6b6b !important;
}

.favorite-heart:hover {
    color: #ff5252 !important;
    background: rgba(255, 107, 107, 0.2) !important;
}

.categories-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-container::-webkit-scrollbar {
    display: none;
}

.category-card {
    min-width: 200px;
    height: 120px;
    background: #2a9d8a;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(5, 5, 15, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 350px;
}

.player-image {
    width: 50px;
    height: 50px;
    background: #2a9d8a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.player-details h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.player-details p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.player-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-right: 153px;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 800px; /* Hacer la barra más ancha */
    justify-content: space-between;
}

.time-display {
    font-size: 12px;
    color: #b3b3b3;
    font-weight: 400;
    min-width: 40px;
    text-align: center;
    flex-shrink: 0;
    margin: 0 10px;
}

.progress-bar {
    width: 100%;
    height: 6px; /* Hacer la barra más gruesa */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    flex: 1;
}

.progress-fill {
    height: 100%;
    background: #2a9d8a;
    border-radius: 3px;
    width: 30%;
    transition: width 0.1s ease;
}

/* Responsive para la barra de progreso */
@media (max-width: 768px) {
    .progress-container {
        max-width: 100%;
    }
    
    .time-display {
        min-width: 35px;
        font-size: 11px;
        margin: 0 8px;
    }
    
    .progress-bar {
        height: 5px;
    }
}

@media (max-width: 480px) {
    .time-display {
        min-width: 30px;
        font-size: 10px;
        margin: 0 5px;
    }
    
    .progress-bar {
        height: 4px;
    }
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.play-pause-btn {
    width: 48px;
    height: 48px;
    background: #2a9d8a;
    color: #ffffff;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.play-pause-btn:hover {
    background: #45b7b8;
    transform: scale(1.1);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.volume-fill {
    height: 100%;
    background: #2a9d8a;
    border-radius: 2px;
    width: 70%;
}

.player-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.player-actions .action-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.player-actions .action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #2a9d8a;
    transform: scale(1.1);
}


.player-actions .add-to-playlist-btn:hover {
    color: #2a9d8a;
}

.player-actions .context-menu-btn:hover {
    color: #2a9d8a;
}

/* Responsive */
/* Desktop grande - 5 cards */
@media (min-width: 1200px) {
    .carousel-track .content-card {
        width: calc((100% - 80px) / 5); /* 5 cards en desktop grande */
    }
}

/* Desktop mediano - 4 cards */
@media (max-width: 1199px) and (min-width: 1025px) {
    .carousel-track .content-card {
        width: calc((100% - 80px) / 4); /* 4 cards en desktop mediano */
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .carousel-track .content-card {
        width: calc((100% - 60px) / 4); /* 4 cards en tablet */
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .search-container {
        margin: 0 20px;
    }

    .main-content {
        padding: 20px;
    }

    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .card-image {
        height: 180px;
    }

    .player {
        padding: 15px 20px;
    }

    .player-info {
        min-width: 280px;
    }

    .player-actions {
        gap: 6px;
        margin-left: 8px;
    }

    .player-actions .action-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
        padding: 4px;
    }

    /* Hero responsive */
    .hero-section {
        height: 350px;
        margin-bottom: 30px;
    }

    .hero-container {
        padding-left: 20px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .hero-btn {
        flex: 1;
        max-width: 200px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
    }

    .hero-visual {
        flex: none;
    }

    .hero-image {
        height: 250px;
    }

    /* Carrusel mobile */
    .carousel-track .content-card {
        width: calc((100% - 40px) / 3); /* 3 cards en mobile */
    }

    .carousel-controls {
        margin-bottom: 15px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    /* Section header mobile */
    .section-header {
        margin-bottom: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Botón crear playlist mobile */
    .create-playlist-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Controles mobile */
    .carousel-controls {
        padding: 0 5px;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    animation: fadeInUp 0.6s ease forwards;
}

.content-card:nth-child(1) { animation-delay: 0.1s; }
.content-card:nth-child(2) { animation-delay: 0.2s; }
.content-card:nth-child(3) { animation-delay: 0.3s; }
.content-card:nth-child(4) { animation-delay: 0.4s; }
.content-card:nth-child(5) { animation-delay: 0.5s; }
.content-card:nth-child(6) { animation-delay: 0.6s; }

.card-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 10;
}

.playlist-tag {
    background: #2a9d8a;
    color: #ffffff;
}

.song-tag {
    background: #2a9d8a;
    color: #ffffff;
}

.album-tag {
    background: #2a9d8a;
    color: #ffffff;
}

/* Botón Hamburguesa */
.hamburger-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

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

/* Panel Lateral */
.sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: rgba(5, 5, 15, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.sidebar.open {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-header h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.close-sidebar-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.close-sidebar-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-content {
    padding: 20px;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-section-title i {
    color: #2a9d8a;
    font-size: 14px;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Botón Crear Playlist */
.create-playlist-btn {
    width: 100%;
    background: linear-gradient(135deg, #2a9d8a, #1e7a6b);
    color: #ffffff;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.create-playlist-btn:hover {
    background: linear-gradient(135deg, #1e7a6b, #2a9d8a);
    transform: translateY(-1px);
}

.create-playlist-btn i {
    font-size: 12px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-item-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2a9d8a, #1db954);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
}

/* Fondo específico para "Canciones que te gustan" */
.sidebar-item.pinned-item .sidebar-item-icon {
    background: #2a9d8a;
}

.sidebar-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.sidebar-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.sidebar-item-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 2px 4px 2px 0;
    border-radius: 4px;
    position: relative;
}

.sidebar-item-info:hover .sidebar-item-title {
    color: #2a9d8a;
}

.sidebar-item-info:hover .sidebar-item-subtitle {
    color: #2a9d8a;
}

.sidebar-item-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sidebar-play-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.8);
}

.sidebar-item:hover .sidebar-play-btn {
    opacity: 1;
    transform: scale(1);
}

.sidebar-play-btn:hover {
    background: #2a9d8a;
    color: #ffffff;
    border-color: #2a9d8a;
    transform: scale(1.1);
}

/* Overlay del panel lateral */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Panel de Notificaciones */
.notifications-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(5, 5, 15, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.notifications-panel.show {
    right: 0;
}

.notifications-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.notifications-header h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.close-notifications-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.close-notifications-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.notifications-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: #2A9D8A;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    flex-shrink: 0;
}

.notification-info {
    flex: 1;
    min-width: 0;
}

.notification-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.notification-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.notification-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 500;
}

.notifications-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.view-all-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.view-all-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Overlay para cerrar notificaciones */
.notifications-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notifications-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Panel de Ajustes de Usuario */
.user-settings-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: rgba(5, 5, 15, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.user-settings-panel.show {
    right: 0;
}

.user-settings-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2a9d8a, #1db954);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    overflow: hidden;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-info h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.user-info p {
    color: #2a9d8a;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.close-settings-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.close-settings-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.user-settings-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.settings-section {
    margin-bottom: 30px;
}

.settings-section-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-section-title i {
    color: #2a9d8a;
    font-size: 14px;
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.settings-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.settings-item i:first-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.settings-item span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.settings-item i:last-child {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.settings-value {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + label {
    background: #2a9d8a;
}

.toggle-switch input:checked + label:before {
    transform: translateX(20px);
}

.user-settings-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.logout-btn {
    width: 100%;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.logout-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.5);
    transform: translateY(-1px);
}

/* Overlay para cerrar ajustes */
.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.settings-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Filtros de Recomendaciones */
.recommendations-filters {
    display: flex;
    gap: 12px;
    margin: 20px 30px 30px 30px;
    flex-wrap: wrap;
}

.recommendations-filters .filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommendations-filters .filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
}

.recommendations-filters .filter-btn.active {
    background: #2a9d8a;
    color: #ffffff;
    border-color: #2a9d8a;
}

.recommendations-filters .filter-btn i {
    font-size: 12px;
}

.podcast-tag {
    background: #2a9d8a;
    color: #ffffff;
}

/* Página de Detalles de Playlist */
body:has(.playlist-hero) .main-content {
    margin-top: 0;
}

.playlist-hero {
    padding: 40px 0;
    margin-bottom: 40px;
    margin-top: 20px;
}

.playlist-hero-content {
    display: flex;
    gap: 30px;
    align-items: flex-end;
}

.playlist-image {
    width: 280px;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.playlist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-info {
    flex: 1;
    color: #ffffff;
}

.playlist-type {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.playlist-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #ffffff;
    line-height: 1.1;
}

.playlist-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 16px 0;
    line-height: 1.4;
    font-weight: 400;
}

.playlist-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.playlist-creator {
    font-weight: 600;
    color: #ffffff;
    font-size: 16px;
}

.playlist-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    color: #ffd700;
    font-size: 16px;
    transition: color 0.2s ease;
}

.rating-stars i.fa-star-half-alt {
    color: #ffd700;
}

.rating-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Estilos para página de resultados de búsqueda */
.search-results-section {
    padding: 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.search-results-header {
    margin-bottom: 30px;
}

.search-results-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.results-count {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.search-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.filter-btn.active {
    background: #2a9d8a;
    color: #ffffff;
    border-color: #2a9d8a;
}

/* Filtros Adicionales */
.additional-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

.filter-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.filter-select {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #2a9d8a;
    box-shadow: 0 0 10px rgba(42, 157, 138, 0.3);
}

.filter-select option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 8px;
}

.clear-filters-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.clear-filters-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
}

.clear-filters-btn i {
    font-size: 12px;
}

/* Responsive para filtros adicionales */
@media (max-width: 768px) {
    .additional-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .clear-filters-btn {
        margin-left: 0;
        justify-content: center;
    }
}

/* Estado simple de "No se encontraron resultados" */
.simple-no-results {
    text-align: left;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-style: italic;
}

/* Estado de "No se encontraron resultados" */
.no-results-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.no-results-icon i {
    font-size: 32px;
}

.no-results-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.no-results-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 400px;
}

.no-results-suggestions {
    margin-bottom: 30px;
}

.no-results-suggestions h4 {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.suggestion-tag {
    background: rgba(42, 157, 138, 0.2);
    color: #2a9d8a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(42, 157, 138, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-tag:hover {
    background: rgba(42, 157, 138, 0.3);
    transform: translateY(-1px);
}

.explore-btn {
    background: linear-gradient(135deg, #2a9d8a, #1e7a6b);
    border: none;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(42, 157, 138, 0.3);
}

.explore-btn:hover {
    background: linear-gradient(135deg, #1e7a6b, #2a9d8a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 157, 138, 0.4);
}

.explore-btn i {
    font-size: 14px;
}

/* Mejoras para múltiples resultados */

/* Indicador de más resultados */
.results-section.has-more {
    position: relative;
}

.results-section.has-more::after {
    display: none;
}

/* Filtros de Biblioteca en Sidebar */
.library-filters {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.library-filters .filter-group {
    margin-bottom: 12px;
}

.library-filters .filter-group:last-child {
    margin-bottom: 0;
}

.library-filters .filter-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    display: block;
}

/* Búsqueda en Biblioteca */
.library-search {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.library-search .search-container {
    position: relative;
    margin: 0;
    max-width: none;
}

.library-search-bar {
    width: 100%;
    padding: 10px 15px 10px 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.library-search-bar:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: #2a9d8a;
    box-shadow: 0 0 15px rgba(42, 157, 138, 0.2);
}

.library-search-bar::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.library-search .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    pointer-events: none;
}

.library-filter-select {
    width: 100%;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.library-filter-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #2a9d8a;
}

.library-filter-select option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 8px;
}

/* Distintivos para elementos del sidebar */
.sidebar-item-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.playlist-badge {
    background: #2a9d8a;
    color: #ffffff;
}

.album-badge {
    background: #2a9d8a;
    color: #ffffff;
}

.song-badge {
    background: #dc3545;
    color: #ffffff;
}

.artist-badge {
    background: #6c757d;
    color: #ffffff;
}

.podcast-badge {
    background: #2a9d8a;
    color: #ffffff;
}

/* Ajustar el sidebar-item para acomodar el distintivo */
.sidebar-item {
    position: relative;
    padding-right: 60px; /* Espacio para el distintivo */
    cursor: pointer;
}

/* Hover effect para el sidebar-item */
.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* Botón de play que aparece en hover sobre la imagen */
.sidebar-item .sidebar-item-icon {
    position: relative;
    transition: all 0.3s ease;
}

.sidebar-item:hover .sidebar-item-icon {
    opacity: 0.7;
}

.sidebar-item .sidebar-item-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2a9d8a;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.sidebar-item:hover .sidebar-item-icon::after {
    display: flex;
}

.sidebar-item .sidebar-item-icon::before {
    content: '\f04b'; /* Font Awesome play icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 16px;
    z-index: 2;
    display: none;
}

.sidebar-item:hover .sidebar-item-icon::before {
    display: block;
}

/* Ocultar el botón de play normal en hover */
.sidebar-item:hover .sidebar-play-btn {
    opacity: 0;
}

/* Elemento fijado */
.pinned-item {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(5, 5, 15, 0.95);
    backdrop-filter: blur(10px);
    margin-bottom: 8px;
}

/* Indicador de pin */
.pinned-indicator {
    display: inline-block;
    color: #2a9d8a;
    font-size: 12px;
    margin-right: 8px;
    vertical-align: middle;
    position: absolute;
    left: -20px;
}

/* Estilos para botones de edición y eliminación */
.edit-playlist-btn,
.delete-playlist-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edit-playlist-btn:hover {
    background: rgba(42, 157, 138, 0.2);
    border-color: #2a9d8a;
    color: #2a9d8a;
}

.delete-playlist-btn {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.delete-playlist-btn:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
}

.songs-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.song-remove-btn {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    opacity: 0;
    transform: scale(0.8);
}

.song-item:hover .song-remove-btn {
    opacity: 1;
    transform: scale(1);
}

.song-remove-btn:hover {
    background: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
    transform: scale(1.1);
}

.song-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

/* Estilos para modales */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.modal {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.close-modal-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.modal-content {
    padding: 24px;
}

.modal-content p {
    color: #ffffff;
    margin: 0 0 16px 0;
    font-size: 16px;
}

.modal-warning {
    color: #dc3545 !important;
    font-size: 14px !important;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #2a9d8a;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-actions {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-primary,
.btn-secondary,
.btn-danger {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: #2a9d8a;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1e7a6b;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: #dc3545;
    color: #ffffff;
}

.btn-danger:hover {
    background: #c82333;
}

/* Opción de eliminar en el menú contextual */
.delete-option {
    color: #dc3545 !important;
}

.delete-option:hover {
    background: rgba(220, 53, 69, 0.1) !important;
}

/* Estilos mejorados para cards de planes */
.plan-card {
    display: flex;
    flex-direction: column;
    height: 550px; /* Altura fija más grande para todas las cards */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: visible; /* Permite que el badge se vea fuera */
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(42, 157, 138, 0.3);
}

.plan-card.popular {
    border-color: #2a9d8a;
    background: rgba(42, 157, 138, 0.1);
    padding-top: 40px; /* Espacio adicional para el badge */
}

.plan-header {
    margin-bottom: 20px;
    text-align: center;
}

.plan-features {
    flex: 1; /* Ocupa el espacio disponible */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-footer {
    margin-top: auto; /* Empuja el footer hacia abajo */
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%; /* Asegura que ocupe todo el ancho */
}

.plan-btn {
    width: 100%; /* Asegura que el botón ocupe todo el ancho del footer */
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2a9d8a;
    color: #ffffff;
}

.plan-btn:hover {
    background: #45b7b8;
    transform: translateY(-2px);
}

.plan-btn.primary {
    background: #1db954;
}

.plan-btn.primary:hover {
    background: #1ed760;
}

.plan-btn.current {
    background: rgba(42, 157, 138, 0.2);
    color: #2a9d8a;
    border: 1px solid #2a9d8a;
    cursor: not-allowed;
    opacity: 0.7;
}

.plan-btn.current:hover {
    background: rgba(42, 157, 138, 0.2);
    color: #2a9d8a;
    transform: none;
    box-shadow: none;
}

/* Responsive para estado de no resultados */
@media (max-width: 768px) {
    .no-results-state {
        padding: 40px 15px;
    }
    
    .plan-card {
        height: auto;
        min-height: 500px;
    }
    
    .no-results-icon {
        width: 60px;
        height: 60px;
    }
    
    .no-results-icon i {
        font-size: 24px;
    }
}

.no-results-title {
    font-size: 20px;
}

.no-results-description {
    font-size: 14px;
}

.suggestion-tags {
    gap: 6px;
}

.suggestion-tag {
    font-size: 12px;
    padding: 4px 10px;
}

.explore-btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Responsive para sidebar */
@media (max-width: 768px) {
    .library-filters {
        padding: 12px 15px;
    }
    
    .library-search {
        padding: 12px 15px;
    }
    
    .library-search-bar {
        padding: 8px 12px 8px 35px;
        font-size: 13px;
    }
    
    .library-search .search-icon {
        left: 10px;
        font-size: 13px;
    }
}

/* ===== SECCIÓN DE CALIFICACIÓN ===== */
.rating-section {
    margin: 40px 0;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-container {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.rating-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.rating-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.rating-stars-container {
    margin-bottom: 25px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.rating-stars i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-stars i:hover,
.rating-stars i.fas {
    color: #2a9d8a;
    transform: scale(1.1);
}

.rating-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.rating-submit-btn {
    background: #2a9d8a;
    border: none;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rating-submit-btn:hover:not(:disabled) {
    background: #218a7a;
    transform: none;
}

.rating-submit-btn:active:not(:disabled) {
    background: #1a6b5e;
    transform: scale(0.98);
}

.rating-submit-btn:disabled {
    background: #1a6b5e;
    color: #ffffff !important;
    opacity: 1;
    cursor: not-allowed;
}

/* ===== SECCIÓN DE COMENTARIOS ===== */
.comments-section {
    margin: 40px 0;
    padding: 30px 0;
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.comments-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

/* Formulario de nuevo comentario */
.new-comment {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2a9d8a, #45b7b8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    flex-shrink: 0;
}

.comment-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
}

.comment-input:focus {
    outline: none;
    border-color: #2a9d8a;
    background: rgba(255, 255, 255, 0.1);
}

.comment-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.comment-submit-btn {
    background: #2a9d8a;
    border: none;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-submit-btn:hover:not(:disabled) {
    background: #218a7a;
    transform: none;
}

.comment-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Lista de comentarios */
.comments-list {
    margin-bottom: 30px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comment-author {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.comment-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.comment-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 12px;
}

.comment-actions {
    display: flex;
    gap: 20px;
}

/* Comentarios anidados */
.comment-replies {
    margin-top: 15px;
    margin-left: 20px;
    border-left: 2px solid rgba(42, 157, 138, 0.3);
    padding-left: 15px;
}

.comment-item.reply {
    margin-bottom: 15px;
}

.comment-item.reply:last-child {
    margin-bottom: 0;
}

.comment-action-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
}

.comment-action-btn:hover {
    color: #2a9d8a;
    background: rgba(42, 157, 138, 0.1);
}

.comment-action-btn span {
    font-size: 12px;
    font-weight: 500;
}

/* Botón cargar más comentarios */
.load-more-comments {
    text-align: center;
}

.load-more-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.load-more-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive para comentarios */
@media (max-width: 768px) {
    .rating-container {
        padding: 0 15px;
    }
    
    .rating-title {
        font-size: 20px;
    }
    
    .rating-stars i {
        font-size: 24px;
    }
    
    .comments-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .new-comment {
        flex-direction: column;
        gap: 12px;
    }
    
    .comment-submit-btn {
        align-self: stretch;
        justify-content: center;
    }
    
    .comment-actions {
        gap: 15px;
    }
}

/* ===== EFECTO HOVER PARA TILDES ===== */
.song-action-btn i.fa-check,
.context-menu-item i.fa-check {
    transition: all 0.2s ease;
    color: #2a9d8a; /* Verde por defecto */
}

.song-action-btn:hover i.fa-check,
.context-menu-item:hover i.fa-check {
    transform: scale(1.2);
    color: #e74c3c; /* Rojo al hacer hover */
}

.song-action-btn:hover i.fa-check::before,
.context-menu-item:hover i.fa-check::before {
    content: '\f00d'; /* Cambia a X */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* ===== BORDES VISIBLES PARA BOTONES ===== */


/* ===== FILTROS RÁPIDOS CON CHIPS ===== */
.quick-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.filter-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.filter-chip:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
}

.filter-chip.active {
    background: #2a9d8a;
    color: #ffffff;
    border-color: #2a9d8a;
}


.filter-chip i {
    font-size: 12px;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.sort-select {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.sort-select:focus {
    outline: none;
    border-color: #2a9d8a;
    background: rgba(42, 157, 138, 0.1);
}

.sort-select option {
    background: #1a1a2e;
    color: #ffffff;
}

/* Responsive para filtros rápidos */
@media (max-width: 768px) {
    .quick-filters {
        padding: 15px;
        gap: 15px;
    }
    
    .filter-chips {
        gap: 8px;
    }
    
    .filter-chip {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .sort-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .sort-select {
        width: 100%;
        min-width: auto;
    }
}

/* ===== ESTÉTICA UNIFICADA PARA BOTONES DE CARDS ===== */
.action-btn {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    cursor: pointer !important;
}

.action-btn:hover {
    background: rgba(42, 157, 138, 0.2) !important;
    color: #2a9d8a !important;
    border-color: #2a9d8a !important;
    transform: scale(1.1) !important;
}

.context-menu-btn {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    cursor: pointer !important;
}

.context-menu-btn:hover {
    background: rgba(42, 157, 138, 0.2) !important;
    color: #2a9d8a !important;
    border-color: #2a9d8a !important;
    transform: scale(1.1) !important;
}


.results-section {
    margin-bottom: 80px;
}

.results-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.artist-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.artist-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.artist-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2a9d8a, #1db954);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: #ffffff;
}

.artist-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.artist-genre {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.playlists-grid,
.albums-grid,
.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}


.playlist-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.play-btn-large {
    background: #2a9d8a;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn-large:hover {
    background: #45b7b8;
    transform: scale(1.05);
}

.playlist-context-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.playlist-context-btn:hover {
    background: rgba(42, 157, 138, 0.2);
    color: #2a9d8a;
    border-color: #2a9d8a;
    transform: scale(1.05);
}

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

.action-btn-large:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Sección de Canciones */
.songs-section {
    margin-bottom: 50px;
}

.songs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.songs-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.shuffle-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shuffle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.songs-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Encabezado de la tabla */
.song-header {
    display: grid;
    grid-template-columns: 40px 1fr 200px 150px 60px 80px;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid rgba(42, 157, 138, 0.3);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
}

.song-header-number {
    text-align: center;
}

.song-header-info {
    font-weight: 600;
}


.song-header-date {
    font-weight: 600;
}

.song-header-album {
    font-weight: 600;
}

.song-header-duration {
    text-align: center;
    font-weight: 600;
}

.song-header-actions {
    text-align: center;
}

/* Columna de fecha */
.song-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
}

/* Columna de álbum */
.song-album {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Menú contextual */
.context-menu {
    position: fixed;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    /* Mejorar la experiencia del hover */
    overflow: hidden;
}

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

.context-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    border: none;
    background: none;
    width: 100%;
    /* Mejorar el hover */
    position: relative;
    margin: 0;
    box-sizing: border-box;
}

.context-menu-item:hover {
    background: rgba(42, 157, 138, 0.2);
    color: #2a9d8a;
    transform: translateX(4px);
}

/* Asegurar que el hover funcione en toda el área del item */
.context-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: transparent;
    transition: background 0.3s ease;
}

.context-menu-item:hover::before {
    background: rgba(42, 157, 138, 0.2);
}

.context-menu-item i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.context-menu-item:first-child {
    border-radius: 12px 12px 0 0;
}

.context-menu-item:last-child {
    border-radius: 0 0 12px 12px;
}

.context-menu-item:only-child {
    border-radius: 12px;
}

/* Mejorar el hover en los bordes redondeados */
.context-menu-item:first-child::before {
    border-radius: 12px 12px 0 0;
}

.context-menu-item:last-child::before {
    border-radius: 0 0 12px 12px;
}

.context-menu-item:only-child::before {
    border-radius: 12px;
}

/* Asegurar que el hover cubra toda el área clickeable */
.context-menu-item {
    min-height: 44px; /* Altura mínima para mejor usabilidad */
    display: flex;
    align-items: center;
}

/* Mejorar la experiencia del hover en todo el menú */
.context-menu {
    /* Asegurar que no haya espacios entre items */
    padding: 0;
}

.context-menu-item {
    /* Eliminar cualquier margen que pueda causar problemas de hover */
    margin: 0;
    border: none;
    outline: none;
}

/* Hover más suave y consistente */
.context-menu-item:hover {
    background: rgba(42, 157, 138, 0.2) !important;
    color: #2a9d8a !important;
    transform: translateX(4px);
}

/* Asegurar que el área de hover sea consistente */
.context-menu-item * {
    pointer-events: none; /* Evitar que elementos hijos interfieran con el hover */
}

/* Estilos adicionales para mejorar el hover */
.context-menu-item {
    /* Asegurar que el hover funcione en toda el área */
    position: relative;
    z-index: 1;
}

.context-menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: inherit;
}

.context-menu-item:hover::after {
    background: rgba(42, 157, 138, 0.1);
}

.song-item {
    display: grid;
    grid-template-columns: 40px 1fr 200px 150px 60px 80px;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 60px;
}

.song-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

/* Efectos de hover para la imagen de la canción */
.song-item .song-image {
    position: relative;
    transition: all 0.3s ease;
}

.song-item:hover .song-image {
    opacity: 0.7;
}

.song-item .song-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(42, 157, 138, 0.9);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.song-item:hover .song-image::after {
    display: flex;
}

.song-item .song-image::before {
    content: '\f04b'; /* Font Awesome play icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 14px;
    z-index: 2;
    display: none;
}

.song-item:hover .song-image::before {
    display: block;
}

/* Efectos de hover para el título y artista */
.song-item:hover .song-title {
    color: #2a9d8a;
}

.song-item:hover .song-artist {
    color: #2a9d8a;
}

/* Ocultar botones de acción en hover para mostrar el efecto de play */
.song-item:hover .song-actions {
    opacity: 0.3;
}

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

/* Estilos específicos para canciones en search-results */
.search-song-item {
    position: relative;
}

.search-song-image {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-song-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-play-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 157, 138, 0.9);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2;
}

.search-play-btn:hover {
    background: rgba(42, 157, 138, 1);
    transform: scale(1.02);
}

.search-song-item:hover .search-song-cover {
    opacity: 0.3;
    filter: brightness(0.5);
}

.search-song-item:hover .search-play-btn {
    opacity: 1;
    visibility: visible;
}

.search-song-item:hover .song-title {
    color: #2a9d8a;
}

.search-song-item:hover .song-artist {
    color: #2a9d8a;
}

.song-number {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-align: center;
}

.song-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.song-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a9d8a, #1db954);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.song-image i {
    font-size: 16px;
    color: #ffffff;
}

.song-details {
    flex: 1;
}

.song-title {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.song-artist {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}


.song-duration {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
}

.song-actions {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-left: 20px;
}

.song-item:hover .song-actions {
    opacity: 1;
}

.song-action-btn {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    cursor: pointer !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.song-action-btn:hover {
    background: rgba(42, 157, 138, 0.2) !important;
    color: #2a9d8a !important;
    border-color: #2a9d8a !important;
    transform: scale(1.1) !important;
}

/* Responsive para página de detalles */
@media (max-width: 768px) {
    .playlist-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .playlist-image {
        width: 240px;
        height: 240px;
    }
    
    .playlist-title {
        font-size: 32px;
    }
    
    .song-header {
        grid-template-columns: 30px 1fr 60px;
        gap: 12px;
        padding: 8px 12px;
    }
    
    .song-header-album {
        display: none;
    }
    
    .song-header-date {
        display: none;
    }
    
    .song-item {
        grid-template-columns: 30px 1fr 60px;
        gap: 12px;
        padding: 8px 12px;
    }
    
    .song-album {
        display: none;
    }
    
    .song-date {
        display: none;
    }
    
    
    .song-duration {
        font-size: 12px;
    }
}

/* Estilos para la página de planes */
.plans-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 100px 20px;
}


.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2a9d8a;
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2a9d8a;
}

.period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.feature i {
    color: #2a9d8a;
    font-size: 14px;
    width: 16px;
    text-align: center;
}


.back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-right: 15px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Estilos para el header de sección clickeable */
.sidebar-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 8px;
}

.sidebar-section-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-top: 4px;
    margin-left: 24px;
    margin-bottom: 8px;
}

/* Estilos para títulos de sección clickeables */
.sidebar-section-title[onclick] {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px 16px 12px 0;
    border-radius: 8px;
    margin-bottom: 8px;
}

.sidebar-section-title[onclick]:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-count {
    background: #2a9d8a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para la página de favoritos */
.favorites-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px 20px;
}

.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.favorite-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.favorite-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.favorite-number {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.favorite-cover {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2a9d8a, #1db954);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    flex-shrink: 0;
}

.favorite-info {
    flex: 1;
    min-width: 0;
}

.favorite-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.favorite-artist {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.favorite-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.favorite-btn {
    background: none;
    border: none;
    color: #2a9d8a;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background: rgba(42, 157, 138, 0.1);
    transform: scale(1.1);
}

.favorite-btn i {
    color: #2a9d8a;
}

/* Estilos específicos para la página de favoritos */
.favorites-hero .playlist-image {
    background: #2a9d8a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorites-hero .playlist-image i {
    color: #ffffff !important;
    font-size: 80px;
}

.favorites-hero .action-btn-large i.fa-heart {
    color: #e74c3c !important;
}

.favorites-hero .song-action-btn i.fa-heart {
    color: #e74c3c !important;
}

/* Estilos para page-header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Estilos para Mi Cuenta */
.account-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    margin-bottom: 100px;
}

.account-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(42, 157, 138, 0.3);
}

.account-header h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}

.account-header p {
    color: #b0b0b0;
    font-size: 1.1rem;
}

.account-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(42, 157, 138, 0.3);
}

.section-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.section-header h2 i {
    margin-right: 12px;
    color: #2a9d8a;
    font-size: 1.3rem;
}

/* Sección de Foto de Perfil */
.profile-photo-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-photo {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #2a9d8a;
    transition: all 0.3s ease;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.change-photo-btn {
    background: #2a9d8a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.change-photo-btn:hover {
    background: #ffffff;
    color: #2a9d8a;
    transform: scale(1.05);
}

.profile-info h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.profile-info p {
    color: #b0b0b0;
    margin-bottom: 15px;
}

.profile-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.remove-photo-btn {
    background: transparent;
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.remove-photo-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-2px);
}

.change-photo-btn {
    background: #2a9d8a;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.change-photo-btn:hover {
    background: #218a7a;
    color: white;
    transform: translateY(-2px);
}

/* Formulario de Datos del Usuario */
.form-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2a9d8a;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(42, 157, 138, 0.2);
}

.form-group input::placeholder {
    color: #b0b0b0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.save-btn {
    background: #2a9d8a;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-btn:hover {
    background: #218a7a;
    transform: translateY(-2px);
}

.cancel-btn {
    background: transparent;
    color: #b0b0b0;
    border: 1px solid #b0b0b0;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cancel-btn:hover {
    background: #b0b0b0;
    color: white;
}

/* Sección de Plan */
.current-plan {
    margin-bottom: 25px;
}

.plan-card {
    background: linear-gradient(135deg, #2a9d8a, #218a7a);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(42, 157, 138, 0.3);
}

.plan-icon {
    font-size: 2.5rem;
    color: #ffffff;
}

.plan-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.plan-price {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.plan-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.plan-status {
    margin-left: auto;
    text-align: right;
}

.status-badge {
    background: #ffffff;
    color: #2a9d8a;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: inline-block;
}

.renewal-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.plan-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.change-plan-btn,
.billing-btn {
    background: rgba(42, 157, 138, 0.2);
    color: #2a9d8a;
    border: 1px solid #2a9d8a;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.change-plan-btn:hover,
.billing-btn:hover {
    background: #2a9d8a;
    color: white;
    transform: translateY(-2px);
}

.available-plans {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
}

.available-plans h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.plan-option {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.plan-option:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.plan-option h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.plan-option .price {
    color: #2a9d8a;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.plan-option ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.plan-option li {
    color: #b0b0b0;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.plan-option li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2a9d8a;
    font-weight: bold;
}

.select-plan-btn {
    background: #2a9d8a;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.select-plan-btn:hover {
    background: #218a7a;
    transform: translateY(-2px);
}

/* Ajustes Generales */
.settings-container {
    display: grid;
    gap: 30px;
}

.settings-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-group h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.setting-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.setting-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    cursor: pointer;
    font-weight: 500;
}

.setting-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 0.9rem;
    min-width: 150px;
}

.setting-select:focus {
    outline: none;
    border-color: #2a9d8a;
}

.setting-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #2a9d8a;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.setting-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #2a9d8a;
}

.setting-label input[type="checkbox"]:checked + .checkbox-custom:after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

/* Sección de Acciones de Cuenta */
.account-actions-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.account-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.account-action-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-size: 1rem;
    min-height: 50px;
}

.account-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.account-action-btn i {
    font-size: 1.1rem;
    min-width: 18px;
}

.account-action-btn.export-btn {
    border-color: #2a9d8a;
    color: #2a9d8a;
}

.account-action-btn.export-btn:hover {
    background: #2a9d8a;
    color: white;
    border-color: #2a9d8a;
}

.account-action-btn.password-btn {
    border-color: #f39c12;
    color: #f39c12;
}

.account-action-btn.password-btn:hover {
    background: #f39c12;
    color: white;
    border-color: #f39c12;
}

.account-action-btn.delete-btn {
    border-color: #e74c3c;
    color: #e74c3c;
}

.account-action-btn.delete-btn:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
    .account-container {
        padding: 15px;
        margin-bottom: 120px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .profile-photo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-actions {
        flex-direction: column;
    }
}

/* ===== ESTILOS ESPECÍFICOS PARA PLANS.HTML ===== */
/* Evita conflictos con otras páginas usando clases específicas */

.plans-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.plans-page-card {
    display: flex;
    flex-direction: column;
    height: 550px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.plans-page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(42, 157, 138, 0.3);
}

.plans-page-card.plans-popular {
    border-color: #2a9d8a;
    background: rgba(42, 157, 138, 0.1);
}

.plans-page-card .plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.plans-page-card .plan-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.plans-page-card .plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.plans-page-card .price {
    font-size: 36px;
    font-weight: 700;
    color: #2a9d8a;
}

.plans-page-card .period {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.plans-page-card .plan-features {
    flex: 1;
    margin-bottom: 25px;
}

.plans-page-card .feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.plans-page-card .feature i {
    color: #2a9d8a;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.plans-page-card .plan-footer {
    margin-top: auto;
}

.plans-page-card .plan-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2a9d8a;
    color: white;
}

.plans-page-card .plan-btn:hover {
    background: #218a7a;
    transform: translateY(-2px);
}

.plans-page-card .plan-btn.primary {
    background: #2a9d8a;
    border: 2px solid #2a9d8a;
}

.plans-page-card .plan-btn.current {
    background: transparent;
    color: #2a9d8a;
    border: 2px solid #2a9d8a;
}

.plans-page-card .plan-btn.current:hover {
    background: #2a9d8a;
    color: white;
}

.plans-page-card .plan-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    transform: none;
}

.plans-page-card .plan-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    transform: none;
}

.plans-page-card .popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2a9d8a;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(42, 157, 138, 0.3);
    z-index: 10;
}

/* Responsive para plans-page */
@media (max-width: 1200px) {
    .plans-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .plans-page-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-page-card {
        height: auto;
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .account-actions {
        grid-template-columns: 1fr;
    }
    
    .account-action-btn {
        padding: 12px 15px;
        min-height: 45px;
    }
}

