/* Calendar Container */
.calendar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Calendar Base */
.fc {
    background: white;
    border: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
}

/* Header/Toolbar */
.fc .fc-toolbar {
    margin-bottom: 2rem !important;
    padding: 0 0.5rem;
}

.fc .fc-toolbar-title {
    font-size: 1.5rem !important;
    font-weight: 500;
    color: #2c3e50;
}

/* Buttons */
.fc .fc-button-primary {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #2c3e50 !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    transition: all 0.2s ease;
}

.fc .fc-button-primary:hover {
    background-color: #e9ecef !important;
    border-color: #cbd3da !important;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: white !important;
}

/* Calendar Grid */
.fc .fc-daygrid-day {
    min-height: 100px !important;
}

.fc .fc-daygrid-day-frame {
    padding: 4px !important;
}

.fc .fc-daygrid-day-number {
    font-size: 0.9rem;
    color: #2c3e50;
    padding: 4px !important;
}

/* Headers */
.fc .fc-col-header-cell {
    padding: 0.75rem 0 !important;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6 !important;
}

.fc .fc-col-header-cell-cushion {
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none !important;
}

/* Events */
.fc-event {
    border: none !important;
    border-radius: 4px !important;
    padding: 2px 4px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    margin: 1px 0 !important;
}

.fc .fc-daygrid-event-harness {
    margin: 1px 0 !important;
}

.fc .fc-daygrid-day-events {
    margin: 0 !important;
    padding: 2px 0 !important;
}

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

/* Borders */
.fc td, .fc th {
    border-color: #dee2e6 !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .calendar-container {
        padding: 0;
    }

    .fc {
        border-radius: 0;
        padding: 0.5rem;
    }

    .fc .fc-toolbar {
        margin-bottom: 1rem !important;
    }

    .fc .fc-toolbar-title {
        font-size: 1.2rem !important;
    }

    .fc .fc-button {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.9rem !important;
    }

    .fc .fc-daygrid-day {
        min-height: 70px !important;
    }
}

/* Other Month Days */
.fc .fc-day-other {
    background-color: #f8f9fa;
    opacity: 0.7;
}

/* More Link */
.fc .fc-daygrid-more-link {
    color: #007bff;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none !important;
} 