/* Toast 提示样式 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.toast {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 10px;
    padding: 16px 20px;
    border-left: 4px solid;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left-color: #28a745;
    background: #f8fff9;
}

.toast.error {
    border-left-color: #dc3545;
    background: #fff8f8;
}

.toast.warning {
    border-left-color: #ffc107;
    background: #fffdf5;
}

.toast.info {
    border-left-color: #17a2b8;
    background: #f8fdff;
}

.toast-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.toast-icon {
    margin-right: 12px;
    font-size: 18px;
}

.toast.success .toast-icon {
    color: #28a745;
}

.toast.error .toast-icon {
    color: #dc3545;
}

.toast.warning .toast-icon {
    color: #ffc107;
}

.toast.info .toast-icon {
    color: #17a2b8;
}

.toast-message {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    margin-left: 12px;
}

.toast-close:hover {
    color: #666;
}

@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast {
        margin-bottom: 8px;
        padding: 12px 16px;
    }
    
    .toast-message {
        font-size: 13px;
    }
}