.modal-header .modal-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-header .close {
    position: absolute;
    top: -17px;
    right: -17px;
    width: 34px;
    height: 34px;
    box-shadow: 0px 4px 6px rgba(92, 122, 234, 0.25);
    background: linear-gradient(330deg, #964CE8 0%, #4E60FF 100%);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: #fff;
}

.modal-body {
    position: relative;
}

.modal-body .modal-loader-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.2);
}
.modal-body .modal-loader-overlay.hidden {
    display: none;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-footer__warning {
    font-family: Arial;
    color: #ff0000;
    font-weight: 500;
    max-width: 75%;
}
.modal-footer__warning.hidden {
    width: 0;
    height: 0;
    opacity: 0;
}

.modal-footer__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-footer__buttons button {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 19px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid #DAE0E6;
    background: #FFF;
    gap: 10px;
    color: var(--black);
    font-weight: 500;
    padding: 8px 12px;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.modal-footer__buttons button:hover {
    opacity: 0.85;
    transition: all .3s ease 0s;
}

.modal-footer__buttons .close-button {
    background-color: #eaeaea;
}

.modal-footer__buttons .save-button {
    color: var(--white);
    background: -o-linear-gradient(120deg, #964CE8 0%, #4E60FF 100%);
    background: linear-gradient(330deg, #964CE8 0%, #4E60FF 100%);
}
.modal-footer__buttons button.danger {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 1.75rem auto;
    }

    .modal-header .close {
        top: -15px;
        right: 5px;
    }
}