﻿/* Toast container */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Toast style */
.toast {
    min-width: 260px;
    padding: 12px 16px;
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

/* Toast inner content (icon + text) */
.toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-success {
    background: #16a34a !important;
}
/* green */
.toast-error {
    background: #dc2626 !important;
}
/* red */
.toast-info {
    background: #2563eb !important;
}
/* blue */
.toast-warning {
    background: #d97706 !important;
}
/* amber */

/* Show animation */
.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Close button */
.toast .close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}
