/**
 * Component: Modal
 *
 */



/*------ Modal Container ------*/
.basse-modal:not(.open) {
    display: none;
}

.basse-modal.open {
    background-color: rgb( 0 0 0 / 0.6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: blur(10px);
}

/* Hide scrollbar for IE, Edge and Firefox */
.basse-modal:where(.basse-modal--work-preview, .basse-modal--faq-contact) {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.basse-modal:where(.basse-modal--work-preview, .basse-modal--faq-contact)::-webkit-scrollbar {
    display: none;
}

/*------ Modal Loader Icon ------*/
.loader-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    z-index: 3;
}

/*------ Modal Close Button ------*/
.basse-modal__close {
    display: flex;
    justify-content: center;
    font-weight: initial;
    color: var(--wp--preset--color--black);
    background-color: transparent;
    font-size: 2.5rem;
    line-height: 1;
    padding: initial;
    border: none;
    border-radius: inherit;
    width: 48px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.basse-modal__close:is(:hover, :focus, :focus-within) {
    color: var(--wp--preset--color--primary-1-500);
    background-color: initial;
}