/* Premium Toast Notification System (Local Bundled, Zero External CDN) */
#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    pointer-events: none;
}

.toast-item {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 1px 1px rgba(255, 255, 255, 0.05);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    transform: translateX(50px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-item.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.toast-item.hide {
    opacity: 0;
    transform: translateX(60px) scale(0.9);
}

.toast-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.toast-item.success .toast-icon { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.toast-item.error .toast-icon { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.toast-item.warning .toast-icon { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.toast-item.info .toast-icon { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }

.toast-message {
    flex: 1;
    word-break: break-word;
}

.toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.15s;
}

.toast-close:hover {
    color: #ffffff;
}
