.ec-fullcalendar-page {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    /*padding: 20px;*/
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

#ec-calendar {
    min-height: 700px;
}

.ec-calendar-title {
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.ec-legend {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.ec-legend span {
    padding: 5px 10px;
    border-radius: 20px;
    background: #f2f2f2;
    font-size: 13px;
}

.fc-event {
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .ec-fullcalendar-page {
        padding: 10px;
    }

    #ec-calendar {
        min-height: 500px;
    }
}

.ec-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.ec-modal-container {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 10px;
    position: relative;
    animation: ecModalAnim 0.2s ease;
}

@keyframes ecModalAnim {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.ec-modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    color: #fff;
}

.ec-modal-banner {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.ec-modal-body {
    padding: 20px;
}

.ec-modal-badges span {
    display: inline-block;
    margin-right: 8px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #eee;
}

.ec-badge-featured {
    background: #ffe8b3 !important;
}

.ec-badge-promo {
    background: #fff3cd !important;
}

.ec-badge-free {
    background: #d5f5e3 !important;
}

.ec-modal-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background: #2980b9;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.ec-loading {
    padding: 40px;
    text-align: center;
}