
.elementor-event-widget {
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.elementor-event-widget.upcoming-event {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #f8fff8 0%, #fff 100%);
}

.elementor-event-widget.past-event {
    border-color: #999;
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    opacity: 0.8;
}

.elementor-event-widget.today-event {
    border-color: #FF9800;
    background: linear-gradient(135deg, #fff8e1 0%, #fff 100%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 2px 10px rgba(255, 152, 0, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(255, 152, 0, 0.6); }
    100% { box-shadow: 0 2px 10px rgba(255, 152, 0, 0.3); }
}

.event-media {
    margin-bottom: 15px;
}

.event-image, .event-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.event-title {
    color: #333;
    margin: 0 0 12px 0;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.3;
}

.past-event .event-title {
    color: #666;
}

.event-status {
    margin-bottom: 15px;
}

.upcoming-event-badge {
    background: #4CAF50;
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: bold;
    display: inline-block;
}

.past-event-badge {
    background: #999;
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: bold;
    display: inline-block;
}

.today-event-badge {
    background: #FF9800;
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: bold;
    display: inline-block;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-2px); }
}

.event-details {
    margin-bottom: 15px;
}

.event-details > div {
    margin-bottom: 8px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-detail-icon {
    font-size: 1em;
    min-width: 20px;
}

.event-description {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
}

.event-description p {
    margin-bottom: 10px;
}

.event-countdown {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
}

.days-until {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.days-passed {
    color: #999;
    background: rgba(153, 153, 153, 0.1);
    font-style: italic;
}

.countdown-today {
    color: #FF9800;
    background: rgba(255, 152, 0, 0.1);
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px rgba(255, 152, 0, 0.5); }
    to { text-shadow: 0 0 10px rgba(255, 152, 0, 0.8); }
}

/* Elementor Editor Specific Styles */
.elementor-editor-active .elementor-event-widget {
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .elementor-event-widget {
        padding: 15px;
    }
    
    .event-title {
        font-size: 1.3em;
    }
    
    .event-details > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Elementor specific overrides */
.elementor-widget-event_display_widget .elementor-event-widget {
    margin-bottom: 0;
}
