/* Toast Notification - Modern Design */

/* Toast container */
#toast-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Toast box */
#toast-container > div {
    display: flex;
    flex-direction: column;
    font-weight: bold !important;
    min-width: 280px;
    max-width: 350px;
    background-color: #ffffff !important;
    opacity: 1 !important;
    color: #333;
    padding: 15px 20px 15px 60px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    animation: toast-slide-in 0.3s ease, fade-out 0.3s ease forwards;
    animation-delay: 0s, 4.5s;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Icon Circle */
#toast-container > div::before {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-family: "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    background-color: #4CAF50; /* default (success) */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    line-height: 1;
}

/* Toast Types */
/* Success Toast */
.toast-success::before {
    content: "✅" !important;
    background-color: #4caf50 !important;
}

/* Error Toast */
.toast-error::before {
    content: "❌"!important;
    background-color: #F44336!important;
}

/* Warning Toast */
.toast-warning::before {
    content: "⚠️"!important;
    background-color: #FFC107!important;
}

/* Info Toast */
.toast-info::before {
    content: "ℹ️"!important;
    background-color: #2196F3!important;
}
.toast-success {
    border-left: 6px solid #4CAF50;
}

.toast-error {
    border-left: 6px solid #F44336;
}

.toast-warning {
    border-left: 6px solid #FFC107;
}

.toast-info {
    border-left: 6px solid #2196F3;
}

/* Toast title */
.toast-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111;
    letter-spacing: 0.2px;
}

/* Toast message */
.toast-message {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: #444;
    letter-spacing: 0.3px;
}

/* Close button */
.toast-close-button {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 18px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s ease;
}
.toast-close-button:hover {
    color: #000;
}

/* Animation: Slide In */
@keyframes toast-slide-in {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Animation: Fade Out */
@keyframes fade-out {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.toast-progress {
    display: none !important;
}
