.technical-popup {
    position: fixed;
    z-index: 2147483647;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.technical-popup.is-hidden {
    display: none;
}

.technical-popup__dialog {
    position: relative;
    width: 100%;
    max-width: 860px !important;
    margin: auto;
    padding: 30px 30px 40px !important;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 25px rgba(11, 31, 71, 0.15);
}

.technical-popup__close {
    position: absolute;
    z-index: 1;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f5f7fa;
    color: #0a1e46;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.technical-popup__close::before,
.technical-popup__close::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 10px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.technical-popup__close::before {
    transform: rotate(45deg);
}

.technical-popup__close::after {
    transform: rotate(-45deg);
}

.technical-popup__close:hover,
.technical-popup__close:focus-visible {
    background: #2382e0;
    color: #fff;
}

.technical-popup__logo {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 24px;
}

.technical-popup__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.technical-popup__title {
    margin: 0 0 16px;
    color: #0a1e46;
    font-size: 28px !important;
    line-height: 36px !important;
    text-align: center;
}

.technical-popup__message {
    display: flex;
    align-items: flex-start !important;
    padding: 18px;
    border: 3px solid #f5f7fa;
    border-radius: 20px;
    background: #fff;
    color: #0a1e46;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.technical-popup__message svg {
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-right: 16px;
}

.technical-popup__message p {
    margin: 0;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

body.technical-popup-open {
    overflow: hidden;
}

body.technical-popup-open #popup-banner {
    display: none !important;
}

@media (max-width: 600px) {
    .technical-popup {
        padding: 8px;
    }

    .technical-popup__dialog {
        padding: 26px 16px 32px;
    }

    .technical-popup__logo {
        max-width: 200px;
    }

    .technical-popup__title {
        font-size: 22px;
        line-height: 28px;
    }

    .technical-popup__message {
        font-size: 14px;
    }
}
