/* Toast 容器 */
#toast-container {
	position: fixed;
	top: 108px;
	right: 0;
	z-index: 9999;
	width: 100vw;
	display: flex;
	justify-content: center;
}

/* Toast 基础样式 */
.toast {
    background: #333;
    color: white;
    padding: 16px 24px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    max-width: 350px;
    word-wrap: break-word;
    position: relative;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

/* Toast 类型样式 */
.toast.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.toast.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.toast.warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.toast.info {
    background: linear-gradient(135deg, #2196F3, #1976d2);
}

/* 关闭按钮 */
.toast-close {
    background: none;
    border: none;
    color: white;
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    opacity: 0.7;
}
.icon_error {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#toast-container .icon_error svg {
	background-color: #cc1818;
    transform: rotate(180deg);
}
#toast-container svg {
    fill: #fff;
    background-color: #2f2f2f;
    border-radius: 50%;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 2px;
}