/* 提示框容器（固定在顶部） */
.toast-container {
    position: fixed;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* 提示框样式 */
.toast {
    padding: 3px 4px;
    background: #4CAF50; /* 成功绿色 */
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: slideIn 0.3s ease-out forwards, fadeOut 0.5s ease-out 2.7s forwards;
    font-size: 5px;
}

/* 成功图标（✓） */
.toast-icon {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: white;
    color: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 3px;
}

/* 滑入动画 */
@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 淡出动画 */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}