.fc-event {
    cursor: pointer;
}

.piecal-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.piecal-wrapper #calendar {
    width: 100%;
}

.piecal-controls {
    width: 100%;
    display: flex;
    padding: 8px;
}

.piecal-popover {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.piecal-popover__inner {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 32px;
    gap: 16px;
    margin: 0 32px;
    max-width: 400px;
    width: 100%;
    max-height: 75%;
    overflow: auto;
}

.piecal-popover__title {
    font-size: 2rem;
    margin-block-start: 0;
    margin-block-end: 0;
}

.piecal-popover__meta {
    font-size: 14px;
    font-style: italic;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-column-gap: 8px;
    grid-row-gap: 8px;
}

.piecal-popover__meta > p {
    margin-block-start: 0;
    margin-block-end: 0;
}

.piecal-popover__close-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    position: sticky;
    top: 0px;
    left: 100%;
    border: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    border-radius: 100%;
    cursor: pointer;
}

.piecal-popover__close-button::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 80%;
    background: black;
    transform: rotate(45deg);
}

.piecal-popover__close-button::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 80%;
    background: black;
    transform: rotate(-45deg);
}