.calendar-container-5301d257 {
    font-family: inherit;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-width: 100%;
}

.calendar-header-5301d257 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    color: #ffffff;
}

.calendar-header-5301d257 h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: inherit;
}

.calendar-nav-btn-5301d257 {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav-btn-5301d257:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.calendar-weekdays-5301d257 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.weekday-header-5301d257 {
    font-size: 0.875rem;
    padding: 8px 0;
}

.calendar-grid-5301d257 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 8px;
}

.calendar-day-5301d257 {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    border-radius: 50%;
    cursor: pointer;
    margin: 4px;
    transition: background-color 0.2s, color 0.2s;
    user-select: none;
}

.calendar-day-5301d257:not(.empty-day-5301d257):hover {
    background-color: #f3f4f6;
}

.calendar-day-5301d257.empty-day-5301d257 {
    cursor: default;
    background: transparent;
}

/* Event marker */
.calendar-day-5301d257.has-event-5301d257::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.calendar-day-5301d257.selected-5301d257 {
    border: 2px solid;
}

/* Modal Popup Styles */
.calendar-modal-5301d257 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* WordPress Admin Bar adjustment */
body.admin-bar .calendar-modal-5301d257 {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .calendar-modal-5301d257 {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.calendar-modal-5301d257.is-active-5301d257 {
    display: flex;
}

.modal-overlay-5301d257 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.modal-content-5301d257 {
    position: relative;
    width: 90%;
    max-width: 480px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 10;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.calendar-modal-5301d257.is-active-5301d257 .modal-content-5301d257 {
    transform: scale(1);
    opacity: 1;
}

.modal-close-5301d257 {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s;
}

.modal-close-5301d257:hover {
    color: #4b5563;
}

.modal-header-5301d257 {
    margin-bottom: 16px;
}

.modal-date-tag-5301d257 {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 4px;
}

.modal-title-5301d257 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-body-5301d257 {
    font-size: 0.95rem;
    line-height: 1.5;
}
