/* ================================================
   Toast通知用CSS
   ================================================ */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

.toast {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    padding: 16px;
    border-left: 4px solid;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

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

.toast.success {
    border-left-color: #10b981;
    background: #ecfdf5;
}

.toast.error {
    border-left-color: #ef4444;
    background: #fef2f2;
}

.toast-header {
    font-weight: 600;
    margin-bottom: 4px;
}

.toast.success .toast-header {
    color: #065f46;
}

.toast.error .toast-header {
    color: #991b1b;
}

.toast-body {
    font-size: 14px;
    color: #374151;
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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