/* Фірмовий SweetAlert2 (Figma desktop 1920 / mobile 390). px — html { font-size: 1vw } */

.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-noanimation {
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.swal2-popup {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 506.667px;
    max-width: calc(100% - 48px);
    height: auto !important;
    max-height: none !important;
    padding: 42.667px;
    border: 0;
    border-radius: 13.333px;
    background: #fff;
    box-shadow: 0 26.667px 16.667px rgba(0, 0, 0, 0.1), 0 10.667px 6.667px rgba(0, 0, 0, 0.1);
    font-family: Gbar, G-BAR, GbarRegular, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    color: #000;
    overflow: visible !important;
}

.swal2-icon,
.swal2-image,
.swal2-success-circular-line-left,
.swal2-success-circular-line-right,
.swal2-success-fix {
    display: none !important;
}

.swal2-title {
    display: block;
    margin: 0;
    padding: 0 28px 0 0;
    color: #000;
    font-family: Gbar, G-BAR, GbarBold, sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: -0.72px;
    text-align: left;
}

.swal2-html-container {
    display: block !important;
    margin: 10.667px 0 0;
    padding: 0 !important;
    height: auto !important;
    max-height: none !important;
    min-height: min-content;
    color: #666;
    font-family: Gbar, G-BAR, GbarRegular, sans-serif;
    font-size: 18.667px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: -0.56px;
    text-align: left;
    white-space: normal !important;
    overflow: visible !important;
}

.swal2-html-container p {
    margin: 0 0 0.35em;
}

.swal2-html-container p:last-child {
    margin-bottom: 0;
}

.swal2-input,
.swal2-file,
.swal2-textarea,
.swal2-select,
.swal2-checkbox,
.swal2-radio {
    box-sizing: border-box;
    width: 100%;
    margin: 16px 0 0;
    height: 62.667px;
    padding: 0 16px;
    border: 1.333px solid #c0c0c0;
    border-radius: 10.667px;
    box-shadow: none;
    font-family: Gbar, G-BAR, GbarRegular, sans-serif;
    font-size: 18.667px;
    font-weight: 400;
    color: #000;
}

.swal2-input:focus,
.swal2-textarea:focus {
    border-color: #0223C6;
    box-shadow: none;
    outline: none;
}

.swal2-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    margin: 29.333px 0 0;
    padding: 0;
    gap: 13.333px;
}

.swal2-container .swal2-actions:not(.swal2-loading) .swal2-styled,
.swal2-container .swal2-confirm,
.swal2-container .swal2-cancel,
.swal2-container .swal2-deny {
    display: flex;
    flex: 1 1 0%;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    height: 62.667px;
    margin: 0;
    padding: 0 12px;
    border-radius: 10.667px;
    font-family: Gbar, G-BAR, GbarRegular, sans-serif !important;
    font-size: 18.667px !important;
    font-style: normal;
    line-height: 28px;
    letter-spacing: -0.56px;
    text-transform: none !important;
    cursor: pointer;
    box-shadow: none !important;
}

.swal2-container .swal2-confirm {
    border: 0 !important;
    background: #0223C6 !important;
    color: #fff !important;
    font-family: Gbar, G-BAR, GbarBold, sans-serif !important;
    font-weight: 700 !important;
}

.swal2-container .swal2-confirm:hover,
.swal2-container .swal2-confirm:focus {
    background: #021fa8 !important;
    color: #fff !important;
}

.swal2-container .swal2-cancel,
.swal2-container .swal2-deny {
    border: 1.333px solid #c0c0c0 !important;
    background: #fff !important;
    color: #000 !important;
    font-weight: 400 !important;
}

.swal2-container .swal2-cancel:hover,
.swal2-container .swal2-cancel:focus,
.swal2-container .swal2-deny:hover,
.swal2-container .swal2-deny:focus {
    background: #fff !important;
    border-color: #999 !important;
    color: #000 !important;
}

.swal2-loader {
    border-color: #0223C6 transparent #0223C6 transparent;
}

.swal2-close {
    position: absolute;
    z-index: 2;
    top: 26.67px;
    right: 26.67px;
    width: 18.667px;
    height: 18.667px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: transparent;
    font-size: 0;
    line-height: 0;
    overflow: visible;
    box-shadow: none !important;
}

.swal2-close:hover,
.swal2-close:focus {
    background: transparent !important;
    color: transparent;
    transform: none;
}

.swal2-close .swal-close-icon {
    display: block;
    width: 18.667px;
    height: 18.667px;
    background: url("../../images/icons/swal-close.svg") center / contain no-repeat;
}

.swal2-validation-message {
    margin: 12px 0 0;
    padding: 8px 12px;
    background: #f5f5f5;
    color: #000;
    font-size: 14px;
    text-align: left;
}

@media (max-width: 767px) {
    .swal2-container.swal2-backdrop-show,
    .swal2-container.swal2-noanimation {
        -webkit-backdrop-filter: blur(7.388px);
        backdrop-filter: blur(7.388px);
        padding: 48px 24px;
    }

    .swal2-popup {
        width: 100%;
        max-width: 100%;
        padding: 32px;
        border-radius: 10px;
        box-shadow: 0 20px 12.5px rgba(0, 0, 0, 0.1), 0 8px 5px rgba(0, 0, 0, 0.1);
    }

    .swal2-title {
        padding-right: 22px;
        font-size: 18px;
        letter-spacing: -0.54px;
    }

    .swal2-html-container {
        margin-top: 8px;
        font-size: 14px;
        letter-spacing: -0.42px;
    }

    .swal2-input,
    .swal2-file,
    .swal2-textarea,
    .swal2-select {
        height: 47px;
        border-width: 1px;
        border-radius: 8px;
        font-size: 14px;
    }

    .swal2-actions {
        margin-top: 22px;
        gap: 10px;
    }

    .swal2-container .swal2-actions:not(.swal2-loading) .swal2-styled,
    .swal2-container .swal2-confirm,
    .swal2-container .swal2-cancel,
    .swal2-container .swal2-deny {
        height: 47px;
        border-radius: 8px;
        font-size: 14px !important;
        line-height: 21px;
        letter-spacing: -0.42px;
    }

    .swal2-container .swal2-cancel,
    .swal2-container .swal2-deny {
        border-width: 1px !important;
    }

    .swal2-close {
        top: 20px;
        right: 20px;
        width: 14px;
        height: 14px;
    }

    .swal2-close .swal-close-icon {
        width: 14px;
        height: 14px;
        background-image: url("../../images/icons/swal-close-mobile.svg");
    }
}
