.cx-vui-popup__body{
    width: 45% !important;
}


/* General calendar container styling */
#fullcalendar {
    max-width: 95%;
    margin: 2rem auto;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Noto Serif', sans-serif;
    direction: rtl;
}

/* Header toolbar styling */
.fc-header-toolbar {
    padding: 1rem;
    background: linear-gradient(135deg, #f5f7fa, #e4e7eb);
    border-radius: 8px 8px 0 0;
    margin-bottom: 1rem;
}

/* Button styling */
.fc-button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.fc-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.fc-button:active {
    transform: translateY(0);
}

/* Day grid styling */
.fc-daygrid-day {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: background 0.2s ease;
}

.fc-daygrid-day:hover {
    background: #e9ecef;
}

/* Event styling */
.fc-event {
    background-color: #28a745;
    border: none;
    border-radius: 4px;
    padding: 0.3rem;
    margin: 0.2rem;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fc-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Day header styling */
.fc-day-header {
    background: #007bff;
    color: white;
    padding: 0.5rem;
    font-weight: bold;
}

/* Title styling */
.fc-toolbar-title {
    font-size: 1.5rem;
    color: #343a40;
    font-weight: 600;
}

/* Loading overlay */
.calendar-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Spinner animation */
.calendar-loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #fullcalendar {
        margin: 1rem;
        padding: 0.5rem;
    }

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

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

    .fc-event {
        font-size: 0.8rem;
        padding: 0.2rem;
    }
}