/* Toast 通知样式 */
#toast-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none;
}

.toast {
    padding: 12px 20px;
    border-radius: 8px;
    color: #f0f0f0;
    font-size: 14px;
    max-width: 320px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s ease;
    pointer-events: auto;
}

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

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

.toast-message {
    display: block;
    word-break: break-word;
}

/* 类型样式 */
.toast-success {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.toast-error {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

.toast-warning {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
}

.toast-info {
    background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%);
}

/* 移动端适配 */
@media (max-width: 480px) {
    #toast-container {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .toast {
        max-width: none;
        width: 100%;
    }
}
