.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

/* Base card */
.toast {
    width: 420px;
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    transform: translateY(-20px);
    opacity: 0;
    transition: all .35s ease;
    cursor: default;
}

/* Show animation */
.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-left {
    width: 49px;
    height: 49px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Perfect inner circle */
.toast-inner {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-left-icon {
    /* font-size: 20px; */
    color: #fff;
}

/* SUCCESS */
.toast-success .toast-left {
    border: 7px solid rgba(50, 147, 111, 0.35);
    /* visible ring */
}

.toast-success .toast-inner {
    background: #32936F;
    /* solid center */
}

/* ERROR */
.toast-error .toast-left {
    border: 7px solid rgba(248, 26, 26, 0.35);
}

.toast-error .toast-inner {
    background: #F81A1A;
}

/* WARNING */
.toast-warning .toast-left {
    border: 7px solid rgba(239, 164, 51, 0.35);
}

.toast-warning .toast-inner {
    background: #EFA433;
}

/* INFO */
.toast-info .toast-left {
    border: 7px solid rgba(31, 69, 255, 0.35);
}

.toast-info .toast-inner {
    background: #1F45FF;
}

/* Body */
.toast-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-size: 18px;
    font-weight: 500;
    color: #181D27;
}

.toast-message {
    margin-top: 1px;
    font-size: 14px;
    color: #535862;
}

/* Close Button (colored like right icon in screenshot) */
.toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 4px;
    z-index: 10;
   
}

.toast-close span {
    font-size: 18px;
}


/* Close icon colors */
.toast-success .toast-close span {
    color: #059669;
}

.toast-error .toast-close span {
    color: #dc2626;
}

.toast-warning .toast-close span {
    color: #d97706;
}

.toast-info .toast-close span {
    color: #2563eb;
}

/* Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 0 12px 12px;
    animation: progress linear;
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Hover Effects */
.toast:hover .toast-progress {
    animation-play-state: paused;
}

.toast:hover {
    transform: translateX(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}