/* Base Toast Styles */
.toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateX(calc(-100% - 30px));
    transition: all 0.3s ease;
    z-index: 9999;
    max-width: 430px;
    min-width: 320px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

/* Toast Types */
/* .toast.success {
    border-left: 5px solid #0f9d58;
}

.toast.error {
    border-left: 5px solid #d93025;
}

.toast.info {
    border-left: 5px solid #4285f4;
}

.toast.warning {
    border-left: 5px solid #fbbc05;
} */

/* Active State */
.toast.active {
    transform: translateX(0%);
}

/* Toast Content Layout */
.toast-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Icon Styles */
.toast-content .check {
    /* height: 36px;
    width: 36px; */
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast.success .toast-content .check {
    color: white;
    background-color: #0f9d58;
}

.toast.error .toast-content .check {
    color: white;
    background-color: #d93025;
}

.toast.info .toast-content .check {
    color: white;
    background-color: #4285f4;
}

.toast.warning .toast-content .check {
    color: white;
    background-color: #fbbc05;
}

/* Message Styles */
.toast-content .message {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message .text {
    font-size: 14px;
    color: #15191f;
    line-height: 1.5;
}

.message .text.text-1 {
    font-weight: 600;
    color: #15191f;
}

/* Close Button */
.toast .close {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    color: #4a5568;
    font-size: 20px;
}

.toast .close:hover {
    opacity: 1;
}

/* Progress Bar */
.toast .progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: rgba(233, 236, 239, 0.5);
}

.toast .progress:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #0f9d58;
}

.toast.success .progress:before {
    background-color: #0f9d58;
}

.toast.error .progress:before {
    background-color: #d93025;
}

.toast.info .progress:before {
    background-color: #4285f4;
}

.toast.warning .progress:before {
    background-color: #fbbc05;
}

.toast .progress.active:before {
    animation: progress 10s linear reverse;
}

/* Multiple Toast Stacking */
.toast:nth-child(2) { bottom: 80px; }
.toast:nth-child(3) { bottom: 140px; }
.toast:nth-child(4) { bottom: 200px; }

/* Animations */
@keyframes progress {
    0% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}

@keyframes fadeOut {
    0% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(-100%); }
}

.toast.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

/* Responsive Styles */
@media screen and (max-width: 576px) {
    .toast {
        max-width: calc(100% - 40px);
        min-width: unset;
        bottom: 10px;
        left: 10px;
        right: 10px;
        margin: 0 auto;
    }
}
