.exo-vat-modal[hidden] {
    display: none !important;
}

.exo-vat-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 20px;
}

.exo-vat-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.58);
}

.exo-vat-modal__dialog {
    position: relative;
    width: min(540px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 28px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 20px 65px rgba(0, 0, 0, 0.28);
    color: #252525;
}

.exo-vat-modal__dialog h2 {
    margin: 0 40px 16px 0;
    font-size: 22px;
    line-height: 1.3;
}

.exo-vat-modal__dialog p {
    margin: 0 0 18px;
    line-height: 1.65;
}

.exo-vat-modal__question {
    font-weight: 700;
}

.exo-vat-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.exo-vat-modal__actions {
    display: grid;
    gap: 10px;
    margin: 26px 0 18px;
}

.exo-vat-modal__button {
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.exo-vat-modal__button--standard {
    background: #252525;
}

.exo-vat-modal__button--zero {
    background: #72bf19;
}

.exo-vat-modal__button:hover,
.exo-vat-modal__button:focus-visible {
    filter: brightness(0.92);
}

.exo-vat-modal__dialog small {
    display: block;
    color: #686868;
    line-height: 1.5;
}

.exo-vat-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .exo-vat-modal {
        padding: 12px;
    }

    .exo-vat-modal__dialog {
        padding: 24px 18px;
    }

    .exo-vat-modal__dialog h2 {
        font-size: 19px;
    }
}
