body.loquet-newsletter-dialog-open {
    overflow: hidden;
}

.loquet-newsletter-modal[hidden] {
    display: none !important;
}

.loquet-newsletter-modal {
    align-items: center;
    background: rgba(0, 0, 0, 0.65);
    box-sizing: border-box;
    display: flex;
    inset: 0;
    justify-content: center;
    overflow-y: auto;
    padding: 24px;
    position: fixed;
    z-index: 13000;
}

.loquet-newsletter-modal__dialog {
    background: #ffffff;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
    color: #111111;
    line-height: normal;
    margin: auto;
    max-height: calc(100vh - 48px);
    max-width: 600px;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    text-align: left;
    width: 100%;
}

.loquet-newsletter-modal__close {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: #111111;
    cursor: pointer;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 400;
    height: 40px;
    inset-inline-end: 8px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    top: 8px;
    width: 40px;
    z-index: 1;
}

.loquet-newsletter-modal__close:hover,
.loquet-newsletter-modal__close:focus-visible {
    color: #000000;
    opacity: 0.7;
}

.loquet-newsletter-modal__close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.loquet-newsletter-modal__content,
.loquet-newsletter-modal__content > * {
    display: block;
    width: 100%;
}

html[dir="rtl"] .loquet-newsletter-modal__dialog {
    direction: rtl;
    text-align: right;
}

@media only screen and (max-width: 600px) {
    .loquet-newsletter-modal {
        align-items: flex-start;
        padding: 14px;
    }

    .loquet-newsletter-modal__dialog {
        max-height: calc(100vh - 28px);
        padding: 34px 20px 24px;
    }
}
