/**
 * ========================================
 * OVERRIDE: LAYOUT HORIZONTAL
 * ========================================
 * Estos estilos sobrescriben el layout vertical
 * para crear un diseño horizontal moderno
 */

/* Header Height */
:root {
    --sidebar-width: 0px;
    --header-height: 70px;
    --vme-top-offset: 0px; /* Temas con header fijo pueden cambiar este valor */
}

/* Wrapper */
body.vme-active .vme-dashboard-wrapper {
    flex-direction: column;
}

/* ========================================
   SIDEBAR → HEADER HORIZONTAL
======================================== */
body.vme-active .vme-sidebar {
    width: 100%;
    height: var(--header-height);
    background: linear-gradient(90deg, var(--hotme-red) 0%, var(--hotme-red-dark) 100%);
    position: fixed;
    top: var(--vme-top-offset);
    left: 0;
    right: 0;
    bottom: auto;
    flex-direction: row;
    align-items: center;
    padding: 0 30px;
    gap: 30px;
    overflow-y: visible;
    overflow-x: auto;
}

body.vme-active .vme-sidebar-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 0;
    border: none;
    border-bottom: none;
    min-width: 200px;
    text-align: left;
}

body.vme-active .vme-logo {
    height: 40px;
    width: auto;
}

body.vme-active .vme-logo-text {
    font-size: 24px;
}

body.vme-active .vme-user-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

body.vme-active .vme-user-avatar {
    width: 40px;
    height: 40px;
}

body.vme-active .vme-user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.vme-active .vme-user-name,
body.vme-active .vme-user-role {
    text-align: left;
}

/* Navegación horizontal */
body.vme-active .vme-sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
}

body.vme-active .vme-sidebar-nav::-webkit-scrollbar {
    height: 4px;
}

body.vme-active .vme-sidebar-nav::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}

body.vme-active .vme-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

body.vme-active .vme-nav-item {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
}

body.vme-active .vme-nav-item i {
    font-size: 16px;
}

body.vme-active .vme-nav-item:hover {
    background-color: rgba(255,255,255,0.15);
    padding-left: 18px;
}

body.vme-active .vme-nav-item.active {
    background-color: var(--hotme-white);
    color: var(--hotme-red);
}

body.vme-active .vme-nav-item.active i,
body.vme-active .vme-nav-item.active span {
    color: var(--hotme-red);
}

body.vme-active .vme-nav-item.active::before {
    display: none;
}

body.vme-active .vme-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--hotme-red);
    border-radius: 3px 3px 0 0;
}

/* Footer → derecha */
body.vme-active .vme-sidebar-footer {
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
    border-top: none;
}

body.vme-active .vme-logout-btn {
    padding: 10px 18px;
    border-radius: 8px;
    justify-content: center;
    font-size: 14px;
}

/* ========================================
   MAIN CONTENT - ANCHO COMPLETO
======================================== */
body.vme-active .vme-main-content {
    margin-top: calc(var(--header-height) + var(--vme-top-offset));
    margin-left: 0;
    padding: 40px 50px;
    width: 100%;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

/* Secciones - ANCHO COMPLETO */
body.vme-active .vme-section {
    width: 100%;
    max-width: none;
}

/* ========================================
   RESPONSIVE HORIZONTAL
======================================== */
@media (max-width: 1024px) {
    body.vme-active .vme-sidebar {
        padding: 0 20px;
        gap: 15px;
    }
    
    body.vme-active .vme-main-content {
        padding: 30px 30px;
    }
    
    body.vme-active .vme-nav-item {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    body.vme-active .vme-sidebar-header {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    body.vme-active .vme-sidebar {
        height: auto;
        flex-wrap: wrap;
        padding: 15px;
        gap: 10px;
    }
    
    body.vme-active .vme-sidebar-header {
        width: 100%;
        justify-content: center;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    body.vme-active .vme-sidebar-nav {
        width: 100%;
        justify-content: flex-start;
    }
    
    body.vme-active .vme-sidebar-footer {
        width: 100%;
        justify-content: center;
        border-top: 1px solid rgba(255,255,255,0.2);
        padding-top: 10px;
        margin-top: 10px;
    }
    
    body.vme-active .vme-main-content {
        margin-top: calc(140px + var(--vme-top-offset));
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    body.vme-active .vme-logo-text {
        font-size: 18px;
    }
    
    body.vme-active .vme-nav-item span {
        display: none;
    }
    
    body.vme-active .vme-nav-item {
        padding: 8px;
    }
    
    body.vme-active .vme-logout-btn span {
        display: none;
    }
}
/**
 * Dashboard Frontend Completo - Estilos
 * Cliente: HotMe
 * Desarrollado por: Roger Soluciones Web
 * 
 * Paleta de Colores HotMe:
 * - Rojo Principal: #D73744
 * - Rojo Oscuro: #B72C3A
 * - Rosa Claro: #FF6B7A
 * - Blanco: #FFFFFF
 * - Gris Claro: #F5F5F5
 */

/* ========================================
   VARIABLES CSS
======================================== */
:root {
    --hotme-red: #D73744;
    --hotme-red-dark: #B72C3A;
    --hotme-red-light: #FF6B7A;
    --hotme-white: #FFFFFF;
    --hotme-gray-light: #F5F5F5;
    --hotme-gray: #E0E0E0;
    --hotme-gray-dark: #666666;
    --hotme-black: #333333;
    
    --success: #4CAF50;
    --warning: #FF9800;
    --info: #2196F3;
    --danger: #F44336;
    
    --sidebar-width: 280px;
    --header-height: 70px;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    
    --transition: all 0.3s ease;
}

/* ========================================
   OCULTAR ELEMENTOS DE WORDPRESS
======================================== */
/* Ocultar admin bar de WordPress */
body.vme-active #wpadminbar {
    display: none;
}

html {
    margin-top: 0;
}

body.admin-bar {
    padding-top: 0;
}

/* Ocultar cualquier elemento de admin */
body.vme-active .admin-bar #wpadminbar,
body.admin-bar .ab-empty-item,
body.admin-bar #wp-toolbar {
    display: none;
}

/* ========================================
   RESET Y BASE
======================================== */
* {
    box-sizing: border-box;
}

.vme-dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--hotme-gray-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ========================================
   SIDEBAR
======================================== */
.vme-sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--hotme-red) 0%, var(--hotme-red-dark) 100%);
    color: var(--hotme-white);
    position: fixed;
    top: var(--vme-top-offset);
    left: 0;
    height: calc(100vh - var(--vme-top-offset));
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

/* Asegurar texto blanco en todo el sidebar (proteger de overrides de temas) */
body.vme-active .vme-sidebar,
body.vme-active .vme-sidebar a:not(.vme-nav-item.active),
body.vme-active .vme-sidebar span,
body.vme-active .vme-sidebar h4,
body.vme-active .vme-sidebar p,
body.vme-active .vme-sidebar .vme-nav-item:not(.active),
body.vme-active .vme-sidebar .vme-user-name,
body.vme-active .vme-sidebar .vme-user-role,
body.vme-active .vme-sidebar .vme-logout-btn {
    color: #fff;
}

/* Item activo: fondo blanco, texto rojo — sin !important, gana por especificidad */
body.vme-active .vme-sidebar .vme-nav-item.active,
body.vme-active .vme-sidebar .vme-nav-item.active i,
body.vme-active .vme-sidebar .vme-nav-item.active span {
    color: var(--hotme-red);
}

.vme-sidebar-header {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.vme-logo {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
}

.vme-sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--hotme-white);
}

.vme-user-info {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.vme-user-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--hotme-white);
}

.vme-user-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.vme-user-role {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.vme-sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.vme-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    color: var(--hotme-white);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.vme-nav-item i {
    font-size: 18px;
    width: 24px;
}

.vme-nav-item:hover {
    background-color: rgba(255,255,255,0.1);
    padding-left: 30px;
}

.vme-nav-item.active {
    background-color: var(--hotme-white);
    color: var(--hotme-red);
    font-weight: 600;
}

.vme-nav-item.active i,
.vme-nav-item.active span {
    color: var(--hotme-red);
}

.vme-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--hotme-red);
}

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

.vme-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: rgba(255,255,255,0.1);
    color: var(--hotme-white);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    justify-content: center;
}

.vme-logout-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

/* ========================================
   MAIN CONTENT
======================================== */
.vme-main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 50px 60px;
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
}

/* Secciones */
.vme-section {
    display: none;
}

.vme-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.vme-section-header {
    margin-bottom: 40px;
}

.vme-section-header h1 {
    margin: 0 0 12px 0;
    font-size: 28px;
    color: var(--hotme-black);
    display: flex;
    align-items: center;
    gap: 15px;
}

.vme-section-header h1 i {
    color: var(--hotme-red);
}

.vme-section-header p {
    margin: 0;
    color: var(--hotme-gray-dark);
    font-size: 17px;
}

/* ========================================
   CARDS Y ESTADÍSTICAS
======================================== */
.vme-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.vme-stat-card {
    background: var(--hotme-white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: var(--transition);
    border-left: 5px solid var(--hotme-red);
    min-height: 110px;
}

.vme-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* v6.3.19 - Ocultar iconos de estadísticas */
body.vme-active .vme-stat-icon {
    display: none;
}

.vme-stat-content {
    flex: 1;
}

.vme-stat-label {
    font-size: 15px;
    color: var(--hotme-gray-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.vme-stat-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--hotme-black);
    line-height: 1;
}

.vme-stat-hint {
    font-size: 13px;
    color: var(--hotme-gray-dark);
    margin-top: 6px;
}

.vme-stat-card.vme-stat-primary {
    border-left-color: var(--hotme-red);
}

.vme-stat-card.vme-stat-success {
    border-left-color: var(--success);
}

body.vme-active .vme-stat-card.vme-stat-success .vme-stat-icon {
    display: none;
}

.vme-stat-card.vme-stat-warning {
    border-left-color: var(--warning);
}

body.vme-active .vme-stat-card.vme-stat-warning .vme-stat-icon {
    display: none;
}

.vme-stat-card.vme-stat-info {
    border-left-color: var(--info);
}

body.vme-active .vme-stat-card.vme-stat-info .vme-stat-icon {
    display: none;
}

/* Content Cards */
.vme-content-card {
    background: var(--hotme-white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 40px;
    margin-bottom: 40px;
}

.vme-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--hotme-gray);
}

.vme-card-header h3 {
    margin: 0;
    font-size: 22px;
    color: var(--hotme-black);
    display: flex;
    align-items: center;
    gap: 12px;
}

.vme-card-header h3 i {
    color: var(--hotme-red);
    font-size: 24px;
}

.vme-card-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* ========================================
   GRÁFICOS
======================================== */
.vme-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.vme-chart-card {
    background: var(--hotme-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    min-height: 400px;
}

.vme-chart-card h3 {
    margin: 0 0 30px 0;
    font-size: 20px;
    color: var(--hotme-black);
    display: flex;
    align-items: center;
    gap: 12px;
}

.vme-chart-card h3 i {
    color: var(--hotme-red);
}

.vme-chart-card canvas {
    max-height: 350px;
}

/* ========================================
   ACCIONES RÁPIDAS
======================================== */
.vme-quick-actions {
    background: var(--hotme-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.vme-quick-actions h3 {
    margin: 0 0 30px 0;
    font-size: 22px;
    color: var(--hotme-black);
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.vme-quick-btn {
    padding: 30px 25px;
    background: var(--hotme-gray-light);
    border: 2px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.vme-quick-btn i {
    font-size: 36px;
    color: var(--hotme-red);
}

.vme-quick-btn span {
    font-size: 15px;
    font-weight: 600;
    color: var(--hotme-black);
}

.vme-quick-btn:hover {
    background: var(--hotme-white);
    border-color: var(--hotme-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.vme-quick-btn:hover i {
    color: var(--hotme-red-light);
}

/* ========================================
   TABLAS
======================================== */
.vme-table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}

.vme-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.vme-table thead {
    background-color: var(--hotme-gray-light);
}

.vme-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--hotme-black);
    font-size: 15px;
    border-bottom: 3px solid var(--hotme-red);
    white-space: nowrap;
}

.vme-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--hotme-gray);
    font-size: 14px;
    color: var(--hotme-gray-dark);
    vertical-align: middle;
}

.vme-table tbody tr {
    transition: var(--transition);
}

.vme-table tbody tr:hover {
    background-color: var(--hotme-gray-light);
}

.vme-video-cell {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vme-video-cell strong {
    color: var(--hotme-black);
    font-size: 15px;
}

.vme-video-id {
    font-size: 12px;
    color: var(--hotme-gray-dark);
}

/* ========================================
   BADGES Y ESTADOS
======================================== */
.vme-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vme-badge-publish,
.vme-badge-completed {
    background-color: #E8F5E9;
    color: var(--success);
}

.vme-badge-draft,
.vme-badge-pending {
    background-color: #FFF3E0;
    color: var(--warning);
}

.vme-badge-failed,
.vme-badge-rejected {
    background-color: #FFEBEE;
    color: var(--danger);
}

.vme-badge-usd {
    background-color: #E3F2FD;
    color: var(--info);
}

.vme-badge-pen {
    background-color: #F3E5F5;
    color: #9C27B0;
}

.vme-badge-approved {
    background-color: #E1F5FE;
    color: #0288D1;
}

/* ========================================
   BOTONES
======================================== */
.vme-btn {
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    text-align: center;
    justify-content: center;
}

.vme-btn i {
    font-size: 17px;
}

.vme-btn-primary {
    background: linear-gradient(135deg, var(--hotme-red) 0%, var(--hotme-red-dark) 100%);
    color: var(--hotme-white);
}

.vme-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.vme-btn-secondary {
    background: var(--hotme-gray-light);
    color: var(--hotme-black);
    border: 2px solid var(--hotme-gray);
}

.vme-btn-secondary:hover {
    background: var(--hotme-white);
    border-color: var(--hotme-red);
}

.vme-btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #66BB6A 100%);
    color: var(--hotme-white);
}

.vme-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.vme-btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    background: var(--hotme-gray-light);
    color: var(--hotme-black);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.vme-btn-icon i {
    font-size: 16px;
    color: var(--hotme-black);
}

.vme-btn-icon:hover {
    background: var(--hotme-red);
    color: var(--hotme-white);
}

.vme-btn-icon:hover i {
    color: var(--hotme-white);
}

.vme-btn-danger:hover {
    background: var(--danger);
    color: var(--hotme-white);
}

.vme-actions-btn {
    display: flex;
    gap: 10px;
}

/* ========================================
   FORMULARIOS
======================================== */
.vme-form {
    max-width: 700px;
}

.vme-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.vme-form-group {
    margin-bottom: 25px;
}

.vme-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--hotme-black);
    font-size: 15px;
}

.vme-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--hotme-gray);
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition);
}

.vme-input:focus {
    outline: none;
    border-color: var(--hotme-red);
    box-shadow: 0 0 0 3px rgba(215, 55, 68, 0.1);
}

.vme-hint {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--hotme-gray-dark);
    line-height: 1.5;
}

.vme-search-input {
    padding: 12px 18px;
    border: 2px solid var(--hotme-gray);
    border-radius: 25px; /* v6.3.25 - Igual que botones de categorías */
    font-size: 15px;
    min-width: 280px;
}

.vme-search-input:focus {
    outline: none;
    border-color: var(--hotme-red);
}

/* ========================================
   ALERTS Y MENSAJES
======================================== */
.vme-alert {
    padding: 18px 24px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.vme-alert i {
    font-size: 22px;
    margin-top: 2px;
}

.vme-alert strong {
    display: block;
    margin-bottom: 5px;
}

.vme-alert-info {
    background-color: #E3F2FD;
    color: #0277BD;
    border-left: 4px solid var(--info);
}

.vme-alert-warning {
    background-color: #FFF3E0;
    color: #E65100;
    border-left: 4px solid var(--warning);
}

.vme-alert-success {
    background-color: #E8F5E9;
    color: #2E7D32;
    border-left: 4px solid var(--success);
}

.vme-alert-danger {
    background-color: #FFEBEE;
    color: #C62828;
    border-left: 4px solid var(--danger);
}

.vme-empty-state {
    text-align: center;
    padding: 80px 30px;
}

.vme-empty-state i {
    font-size: 80px;
    color: var(--hotme-gray);
    margin-bottom: 25px;
    display: block;
}

.vme-empty-state p {
    font-size: 17px;
    color: var(--hotme-gray-dark);
    margin-bottom: 25px;
}

.vme-error-message {
    background: var(--hotme-white);
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

/* ========================================
   VIDEO STATS
======================================== */
.vme-video-stat-card {
    background: var(--hotme-gray-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.vme-video-stat-card:hover {
    box-shadow: var(--shadow-sm);
}

.vme-video-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.vme-video-stat-header h4 {
    margin: 0;
    font-size: 17px;
    color: var(--hotme-black);
}

.vme-video-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
}

.vme-mini-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--hotme-white);
    padding: 18px;
    border-radius: 10px;
}

.vme-mini-stat i {
    font-size: 26px;
    color: var(--hotme-red);
}

.vme-mini-stat strong {
    display: block;
    font-size: 19px;
    color: var(--hotme-black);
}

.vme-mini-stat span {
    font-size: 13px;
    color: var(--hotme-gray-dark);
}

/* ========================================
   PERFIL
======================================== */
.vme-profile-summary {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
    padding: 35px;
    background: var(--hotme-gray-light);
    border-radius: 14px;
}

.vme-profile-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid var(--hotme-red);
}

.vme-profile-info h3 {
    margin: 0 0 15px 0;
    font-size: 26px;
    color: var(--hotme-black);
}

.vme-profile-info p {
    margin: 10px 0;
    color: var(--hotme-gray-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.vme-profile-info i {
    color: var(--hotme-red);
    font-size: 16px;
}

/* ========================================
   INFO BOX
======================================== */
.vme-info-box {
    background: var(--hotme-gray-light);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.vme-info-box h4 {
    margin: 0 0 18px 0;
    font-size: 17px;
    color: var(--hotme-black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vme-info-box i {
    color: var(--hotme-red);
}

.vme-info-box ol {
    margin: 0;
    padding-left: 25px;
}

.vme-info-box li {
    margin-bottom: 10px;
    color: var(--hotme-gray-dark);
    line-height: 1.7;
    font-size: 14px;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1200px) {
    .vme-main-content {
        padding: 40px 40px;
    }
    
    .vme-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .vme-charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .vme-sidebar {
        width: 240px;
    }
    
    .vme-main-content {
        margin-left: 240px;
        width: calc(100% - 240px);
        padding: 35px;
    }
    
    :root {
        --sidebar-width: 240px;
    }
}

@media (max-width: 768px) {
    .vme-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        z-index: 1001;
    }
    
    .vme-sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .vme-main-content {
        margin-left: 0;
        width: 100%;
        padding: 25px 20px;
    }
    
    .vme-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vme-section-header h1 {
        font-size: 28px;
    }
    
    .vme-section-header p {
        font-size: 15px;
    }
    
    .vme-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .vme-card-actions {
        width: 100%;
    }
    
    .vme-search-input {
        width: 100%;
        min-width: auto;
    }
    
    .vme-profile-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .vme-table {
        font-size: 13px;
    }
    
    .vme-table th,
    .vme-table td {
        padding: 12px 10px;
    }
    
    .vme-quick-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .vme-content-card {
        padding: 25px;
    }
    
    .vme-chart-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .vme-main-content {
        padding: 20px 15px;
    }
    
    .vme-section-header h1 {
        font-size: 22px;
    }
    
    .vme-stat-card {
        padding: 16px;
    }
    
    /* v6.3.19 - Ocultar iconos en móvil también */
    body.vme-active .vme-stat-icon {
        display: none;
    }
    
    .vme-stat-value {
        font-size: 22px;
    }
    
    .vme-quick-grid {
        grid-template-columns: 1fr;
    }
    
    .vme-content-card {
        padding: 20px;
    }
    
    .vme-chart-card {
        padding: 20px;
        min-height: 300px;
    }
}

/* ========================================
   UTILIDADES
======================================== */
.vme-text-muted {
    color: var(--hotme-gray-dark);
}

.vme-text-center {
    text-align: center;
}

.vme-mt-20 {
    margin-top: 20px;
}

.vme-mb-20 {
    margin-bottom: 20px;
}

/* Loading Spinner */
.vme-loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--hotme-gray);
    border-radius: 50%;
    border-top-color: var(--hotme-red);
    animation: spin 0.8s linear infinite;
}

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

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--hotme-gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--hotme-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hotme-red-dark);
}

/* ========================================
   CREAR VIDEO - FORMULARIO
======================================== */
.vme-create-video-form {
    max-width: 100%;
}

.vme-required {
    color: var(--hotme-red);
    font-weight: bold;
}

.vme-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--hotme-gray);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    resize: vertical;
    min-height: 150px;
}

.vme-textarea:focus {
    outline: none;
    border-color: var(--hotme-red);
    box-shadow: 0 0 0 3px rgba(215, 55, 68, 0.1);
}

/* Upload Boxes */
.vme-upload-box {
    border: 3px dashed var(--hotme-gray);
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--hotme-gray-light);
}

.vme-upload-box:hover {
    border-color: var(--hotme-red);
    background: white;
}

.vme-upload-box.dragover {
    border-color: var(--hotme-red);
    background: rgba(215, 55, 68, 0.05);
}

.vme-upload-box i {
    font-size: 48px;
    color: var(--hotme-red);
    margin-bottom: 15px;
    display: block;
}

.vme-upload-box p {
    margin: 10px 0;
    font-size: 16px;
    color: var(--hotme-black);
    font-weight: 600;
}

.vme-upload-box small {
    color: var(--hotme-gray-dark);
    font-size: 13px;
}

/* Progress Bars */
.vme-upload-progress {
    margin-top: 20px;
}

.vme-progress-bar {
    width: 100%;
    height: 30px;
    background: var(--hotme-gray-light);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.vme-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hotme-red) 0%, var(--hotme-red-light) 100%);
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.vme-progress-text {
    margin-top: 10px;
    text-align: center;
    color: var(--hotme-gray-dark);
    font-size: 14px;
}

/* File Preview */
.vme-file-preview {
    margin-top: 20px;
    padding: 20px;
    background: var(--hotme-gray-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.vme-file-preview i {
    font-size: 32px;
    color: var(--success);
}

.vme-file-preview span {
    flex: 1;
    font-size: 15px;
    color: var(--hotme-black);
    font-weight: 500;
}

.vme-btn-remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--danger);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.vme-btn-remove:hover {
    background: #C62828;
    transform: scale(1.1);
}

/* Image Preview */
.vme-image-preview {
    margin-top: 20px;
    position: relative;
    display: inline-block;
}

.vme-image-preview img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.vme-image-preview .vme-btn-remove {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Radio Groups */
.vme-radio-group {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.vme-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 20px;
    border: 2px solid var(--hotme-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.vme-radio-label:hover {
    border-color: var(--hotme-red);
    background: var(--hotme-gray-light);
}

.vme-radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

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

.vme-radio-label span {
    font-size: 15px;
    color: var(--hotme-black);
}

/* Checkbox Labels */
.vme-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px 0;
}

.vme-checkbox-label input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.vme-checkbox-label span {
    font-size: 15px;
    color: var(--hotme-black);
    font-weight: 500;
}

/* Input Groups (con prefijos) */
.vme-input-group {
    display: flex;
    align-items: center;
    border: 2px solid var(--hotme-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.vme-input-group:focus-within {
    border-color: var(--hotme-red);
    box-shadow: 0 0 0 3px rgba(215, 55, 68, 0.1);
}

.vme-input-prefix {
    padding: 14px 18px;
    background: var(--hotme-gray-light);
    color: var(--hotme-gray-dark);
    font-weight: 600;
    font-size: 15px;
    border-right: 2px solid var(--hotme-gray);
}

.vme-input-group .vme-input {
    border: none;
    flex: 1;
}

.vme-input-group .vme-input:focus {
    box-shadow: none;
}

/* Tags Preview */
.vme-tags-preview {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vme-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--hotme-red);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.vme-tag-item button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.vme-tag-item button:hover {
    background: rgba(255,255,255,0.2);
}

/* Categories List */
.vme-categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.vme-category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--hotme-gray-light);
    border: 2px solid var(--hotme-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.vme-category-item:hover {
    border-color: var(--hotme-red);
    background: white;
}

.vme-category-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.vme-category-item.selected {
    border-color: var(--hotme-red);
    background: rgba(215, 55, 68, 0.1);
}

.vme-category-item label {
    cursor: pointer;
    flex: 1;
    font-size: 14px;
    color: var(--hotme-black);
}

/* Form Actions */
.vme-form-actions {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding: 30px;
    background: var(--hotme-gray-light);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .vme-form-actions {
        flex-direction: column;
    }
    
    .vme-form-actions .vme-btn {
        width: 100%;
    }
}

/* Botón editar como enlace */
a.vme-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

a.vme-btn-icon:hover {
    text-decoration: none;
}

/* ========================================
   OPTIMIZACIÓN: SIN LOGO
======================================== */
body.vme-active .vme-sidebar-header {
    min-width: auto;
    padding: 0;
}

body.vme-active .vme-user-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0;
}

body.vme-active .vme-user-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

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

body.vme-active .vme-user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.vme-active .vme-user-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: var(--hotme-white);
}

body.vme-active .vme-user-role {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
}

/* Logo oculto */
body.vme-active .vme-logo {
    display: none;
}

body.vme-active .vme-logo-text {
    display: none;
}

/* Más espacio para navegación */
body.vme-active .vme-sidebar {
    gap: 20px;
}

body.vme-active .vme-sidebar-nav {
    gap: 8px;
}

/* ========================================
   PÁGINA EDITAR VIDEO - MISMO ESTILO DASHBOARD
======================================== */
/* Ocultar barra de WordPress en página editar */
body.page-template-page-editar-video #wpadminbar,
body.vme-active .vme-dashboard-wrapper-body #wpadminbar {
    display: none;
}

body.page-template-page-editar-video,
body.vme-active .vme-dashboard-wrapper-body {
    padding-top: 0;
    margin-top: 0;
}

/* Info grid consistente con dashboard */
.vme-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 0;
}

.vme-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vme-info-label {
    font-size: 12px;
    color: var(--hotme-gray-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vme-info-value {
    font-size: 16px;
    color: var(--hotme-black);
    font-weight: 600;
}

/* Form sections consistentes */
.vme-form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--hotme-gray);
}

.vme-form-section:last-of-type {
    border-bottom: none;
}

.vme-form-section h3 {
    font-size: 18px;
    color: var(--hotme-black);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vme-form-section h3 i {
    color: var(--hotme-red);
    font-size: 16px;
}

/* Current file info */
.vme-current-file {
    background: var(--hotme-gray-light);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.vme-file-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.vme-file-info i {
    font-size: 20px;
    color: var(--hotme-red);
    margin-top: 2px;
}

.vme-file-info strong {
    display: block;
    margin-bottom: 5px;
    color: var(--hotme-black);
    font-size: 14px;
}

.vme-file-info span {
    color: var(--hotme-gray-dark);
    font-size: 14px;
}

/* Form row grid */
.vme-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Form actions */
.vme-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid var(--hotme-gray);
}

.vme-form-actions .vme-btn {
    min-width: 150px;
}

/* Checkbox label */
.vme-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--hotme-black);
}

.vme-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--hotme-red);
}

/* Botón info (Vista Previa) */
.vme-btn-info {
    background: linear-gradient(135deg, var(--info) 0%, #1976D2 100%);
    color: var(--hotme-white);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.vme-btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* Responsive para formulario de editar */
@media (max-width: 768px) {
    .vme-form-actions {
        flex-direction: column;
    }
    
    .vme-form-actions .vme-btn {
        width: 100%;
    }
    
    .vme-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BOTÓN EDITAR VIDEO - TRIGGER ÚNICO
======================================== */
body.vme-active .vme-edit-video-trigger {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    background: var(--hotme-gray-light);
    color: var(--hotme-black);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

body.vme-active .vme-edit-video-trigger i {
    font-size: 16px;
    color: var(--hotme-black);
}

body.vme-active .vme-edit-video-trigger:hover {
    background: var(--hotme-red);
    color: var(--hotme-white);
    transform: scale(1.05);
}

body.vme-active .vme-edit-video-trigger:hover i {
    color: var(--hotme-white);
}

body.vme-active .vme-edit-video-trigger:active {
    transform: scale(0.95);
}

/* ========================================
   EDITOR DE VIDEO - CONTENEDOR INDEPENDIENTE
   NO USA .vme-section NI SISTEMA DE NAVEGACIÓN
======================================== */

/* Contenedor principal - overlay sobre dashboard */
.vme-edit-container-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

/* Container interno con contenido */
.vme-edit-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--hotme-white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease-out;
}

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

/* Header del editor */
.vme-edit-header {
    background: linear-gradient(135deg, var(--hotme-red) 0%, var(--hotme-red-dark) 100%);
    color: var(--hotme-white);
    padding: 30px 40px;
    border-radius: 16px 16px 0 0;
}

.vme-edit-header h1 {
    font-size: 28px;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--hotme-white);
}

.vme-edit-header h1 i {
    font-size: 24px;
}

.vme-edit-header p {
    margin: 0;
    opacity: 0.95;
    font-size: 15px;
}

/* Formulario de edición */
.vme-edit-video-form {
    padding: 40px;
}

/* Botón cerrar overlay */
.vme-edit-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--hotme-white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10000;
}

.vme-edit-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .vme-edit-container-wrapper {
        padding: 10px;
    }
    
    .vme-edit-header {
        padding: 20px;
    }
    
    .vme-edit-header h1 {
        font-size: 22px;
    }
    
    .vme-edit-video-form {
        padding: 20px;
    }
}

/* Asegurar que el overlay esté sobre todo */
body.vme-active .vme-edit-container-wrapper {
    position: fixed;
    z-index: 99999;
}

/* ========================================
   SECCIÓN DE PERFIL INTEGRADA
======================================== */
.vme-profile-dashboard-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 20px;
}

.vme-profile-sidebar-dashboard .vme-content-card {
    margin-bottom: 20px;
}

.vme-profile-photo-wrapper-dashboard {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

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

.vme-profile-photo-overlay-dashboard {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.vme-profile-photo-wrapper-dashboard:hover .vme-profile-photo-overlay-dashboard {
    opacity: 1;
}

.vme-upload-icon-dashboard {
    color: var(--hotme-white);
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.vme-upload-icon-dashboard i {
    font-size: 24px;
}

.vme-upload-icon-dashboard span {
    font-size: 12px;
}

.vme-account-info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Tabs del perfil */
.vme-profile-tabs-dashboard {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--hotme-gray);
}

.vme-profile-tab-btn {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--hotme-gray-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.vme-profile-tab-btn:hover {
    color: var(--hotme-red);
}

.vme-profile-tab-btn.active {
    color: var(--hotme-red);
    border-bottom-color: var(--hotme-red);
}

.vme-profile-tab-btn i {
    font-size: 16px;
}

.vme-profile-tab-content {
    display: none;
}

.vme-profile-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.vme-password-input-wrapper .vme-input {
    flex: 1;
    padding-right: 45px;
}

.vme-toggle-password-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--hotme-gray-dark);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.vme-toggle-password-btn:hover {
    color: var(--hotme-red);
}

.vme-toggle-password-btn i {
    font-size: 18px;
}

/* Responsive perfil */
@media (max-width: 1024px) {
    .vme-profile-dashboard-container {
        grid-template-columns: 250px 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .vme-profile-dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .vme-profile-tabs-dashboard {
        flex-direction: column;
        border-bottom: none;
    }
    
    .vme-profile-tab-btn {
        border-bottom: 1px solid var(--hotme-gray);
        border-left: 3px solid transparent;
    }
    
    .vme-profile-tab-btn.active {
        border-bottom-color: var(--hotme-gray);
        border-left-color: var(--hotme-red);
    }
}

/* ============================================
   PREVIEW DE 10 SEGUNDOS - NUEVO
   ============================================ */
.vme-video-mini-preview {
    margin-top: 15px;
    display: none;
}

.vme-video-mini-preview video {
    width: 100%;
    max-height: 150px;
    border-radius: 8px;
    background: #000;
}

.vme-preview-info {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vme-preview-info i {
    color: #28a745;
    font-size: 18px;
}

.vme-preview-info span {
    flex: 1;
    font-size: 14px;
    color: #666;
}

.vme-alert-info {
    background: #E7F3FF;
    border-left: 4px solid #0066CC;
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.vme-alert-info i {
    color: #0066CC;
    font-size: 18px;
    margin-top: 2px;
}

.vme-alert-info div {
    flex: 1;
}

.vme-alert-info strong {
    display: block;
    margin-bottom: 5px;
    color: #0066CC;
}

#preview-upload-box {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

#preview-upload-box:hover {
    border-color: var(--hotme-red);
    background: #FEF3F2;
}

#preview-upload-box i {
    font-size: 48px;
    color: var(--hotme-red);
    margin-bottom: 15px;
}

/* ==========================================================================
   v6.1.0 - Mejoras Dashboard Creadores
   ========================================================================== */

/* Hover en menú - Color BLANCO más visible (sin lila) */
body.vme-active .vme-nav-item:hover {
    background-color: rgba(255,255,255,0.25);
    color: #ffffff;
}

body.vme-active .vme-nav-item:hover i {
    color: #ffffff;
}

body.vme-active .vme-nav-item:hover span {
    color: #ffffff;
}

/* Asegurar que iconos de estadísticas sean visibles */
/* v6.3.19 - Ocultar iconos de estadísticas */
body.vme-active .vme-stat-icon {
    display: none;
}

body.vme-active .vme-stat-icon i {
    display: none;
}

/* Colores de iconos según tipo de estadística */
body.vme-active .vme-stat-card.vme-stat-primary .vme-stat-icon {
    display: none;
}

body.vme-active .vme-stat-card.vme-stat-success .vme-stat-icon {
    display: none;
}

body.vme-active .vme-stat-card.vme-stat-warning .vme-stat-icon {
    display: none;
}

body.vme-active .vme-stat-card.vme-stat-info .vme-stat-icon {
    display: none;
}

/* Iconos por defecto para estadísticas sin clase específica */
body.vme-active .vme-stat-card .vme-stat-icon {
    display: none;
}

/* ========================================
   v6.2.0 - RESPONSIVE MÓVIL - BOTTOM NAVIGATION
   (Igual que dashboard compradores)
======================================== */

@media (max-width: 768px) {
    /* Ocultar sidebar vertical en móvil y convertir en bottom navigation */
    body.vme-active .vme-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 65px;
        z-index: 1000;
        padding: 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        background: var(--creator-red);
    }
    
    /* Ocultar header y footer del sidebar en móvil */
    body.vme-active .vme-sidebar-header,
body.vme-active .vme-sidebar-footer {
        display: none;
    }
    
    /* Navegación horizontal en la parte inferior */
    body.vme-active .vme-sidebar-nav {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 0;
        background: red;
        height: 65px;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    body.vme-active .vme-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 4px;
        gap: 4px;
        border-left: none;
        border-bottom: 3px solid transparent;
        height: 100%;
        font-size: 10px;
        min-width: 70px;
        color: rgba(255,255,255,0.9);
        text-decoration: none;
    }
    
    body.vme-active .vme-nav-item i {
        font-size: 18px;
        margin-bottom: 2px;
        display: block;
        margin-right: 0;
    }
    
    body.vme-active .vme-nav-item span {
        font-size: 9px;
        text-align: center;
        line-height: 1.2;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    body.vme-active .vme-nav-item.active {
        background: #ffffff;
        border-left: none;
        border-bottom: 3px solid #D73744;
        color: #D73744;
    }
    
    body.vme-active .vme-nav-item.active i,
    body.vme-active .vme-nav-item.active span {
        color: #D73744;
    }
    
    body.vme-active .vme-nav-item:hover {
        background: rgba(0, 0, 0, 0.15);
    }
    
    /* Ajustar contenido principal para móvil */
    body.vme-active .vme-main-content {
        margin-left: 0;
        margin-bottom: 70px; /* Espacio para el bottom bar */
        padding: 15px;
        width: 100%;
    }
    
    body.vme-active .vme-dashboard-wrapper {
        flex-direction: column;
    }
}

/* ESCRITORIO - Menú más al extremo izquierdo */
@media (min-width: 769px) {
    body.vme-active .vme-sidebar {
        padding: 0 15px;
    }
    
    body.vme-active .vme-sidebar-header {
        padding-left: 0;
    }
    
    body.vme-active .vme-sidebar-nav {
        padding-left: 0;
    }
}

/* v6.1.9 - Fix para selects - ALTURA corregida para texto completo visible */
body.vme-active select.vme-input,
body.vme-active select#withdrawal_currency,
body.vme-active select#dashboard-country {
    width: 100%;
    min-width: 300px;
    padding: 14px 35px 14px 16px;
    font-size: 14px;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
    height: auto;
    min-height: 48px;
}

select.vme-input option,
select#withdrawal_currency option,
select#dashboard-country option {
    padding: 12px 15px;
    white-space: normal;
    overflow: visible;
    line-height: 1.5;
}

/* Asegurar que el texto no se corte en móvil */
@media (max-width: 768px) {
    select.vme-input,
    select#withdrawal_currency,
    select#dashboard-country {
        min-width: 250px;
        font-size: 13px;
        min-height: 46px;
    }
}

/* ========================================
   v6.3.21 - SUCCESS MESSAGE FOR VIDEO UPDATE
======================================== */
.vme-success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
    animation: slideDown 0.4s ease-out;
}

.vme-success-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vme-success-icon {
    font-size: 32px;
    animation: pulse 1.5s infinite;
}

.vme-success-text {
    font-size: 16px;
    font-weight: 600;
    color: #155724;
}

.vme-success-close {
    background: none;
    border: none;
    color: #155724;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.vme-success-close:hover {
    background: rgba(21, 87, 36, 0.1);
    color: #0d3d1f;
}

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

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

@media (max-width: 768px) {
    .vme-success-message {
        padding: 15px 18px;
    }
    
    .vme-success-icon {
        font-size: 24px;
    }
    
    .vme-success-text {
        font-size: 14px;
    }
}
