/* Toast容器 */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Toast通知 */
.toast {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 380px;
    max-width: 480px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.toast.hide {
    opacity: 0;
    transform: translateX(100%);
}

/* Toast图标通用样式 */
.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 18px;
}

/* Toast图标 - Success（成功） */
.toast.success .toast-icon {
    background: #d1fae5;
    color: #059669;
}

/* Toast图标 - Error（错误） */
.toast.error .toast-icon {
    background: #fee2e2;
    color: #dc2626;
}

/* Toast图标 - Warning（警告） */
.toast.warning .toast-icon {
    background: #fef3c7;
    color: #d97706;
}

/* Toast图标 - Info（信息） */
.toast.info .toast-icon {
    background: #dbeafe;
    color: #2563eb;
}

/* Toast内容 */
.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.toast-message {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Toast关闭按钮 */
.toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #9ca3af;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: #f3f4f6;
    color: #6b7280;
}
