/* Paleta de colores Spotify */
:root {
    --spotify-green: #1DB954;
    --spotify-black: #121212;
    --spotify-dark-gray: #181818;
    --spotify-light-gray: #282828;
    --spotify-text-primary: #FFFFFF;
    --spotify-text-secondary: #B3B3B3;
    --spotify-hover: #1ED760;
    --sidebar-bg: #F8FAFC;
    --card-bg: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--spotify-black);
    color: var(--spotify-text-primary);
    line-height: 1.6;
}

/* ==================== NAVEGACIÓN (MENÚ) ==================== */
.navbar {
    background-color: var(--spotify-dark-gray);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--spotify-green);
    text-decoration: none;
    transition: transform 0.3s;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar-brand-text {
    font-size: 1.5rem;
    color: var(--spotify-green);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

/* Ocultar menú en móviles por defecto */
@media (max-width: 768px) {
    .navbar-menu:not(.active) {
        display: none !important;
    }
}


.navbar-menu a {
    color: var(--spotify-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.navbar-menu a:hover {
    color: var(--spotify-green);
}

.navbar-menu .btn {
    background-color: var(--spotify-green);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.navbar-menu .btn:hover {
    background-color: var(--spotify-hover);
}

.navbar-menu .btn-secondary {
    background-color: transparent;
    border: 2px solid var(--spotify-green);
}

.navbar-menu .btn-secondary:hover {
    background-color: var(--spotify-green);
}

/* ==================== VISTA DE INICIO ==================== */
.hero-section {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--spotify-dark-gray) 0%, var(--spotify-black) 100%);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(18, 18, 18, 0.85) 0%, 
        rgba(24, 24, 24, 0.75) 50%,
        rgba(18, 18, 18, 0.85) 100%
    );
    z-index: 1;
}

.hero-section::before,
.hero-section::after {
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(29, 185, 84, 0.2);
    border: 1px solid var(--spotify-green);
    border-radius: 25px;
    color: var(--spotify-green);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--spotify-text-primary);
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, var(--spotify-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--spotify-text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-description p {
    color: var(--spotify-text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 1rem 2rem;
    background-color: var(--spotify-green);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.btn-hero-primary:hover {
    background-color: var(--spotify-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
}

.btn-hero-secondary {
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--spotify-text-primary);
    border: 2px solid var(--spotify-text-secondary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    border-color: var(--spotify-green);
    color: var(--spotify-green);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--spotify-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--spotify-text-secondary);
    font-size: 0.9rem;
}

.section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--spotify-text-primary);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--spotify-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== CARACTERÍSTICAS ==================== */
.features-section {
    background-color: var(--spotify-dark-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--spotify-light-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(29, 185, 84, 0.2);
    border-color: var(--spotify-green);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--spotify-green) 0%, #1ED760 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--spotify-text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--spotify-text-secondary);
    line-height: 1.6;
}

/* ==================== PLANES ==================== */
.plans-section {
    background-color: var(--spotify-black);
    position: relative;
    overflow: hidden;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.plans-section .section-container {
    position: relative;
    z-index: 1;
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Estilos para plan único centrado */
.plans-container-single {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.plans-container-single .plan-card {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.plan-card {
    background-color: var(--spotify-light-gray);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: visible;
    min-height: auto;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(29, 185, 84, 0.3);
    border-color: var(--spotify-green);
}

.plan-card.featured {
    background: linear-gradient(135deg, var(--spotify-green) 0%, #1ED760 100%);
    color: var(--spotify-black);
    border-color: var(--spotify-green);
    transform: scale(1.05);
}

/* Sobrescribir cuando también tiene plan-card-premium */
.plan-card.featured.plan-card-premium,
.plan-card-premium.featured {
    background: rgba(40, 40, 40, 0.5) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--spotify-text-primary);
    transform: scale(1.05);
}

.plan-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--spotify-black);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.plan-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(29, 185, 84, 0.2);
    border: 1px solid var(--spotify-green);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--spotify-green);
    margin-top: 0.5rem;
}

.plan-card.featured .plan-badge {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: var(--spotify-black);
    color: var(--spotify-black);
}

.plan-price-container {
    margin-bottom: 1.5rem;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    padding-top: 0.5rem;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}

.plan-period {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.plan-savings {
    font-size: 0.875rem;
    color: var(--spotify-green);
    font-weight: 600;
    margin-top: 0.5rem;
}

.plan-card.featured .plan-savings {
    color: var(--spotify-black);
}

.plan-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(29, 185, 84, 0.2);
    border: 1px solid var(--spotify-green);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--spotify-green);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-card.featured .plan-badge {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: var(--spotify-black);
    color: var(--spotify-black);
}

.plan-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    min-height: auto;
}

.plan-features-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem 1rem;
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.plan-features-grid-4 li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--spotify-text-secondary);
    line-height: 1.3;
    font-size: 0.8rem;
}

.plan-features-grid-4 li i {
    color: var(--spotify-green);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.plan-features-grid-4 li strong {
    color: var(--spotify-text-primary);
    font-weight: 600;
    font-size: 0.8rem;
}

.plan-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.plan-features-column {
    display: flex;
    flex-direction: column;
}

.plan-features-compact {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.plan-features-compact li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--spotify-text-secondary);
    line-height: 1.4;
    font-size: 0.875rem;
}

.plan-features-compact li i {
    color: var(--spotify-green);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.plan-features-compact li strong {
    color: var(--spotify-text-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.plan-features-premium {
    min-height: auto;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.plan-features-premium::-webkit-scrollbar {
    width: 6px;
}

.plan-features-premium::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.plan-features-premium::-webkit-scrollbar-thumb {
    background: var(--spotify-green);
    border-radius: 10px;
}

.plan-features-premium::-webkit-scrollbar-thumb:hover {
    background: var(--spotify-hover);
}

.plan-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--spotify-text-secondary);
    line-height: 1.6;
}

.plan-features li i {
    color: var(--spotify-green);
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.plan-features li strong {
    color: var(--spotify-text-primary);
    font-weight: 600;
}

.modes-feature {
    padding: 1rem 0 !important;
    align-items: flex-start !important;
}

.modes-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modes-label {
    font-weight: 600;
    color: var(--spotify-text-primary);
    font-size: 0.95rem;
}

.modes-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background-color: rgba(29, 185, 84, 0.15);
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--spotify-green);
    transition: all 0.3s;
}

.mode-badge:hover {
    background-color: rgba(29, 185, 84, 0.25);
    border-color: var(--spotify-green);
    transform: translateY(-2px);
}

.mode-badge i {
    font-size: 0.75rem;
    color: var(--spotify-green);
}

.plan-card.featured .mode-badge {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.4);
    color: var(--spotify-black);
}

.plan-card.featured .mode-badge i {
    color: var(--spotify-black);
}

.plan-card.featured .mode-badge:hover {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: var(--spotify-black);
}

.plan-card.featured .modes-label {
    color: var(--spotify-black);
}

.plan-card.featured .plan-features li {
    color: var(--spotify-black);
}

.plan-card.featured .plan-features li strong {
    color: var(--spotify-black);
}

.plan-card.featured .plan-features li i {
    color: var(--spotify-black);
}

.plan-card.featured .plan-features-compact li {
    color: var(--spotify-black);
}

.plan-card.featured .plan-features-compact li strong {
    color: var(--spotify-black);
}

.plan-card.featured .plan-features-compact li i {
    color: var(--spotify-black);
}

.plan-card-premium .plan-features-grid-4 li {
    color: var(--spotify-text-primary);
}

.plan-card-premium .plan-features-grid-4 li strong {
    color: var(--spotify-text-primary);
}

.plan-card-premium .plan-features-grid-4 li i {
    color: var(--spotify-green);
}


.plan-btn {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--spotify-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.plan-btn:hover {
    background-color: var(--spotify-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
}

.plan-card.featured .plan-btn {
    background-color: var(--spotify-black);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.plan-card.featured .plan-btn:hover {
    background-color: var(--spotify-dark-gray);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.plan-card-premium {
    background: rgba(40, 40, 40, 0.5) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(29, 185, 84, 0.3);
    box-shadow: 0 8px 32px rgba(29, 185, 84, 0.2);
    position: relative;
    overflow: visible;
}

.plan-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.5) 0%, rgba(30, 215, 96, 0.5) 100%);
    z-index: -1;
    opacity: 0.5;
}

/* Asegurar que el fondo verde tenga 50% de transparencia cuando es featured */
.plan-card.featured.plan-card-premium::before,
.plan-card-premium.featured::before {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.5) 0%, rgba(30, 215, 96, 0.5) 100%);
    opacity: 0.5;
}

.plan-card-premium:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(29, 185, 84, 0.4);
    border-color: var(--spotify-hover);
}

.plan-btn-premium {
    background: linear-gradient(135deg, var(--spotify-green) 0%, var(--spotify-hover) 100%);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    box-shadow: 0 6px 24px rgba(29, 185, 84, 0.4);
    margin-top: 1rem;
}

.plan-btn-premium:hover {
    background: linear-gradient(135deg, var(--spotify-hover) 0%, var(--spotify-green) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(29, 185, 84, 0.5);
}

.plan-btn-premium i {
    margin-right: 0.5rem;
}

.price-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    background-color: var(--spotify-light-gray);
    padding: 0.5rem;
    border-radius: 50px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.price-toggle button {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--spotify-text-secondary);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.price-toggle button.active {
    background-color: var(--spotify-green);
    color: white;
}

.discount-badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
}

.payment-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.payment-title {
    font-size: 1.5rem;
    color: var(--spotify-text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.payment-subtitle {
    color: var(--spotify-text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* ==================== MÉTODOS DE PAGO ==================== */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background-color: var(--spotify-light-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    min-width: 150px;
    border: 2px solid transparent;
}

.payment-method:hover {
    border-color: var(--spotify-green);
    transform: translateY(-3px);
}

.payment-method i {
    font-size: 2rem;
    color: var(--spotify-green);
    margin-bottom: 0.5rem;
}

.payment-method span {
    font-weight: 600;
    color: var(--spotify-text-primary);
}

.payment-method small {
    color: var(--spotify-text-secondary);
    font-size: 0.75rem;
}

/* ==================== FAQ (ACORDEÓN) ==================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--spotify-light-gray);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--spotify-dark-gray);
}

.faq-question.active {
    background-color: var(--spotify-dark-gray);
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    color: var(--spotify-text-secondary);
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem;
}

/* ==================== DASHBOARD LAYOUT ==================== */
.dashboard-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
    background-color: var(--spotify-black);
    position: relative;
}

.dashboard-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

/* Botón hamburguesa para dashboard - OCULTO EN DESKTOP */
.dashboard-mobile-toggle {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 99999;
    background-color: #181818;
    border: 2px solid #1DB954;
    color: #1DB954;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

.dashboard-mobile-toggle i {
    font-size: 1.5rem;
    color: #1DB954;
    display: block;
    line-height: 1;
}

/* MOSTRAR EN MÓVILES */
@media screen and (max-width: 768px) {
    .dashboard-mobile-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.dashboard-overlay {
    display: none;
}

/* Sidebar */
.dashboard-sidebar {
    width: 280px;
    background-color: var(--spotify-dark-gray);
    color: var(--spotify-text-primary);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, transparent 100%);
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--spotify-green);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s;
}

.sidebar-logo:hover {
    transform: scale(1.05);
}

.sidebar-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.sidebar-logo i {
    font-size: 1.75rem;
}

.sidebar-user {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(29, 185, 84, 0.05);
    transition: background-color 0.3s;
}

.sidebar-user:hover {
    background-color: rgba(29, 185, 84, 0.1);
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--spotify-green) 0%, #1ED760 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
    transition: transform 0.3s;
}

.sidebar-user:hover .user-avatar {
    transform: scale(1.1);
}

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

.user-name {
    font-weight: 600;
    color: var(--spotify-text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.875rem;
    color: var(--spotify-text-secondary);
    text-transform: capitalize;
    margin-bottom: 0.25rem;
}

.user-expiry {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.user-expiry i {
    font-size: 0.75rem;
}

.user-expiry.expired {
    background-color: rgba(220, 38, 38, 0.2);
    color: #ef4444;
    border: 1px solid rgba(220, 38, 38, 0.4);
}

.user-expiry.expires-today {
    background-color: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
    animation: pulse 2s infinite;
}

.user-expiry.expires-soon {
    background-color: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.user-expiry.expires-month {
    background-color: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.user-expiry.expires-normal {
    background-color: rgba(29, 185, 84, 0.15);
    color: var(--spotify-green);
    border: 1px solid rgba(29, 185, 84, 0.3);
}

.user-expiry.no-expiry {
    background-color: rgba(29, 185, 84, 0.1);
    color: var(--spotify-green);
    border: 1px solid rgba(29, 185, 84, 0.2);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.sidebar-menu {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-menu::-webkit-scrollbar {
    width: 6px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.menu-item {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--spotify-text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border-left: 3px solid transparent;
    position: relative;
}

.menu-item:hover {
    background-color: rgba(29, 185, 84, 0.1);
    color: var(--spotify-text-primary);
    border-left-color: var(--spotify-green);
    padding-left: 1.75rem;
}

.menu-item.active {
    background: linear-gradient(90deg, rgba(29, 185, 84, 0.2) 0%, transparent 100%);
    color: var(--spotify-green);
    border-left-color: var(--spotify-green);
    font-weight: 600;
}

.menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--spotify-green) 0%, #1ED760 100%);
}

.menu-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.menu-item.active i {
    color: var(--spotify-green);
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.upgrade-card {
    background: linear-gradient(135deg, var(--spotify-green) 0%, #1ED760 100%);
    padding: 1.5rem;
    border-radius: 12px;
    color: var(--spotify-black);
    text-align: center;
    box-shadow: 0 4px 16px rgba(29, 185, 84, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.upgrade-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
    cursor: pointer;
}

.upgrade-card:active {
    transform: translateY(0);
}

.upgrade-card h3 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.upgrade-card p {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Vista contenedora */
.dashboard-content {
    flex: 1;
    background-color: transparent;
    color: var(--spotify-text-primary);
    overflow-y: auto;
    padding: 2rem 2.5rem;
    position: relative;
    z-index: 1;
}

.dashboard-content::-webkit-scrollbar {
    width: 10px;
}

.dashboard-content::-webkit-scrollbar-track {
    background: var(--spotify-dark-gray);
}

.dashboard-content::-webkit-scrollbar-thumb {
    background: var(--spotify-light-gray);
    border-radius: 5px;
}

.dashboard-content::-webkit-scrollbar-thumb:hover {
    background: var(--spotify-green);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.content-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--spotify-text-primary);
    background: linear-gradient(135deg, var(--spotify-text-primary) 0%, var(--spotify-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-card {
    background-color: var(--spotify-light-gray);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--spotify-green) 0%, #1ED760 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(29, 185, 84, 0.2);
    border-color: rgba(29, 185, 84, 0.3);
}

.content-card:hover::before {
    opacity: 1;
}

.content-card h3 {
    color: var(--spotify-text-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* KPI Cards */
.kpi-card {
    background: linear-gradient(135deg, var(--spotify-light-gray) 0%, var(--spotify-dark-gray) 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--spotify-green) 0%, #1ED760 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.kpi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(29, 185, 84, 0.3);
    border-color: rgba(29, 185, 84, 0.5);
}

.kpi-card:hover::before {
    opacity: 1;
}

.kpi-card h3 {
    color: var(--spotify-text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-card .kpi-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--spotify-green) 0%, #1ED760 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Logout Button */
.logout-button-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: var(--spotify-light-gray);
    color: var(--spotify-text-primary);
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    font-weight: 600;
}

.logout-btn:hover {
    background-color: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.5);
    color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.logout-btn i {
    font-size: 1.1rem;
}

/* Dashboard Form Elements */
.dashboard-content select {
    padding: 0.75rem 1rem;
    background-color: var(--spotify-light-gray);
    color: var(--spotify-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
}

.dashboard-content select:hover {
    border-color: rgba(29, 185, 84, 0.5);
    background-color: var(--spotify-dark-gray);
}

.dashboard-content select:focus {
    outline: none;
    border-color: var(--spotify-green);
    box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.2);
}

.dashboard-content select option {
    background-color: var(--spotify-light-gray);
    color: var(--spotify-text-primary);
    padding: 0.5rem;
}

.dashboard-content input[type="text"],
.dashboard-content input[type="email"],
.dashboard-content input[type="number"],
.dashboard-content textarea {
    padding: 0.75rem 1rem;
    background-color: var(--spotify-light-gray);
    color: var(--spotify-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    width: 100%;
}

.dashboard-content input:focus,
.dashboard-content textarea:focus {
    outline: none;
    border-color: var(--spotify-green);
    box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.2);
}

.dashboard-content input::placeholder,
.dashboard-content textarea::placeholder {
    color: var(--spotify-text-secondary);
}

/* Dashboard Buttons */
.dashboard-content .plan-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--spotify-green) 0%, #1ED760 100%);
    color: var(--spotify-black);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.dashboard-content .plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
    filter: brightness(1.1);
}

.dashboard-content .plan-btn:active {
    transform: translateY(0);
}

.dashboard-content .plan-btn i {
    font-size: 1rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--spotify-text-secondary);
}

.empty-state i {
    font-size: 3rem;
    color: var(--spotify-text-secondary);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.empty-state small {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Time Range Switch */
.time-range-switch {
    display: flex;
    gap: 0.5rem;
    background-color: var(--spotify-dark-gray);
    padding: 0.25rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.switch-btn {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: var(--spotify-text-secondary);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.switch-btn:hover {
    color: var(--spotify-text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.switch-btn.active {
    background: linear-gradient(135deg, var(--spotify-green) 0%, #1ED760 100%);
    color: var(--spotify-black);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(29, 185, 84, 0.3);
}

.switch-btn i {
    font-size: 0.875rem;
}

/* Refresh Button */
.refresh-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--spotify-light-gray);
    color: var(--spotify-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.refresh-btn:hover {
    background-color: var(--spotify-dark-gray);
    border-color: rgba(29, 185, 84, 0.5);
    color: var(--spotify-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.2);
}

.refresh-btn:active {
    transform: translateY(0) scale(0.95);
}

.refresh-btn.refreshing {
    animation: spin 1s linear infinite;
}

.refresh-btn.refreshing i {
    color: var(--spotify-green);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Support Modal */
.support-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.support-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.support-modal-content {
    background-color: var(--spotify-light-gray);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.support-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, transparent 100%);
}

.support-modal-header h2 {
    color: var(--spotify-text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.support-modal-header h2 i {
    color: var(--spotify-green);
}

.support-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--spotify-text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.support-modal-close:hover {
    background-color: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.5);
    color: #ef4444;
    transform: rotate(90deg);
}

.support-modal-body {
    padding: 2rem;
}

.support-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: rgba(29, 185, 84, 0.1);
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: 8px;
    color: var(--spotify-text-primary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.support-info i {
    color: var(--spotify-green);
    font-size: 1.1rem;
}

.support-form-group {
    margin-bottom: 2rem;
}

.support-form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--spotify-text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.support-form-group label i {
    color: var(--spotify-green);
}

.support-textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--spotify-dark-gray);
    color: var(--spotify-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s;
}

.support-textarea:focus {
    outline: none;
    border-color: var(--spotify-green);
    box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.2);
}

.support-textarea::placeholder {
    color: var(--spotify-text-secondary);
}

.support-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--spotify-dark-gray);
    color: var(--spotify-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
    cursor: pointer;
}

.support-select:hover {
    border-color: rgba(29, 185, 84, 0.5);
    background-color: var(--spotify-light-gray);
}

.support-select:focus {
    outline: none;
    border-color: var(--spotify-green);
    box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.2);
}

.support-select option {
    background-color: var(--spotify-dark-gray);
    color: var(--spotify-text-primary);
    padding: 0.5rem;
}

/* Radio buttons en el modal */
.support-form-group input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.support-form-group input[type="radio"]:checked {
    border-color: var(--spotify-green);
    background-color: var(--spotify-green);
}

.support-form-group input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--spotify-black);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.period-label {
    transition: all 0.3s;
}

.period-label:hover {
    background-color: var(--spotify-dark-gray) !important;
}

.period-label input[type="radio"]:checked + span {
    font-weight: 600;
    color: var(--spotify-green);
}

.period-label.selected {
    background-color: rgba(29, 185, 84, 0.15) !important;
    border: 1px solid rgba(29, 185, 84, 0.4) !important;
}

.support-modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Estilos específicos para el modal de upgrade - más compacto */
.upgrade-modal-content {
    max-width: 550px !important;
    max-height: 85vh !important;
}

.upgrade-modal-header {
    padding: 1rem 1.5rem !important;
}

.upgrade-modal-header h2 {
    font-size: 1.25rem !important;
    gap: 0.5rem !important;
}

.upgrade-modal-body {
    padding: 1rem 1.5rem !important;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
}

.upgrade-info {
    padding: 0.75rem !important;
    font-size: 0.875rem !important;
    margin-bottom: 1rem !important;
}

.upgrade-form-group {
    margin-bottom: 1rem !important;
}

.upgrade-form-group label {
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
    gap: 0.4rem !important;
}

.upgrade-form-group label i {
    font-size: 0.875rem !important;
}

.upgrade-textarea {
    min-height: 80px !important;
    padding: 0.75rem !important;
    font-size: 0.875rem !important;
}

.upgrade-modal-footer {
    margin-top: 0.5rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.upgrade-modal-footer button {
    padding: 0.6rem 1.25rem !important;
    font-size: 0.9rem !important;
}

/* Responsive para pantallas pequeñas */
@media (max-height: 700px) {
    .upgrade-modal-content {
        max-height: 95vh !important;
    }
    
    .upgrade-modal-body {
        padding: 0.75rem 1rem !important;
        max-height: calc(95vh - 70px);
    }
    
    .upgrade-modal-header {
        padding: 0.75rem 1rem !important;
    }
    
    .upgrade-form-group {
        margin-bottom: 0.75rem !important;
    }
    
    .upgrade-info {
        padding: 0.5rem !important;
        font-size: 0.8rem !important;
        margin-bottom: 0.75rem !important;
    }
}

@media (max-width: 600px) {
    .upgrade-modal-content {
        width: 95% !important;
        max-width: 95% !important;
    }
    
    .upgrade-modal-header h2 {
        font-size: 1.1rem !important;
    }
    
    .period-label {
        padding: 0.4rem 0.5rem !important;
        font-size: 0.875rem !important;
    }
    
    #upgrade-price-display {
        font-size: 1.1rem !important;
        padding: 0.5rem !important;
    }
}

/* ==================== TASKS TABLE STYLES ==================== */
.tasks-table-container {
    overflow-x: auto;
    width: 100%;
}

.tasks-table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent;
}

.tasks-table thead {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.15) 0%, transparent 100%);
}

.tasks-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--spotify-text-primary);
    border-bottom: 2px solid rgba(29, 185, 84, 0.3);
    white-space: nowrap;
}

.tasks-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--spotify-text-primary);
    vertical-align: middle;
}

.tasks-table tbody tr {
    transition: all 0.3s;
}

.tasks-table tbody tr:hover {
    background-color: rgba(29, 185, 84, 0.05);
}

.task-title-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.task-title-cell strong {
    color: var(--spotify-text-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.task-artist {
    font-size: 0.8rem;
    color: var(--spotify-text-secondary);
    font-style: italic;
}

.task-category-badge {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    background-color: rgba(29, 185, 84, 0.15);
    color: var(--spotify-green);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(29, 185, 84, 0.3);
}

.task-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.task-status-badge.active {
    background-color: rgba(29, 185, 84, 0.2);
    color: var(--spotify-green);
    border: 1px solid rgba(29, 185, 84, 0.4);
}

.task-status-badge.paused {
    background-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.4);
}

.task-status-badge.completed {
    background-color: rgba(29, 185, 84, 0.3);
    color: #1DB954;
    border: 1px solid rgba(29, 185, 84, 0.5);
}

.task-status-badge i {
    font-size: 0.875rem;
}

.task-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.task-progress-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 150px;
}

.task-progress-bar-container {
    flex: 1;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    min-width: 80px;
}

.task-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--spotify-green) 0%, #1ED760 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.task-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.task-progress-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--spotify-text-primary);
    min-width: 50px;
    text-align: right;
    white-space: nowrap;
}

.task-target-streams {
    font-size: 0.9rem;
    color: var(--spotify-text-primary);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--spotify-dark-gray);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s, background-color 0.3s;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--spotify-text-secondary);
    font-weight: 500;
}

.task-streams-total {
    font-size: 1rem;
    font-weight: 700;
    color: var(--spotify-green);
    font-family: 'Courier New', monospace;
}

.task-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.task-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    min-width: 90px;
    justify-content: center;
}

.task-btn i {
    font-size: 0.875rem;
}

.task-btn-toggle {
    background-color: var(--spotify-green);
    color: var(--spotify-black);
}

.task-btn-toggle:hover {
    background-color: #1ED760;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}

.task-btn-edit {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.task-btn-edit:hover {
    background-color: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.task-btn-stats {
    background-color: rgba(147, 51, 234, 0.2);
    color: #9333ea;
    border: 1px solid rgba(147, 51, 234, 0.4);
}

.task-btn-stats:hover {
    background-color: rgba(147, 51, 234, 0.3);
    border-color: rgba(147, 51, 234, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

.task-btn-delete {
    background-color: rgba(220, 38, 38, 0.2);
    color: #ef4444;
    border: 1px solid rgba(220, 38, 38, 0.4);
}

.task-btn-delete:hover {
    background-color: rgba(220, 38, 38, 0.3);
    border-color: rgba(220, 38, 38, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.task-btn:active {
    transform: translateY(0) scale(0.98);
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--spotify-text-secondary);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--spotify-text-secondary);
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
    margin: 0;
}

.dashboard-select {
    padding: 0.75rem 1rem;
    background-color: var(--spotify-light-gray);
    color: var(--spotify-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
    min-width: 180px;
}

.dashboard-select:hover {
    border-color: rgba(29, 185, 84, 0.5);
    background-color: var(--spotify-dark-gray);
}

.dashboard-select:focus {
    outline: none;
    border-color: var(--spotify-green);
    box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.2);
}

.dashboard-select option {
    background-color: var(--spotify-dark-gray);
    color: var(--spotify-text-primary);
    padding: 0.5rem;
}

/* Task Stats Modal */
.task-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, transparent 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(29, 185, 84, 0.2);
}

.stat-icon {
    font-size: 2rem;
    color: var(--spotify-green);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--spotify-text-primary);
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--spotify-green) 0%, #1ED760 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--spotify-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.task-stats-info {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
    background-color: var(--spotify-dark-gray);
    border-radius: 8px;
}

.info-grid div {
    padding: 0.5rem;
    color: var(--spotify-text-primary);
    font-size: 0.9rem;
}

.info-grid strong {
    color: var(--spotify-green);
    margin-right: 0.5rem;
}

/* Responsive para tabla de tareas */
@media (max-width: 1200px) {
    .task-actions {
        flex-direction: column;
    }
    
    .task-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .tasks-table-container {
        overflow-x: scroll;
    }
    
    .tasks-table {
        min-width: 800px;
    }
    
    .task-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== TASK STATS MODAL - 80% Screen Size ==================== */
.task-stats-modal-content {
    width: 80vw !important;
    height: 80vh !important;
    max-width: 80vw !important;
    max-height: 80vh !important;
    display: flex;
    flex-direction: column;
}

.task-stats-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.task-stats-modal-body #task-stats-content {
    flex-shrink: 0;
}

.task-stats-modal-body #task-stats-chart-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.task-stats-modal-body #task-stats-chart-container > div {
    flex: 1;
    min-height: 400px;
    position: relative;
}

.task-stats-modal-body #task-stats-chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 1024px) {
    .task-stats-modal-content {
        width: 90vw !important;
        height: 85vh !important;
        max-width: 90vw !important;
        max-height: 85vh !important;
    }
}

@media (max-width: 768px) {
    .task-stats-modal-content {
        width: 95vw !important;
        height: 90vh !important;
        max-width: 95vw !important;
        max-height: 90vh !important;
    }
    
    .task-stats-modal-body {
        padding: 1rem !important;
    }
    
    .task-stats-modal-body #task-stats-chart-container canvas {
        min-height: 300px;
    }
}

.support-btn-cancel,
.support-btn-send {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.support-btn-cancel {
    background-color: var(--spotify-dark-gray);
    color: var(--spotify-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-btn-cancel:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--spotify-text-primary);
}

.support-btn-send {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.support-btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    filter: brightness(1.1);
}

.support-btn-send:active {
    transform: translateY(0);
}

/* Estilos específicos para botón de eliminar en modal de confirmación */
.support-btn-send[style*="background-color: #dc3545"],
.support-btn-send.delete-btn {
    background-color: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.support-btn-send[style*="background-color: #dc3545"]:hover,
.support-btn-send.delete-btn:hover {
    background-color: #c82333 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    filter: brightness(1.05);
}

/* ==================== MEMBERSHIP EXPIRED OVERLAY ==================== */
.membership-expired-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease-in-out;
    pointer-events: all;
    overflow: hidden;
}

/* Bloquear todas las interacciones cuando el overlay está activo */
body.membership-expired .dashboard-container > *:not(.membership-expired-overlay) {
    pointer-events: none;
    opacity: 0.5;
    filter: none;
}

.membership-expired-overlay.active {
    display: flex;
}

.membership-expired-content {
    background: #1a1a1a;
    background-image: linear-gradient(135deg, rgba(220, 38, 38, 0.25) 0%, #1a1a1a 100%);
    border: 3px solid #dc3545;
    border-radius: 24px;
    padding: 4rem 3rem;
    max-width: 650px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(220, 38, 38, 0.6), 0 0 0 1px rgba(220, 38, 38, 0.3);
    animation: slideUp 0.4s ease-out;
    position: relative;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.membership-expired-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #dc3545, #ff6b6b, #dc3545);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 3s ease-in-out infinite;
}

.membership-expired-icon {
    font-size: 5rem;
    color: #ff4444;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.8);
    filter: drop-shadow(0 0 15px rgba(220, 38, 38, 0.6));
}

.membership-expired-content h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.membership-expired-content p {
    color: #f0f0f0;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.membership-expired-content .plan-btn {
    background: linear-gradient(135deg, #ff4444 0%, #dc3545 50%, #c82333 100%);
    color: white;
    border: 2px solid #ff6b6b;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.6), 0 0 20px rgba(220, 38, 38, 0.4);
    transition: all 0.3s;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.membership-expired-content .plan-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.8), 0 0 30px rgba(220, 38, 38, 0.6);
    filter: brightness(1.15);
    border-color: #ff4444;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Responsive para overlay */
@media (max-width: 768px) {
    .membership-expired-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }
    
    .membership-expired-icon {
        font-size: 3rem;
    }
    
    .membership-expired-content h2 {
        font-size: 1.5rem;
    }
}

/* ==================== MODAL DE BLOQUEO PARA USUARIOS NO ELITE ==================== */
#membership-blocked-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease-in-out;
    pointer-events: all;
    overflow: hidden;
}

/* Bloquear todas las interacciones cuando el overlay está activo */
body.membership-blocked .dashboard-container > *:not(#membership-blocked-overlay) {
    pointer-events: none;
    opacity: 0.5;
    filter: none;
}

#membership-blocked-overlay.active {
    display: flex;
}

#membership-blocked-overlay .membership-expired-content {
    background: #1a1a1a;
    background-image: linear-gradient(135deg, rgba(29, 185, 84, 0.25) 0%, #1a1a1a 100%);
    border: 3px solid var(--spotify-green);
    border-radius: 24px;
    padding: 4rem 3rem;
    max-width: 650px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(29, 185, 84, 0.6), 0 0 0 1px rgba(29, 185, 84, 0.3);
    animation: slideUp 0.4s ease-out;
    position: relative;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#membership-blocked-overlay .membership-expired-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--spotify-green), #1ED760, var(--spotify-green));
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 3s ease-in-out infinite;
}

#membership-blocked-overlay .membership-expired-icon {
    font-size: 5rem;
    color: var(--spotify-green);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
    text-shadow: 0 0 20px rgba(29, 185, 84, 0.8);
    filter: drop-shadow(0 0 15px rgba(29, 185, 84, 0.6));
}

#membership-blocked-overlay .membership-expired-content h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

#membership-blocked-overlay .membership-expired-content p {
    color: #f0f0f0;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

#membership-blocked-overlay .membership-expired-content .plan-btn {
    background: linear-gradient(135deg, var(--spotify-green) 0%, #1ED760 50%, var(--spotify-green) 100%);
    color: white;
    border: 2px solid #1ED760;
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.6), 0 0 20px rgba(29, 185, 84, 0.4);
    transition: all 0.3s;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#membership-blocked-overlay .membership-expired-content .plan-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(29, 185, 84, 0.8), 0 0 30px rgba(29, 185, 84, 0.6);
    filter: brightness(1.15);
    border-color: #1ED760;
}

/* Responsive para modal de bloqueo */
@media (max-width: 768px) {
    #membership-blocked-overlay .membership-expired-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }
    
    #membership-blocked-overlay .membership-expired-icon {
        font-size: 3rem;
    }
    
    #membership-blocked-overlay .membership-expired-content h2 {
        font-size: 1.5rem;
    }
}

/* ==================== AUTENTICACIÓN ==================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(18, 18, 18, 0.92) 0%, 
        rgba(24, 24, 24, 0.88) 50%,
        rgba(18, 18, 18, 0.92) 100%
    );
    z-index: 1;
}

.auth-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 0.6s ease-out;
}

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

.auth-card {
    background: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--spotify-text-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--spotify-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--spotify-text-secondary);
    font-size: 0.95rem;
}

.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 0.875rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--spotify-text-secondary);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.auth-tab:hover {
    color: var(--spotify-text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.auth-tab.active {
    background-color: var(--spotify-green);
    color: white;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.auth-tab i {
    font-size: 0.875rem;
}

.auth-alerts {
    margin-bottom: 1.5rem;
}

.auth-form {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.auth-form.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--spotify-text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group label i {
    color: var(--spotify-green);
    font-size: 0.875rem;
}

.form-group label .optional {
    color: var(--spotify-text-secondary);
    font-weight: 400;
    font-size: 0.85rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--spotify-text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input::placeholder {
    color: var(--spotify-text-secondary);
    opacity: 0.6;
}

.form-group input:focus {
    outline: none;
    border-color: var(--spotify-green);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.1);
}

.form-group input:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.country-select {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--spotify-text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231DB954' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.country-select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.country-select:focus {
    outline: none;
    border-color: var(--spotify-green);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.1);
}

.country-select option {
    background-color: var(--spotify-dark-gray);
    color: var(--spotify-text-primary);
    padding: 0.5rem;
}

.whatsapp-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.whatsapp-prefix {
    position: absolute;
    left: 1rem;
    color: var(--spotify-green);
    font-weight: 600;
    font-size: 1rem;
    z-index: 1;
    pointer-events: none;
}

.whatsapp-input {
    padding-left: 3rem !important;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 3.5rem !important;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--spotify-text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 1;
}

.password-toggle:hover {
    color: var(--spotify-green);
}

.password-toggle:focus {
    outline: none;
}

.password-toggle i {
    font-size: 1rem;
}

.auth-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--spotify-green) 0%, #1ED760 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-btn i {
    transition: transform 0.3s;
}

.auth-btn:hover i {
    transform: translateX(4px);
}

.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--spotify-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.auth-back-link:hover {
    color: var(--spotify-green);
    transform: translateX(-4px);
}

.auth-back-link i {
    transition: transform 0.3s;
}

.auth-back-link:hover i {
    transform: translateX(-4px);
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideDown 0.3s ease-out;
    font-size: 0.9rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.1rem;
}

.alert-success {
    background-color: rgba(29, 185, 84, 0.15);
    color: var(--spotify-green);
    border: 1px solid rgba(29, 185, 84, 0.3);
}

.alert-success::before {
    content: "\f00c";
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.alert-error::before {
    content: "\f06a";
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--spotify-dark-gray);
    color: var(--spotify-text-secondary);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-about {
    max-width: 300px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--spotify-green);
    margin: 0;
}

.footer-description {
    color: var(--spotify-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--spotify-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--spotify-text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-link:hover {
    background-color: var(--spotify-green);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--spotify-text-primary);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--spotify-text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.875rem;
    width: 18px;
    text-align: center;
}

.footer-links a:hover {
    color: var(--spotify-green);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--spotify-text-secondary);
    font-size: 0.9rem;
}

.footer-made {
    color: var(--spotify-text-secondary);
    font-size: 0.875rem;
}

.footer-made i {
    color: var(--spotify-green);
    margin: 0 0.25rem;
}

/* Menú hamburguesa para móviles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--spotify-green);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle.active {
    color: var(--spotify-text-primary);
}

.mobile-menu-toggle.active i.fa-bars::before {
    content: "\f00d"; /* Icono de X (cerrar) */
}

.navbar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.navbar-overlay.active {
    display: block;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar {
        padding: 1rem 1.5rem;
        position: relative;
    }
    
    .navbar-menu {
        display: none; /* Oculto por defecto en móviles */
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--spotify-dark-gray);
        flex-direction: column;
        align-items: flex-start;
        padding: 4rem 2rem 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease-in-out;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        overflow-y: auto;
        list-style: none;
    }
    
    .navbar-menu.active {
        display: flex !important; /* Mostrar cuando está activo */
        left: 0;
    }
    
    .navbar-menu li {
        width: 100%;
    }
    
    .navbar-menu a {
        display: block;
        padding: 0.75rem 0;
        width: 100%;
        font-size: 1.1rem;
    }
    
    .navbar-menu .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }
    
    .navbar-brand-text {
        font-size: 1.2rem;
    }
    
    .navbar-logo {
        height: 32px;
    }
    
    .hero-section {
        min-height: 500px;
        padding: 4rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plans-container {
        grid-template-columns: 1fr;
    }
    
    .plans-container-single {
        max-width: 100%;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
    
    .plan-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .plan-features-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 0.75rem;
    }
    
    .plan-features-grid-4 li {
        font-size: 0.75rem;
    }
    
    .plan-features-grid-4 li strong {
        font-size: 0.75rem;
    }
    
    .plan-price .amount {
        font-size: 2.5rem;
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-about {
        max-width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
    }
    
    /* Botón hamburguesa para dashboard móvil - FORZAR VISIBILIDAD */
    #dashboard-mobile-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 1rem !important;
        left: 1rem !important;
        background-color: var(--spotify-dark-gray) !important;
        border: 2px solid var(--spotify-green) !important;
        color: var(--spotify-green) !important;
        font-size: 1.5rem !important;
        cursor: pointer !important;
        padding: 0.75rem !important;
        border-radius: 8px !important;
        z-index: 99999 !important;
        transition: all 0.3s !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        margin: 0 !important;
        line-height: 1 !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: row !important;
    }
    
    #dashboard-mobile-toggle i {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 1.5rem !important;
        line-height: 1 !important;
        color: var(--spotify-green) !important;
    }
    
    .dashboard-mobile-toggle:hover {
        transform: scale(1.1);
        background-color: var(--spotify-green);
        color: var(--spotify-black);
    }
    
    .dashboard-mobile-toggle.active {
        background-color: var(--spotify-green);
        color: var(--spotify-black);
    }
    
    .dashboard-mobile-toggle.active i.fa-bars::before {
        content: "\f00d"; /* Icono de X (cerrar) */
    }
    
    /* Overlay para dashboard */
    .dashboard-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 999;
    }
    
    .dashboard-overlay.active {
        display: block;
    }
    
    .dashboard-container {
        flex-direction: column;
    }
    
    /* Sidebar responsive para móviles */
    .dashboard-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease-in-out;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .dashboard-sidebar.active {
        left: 0;
    }
    
    /* Ajustar contenido cuando sidebar está abierto */
    .dashboard-content {
        margin-left: 0 !important;
        width: 100%;
        padding-top: 4rem;
    }
    
    
    .payment-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-logo {
        height: 50px;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-tabs {
        flex-direction: column;
    }
    
    .auth-tab {
        width: 100%;
    }
}

/* ==================== DOWNLOAD CARDS ==================== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.download-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

/* Responsive para downloads grid */
@media (max-width: 1400px) {
    .downloads-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.download-cover-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--spotify-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.download-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.download-card:hover .download-cover-image img {
    transform: scale(1.05);
}

.download-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ==================== VIDEO TUTORIAL MODAL ==================== */
.video-modal-content {
    max-width: 900px;
    width: 90vw;
    max-height: 90vh;
}

.video-modal-body {
    padding: 0;
    background-color: var(--spotify-black);
}

.video-player-container {
    position: relative;
    width: 100%;
    background-color: var(--spotify-black);
}

.video-player {
    width: 100%;
    max-height: 70vh;
    display: block;
    background-color: #000;
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--spotify-dark-gray);
    border-top: 1px solid var(--spotify-light-gray);
}

.video-control-btn {
    background-color: transparent;
    border: none;
    color: var(--spotify-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    min-width: 40px;
}

.video-control-btn:hover {
    color: var(--spotify-green);
}

.video-progress-container {
    flex: 1;
    display: flex;
    align-items: center;
}

.video-progress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--spotify-light-gray);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-progress-filled {
    height: 100%;
    background-color: var(--spotify-green);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.video-progress-bar:hover .video-progress-filled {
    background-color: var(--spotify-hover);
}

.video-time-display {
    color: var(--spotify-text-secondary);
    font-size: 0.875rem;
    white-space: nowrap;
    min-width: 80px;
    text-align: right;
}

.video-time-display span {
    margin: 0 0.25rem;
}

/* Responsive para el modal de video */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95vw;
        max-height: 95vh;
    }
    
    .video-player {
        max-height: 60vh;
    }
    
    .video-controls {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .video-time-display {
        width: 100%;
        text-align: center;
        order: 3;
    }
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    width: calc(100% - 40px);
    pointer-events: none;
}

.toast {
    background-color: var(--spotify-dark-gray);
    border: 1px solid var(--spotify-light-gray);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    animation: toastSlideIn 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--spotify-green);
}

.toast.toast-success::before {
    background-color: var(--spotify-green);
}

.toast.toast-error::before {
    background-color: #dc3545;
}

.toast.toast-warning::before {
    background-color: #ffc107;
}

.toast.toast-info::before {
    background-color: #17a2b8;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    color: var(--spotify-green);
}

.toast-error .toast-icon {
    color: #dc3545;
}

.toast-warning .toast-icon {
    color: #ffc107;
}

.toast-info .toast-icon {
    color: #17a2b8;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 600;
    color: var(--spotify-text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.toast-message {
    color: var(--spotify-text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.toast-close {
    background: none;
    border: none;
    color: var(--spotify-text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.toast-close:hover {
    color: var(--spotify-text-primary);
    background-color: var(--spotify-light-gray);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: var(--spotify-green);
    animation: toastProgress linear;
}

.toast-success .toast-progress {
    background-color: var(--spotify-green);
}

.toast-error .toast-progress {
    background-color: #dc3545;
}

.toast-warning .toast-progress {
    background-color: #ffc107;
}

.toast-info .toast-progress {
    background-color: #17a2b8;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes toastProgress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.toast.toast-exit {
    animation: toastSlideOut 0.3s ease-in forwards;
}

/* Responsive para toast */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        width: auto;
    }
    
    .toast {
        padding: 0.875rem 1rem;
    }
}

/* ==================== SKELETON LOADERS ==================== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--spotify-light-gray) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        var(--spotify-light-gray) 100%
    );
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
    margin-bottom: 0;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-card {
    padding: 1.5rem;
    background-color: var(--spotify-dark-gray);
    border-radius: 8px;
    border: 1px solid var(--spotify-light-gray);
}

.skeleton-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--spotify-light-gray);
}

.skeleton-button {
    height: 2.5rem;
    width: 120px;
    border-radius: 6px;
}

@keyframes skeletonLoading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.skeleton-kpi-card {
    padding: 1.5rem;
    background-color: var(--spotify-dark-gray);
    border-radius: 8px;
    border: 1px solid var(--spotify-light-gray);
}

.skeleton-kpi-title {
    height: 1rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-kpi-value {
    height: 2.5rem;
    width: 40%;
}

/* ==================== ACCESIBILIDAD ==================== */
/* Mejoras de focus visible */
*:focus-visible {
    outline: 2px solid var(--spotify-green);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mejorar contraste en botones */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--spotify-green);
    outline-offset: 2px;
}

/* Skip to main content link (para lectores de pantalla) */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--spotify-green);
    color: var(--spotify-black);
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 10001;
    border-radius: 0 0 4px 0;
}

.skip-to-main:focus {
    top: 0;
}

/* Mejorar navegación por teclado en tablas */
.tasks-table button:focus-visible {
    outline: 2px solid var(--spotify-green);
    outline-offset: 2px;
}

/* Indicadores de estado para lectores de pantalla */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Mejorar contraste en estados vacíos */
.empty-state {
    color: var(--spotify-text-secondary);
}

.empty-state i {
    color: var(--spotify-text-secondary);
    opacity: 0.7;
}

