.global-modal-alert-mod-container {
    /* шрифт по-умолчанию */
    --global-modal-alert-font-family-default: futura-light;

    --global-modal-alert-bg-bright-blue: #007fbd;
    --global-modal-alert-bg-bright-green: #00b42d;
    --global-modal-alert-bg-bright-red: #dc3545;
    --global-modal-alert-bg-white: #f1f8fc;
    /* цвета текста начало*/
    --global-modal-alert-font-color-black: #000000;
    --global-modal-alert-font-color-white: #f1f8fc;
    --global-modal-alert-font-color-light-blue-1: #76c4e4;
    --global-modal-alert-font-color-light-blue-2: #cfeefc;
    --global-modal-alert-font-color-light-blue-3: #dff0fa;
    --global-modal-alert-font-color-light-blue-4: #5fc6f1;
    --global-modal-alert-font-color-bright-blue: #007fbd;
    --global-modal-alert-font-color-gray: #535657;
    --global-modal-alert-font-color-light-gray: #bacbe6;
    --global-modal-alert-font-color-red: #dc3545;
    --global-modal-alert-font-color-light-red-2: #be8a91;
    --global-modal-alert-font-color-light-green-2: #00b42d;
    /* цвета текста конец */
    font-family: var(--global-modal-alert-font-family-default) !important;
}

/* свойства модального окна по умолчанию */
.global-modal-alert {
    position: fixed;
    /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    /* цвет фона */
    z-index: 100500;
    opacity: 0;
    /* по умолчанию модальное окно прозрачно */
    /* -webkit-transition: opacity 400ms ease-in;
      -moz-transition: opacity 400ms ease-in; */
    /* transition: opacity 400ms ease-in; */
    /* анимация перехода */
    pointer-events: none;
    /* элемент невидим для событий мыши */
    /* display: table; */
}

/* при отображении модального окно */
.global-modal-alert.show {
    opacity: 1;
    pointer-events: auto;
    overflow-y: hidden;

    display: flex;
    align-items: center;
}

/* ширина модального окна и его отступы от экрана */
.global-modal-alert-dialog {
    position: relative;
    /* height: auto; */
    width: auto;
    /* top: 40%; */
    left: 0 !important;
    margin: 10px;
    max-width: 600px;
    margin: 30px auto;
}

/* @media (min-width: 576px) {
      .global-modal-alert-dialog {
        max-width: 500px;
        margin: 30px auto;
      }
    } */

/* свойства для блока, содержащего контент модального окна */
.global-modal-alert-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
    min-height: 11rem;
    max-height: 22rem;
    height: auto;

}

@media (min-width: 300px) {
    .global-modal-alert-content {
        max-height: 30rem !important;
    }
}

@media (min-width: 576px) {
    .global-modal-alert-content {
        max-height: 30rem !important;
    }
}

@media (min-width: 768px) {
    .global-modal-alert-content {
        max-height: 20rem !important;
    }
}

@media (min-width: 926px) {
    .global-modal-alert-content {
        max-height: 20rem !important;
    }
}

@media (min-width: 992px) {
    .global-modal-alert-content {
        max-height: 45rem !important;
    }
}

/* @media (min-width: 768px) {
      .global-modal-alert-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
      }
    } */

/* свойства для заголовка модального окна */
.global-modal-alert-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    padding-left: 1.5em;
    padding-bottom: 0;
    border-bottom: 1px solid #eceeef;
    gap: 20px;
}

.global-modal-alert-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 500;
    /* padding-left: 1em; */
}

/* свойства для кнопки "Закрыть" */
.global-modal-alert-close {
    float: right;
    font-family: sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    text-decoration: none;
}

/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.global-modal-alert-close:focus,
.global-modal-alert-close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .75;
}

/* свойства для блока, содержащего основное содержимое окна */
.global-modal-alert-body {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.5em;

    overflow: auto;
}

.global-modal-alert-body>input {
    font-size: 1rem;
}

.global-modal-alert-footer {
    display: flex;
    justify-content: end;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    column-gap: 10px;
}


/* --------------------- */

.global-modal-alert-btn:hover {
    color: var(--global-modal-alert-bs-btn-hover-color) !important;
    background-color: var(--global-modal-alert-bs-btn-hover-bg) !important;
    border-color: var(--global-modal-alert-bs-btn-hover-border-color) !important;
}

.global-modal-alert-btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
}

.global-modal-alert-btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}

.global-modal-alert-btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    opacity: 1;
}

.global-modal-alert-btn-close:disabled,
.global-modal-alert-btn-close.disabled {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    opacity: 0.25;
}

/* 
.global-modal-alert-header .global-modal-alert-btn-close {
    padding: calc(var(--global-modal-alert-bs-modal-header-padding-y) * 0.5) calc(var(--global-modal-alert-bs-modal-header-padding-x) * 0.5);
    margin: calc(var(--global-modal-alert-bs-modal-header-padding-y) * -0.5) calc(var(--global-modal-alert-bs-modal-header-padding-x) * -0.5) calc(var(--global-modal-alert-bs-modal-header-padding-y) * -0.5) auto; 
}
*/

/* тени начало */
.global-modal-alert-no-shadow {
    box-shadow: none !important;
}

.global-modal-alert-cursor-pointer {
    cursor: pointer;
}

.global-modal-alert-d-block {
    display: block !important;
}

/* -------------------- */

/* кнопки начало */
.global-modal-alert-btn {
    --global-modal-alert-bs-btn-padding-x: 0.75rem;
    --global-modal-alert-bs-btn-padding-y: 0.375rem;
    --global-modal-alert-bs-btn-font-family: ;
    --global-modal-alert-bs-btn-font-size: 1rem;
    --global-modal-alert-bs-btn-font-weight: 400;
    --global-modal-alert-bs-btn-line-height: 1.5;
    --global-modal-alert-bs-btn-color: #212529;
    --global-modal-alert-bs-btn-bg: transparent;
    --global-modal-alert-bs-btn-border-width: 1px;
    --global-modal-alert-bs-btn-border-color: transparent;
    --global-modal-alert-bs-btn-border-radius: 0.375rem;
    --global-modal-alert-bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --global-modal-alert-bs-btn-disabled-opacity: 0.65;
    --global-modal-alert-bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--global-modal-alert-bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--global-modal-alert-bs-btn-padding-y) var(--global-modal-alert-bs-btn-padding-x);
    font-family: var(--global-modal-alert-bs-btn-font-family);
    font-size: var(--global-modal-alert-bs-btn-font-size);
    font-weight: var(--global-modal-alert-bs-btn-font-weight);
    line-height: var(--global-modal-alert-bs-btn-line-height);
    color: var(--global-modal-alert-bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--global-modal-alert-bs-btn-border-width) solid var(--global-modal-alert-bs-btn-border-color);
    border-radius: var(--global-modal-alert-bs-btn-border-radius);
    background-color: var(--global-modal-alert-bs-btn-bg);
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .global-modal-alert-btn {
        transition: none;
    }
}

.global-modal-alert-btn:hover {
    color: var(--global-modal-alert-bs-btn-hover-color) !important;
    background-color: var(--global-modal-alert-bs-btn-hover-bg) !important;
    border-color: var(--global-modal-alert-bs-btn-hover-border-color) !important;
}

.global-modal-alert-btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
    font-size: 1rem;
}

.global-modal-alert-btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}

.global-modal-alert-btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    opacity: 1;
}

.global-modal-alert-btn-close:disabled,
.global-modal-alert-btn-close.disabled {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    opacity: 0.25;
}

.global-modal-alert-header .global-modal-alert-btn-close {
    padding: calc(var(--global-modal-alert-bs-modal-header-padding-y) * 0.5) calc(var(--global-modal-alert-bs-modal-header-padding-x) * 0.5);
    margin: calc(var(--global-modal-alert-bs-modal-header-padding-y) * -0.5) calc(var(--global-modal-alert-bs-modal-header-padding-x) * -0.5) calc(var(--global-modal-alert-bs-modal-header-padding-y) * -0.5) auto;
}

.global-modal-alert-bright-blue-block {
    --global-modal-alert-bs-btn-hover-color: var(--global-modal-alert-bg-bright-blue);
    --global-modal-alert-bs-btn-hover-bg: var(--global-modal-alert-bg-white);
    --global-modal-alert-bs-btn-hover-border-color: var(--global-modal-alert-bg-bright-blue);

    background-color: var(--global-modal-alert-bg-bright-blue) !important;
    color: var(--global-modal-alert-bg-white) !important;
}

.global-modal-alert-bright-green-block {
    --global-modal-alert-bs-btn-hover-color: var(--global-modal-alert-bg-bright-green);
    --global-modal-alert-bs-btn-hover-bg: var(--global-modal-alert-bg-white);
    --global-modal-alert-bs-btn-hover-border-color: var(--global-modal-alert-bg-bright-green);

    background-color: var(--global-modal-alert-bg-bright-green) !important;
    color: var(--global-modal-alert-bg-white) !important;
}

.global-modal-alert-bright-red-block {
    --global-modal-alert-bs-btn-hover-color: var(--global-modal-alert-bg-bright-red);
    --global-modal-alert-bs-btn-hover-bg: var(--global-modal-alert-bg-white);
    --global-modal-alert-bs-btn-hover-border-color: var(--global-modal-alert-bg-bright-red);

    background-color: var(--global-modal-alert-bg-bright-red) !important;
    color: var(--global-modal-alert-bg-white) !important;
}

.global-modal-alert-float-end {
    float: right !important;
}

.global-modal-alert-loader {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.global-modal-alert-btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}