/**
 * FullCalendar Fallback CSS
 * Basic styles for FullCalendar when CDN is not available
 */

/* FullCalendar Container */
.fc {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

/* Header Toolbar */
.fc-header-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
    flex-wrap: wrap;
    gap: 10px;
}

.fc-toolbar-chunk {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Buttons */
.fc-button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 2px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.fc-button:hover {
    background: #005a87;
}

.fc-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.fc-button-primary {
    background: #0073aa;
}

.fc-button-primary:hover {
    background: #005a87;
}

/* Calendar Grid */
.fc-daygrid-day {
    border: 1px solid #ddd;
    min-height: 100px;
    background: #fff;
}

.fc-daygrid-day-frame {
    min-height: 100px;
    padding: 2px;
}

.fc-daygrid-day-events {
    margin-top: 2px;
}

.fc-daygrid-day-number {
    padding: 4px;
    font-weight: 500;
}

/* Events */
.fc-event {
    background: #0073aa;
    color: white;
    padding: 2px 4px;
    margin: 1px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fc-event:hover {
    background: #005a87;
}

.fc-event-title {
    font-weight: 500;
}

/* Calendar Header */
.fc-col-header {
    background: #f8f9fa;
    border-bottom: 2px solid #ddd;
}

.fc-col-header-cell {
    padding: 8px 4px;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid #ddd;
}

.fc-col-header-cell:last-child {
    border-right: none;
}

/* Today */
.fc-day-today {
    background: #fff3cd !important;
}

/* Other Views */
.fc-timegrid-slot {
    border-bottom: 1px solid #eee;
    height: 40px;
}

.fc-timegrid-slot-label {
    padding: 4px;
    font-size: 12px;
    color: #666;
}

.fc-list-day {
    background: #f8f9fa;
    padding: 8px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

.fc-list-event {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.fc-list-event:hover {
    background: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
    .fc-header-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .fc-toolbar-chunk {
        justify-content: center;
    }
    
    .fc-daygrid-day {
        min-height: 80px;
    }
}

/* Loading State */
.fc-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Event Details */
.fc-event-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0073aa;
    margin-right: 4px;
}

/* Multiple Events */
.vep-multiple-events .fc-event {
    font-size: 10px;
    padding: 1px 2px;
    margin: 1px 0;
}

.vep-stacked-event {
    margin-bottom: 1px !important;
}
