﻿.toast {
    --bs-toast-zindex: 1095;
    --bs-toast-padding-x: 0.75rem;
    --bs-toast-padding-y: 0.406rem;
    --bs-toast-spacing: 1rem;
    --bs-toast-max-width: 350px;
    --bs-toast-font-size: 0.9375rem;
    --bs-toast-color: #acabc1;
    --bs-toast-bg: rgba(47, 51, 73, 0.85);
    --bs-toast-border-width: 0px;
    --bs-toast-border-color: var(--bs-border-color-translucent);
    --bs-toast-border-radius: var(--bs-border-radius);
    --bs-toast-box-shadow: 0 0.25rem 1.125rem 0 rgba(19, 17, 32, 0.22);
    --bs-toast-header-color: #cfcde4;
    --bs-toast-header-bg: #2f3349;
    --bs-toast-header-border-color: rgba(68, 72, 94, 0.3);
    width: var(--bs-toast-max-width);
    max-width: 100%;
    font-size: var(--bs-toast-font-size);
    color: var(--bs-toast-color);
    pointer-events: auto;
    background-color: var(--bs-toast-bg);
    background-clip: padding-box;
    border: var(--bs-toast-border-width) solid var(--bs-toast-border-color);
    box-shadow: var(--bs-toast-box-shadow);
    border-radius: var(--bs-toast-border-radius);
}

    .toast.showing {
        opacity: 0;
    }

    .toast:not(.show) {
        display: none;
    }

.toast-container {
    --bs-toast-zindex: 1095;
    position: absolute;
    z-index: var(--bs-toast-zindex);
    width: max-content;
    max-width: 100%;
    pointer-events: none;
}

    .toast-container > :not(:last-child) {
        margin-bottom: var(--bs-toast-spacing);
    }

.toast-header {
    display: flex;
    align-items: center;
    padding: var(--bs-toast-padding-y) var(--bs-toast-padding-x);
    color: var(--bs-toast-header-color);
    background-color: var(--bs-toast-header-bg);
    background-clip: padding-box;
    border-bottom: var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);
    border-top-left-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));
    border-top-right-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));
}

    .toast-header .btn-close {
        margin-right: calc(-0.5 * var(--bs-toast-padding-x));
        margin-left: var(--bs-toast-padding-x);
    }

.toast-body {
    padding: var(--bs-toast-padding-x);
    word-wrap: break-word;
}

.toast.bs-toast {
    z-index: 1095;
}

.toast-header {
    border-bottom: 1px solid rgba(68, 72, 94, 0.3);
}

    .toast-header .btn-close {
        background-image: url("data:image/svg+xml,%3Csvg width='19' height='18' viewBox='0 0 19 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 4.5L5 13.5' stroke='%2376778e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 4.5L5 13.5' stroke='white' stroke-opacity='0.2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 4.5L14 13.5' stroke='%2376778e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 4.5L14 13.5' stroke='white' stroke-opacity='0.2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
        padding-top: 0;
        padding-bottom: 0;
        margin-left: 0.875rem;
        background-size: 0.875rem;
    }

.toast-body {
    font-size: 0.8125rem;
    padding-top: 0.684rem;
    padding-bottom: 0.684rem;
}

.toast-container {
    --bs-toast-zindex: 9;
}

.toast-ex {
    position: fixed;
    top: 4.1rem;
    right: 0.5rem;
}

.toast-placement-ex {
    position: fixed;
}

.toast-center {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    position: fixed !important;
    z-index: 9999;
}

.toast-background {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
}
