/* Toast 提示系统 */
.toast-container {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 64, 129, 0.5); /* 警示色边框 */
    color: #fff;
    padding: 14px 28px;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 64, 129, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
               toastOut 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 3s;
}

.toast .icon {
    color: #ff4081;
    font-size: 1.2rem;
}

@keyframes toastIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes toastOut {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(-20px); opacity: 0; }
}
