/* Toast 通知样式 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    min-width: 300px;
    max-width: 350px;
    min-height: 60px;
    padding: 12px 16px;
    margin-bottom: 12px;
    background-color: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    animation: toastSlideIn 0.3s ease-out;
    position: relative;
}

.toast.toast-exit {
    animation: toastSlideOut 0.3s ease-in forwards;
}

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

.toast-icon i {
    font-size: 20px;
    color: #FFFFFF;
}

.toast-success .toast-icon {
    background-color: #4CAF50;
}

.toast-error .toast-icon {
    background-color: #F44336;
}

.toast-warning .toast-icon {
    background-color: #FF9800;
}

.toast-content {
    flex: 1;
    color: #303840;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.toast-close {
    width: 20px;
    height: 20px;
    margin-left: 12px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: color 0.2s;
}

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

.toast-close i {
    font-size: 16px;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

