/* Sweetalert2 кастомизация + fix */

.swal2-actions button {
    margin: 0 0.5rem;
    padding: 0.375rem 2.5rem;
}

body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
    overflow-y: auto;
    padding-right: 0 !important;
}

.modal-open {
    overflow-y: auto !important;
    padding-right: 0 !important;
}

.modal-open .modal {
    padding-right: 0 !important;
}

body.swal2-height-auto {
    height: 100% !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    left: -0.325em;
}

.swal2-popup.swal2-toast {
    font-size: 16px;
    padding: 0.85em 1em 0.775em;
}

.swal2-popup.swal2-toast .swal2-title {
    margin: 0.35em 0.875em;
    font-size: 1.125em;
    color: white;
}

.swal2-popup.swal2-toast .swal2-html-container {
    font-size: 1.05em;
    margin: 0.5em 1em;
    color: white;
}

.colored-toast.swal2-icon-success {
    background-color: #399f00fc !important;
}

.colored-toast.swal2-icon-error {
    background-color: #e00000f0 !important;
}

.colored-toast.swal2-icon-warning {
    background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
    background-color: #00c0fff5 !important;
}

.colored-toast.swal2-icon-question {
    background-color: #87adbd !important;
}

.colored-toast .swal2-close {
    color: white;
}

@media only screen and (max-width:767px) {
    .swal2-popup.swal2-toast {
        font-size: 14px;
    }

    .swal2-popup.swal2-toast .swal2-html-container {
        margin: 0.45em 1em;
    }

    .swal2-popup.swal2-toast .swal2-title {
        margin: 0.3em 0.875em;
    }
}