/* Modal Detalles Eventos - Premium Dark Theme */
.wp-cb-desig-moddeteve-v1-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: wpCbbModdeteveFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wp-cb-desig-moddeteve-v1-modal-content {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #0c0c0c 100%);
    margin: 2% auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    border-radius: 20px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(6, 182, 212, 0.1); /* CIAN */
    animation: wpCbbModdeteveSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #ffffff;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.wp-cb-desig-moddeteve-v1-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(6, 182, 212, 0.6) 50%, /* CIAN */
        transparent 100%);
}

.wp-cb-desig-moddeteve-v1-modal-header {
    padding: 25px 35px 20px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(30, 30, 30, 0.7) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
    position: relative;
}

.wp-cb-desig-moddeteve-v1-modal-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #06b6d4 50%, /* CIAN */
        transparent 100%);
}

.wp-cb-desig-moddeteve-v1-event-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.wp-cb-desig-moddeteve-v1-event-text {
    flex: 1;
}

.wp-cb-desig-moddeteve-v1-event-title {
    margin: 0 0 8px 0;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #ffffff 0%, #67e8f9 100%); /* CIAN CLARO */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(6, 182, 212, 0.3); /* CIAN */
}

.wp-cb-desig-moddeteve-v1-event-code {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(8, 145, 178, 0.1) 100%); /* CIAN */
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid rgba(6, 182, 212, 0.3); /* CIAN */
    font-size: 0.9rem;
    color: #22d3ee; /* CIAN */
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2); /* CIAN */
}

.wp-cb-desig-moddeteve-v1-modal-body {
    padding: 0;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: 
        radial-gradient(ellipse at top right, rgba(6, 182, 212, 0.03) 0%, transparent 50%), /* CIAN */
        radial-gradient(ellipse at bottom left, rgba(16, 185, 129, 0.03) 0%, transparent 50%); /* VERDE */
}

.wp-cb-desig-moddeteve-v1-details-container {
    flex: 1;
    padding: 25px 35px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.02);
}

.wp-cb-desig-moddeteve-v1-details-content {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(40, 40, 40, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-height: 200px;
}

.wp-cb-desig-moddeteve-v1-details-content * {
    color: #e5e7eb !important;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
}

.wp-cb-desig-moddeteve-v1-details-content h1,
.wp-cb-desig-moddeteve-v1-details-content h2,
.wp-cb-desig-moddeteve-v1-details-content h3,
.wp-cb-desig-moddeteve-v1-details-content h4,
.wp-cb-desig-moddeteve-v1-details-content h5,
.wp-cb-desig-moddeteve-v1-details-content h6 {
    color: #ffffff !important;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.wp-cb-desig-moddeteve-v1-details-content h1 {
    font-size: 1.8rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #67e8f9 100%); /* CIAN CLARO */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wp-cb-desig-moddeteve-v1-details-content h2 {
    font-size: 1.5rem !important;
    color: #67e8f9 !important; /* CIAN CLARO */
}

.wp-cb-desig-moddeteve-v1-details-content h3 {
    font-size: 1.3rem !important;
    color: #22d3ee !important; /* CIAN */
}

.wp-cb-desig-moddeteve-v1-details-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #d1d5db !important;
}

.wp-cb-desig-moddeteve-v1-details-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.wp-cb-desig-moddeteve-v1-details-content th {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); /* CIAN */
    color: white !important;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.wp-cb-desig-moddeteve-v1-details-content td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5e7eb !important;
}

.wp-cb-desig-moddeteve-v1-details-content tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.wp-cb-desig-moddeteve-v1-details-content tr:hover {
    background: rgba(6, 182, 212, 0.1); /* CIAN */
}

.wp-cb-desig-moddeteve-v1-details-content ul,
.wp-cb-desig-moddeteve-v1-details-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.wp-cb-desig-moddeteve-v1-details-content li {
    margin-bottom: 0.5rem;
    color: #d1d5db !important;
}

.wp-cb-desig-moddeteve-v1-details-content strong,
.wp-cb-desig-moddeteve-v1-details-content b {
    color: #ffffff !important;
    font-weight: 600;
}

.wp-cb-desig-moddeteve-v1-details-content em,
.wp-cb-desig-moddeteve-v1-details-content i {
    color: #67e8f9 !important; /* CIAN CLARO */
    font-style: italic;
}

.wp-cb-desig-moddeteve-v1-modal-footer {
    padding: 20px 35px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(30, 30, 30, 0.7) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 20px 20px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.wp-cb-desig-moddeteve-v1-modal-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #06b6d4 50%, /* CIAN */
        transparent 100%);
}

.wp-cb-desig-moddeteve-v1-close-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 30px rgba(107, 114, 128, 0.4),
        0 2px 10px rgba(107, 114, 128, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.wp-cb-desig-moddeteve-v1-close-btn:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 40px rgba(107, 114, 128, 0.5),
        0 4px 20px rgba(107, 114, 128, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.wp-cb-desig-moddeteve-v1-close-btn:active {
    transform: translateY(1px);
}

/* Animaciones */
@keyframes wpCbbModdeteveFadeIn {
    from { 
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

@keyframes wpCbbModdeteveSlideIn {
    from { 
        opacity: 0;
        transform: translateY(-60px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scrollbar personalizado */
.wp-cb-desig-moddeteve-v1-details-container::-webkit-scrollbar {
    width: 8px;
}

.wp-cb-desig-moddeteve-v1-details-container::-webkit-scrollbar-track {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 4px;
}

.wp-cb-desig-moddeteve-v1-details-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); /* CIAN */
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wp-cb-desig-moddeteve-v1-details-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%); /* CIAN */
}

/* Responsive */
@media (max-width: 1024px) {
    .wp-cb-desig-moddeteve-v1-modal-content {
        width: 98%;
        height: 95vh;
        margin: 1% auto;
    }
    
    .wp-cb-desig-moddeteve-v1-modal-header {
        padding: 20px 25px 15px;
    }
    
    .wp-cb-desig-moddeteve-v1-details-container {
        padding: 20px 25px;
    }
}

@media (max-width: 768px) {
    .wp-cb-desig-moddeteve-v1-modal-content {
        border-radius: 16px;
        height: 97vh;
    }
    
    .wp-cb-desig-moddeteve-v1-event-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .wp-cb-desig-moddeteve-v1-event-title {
        font-size: 1.3rem;
    }
    
    .wp-cb-desig-moddeteve-v1-modal-header {
        padding: 15px 20px 12px;
    }
    
    .wp-cb-desig-moddeteve-v1-details-container {
        padding: 15px 20px;
    }
    
    .wp-cb-desig-moddeteve-v1-details-content {
        padding: 20px;
    }
    
    .wp-cb-desig-moddeteve-v1-modal-footer {
        padding: 15px 20px;
    }
}

/* Efectos de brillo */
.wp-cb-desig-moddeteve-v1-modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    pointer-events: none;
    background: 
        radial-gradient(600px circle at 20% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%), /* CIAN */
        radial-gradient(600px circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%); /* VERDE */
    z-index: -1;
}