/* Toast container: Holds all toasts */
#toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
    justify-content: center;
    font-family: 'yekan';
}

/* Toast element */
.toast {
    font-family: inherit;
    background-color: #333;
    color: #fff;
    padding: 15px;
    border-radius:30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    max-width: 90%;
    min-width: 300px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
}

/* Success toast (Green) */
.toast.success {
    background-color: #59BE3A;
    color: #fff;
}

/* Failure toast (Red) */
.toast.failure {
    background-color: #F44336;
    color: #fff;
}

/* Toast fade-in animation */
.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive design for small screens */
@media (max-width: 768px) {
    .toast {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .toast {
        min-width: 200px;
    }
}
