/* Listeo Calendar Widget Styles */
.listeo-calendar-widget-container {
    margin: 10px 0;
}

.listeo-calendar-widget-instance {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.listeo-calendar-container {
    margin: 15px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.listeo-calendar-shortcode {
    min-height: 400px;
}

/* FullCalendar customizations */
.fc {
    font-family: inherit;
}

.fc .fc-toolbar {
    padding: 10px;
    margin-bottom: 0;
    background: #f8f9fa;
}

.fc .fc-toolbar-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.fc .fc-button {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    font-size: 12px;
    padding: 4px 8px;
    text-transform: capitalize;
}

.fc .fc-button:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.fc .fc-button-primary:not(:disabled).fc-button-active {
    background: #2e86de;
    border-color: #2e86de;
    color: #fff;
}

.fc .fc-daygrid-day-number,
.fc .fc-col-header-cell-cushion {
    color: #333;
    text-decoration: none;
}

.fc .fc-day-today {
    background-color: rgba(46, 134, 222, 0.1) !important;
}

/* Event styles */
.listeo-calendar-event {
    background: #2e86de;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    padding: 2px 4px;
    margin: 1px 0;
    cursor: pointer;
}

.listeo-calendar-event-sample {
    background: #666;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    padding: 2px 4px;
    margin: 1px 0;
    cursor: pointer;
}

.fc .fc-event {
    border: none;
}

.fc .fc-event-title {
    font-weight: 500;
}

.fc .fc-event-time {
    font-weight: 400;
}

/* Loading state */
.fc-loading {
    opacity: 0.7;
    pointer-events: none;
}

.fc-loading::after {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 1000;
}

/* Responsive design */
@media (max-width: 768px) {
    .fc .fc-toolbar {
        flex-direction: column;
        gap: 10px;
    }
    
    .fc .fc-toolbar-title {
        font-size: 14px;
    }
    
    .fc .fc-button {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .fc .fc-header-toolbar {
        flex-wrap: wrap;
    }
}

/* Widget specific adjustments */
.widget_listeo-calendar-widget .listeo-calendar-widget-container {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

/* Elementor specific styles */
.elementor-listeo-calendar {
    background: transparent;
}

.elementor-listeo-calendar-placeholder {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 2px dashed #ddd;
}