.popover-container:not:has(.full-screen-popover),
#mobile-popover-container {
    position: relative;
}

.popover-container .popover {
    background-color: white;
    border: 1px solid var(--light-grey);
    border-radius: var(--s-sm);
    margin-top: 0.4rem;
    padding: var(--s-sm);
    z-index: 1000;
}

.popover-container .full-screen-popover {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1.5rem;
    left: 0;
    width: 100%;
    padding: 0.5rem;
    position: absolute;
    z-index: 999;
}

.popover-container .full-screen-popover .close-button {
    align-items: center;
    background-color: var(--white);
    border: 1px solid var(--light-grey);
    border-radius: 50%;
    display: flex;
    height: 40px;
    justify-content: center;
    margin: 0 auto;
    width: 40px;
}

.popover-container .full-screen-popover .close-button svg {
    height: 40%;
    width: 40%;
}

.popover-container h3 {
    font-weight: 500;
    margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
    .popover-container,
    .popover {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .popover {
        position: absolute;
        width: max-content;
    }
}
