/* static/CSS/convocatorias/landing/landing.css */

:root {
    --azul: #1F2AA5;
    --azul-claro: #4A5BFF;
    --azul-electrico: #2A36D4;
    --azul-neon: #6A7BFF;
    --naranja: #FF8300;
    --naranja-claro: #FF9C33;
    --naranja-neon: #FFAA00;
    --gris: #5E666F;
    --gris-claro: #f8f9fa;
    --gris-border: #e9ecef;
    --blanco: #ffffff;
    --sombra: 0 8px 30px rgba(31, 42, 165, 0.08);
    --sombra-hover: 0 15px 40px rgba(31, 42, 165, 0.15);
    --sombra-intensa: 0 20px 50px rgba(31, 42, 165, 0.2);
    --degradado-hero: linear-gradient(135deg, var(--azul) 0%, var(--azul-electrico) 25%, var(--azul-claro) 50%, var(--azul-neon) 75%, var(--azul) 100%);
    --degradado-card: linear-gradient(135deg, var(--azul) 0%, var(--azul-claro) 100%);
}

/* Reset y base mejorados */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f5 50%, #d8e0f7 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container personalizado */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section Modernizada */
.hero-section {
    background: var(--degradado-hero);
    background-size: 400% 400%;
    color: white;
    padding: 6rem 0;
    border-radius: 0 0 3rem 3rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 170, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(106, 123, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--naranja-neon), 
        var(--naranja), 
        var(--naranja-neon), 
        transparent);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    position: relative;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--naranja-neon), var(--naranja));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(255, 170, 0, 0.2);
    z-index: -1;
    border-radius: 6px;
    transform: skewX(-15deg);
    filter: blur(8px);
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 0;
    font-weight: 300;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 600px;
}

/* Botón crear convocatoria mejorado */
.btn-crear-convocatoria {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--naranja), var(--naranja-neon));
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 6px 20px rgba(255, 131, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-crear-convocatoria::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.6s ease;
}

.btn-crear-convocatoria:hover::before {
    left: 100%;
}

.btn-crear-convocatoria:hover {
    background: linear-gradient(135deg, var(--naranja-neon), var(--naranja));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 30px rgba(255, 131, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: white;
}

/* Filtros simples para no administradores */
.filtros-simples {
    padding: 0 1.5rem;
}

.filtros-simples .btn-group {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: var(--sombra);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.filtros-simples .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Categorías Section Modernizada */
.categorias-section {
    padding: 0 1.5rem;
    margin-bottom: 4rem;
}

.categorias-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: var(--sombra-intensa);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.categorias-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--azul), var(--azul-claro), var(--azul));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.nav-scroll {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--azul-claro) transparent;
}

.nav-scroll::-webkit-scrollbar {
    height: 8px;
}

.nav-scroll::-webkit-scrollbar-track {
    background: rgba(233, 236, 239, 0.5);
    border-radius: 4px;
}

.nav-scroll::-webkit-scrollbar-thumb {
    background: var(--degradado-card);
    border-radius: 4px;
}

.nav-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--azul-claro);
}

.categoria-btn {
    display: flex;
    align-items: center;
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    color: var(--gris);
    padding: 1.2rem 1.8rem;
    border-radius: 1.2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    min-width: max-content;
    position: relative;
    overflow: hidden;
}

.categoria-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent);
    transition: left 0.6s ease;
}

.categoria-btn:hover::before {
    left: 100%;
}

.categoria-btn:hover {
    background: var(--degradado-card);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--sombra-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

.categoria-btn.active {
    background: var(--degradado-card);
    color: white;
    border-color: var(--naranja-neon);
    box-shadow: 
        var(--sombra-hover),
        0 0 0 2px rgba(255, 170, 0, 0.3);
}

.categoria-badge {
    background: var(--naranja);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 1rem;
    box-shadow: 0 3px 10px rgba(255, 131, 0, 0.4);
    transition: all 0.3s ease;
}

.categoria-btn.active .categoria-badge {
    background: white;
    color: var(--azul);
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.4);
}

/* Stats Section Mejorada */
.stats-section {
    padding: 0 1.5rem;
    margin-bottom: 5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: var(--sombra);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--degradado-card);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--sombra-intensa);
    border-color: rgba(74, 91, 255, 0.2);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--degradado-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: 
        0 6px 20px rgba(31, 42, 165, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 
        0 10px 30px rgba(31, 42, 165, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--degradado-card);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 15px rgba(31, 42, 165, 0.2);
}

.stat-label {
    color: var(--gris);
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Section Header Mejorado */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--degradado-card);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(31, 42, 165, 0.3);
}

.section-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: transparent;
    margin-bottom: 1rem;
    background: var(--degradado-card);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(31, 42, 165, 0.1);
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--gris);
    opacity: 0.8;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Convocatoria Cards Modernizadas */
.convocatoria-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.convocatoria-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(74, 91, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.convocatoria-card:hover::before {
    opacity: 1;
}

.convocatoria-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--sombra-intensa);
    border-color: rgba(74, 91, 255, 0.2);
}

.convocatoria-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 170, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 91, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.convocatoria-card:hover::after {
    opacity: 1;
}

.card-header {
    background: var(--degradado-card);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    color: white;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 170, 0, 0.1) 0%, transparent 50%);
}

.card-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.status-badge {
    background: var(--naranja);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(255, 131, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-active {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.status-inactive {
    background: linear-gradient(135deg, #6c757d, #868e96);
    color: white;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 1.5rem 0 0 0;
    line-height: 1.3;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 3rem 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-description {
    color: var(--gris);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-size: 1.05rem;
    opacity: 0.9;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gris);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.convocatoria-card:hover .meta-item {
    opacity: 1;
}

.meta-item i {
    color: var(--azul);
    width: 20px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.convocatoria-card:hover .meta-item i {
    transform: scale(1.2);
}

.card-footer {
    padding: 2rem 2rem;
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(233, 236, 239, 0.5);
    position: relative;
}

/* Card Actions */
.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.btn-primary-action {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--degradado-card);
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 5px 18px rgba(31, 42, 165, 0.3);
    border: none;
    cursor: pointer;
    flex: 1;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
}

.btn-primary-action i {
    transition: transform 0.3s ease;
}

.btn-primary-action:hover {
    background: linear-gradient(135deg, var(--azul-claro), var(--azul));
    transform: translateX(5px);
    color: white;
    box-shadow: 0 8px 25px rgba(31, 42, 165, 0.5);
}

.btn-primary-action:hover i {
    transform: translateX(5px);
}

/* Empty State Mejorado */
.empty-state {
    text-align: center;
    padding: 8rem 3rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 3rem;
    box-shadow: var(--sombra);
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.empty-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--degradado-card);
}

.empty-icon {
    font-size: 6rem;
    color: var(--gris-border);
    margin-bottom: 2.5rem;
    opacity: 0.7;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

.empty-title {
    font-size: 2.5rem;
    color: var(--gris);
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gris), var(--azul));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-description {
    font-size: 1.3rem;
    color: var(--gris);
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.empty-action .btn-crear-convocatoria {
    font-size: 1.2rem;
    padding: 1.3rem 2.8rem;
}

/* Responsive Design Mejorado */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .stat-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
        border-radius: 0 0 2rem 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn-crear-convocatoria {
        width: 100%;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .card-header {
        padding: 2.5rem 2rem;
    }
    
    .card-body {
        padding: 2.5rem 2rem;
    }
    
    .card-title {
        font-size: 1.4rem;
    }
    
    .categorias-nav {
        padding: 1.5rem;
    }
    
    .categoria-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 3rem 0;
        border-radius: 0 0 1.5rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .empty-state {
        padding: 5rem 2rem;
    }
    
    .empty-title {
        font-size: 2rem;
    }
    
    .empty-description {
        font-size: 1.1rem;
    }
    
    .card-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary-action {
        width: 100%;
    }
}

/* Animaciones adicionales */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes shimmer {
    0%, 100% { background-position: -200% 0; }
    50% { background-position: 200% 0; }
}

/* Mejoras de rendimiento */
.convocatoria-card,
.stat-card,
.btn-crear-convocatoria {
    will-change: transform;
    backface-visibility: hidden;
}

/* Estados de carga mejorados */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent);
    animation: loadingShine 1.5s infinite;
}

@keyframes loadingShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Focus states para accesibilidad */
.btn-crear-convocatoria:focus,
.btn-primary-action:focus,
.categoria-btn:focus,
.dropdown-trigger-btn:focus {
    outline: 3px solid var(--naranja-neon);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 170, 0, 0.2);
}

/* ============================================ */
/* CUSTOM DROPDOWN - DISEÑO CON JS PURO */
/* ============================================ */

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger-btn {
    background: rgba(248, 249, 250, 0.9);
    border: 1.5px solid #e9ecef;
    color: #5E666F;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
}

.dropdown-trigger-btn:hover {
    background: linear-gradient(135deg, #1F2AA5, #4A5BFF);
    border-color: #1F2AA5;
    color: white;
    transform: scale(1.05);
}

/* Asegurar que el ícono de los tres puntos también se ponga blanco */
.dropdown-trigger-btn:hover i {
    color: white;
}

.custom-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 260px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    padding: 8px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transform: translateY(-10px);
}

.custom-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-item {
    padding: 10px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5E666F;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.custom-dropdown-item i {
    width: 20px;
    font-size: 1rem;
    text-align: center;
    color: #1F2AA5;
    transition: color 0.2s ease;
}

.custom-dropdown-item span {
    flex: 1;
    transition: color 0.2s ease;
}

.custom-dropdown-item:hover {
    background: linear-gradient(135deg, #1F2AA5, #4A5BFF);
    text-decoration: none;
    transform: translateX(4px);
    color: white;
}

.custom-dropdown-item:hover span {
    color: white;
}

.custom-dropdown-item:hover i {
    color: white;
}

/* Estilos para el contenedor de acciones en el área de metadatos */
.meta-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px dashed rgba(233, 236, 239, 0.8);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.meta-actions span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--azul);
    opacity: 0.8;
    transition: all 0.2s ease;
}

.meta-actions span:hover {
    color: var(--azul-claro);
    opacity: 1;
    cursor: default;
}

.meta-actions .custom-dropdown {
    margin-left: auto;
}

/* Responsive para móvil */
@media (max-width: 576px) {
    .custom-dropdown-menu {
        position: fixed;
        left: 50% !important;
        right: auto !important;
        top: auto;
        bottom: auto;
        transform: translateX(-50%) translateY(-10px);
        width: calc(100% - 32px);
        max-width: 300px;
        min-width: unset;
    }
    
    .custom-dropdown-menu.show {
        transform: translateX(-50%) translateY(0);
    }
    
    .meta-actions {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .meta-actions span {
        font-size: 0.75rem;
    }
}