/* ============================================
   ZIKPIC - ESTILOS PRINCIPALES
   Diseño moderno inspirado en Tapas.io
   ============================================ */

/* Variables CSS */
:root {
    /* Colores principales - Verde Zikpic */
    --primary: #81d742;
    --primary-dark: #3ac403;
    --primary-light: #A8E6CF;
    --bg-light: #F1F8E9;

    
    /* Variables adicionales para compatibilidad */
    --zikpic-primary: #81d742;
    --zikpic-secondary: #3ac403;
    --zikpic-green: #81d742;
    --zikpic-green-dark: #2e9c02;
    --zikpic-gradient: linear-gradient(135deg, #81d742 0%, #3ac403 100%);
    --zikpic-gradient-dark: linear-gradient(to right, #2e9c02 0%, #81d742 60%);
    --zikpic-dark: #2c3e50;
    --zikpic-light: #ecf0f1;
    --zikpic-dark-green: #6bb536;
    --zikpic-light-green: #9de45a;
    --zikpic-white: #ffffff;
    --zikpic-lime: #9de054;
    --zikpic-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --accent-orange: #FF9800;
    --accent-pink: #E91E63;
    --light-bg: #F1F8E9;
    --card-bg: #FFFFFF;
    --card-hover: #F5F5F5;
    --text-dark: #2c3e50;
    --text-light: #1B5E20;
    --text-gray: #424242;
    --text-muted: #666666;
    --border: #E0E0E0;

    
    /* Colores secundarios */
    --secondary: #3498DB;
    --warning: #F39C12;
    --error: #E74C3C;
    --success: #2ECC71;
    --info: #17A2B8;
    --danger: #dc3545;
    
    /* Colores neutros */
    --dark: #2C3E50;
    --dark-light: #34495E;
    --gray: #7F8C8D;
    --gray-light: #BDC3C7;
    --light: #ECF0F1;
    --white: #FFFFFF;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #2ECC71, #27AE60);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #2C3E50, #34495E);
    
    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Espaciado */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    
    /* Border radius */
    --border-radius: 8px;
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-modal: 1050;
    --z-toast: 1100;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Contenedor principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-4);
}

/* Utilidades de texto */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }
.text-success { color: var(--success); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */

.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: var(--spacing-4) 0;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
}

.nav-brand {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    text-decoration: none;
    color: var(--dark);
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-search {
    flex: 1;
    max-width: 400px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: var(--spacing-3) var(--spacing-4);
    padding-right: 3rem;
    border: 2px solid var(--light);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.search-btn {
    position: absolute;
    right: var(--spacing-2);
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
}

.nav-actions {
    display: flex;
    gap: var(--spacing-3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--font-size-lg);
    color: var(--gray);
    cursor: pointer;
}

/* ============================================
   BOTONES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #27AE60;
}

.btn-google {
    background: #DB4437;
    color: var(--white);
}

.btn-facebook {
    background: #4267B2;
    color: var(--white);
}

.btn-twitter {
    background: #1DA1F2;
    color: var(--white);
}

.btn-lg {
    padding: var(--spacing-3) var(--spacing-6);
    font-size: var(--font-size-base);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.8), rgba(39, 174, 96, 0.9));
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-12);
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-6);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-8);
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-12);
}

.hero-actions .btn {
    padding: var(--spacing-4) var(--spacing-6);
    font-size: var(--font-size-base);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-8);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.hero-visual {
    position: relative;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
    transform: perspective(1000px) rotateY(-15deg) rotateX(15deg);
}

.hero-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.hero-card:hover {
    transform: scale(1.05);
}

.hero-card:nth-child(2) {
    transform: translateY(-2rem);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: var(--spacing-4);
    color: var(--white);
}

.card-category {
    font-weight: 600;
    font-size: var(--font-size-sm);
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */

section {
    padding: var(--spacing-20) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-12);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: var(--dark);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray);
}

.section-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2);
    margin-top: var(--spacing-6);
}

.filter-btn {
    padding: var(--spacing-2) var(--spacing-4);
    background: transparent;
    border: 2px solid var(--light);
    border-radius: var(--radius-full);
    color: var(--gray);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(46, 204, 113, 0.1);
}

/* Ocultar texto de los botones de filtro en móvil, solo íconos visibles */
@media (max-width: 600px) {
  .content-filter-tabs .filter-label {
    display: none !important;
  }
}

/* ============================================
   GRID DE CONTENIDO DESTACADO
   ============================================ */

.featured {
    background: var(--light);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-6);
}

.series-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    /* overflow: hidden; */
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.series-card:hover {
    /* transform: translateY(-4px);  // Comentado para evitar conflicto con tooltips Bootstrap */
    box-shadow: var(--shadow-lg);
}

.card-thumbnail {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: var(--spacing-2);
    left: var(--spacing-2);
    background: var(--primary);
    color: var(--white);
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--radius);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

/* Series badges específicos */
.series-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 10;
}

.badge-event { background: var(--accent-orange) !important; }
.badge-new { background: var(--zikpic-green) !important; }
.badge-up { background: var(--accent-pink) !important; }
.badge-featured { background: var(--zikpic-gradient) !important; }

.card-stats {
    position: absolute;
    bottom: var(--spacing-2);
    right: var(--spacing-2);
    display: flex;
    gap: var(--spacing-2);
}

.stat-badge {
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--radius);
    font-size: var(--font-size-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
}

.card-content {
    padding: var(--spacing-4);
}

.card-category {
    font-size: var(--font-size-xs);
    color: var(--gray);
    margin-bottom: var(--spacing-1);
}

.card-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-2);
    line-height: 1.4;
}

.card-author {
    font-size: var(--font-size-sm);
    color: var(--gray);
    margin-bottom: var(--spacing-3);
}

.card-description {
    font-size: var(--font-size-sm);
    color: var(--gray);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   CATEGORÍAS
   ============================================ */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-6);
}

.category-card {
    background: var(--white);
    padding: var(--spacing-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-3);
}

.category-name {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-2);
    color: var(--dark);
}

.category-description {
    font-size: var(--font-size-sm);
    color: var(--gray);
    margin-bottom: var(--spacing-4);
    line-height: 1.5;
}

.category-stats {
    font-size: var(--font-size-sm);
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   ZIKPIC LEAGUE
   ============================================ */

.league {
    background: var(--gradient-dark);
    color: var(--white);
}

.league-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-12);
    align-items: center;
}

.league-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-3);
}

.league-subtitle {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--spacing-8);
}

.divisions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-8);
}

.division {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-6);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.division-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-3);
}

.division-badge.beta {
    background: rgba(241, 196, 15, 0.2);
    color: #F1C40F;
    border: 2px solid #F1C40F;
}

.division-badge.pro {
    background: rgba(230, 126, 34, 0.2);
    color: #E67E22;
    border: 2px solid #E67E22;
}

.division h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2);
}

.division p {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    margin-bottom: var(--spacing-4);
}

.division ul {
    list-style: none;
    font-size: var(--font-size-sm);
}

.division li {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-2);
    opacity: 0.9;
}

.league-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trophy-animation {
    font-size: 8rem;
    color: var(--warning);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   COMUNIDAD
   ============================================ */

.community-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-8);
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-4);
    font-size: 2rem;
    color: var(--white);
}

.feature h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2);
    color: var(--dark);
}

.feature p {
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--spacing-16) 0 var(--spacing-8);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-8);
    margin-bottom: var(--spacing-8);
}

.footer-section h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-4);
}

.footer-section h5 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-3);
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: var(--spacing-4);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-2);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: var(--spacing-3);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-6);
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: var(--spacing-2);
}

.footer-motto {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .league-content {
        grid-template-columns: 1fr;
    }
    
    .divisions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 70%!important;
        max-width: 400px!important;
        align-items: center!important;
        margin: auto!important;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
        transform: none;
    }
    
    .hero-card:nth-child(2) {
        transform: none;
    }
    
    .section-filters {
        flex-wrap: wrap;
    }
    
    .featured-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--spacing-4);
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-3);
    }
    
    .nav-content {
        gap: var(--spacing-4);
    }
    
    .nav-search {
        display: none;
    }
    
    .nav-actions {
        gap: var(--spacing-2);
    }
    
    .nav-actions .btn {
        padding: var(--spacing-2) var(--spacing-3);
    }
    
    .nav-actions .btn span {
        display: none;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    section {
        padding: var(--spacing-12) 0;
    }
}

/* ============================================
   UTILIDADES
   ============================================ */

.hidden { display: none !important; }
.visible { display: block !important; }

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   AVATAR DROPDOWN UNIVERSAL (HEADER GLOBAL)
   ============================================ */
.avatar-dropdown {
    position: relative;
    display: inline-block;
}
.avatar-trigger {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--zikpic-primary, #81d742);
    color: #fff;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}
.avatar-trigger:hover {
    border-color: var(--zikpic-primary, #81d742);
    box-shadow: 0 0 0 3px rgba(129, 215, 66, 0.2);
}
.avatar-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Aislar dropdown avatar del Bootstrap */
/* Menú avatar sin conflicto Bootstrap */
.avatar-dropdown .avatar-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--zikpic-white, #fff);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 10px;
}

/* Mostrar menú con clase active (toggle) */
.avatar-dropdown .avatar-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

/* Hover solo en desktop (no en móvil) */
@media (min-width: 769px) {
    .avatar-dropdown:hover .avatar-menu,
    .avatar-dropdown .avatar-menu.hover-active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--zikpic-dark, #2E7D32);
    font-size: 14px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f3f4;
}
.dropdown-item:hover {
    background: rgba(129, 215, 66, 0.1);
    color: var(--zikpic-primary, #81d742);
}
.dropdown-item:last-child {
    border-bottom: none;
}
.dropdown-item i {
    margin-right: 12px;
    width: 16px;
    font-size: 16px;
}
.dropdown-item.logout {
    color: #e74c3c;
}
.dropdown-item.logout:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}
@media (max-width: 768px) {
    .avatar-trigger {
        width: 40px;
        height: 40px;
    }
    .avatar-dropdown .avatar-menu {
        min-width: 200px;
    }
}

/* .tooltip {
  position: fixed !important;
  left: 50% !important;
  top: 30px !important;
  z-index: 99999 !important;
  opacity: 1 !important;
  display: block !important;
  pointer-events: auto !important;
  transform: none !important;
} */