/*
 * Venus Top 40 Manager - Estilos
 * Archivo separado de venus-top40-plugin.php
 * Debe ir en la misma carpeta que el plugin principal.
 */

/* ===== Historial semanal (contenido de post generado) ===== */
        .historial-t40-container { max-width: 1200px; margin: 0 auto; padding: 20px 0; font-family: "Inter", "Montserrat", sans-serif; }
        .historial-t40-row { display: flex; background-color: #1a1a1a; margin-bottom: 15px; border-radius: 4px; overflow: hidden; align-items: stretch; height: 100px; }
        .historial-t40-rank-box { background-color: #0d0d0d; width: 80px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
        .historial-t40-rank-num { color: #ffffff; font-size: 32px; font-weight: 900; }
        .historial-t40-row:nth-child(1) .historial-t40-rank-box { background-color: #e32636; }
        .historial-t40-cover-box { width: 100px; height: 100px; flex-shrink: 0; background-color: #2a2a2a; }
        .historial-t40-cover-box img { width: 100%; height: 100%; object-fit: cover; }
        .historial-t40-info { padding: 0 25px; display: flex; flex-direction: column; justify-content: center; flex-grow: 1; min-width: 0; }
        .historial-t40-title { color: #ffffff; font-size: 20px; font-weight: 800; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .historial-t40-artist { color: #a0a0a0; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        @media (max-width: 768px) {
            .historial-t40-rank-box { width: 60px; }
            .historial-t40-cover-box { width: 80px; height: 80px; }
            .historial-t40-row { height: 80px; }
            .historial-t40-title { font-size: 16px; }
            .historial-t40-artist { font-size: 13px; }
        }

/* ===== Panel de administración ===== */
        .t40-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
        .t40-card { background: #fff; padding: 15px; border-radius: 5px; border: 1px solid #ddd; border-top: 4px solid #444; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
        .t40-card h3 { margin-top: 0; display:flex; align-items:center; gap:8px;}
        .t40-input { width: 100%; padding: 6px; margin-bottom: 8px; border: 1px solid #ccc; border-radius: 3px; }
        .badge { padding:4px 8px; border-radius:12px; font-size:11px; font-weight:bold; display: inline-block; text-align: center; text-decoration:none; }
        .badge:hover { opacity: 0.8; }
        .bg-ok { background:#e8f5e9; color:#2e7d32; } .bg-err { background:#ffebee; color:#c62828; }
        .system-time-box { background: #f0f0f1; border-left: 4px solid #0073aa; padding: 8px 12px; margin-bottom: 15px; font-size: 13px; }
        .btn-refresh-covers { background: #fff; border-color: #b1228e; color: #b1228e; }
        .btn-refresh-covers:hover { background: #b1228e; color: #fff; border-color: #b1228e; }
        .btn-fetch-videos { background: #fff; border-color: #ff0000; color: #ff0000; }
        .btn-fetch-videos:hover { background: #ff0000; color: #fff; border-color: #ff0000; }
        .btn-generar-borrador { background: #fff; border-color: #8e44ad; color: #8e44ad; }
        .btn-generar-borrador:hover { background: #8e44ad; color: #fff; border-color: #8e44ad; }

/* ===== Miniatura de portada editable (tabla del Top 40 en wp-admin) ===== */
        .t40-cover-edit-btn {
            position: relative;
            width: 40px;
            height: 40px;
            padding: 0;
            border: none;
            background: none;
            border-radius: 4px;
            overflow: hidden;
            cursor: pointer;
            display: inline-block;
            vertical-align: middle;
        }
        .t40-cover-thumb {
            width: 40px;
            height: 40px;
            object-fit: cover;
            border-radius: 4px;
            display: block;
        }
        .t40-cover-edit-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.55);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            opacity: 0;
            transition: opacity 0.15s ease;
        }
        .t40-cover-edit-btn:hover .t40-cover-edit-overlay { opacity: 1; }
        .t40-cover-manual-badge {
            position: absolute;
            bottom: -2px;
            right: -2px;
            font-size: 11px;
            background: #1a1a1a;
            border-radius: 50%;
            padding: 1px 2px;
            line-height: 1;
        }

/* ===== Modal "Cambiar portada" (3 candidatas) ===== */
        .t40-cover-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.6);
            z-index: 100000;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .t40-cover-modal {
            background: #fff;
            border-radius: 8px;
            padding: 24px;
            width: 90%;
            max-width: 480px;
            max-height: 85vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 20px 50px rgba(0,0,0,0.35);
        }
        .t40-cover-modal-title { margin: 0 0 4px; font-size: 18px; }
        .t40-cover-modal-subtitle { margin: 0 0 16px; color: #666; font-size: 13px; }
        .t40-cover-modal-close {
            position: absolute;
            top: 12px;
            right: 12px;
            background: none;
            border: none;
            font-size: 24px;
            line-height: 1;
            cursor: pointer;
            color: #666;
        }
        .t40-cover-modal-close:hover { color: #000; }
        .t40-cover-modal-body {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }
        .t40-cover-modal-loading,
        .t40-cover-modal-empty {
            grid-column: 1 / -1;
            text-align: center;
            color: #888;
            padding: 30px 10px;
            font-size: 13px;
        }
        .t40-cover-option {
            cursor: pointer;
            border: 3px solid transparent;
            border-radius: 6px;
            overflow: hidden;
            text-align: center;
            transition: border-color 0.15s ease, transform 0.1s ease;
            background: #f5f5f5;
        }
        .t40-cover-option:hover { border-color: #b1228e; transform: translateY(-2px); }
        .t40-cover-option img {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            display: block;
        }
        .t40-cover-option-source {
            display: block;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #777;
            padding: 4px 2px;
        }
        .t40-cover-option-selected { border-color: #00a32a; }
        .t40-cover-modal-status {
            margin-top: 14px;
            text-align: center;
            font-weight: bold;
            font-size: 13px;
            min-height: 16px;
        }

/* ===== Vista principal del Top 40 (shortcode venus_top40_front) ===== */
        .v-t40-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 0;
            font-family: 'Inter', 'Montserrat', -apple-system, sans-serif;
            background-color: transparent; 
        }
        /* SELECTOR DE EMISORA (ver el ranking de cada estación) */
        .v-t40-station-selector {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 18px;
            font-family: 'Inter', 'Montserrat', sans-serif;
        }
        .v-t40-station-selector label {
            color: #a0a0a0;
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
        }
        .v-t40-station-select {
            background: #1a1a1a;
            color: #fff;
            border: 1px solid #333;
            border-radius: 4px;
            padding: 10px 14px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            outline: none;
            transition: border-color 0.2s;
            max-width: 100%;
        }
        .v-t40-station-select:focus,
        .v-t40-station-select:hover { border-color: #e32636; }
        /* VOTOS EN VIVO (reflejo de los votos enviados desde el reproductor) */
        .v-t40-votes-live {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-top: 6px;
            font-size: 13px;
            font-weight: 700;
            color: #ff9800;
        }
        .v-t40-votes-num { display: inline-block; }
        @keyframes vT40VotesPulse {
            0% { transform: scale(1.6); color: #1db954; }
            100% { transform: scale(1); }
        }
        .v-t40-votes-pulse { animation: vT40VotesPulse 0.5s ease; display: inline-block; }
        /* BUSCADOR DE CANCIONES */
        .v-t40-search-container {
            position: relative;
            margin-bottom: 30px;
            font-family: 'Inter', 'Montserrat', sans-serif;
        }
        .v-t40-search-input {
            width: 100%;
            padding: 16px 20px;
            font-size: 16px;
            background: #1a1a1a;
            border: 1px solid #333;
            color: #fff;
            border-radius: 4px;
            outline: none;
            transition: border-color 0.2s;
            box-sizing: border-box;
        }
        .v-t40-search-input::placeholder { color: #888; }
        .v-t40-search-input:focus { border-color: #e32636; }
        .v-t40-search-results {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #1a1a1a;
            border: 1px solid #333;
            border-top: none;
            z-index: 100;
            border-radius: 0 0 4px 4px;
            max-height: 320px;
            overflow-y: auto;
            display: none;
            box-shadow: 0 8px 16px rgba(0,0,0,0.5);
        }
        .v-t40-search-item {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            border-bottom: 1px solid #2a2a2a;
            gap: 15px;
            transition: background 0.2s;
        }
        .v-t40-search-item:hover { background: #222; }
        .v-t40-search-item:last-child { border-bottom: none; }
        .v-t40-search-cover {
            width: 50px; 
            height: 50px;
            border-radius: 4px;
            object-fit: cover;
            background: #333;
        }
        .v-t40-search-info {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .v-t40-search-title { 
            color: #fff; 
            font-weight: 800; 
            font-size: 15px; 
            white-space: nowrap; 
            overflow: hidden; 
            text-overflow: ellipsis; 
        }
        .v-t40-search-artist { 
            color: #a0a0a0; 
            font-size: 13px; 
            white-space: nowrap; 
            overflow: hidden; 
            text-overflow: ellipsis; 
        }
        .v-t40-search-btn {
            background: #e32636;
            color: #fff;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            font-size: 13px;
            font-weight: bold;
            text-transform: uppercase;
            cursor: pointer;
            transition: background 0.2s;
        }
        .v-t40-search-btn:hover { background: #c91f2c; }
        /* FILA PRINCIPAL */
        .v-t40-row {
            display: flex;
            flex-direction: column;
            background-color: #1a1a1a; 
            margin-bottom: 15px;
            border-radius: 4px;
            overflow: hidden; 
            transition: transform 0.2s ease, background-color 0.2s ease;
        }
        .v-t40-row:hover { background-color: #222222; }
        .v-t40-row-header {
            display: flex;
            align-items: stretch;
            height: 140px; 
        }
        .v-t40-rank-box {
            background-color: #0d0d0d;
            width: 80px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 10px;
            flex-shrink: 0;
            transition: background-color 0.3s;
        }
        .v-t40-row.rank-1 .v-t40-rank-box { background-color: #e32636; }
        .v-t40-rank-num {
            color: #ffffff;
            font-size: 32px;
            font-weight: 900;
            line-height: 1;
            margin-bottom: 8px;
        }
        .v-t40-trend {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 15px;
            font-weight: bold;
        }
        .trend-up { background-color: #1db954; }
        .trend-down { background-color: #c91f2c; }
        .trend-same { background-color: #555555; }
        .trend-new { background-color: #00bcd4; }
        .trend-re { background-color: #ff9800; }
        .v-t40-cover-box {
            width: 140px;
            height: 140px;
            flex-shrink: 0;
            background-color: #2a2a2a;
        }
        .v-t40-cover-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .v-t40-info {
            flex-grow: 1;
            padding: 0 25px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 0; 
        }
        .v-t40-title {
            color: #ffffff;
            font-size: 22px;
            font-weight: 800;
            margin-bottom: 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .v-t40-artist {
            color: #a0a0a0;
            font-size: 16px;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .v-t40-actions {
            display: flex;
            align-items: center;
            padding-right: 30px;
            gap: 20px;
            flex-shrink: 0;
        }
        .v-t40-btn-vote {
            background-color: #e32636; 
            color: #ffffff;
            border: none;
            padding: 12px 28px;
            font-size: 14px;
            font-weight: 900;
            text-transform: uppercase;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.2s ease, opacity 0.2s ease;
        }
        .v-t40-btn-vote:hover { background-color: #c91f2c; }
        .v-t40-btn-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background-color: #333;
            border: none;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }
        .v-t40-btn-toggle:hover { background-color: #555; }
        .v-t40-btn-toggle svg {
            fill: #ffffff;
            transition: transform 0.3s ease;
        }
        .v-t40-row.expanded .v-t40-btn-toggle svg { transform: rotate(180deg); }
        .v-t40-details {
            display: none; 
            background-color: #151515;
            border-top: 1px solid #333;
            padding: 25px;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
        }
        .v-t40-row.expanded .v-t40-details { display: flex; }
        .v-t40-stats-container {
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
        }
        .v-t40-stat {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        .v-t40-stat-label {
            font-size: 13px;
            color: #888;
            margin-bottom: 8px;
            text-transform: uppercase;
            font-weight: 600;
        }
        .v-t40-stat-value {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 24px;
            font-weight: bold;
            color: #ffffff;
        }
        .v-t40-stat-icon {
            fill: #666;
            width: 20px;
            height: 20px;
        }
        .v-t40-video-container {
            width: 450px;
            max-width: 100%;
            aspect-ratio: 16 / 9;
            background-color: #000;
            border-radius: 4px;
            overflow: hidden;
        }
        .v-t40-video-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        /* Mobile Responsive */
        @media (max-width: 768px) {
            .v-t40-row-header { flex-wrap: wrap; height: auto; }
            .v-t40-rank-box { width: 60px; height: 100px; }
            .v-t40-rank-num { font-size: 24px; }
            .v-t40-cover-box { width: 100px; height: 100px; }
            .v-t40-info { width: calc(100% - 160px); padding: 0 15px; }
            .v-t40-title { font-size: 18px; }
            .v-t40-artist { font-size: 14px; }
            .v-t40-actions { width: 100%; justify-content: flex-end; padding: 15px 20px 15px 20px; }
            .v-t40-details { flex-direction: column; gap: 30px; padding: 20px; align-items: flex-start; }
            .v-t40-stats-container { gap: 20px; }
            .v-t40-video-container { width: 100%; }
            .v-t40-station-selector { flex-wrap: wrap; }
            .v-t40-station-select { flex-grow: 1; }
        }

/* ===== Widget lateral (shortcode del sidebar) ===== */
        .widget-top40-sidebar, .widget-top40-sidebar *, .widget-top40-sidebar *::before, .widget-top40-sidebar *::after { box-sizing: border-box; }
        .widget-top40-sidebar { width: 300px; max-width: 100%; background: var(--bg-panel, #141414); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.3); font-family: 'Montserrat', sans-serif; }
        .widget-top40-header { background: var(--accent-red, #e0003b); color: #fff; padding: 15px 20px; font-weight: 900; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px; }
        .widget-top40-item { display: flex; align-items: center; padding: 12px 15px; border-bottom: 1px solid #222; text-decoration: none; transition: background 0.3s; }
        .widget-top40-item:hover { background: rgba(255,255,255,0.05); }
        .widget-top40-rank { width: 30px; flex-shrink: 0; font-size: 1.2rem; font-weight: 900; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
        .widget-top40-trend { font-size: 0.7rem; margin-top: 2px; }
        .widget-top40-rank.rank-1 { color: var(--accent-red, #e0003b); }
        .widget-top40-cover { position: relative; width: 45px; height: 45px; border-radius: 6px; overflow: hidden; flex-shrink: 0; margin-right: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
        .widget-top40-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .widget-top40-play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
        .widget-top40-item:hover .widget-top40-play-overlay { opacity: 1; }
        .widget-top40-play-overlay svg { width: 20px; height: 20px; fill: #fff; }
        .widget-top40-info { flex-grow: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
        .widget-top40-title { color: #fff; font-weight: 800; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
        .widget-top40-artist { color: var(--text-muted, #aaa); font-size: 0.75rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .widget-top40-footer { padding: 15px; text-align: center; background: #0b0b0b; }
        .widget-top40-btn-all { display: inline-block; background: var(--accent-red, #e0003b); color: #fff; padding: 12px 20px; border-radius: 30px; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; text-decoration: none; transition: transform 0.2s, background 0.2s; width: 100%; box-sizing: border-box;}
        .widget-top40-btn-all:hover { transform: scale(1.05); background: #c20033; color: #fff; }

/* ===== Vista "Ver toda la lista" (shortcode venus_top40_los40) ===== */
        .los40-wrap, .los40-wrap * { box-sizing: border-box; }
        .los40-wrap { background: #e0003b; border-radius: 6px; padding: 30px; font-family: 'Montserrat', 'Inter', sans-serif; color: #fff; overflow: hidden; max-width: 100%; }
        .los40-head { text-align: center; margin-bottom: 25px; }
        .los40-head h2 { font-size: 2rem; font-weight: 900; text-transform: uppercase; margin: 0 0 8px 0; letter-spacing: 0.5px; }
        .los40-head .los40-date { font-size: 0.95rem; opacity: 0.9; }
        .los40-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; width: 100%; max-width: 100%; }
        .los40-list { min-width: 0; background: transparent; display: flex; flex-direction: column; gap: 2px; }
        .los40-item { display: flex; align-items: center; background: #fff; text-decoration: none; }
        .los40-item:nth-child(even) { background: #f1f1f1; }
        .los40-rank-col { width: 55px; flex-shrink: 0; background: #111; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 0; font-size: 1.6rem; font-weight: 900; }
        .los40-trend-dot { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 6px; font-size: 0.75rem; font-weight: 900; color: #fff; }
        .los40-trend-up   { background: #1db954; }
        .los40-trend-down { background: #e32636; }
        .los40-trend-same { background: #6b6b6b; }
        .los40-trend-new  { background: #00bcd4; }
        .los40-trend-re   { background: #ff9800; }
        .los40-cover { width: 60px; height: 60px; flex-shrink: 0; margin: 0 15px; }
        .los40-cover img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }
        .los40-info { flex-grow: 1; overflow: hidden; padding-right: 15px; }
        .los40-title { color: #111; font-weight: 800; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .los40-artist { color: #555; font-weight: 600; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .los40-video { min-width: 0; max-width: 100%; width: 100%; background: #000; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 9; position: relative; display: block; }
        .los40-video iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: none; display: block; }
        .los40-video-fallback { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
        .los40-video-fallback img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.6; }
        .los40-footer { text-align: center; margin-top: 25px; }
        .los40-btn-all { display: inline-block; background: #111; color: #fff; padding: 14px 40px; border-radius: 30px; font-weight: 800; font-size: 0.9rem; text-transform: uppercase; text-decoration: none; transition: transform 0.2s, background 0.2s; }
        .los40-btn-all:hover { transform: scale(1.05); background: #000; color: #fff; }
        @media (max-width: 560px) {
            .los40-wrap { padding: 20px; }
            .los40-head h2 { font-size: 1.4rem; }
            .los40-body { grid-template-columns: 1fr; }
        }

/* ===== Popup "necesitas una cuenta para votar" (Top 40 frontend) ===== */
        .v-t40-account-overlay {
            position: fixed;
            inset: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.72);
            -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
            z-index: 2147483647;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease;
        }
        .v-t40-account-overlay.vfm-active { opacity: 1; pointer-events: auto; }
        .v-t40-account-modal {
            position: relative;
            width: 380px;
            max-width: 90vw;
            background: #1a1a1a;
            border-top: 4px solid #e32636;
            border-radius: 10px;
            padding: 34px 28px 28px;
            box-sizing: border-box;
            text-align: center;
            font-family: 'Inter', 'Montserrat', sans-serif;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5);
            transform: scale(0.94) translateY(6px);
            transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
        }
        .v-t40-account-overlay.vfm-active .v-t40-account-modal { transform: scale(1) translateY(0); }
        .v-t40-account-close {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: none;
            background: #262626;
            color: #ccc;
            font-size: 18px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s ease, color 0.15s ease;
        }
        .v-t40-account-close:hover { background: #333; color: #fff; }
        .v-t40-account-icon { font-size: 30px; margin-bottom: 10px; }
        .v-t40-account-modal h3 {
            color: #fff;
            font-size: 19px;
            font-weight: 800;
            margin: 0 0 10px;
            letter-spacing: -.2px;
        }
        .v-t40-account-modal p {
            color: #b0b0b0;
            font-size: 14px;
            line-height: 1.5;
            margin: 0 0 22px;
        }
        .v-t40-account-btn-primary {
            width: 100%;
            padding: 13px;
            border: none;
            border-radius: 30px;
            background: #e32636;
            color: #fff;
            font-weight: 800;
            font-size: 14px;
            text-transform: uppercase;
            cursor: pointer;
            transition: background 0.2s ease, transform 0.15s ease;
        }
        .v-t40-account-btn-primary:hover { background: #c91f2c; transform: translateY(-1px); }
        .v-t40-account-btn-secondary {
            display: block;
            width: 100%;
            margin-top: 12px;
            padding: 8px;
            border: none;
            background: none;
            color: #888;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: color 0.15s ease;
        }
        .v-t40-account-btn-secondary:hover { color: #ccc; }
        @media (max-width: 480px) {
            .v-t40-account-modal { padding: 28px 20px 22px; }
        }


/* ===== Sección "Próximas a Entrar" (candidatas fuera del Top 40) ===== */
.v-t40-candidatas-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
    font-family: 'Inter', 'Montserrat', -apple-system, sans-serif;
}
.v-t40-candidatas-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 4px 0;
}
.v-t40-candidatas-subtitle {
    color: #a0a0a0;
    font-size: 13px;
    margin: 0 0 16px 0;
}
.v-t40-candidatas-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* Reutiliza .v-t40-row (fondo, hover) pero en layout horizontal simple,
   sin header/detalles desplegables como las filas del Top 40. */
.v-t40-candidata-row {
    flex-direction: row;
    align-items: center;
    height: auto;
    padding: 10px 15px;
    gap: 12px;
}
.v-t40-candidata-pos {
    color: #666;
    font-size: 13px;
    font-weight: 700;
    width: 28px;
    flex-shrink: 0;
    text-align: center;
}
.v-t40-candidata-cover {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    background: #333;
    flex-shrink: 0;
}
.v-t40-candidata-info {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.v-t40-candidata-title {
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.v-t40-candidata-artist {
    color: #a0a0a0;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.v-t40-candidata-votes {
    color: #ff9800;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    white-space: nowrap;
}
.v-t40-candidata-btn-vote {
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .v-t40-candidata-cover { width: 40px; height: 40px; }
    .v-t40-candidata-votes { display: none; }
}
