.toast-container {
    position: fixed !important;

    top: 18px !important;
    left: 50% !important;

    transform: translateX(-50%) !important;

    right: auto !important;
    bottom: auto !important;

    z-index: 99999 !important;

    display: flex;
    flex-direction: column;
    align-items: center;

    pointer-events: none;
}

.toast-container .toast-wrapper {
    padding: 4px !important;
}

.toast {
    position: relative;

    display: flex;
    align-items: center;
    gap: 12px;

    width: auto;
    max-width: 380px;

    min-height: 0;

    padding: 13px 34px 13px 14px !important;

    border-radius: 14px !important;

    background: #1c2b23 !important;

    border: 1px solid rgba(255,255,255,.1) !important;
    border-left: 4px solid #4fc98c !important;

    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    font-family: "Inter", "Segoe UI", Arial, sans-serif !important;

    overflow: hidden;

    box-shadow: 0 18px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.06);

    pointer-events: auto;

    animation: toastEnter .22s cubic-bezier(.22,1,.36,1);
}

.toast::after {
    display: none;
}

.toast::before {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 900;
    line-height: 1;

    box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.toast--success{
    border-left-color: #4fc98c !important;
    box-shadow: 0 18px 40px rgba(47,158,107,.35), 0 0 0 1px rgba(79,201,140,.25), inset 0 1px 0 rgba(255,255,255,.06);
}
.toast--success::before {
    content: "\2713";
    background: linear-gradient(135deg, #4fc98c, #2f9e6b);
    color: #06150e;
}

.toast-progressbar--success {
    background: linear-gradient(90deg, #2f9e6b, #4fc98c) !important;
}

.toast--error{
    border-left-color: #ff6b5e !important;
    box-shadow: 0 18px 40px rgba(229,89,75,.35), 0 0 0 1px rgba(255,107,94,.25), inset 0 1px 0 rgba(255,255,255,.06);
}
.toast--error::before {
    content: "\2715";
    background: linear-gradient(135deg, #ff6b5e, #c8342a);
    color: #200604;
}

.toast-progressbar--error {
    background: linear-gradient(90deg, #c8342a, #ff6b5e) !important;
}

.toast--warning{
    border-left-color: #ffc65e !important;
    box-shadow: 0 18px 40px rgba(217,164,65,.35), 0 0 0 1px rgba(255,198,94,.25), inset 0 1px 0 rgba(255,255,255,.06);
}
.toast--warning::before {
    content: "!";
    background: linear-gradient(135deg, #ffc65e, #d9a441);
    color: #241a02;
}

.toast-progressbar--warning {
    background: linear-gradient(90deg, #b8862c, #ffc65e) !important;
}

.toast--info{
    border-left-color: #5cc2f2 !important;
    box-shadow: 0 18px 40px rgba(58,167,214,.35), 0 0 0 1px rgba(92,194,242,.25), inset 0 1px 0 rgba(255,255,255,.06);
}
.toast--info::before {
    content: "i";
    background: linear-gradient(135deg, #5cc2f2, #2683ab);
    color: #031a24;
}

.toast-progressbar--info {
    background: linear-gradient(90deg, #2683ab, #5cc2f2) !important;
}

.toast-progressbar {
    height: 3px !important;
    opacity: 1 !important;
    border-radius: 0 0 14px 14px !important;
}

.toast + .toast {
    margin-top: 8px !important;
}

@keyframes toastEnter {
    from {
        opacity: 0;
        transform: translateY(-14px) scale(.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 575px) {
    .toast-container {
        width: calc(100vw - 24px);
    }

    .toast {
        width: 100%;
        max-width: none;
    }
}
