.fab-event-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10000;
}

.fab-event-button i,
.fab-event-button svg {
    transition: color 0.3s ease, fill 0.3s ease;
}

@media (max-width: 768px) {
    .fab-event-button i,
    .fab-event-button svg {
        font-size: 18px;
    }
}

.fab-event-popup {
    position: fixed;
    bottom: 80px;
    right: -400px;
    width: 350px;
    z-index: 10001;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.fab-event-popup.active {
    display: block;
}

.fab-event-popup-content {
    width: 100%;
    padding: 15px;
    overflow-y: auto;
    box-sizing: border-box;
    border-radius: 8px;
}

.fab-event-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

#fab-event-calendar {
    margin-top: 15px;
    min-height: 250px;
}

.fc-button:hover {
    opacity: 0.8;
}

.fc {
    font-size: 12px;
}

.fc .fc-toolbar {
    flex-wrap: wrap;
}

.event-details-popup {
    position: absolute;
    bottom: 10px;
    right: -300px;
    width: 250px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 10002;
}

.event-details-popup h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.event-details-popup p {
    margin: 5px 0;
    font-size: 12px;
}

.event-details-close {
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

@media (max-width: 768px) {
    .fab-event-popup {
        width: 280px;
        bottom: 60px;
        right: -300px;
    }
    .fab-event-popup.active {
        right: 10px;
    }
    .event-details-popup {
        width: 200px;
        right: -250px;
    }
}