/* 进货总额管理 - 独立样式 */
.pt-container { padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #4a2c10; }
.pt-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.pt-filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pt-tab-group { display: inline-flex; background: #f1ebe3; border-radius: 8px; padding: 4px; }
.pt-tab-btn { padding: 8px 16px; border: none; background: transparent; cursor: pointer; border-radius: 6px; font-size: 14px; color: #8b7355; transition: all 0.2s; }
.pt-tab-btn.active { background: #fff; color: #4a2c10; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.pt-input { padding: 8px 12px; border: 1px solid #e8ddd0; border-radius: 6px; font-size: 14px; background: #fff; color: #4a2c10; }
.pt-input:focus { outline: none; border-color: #8B4513; }
.pt-summary { text-align: right; }
.pt-summary-label { font-size: 12px; color: #8b7355; }
.pt-summary-value { font-size: 22px; font-weight: bold; color: #4a2c10; }
.pt-btn { padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; transition: all 0.2s; }
.pt-btn-primary { background: #8B4513; color: #fff; }
.pt-btn-primary:hover { background: #723a10; }
.pt-btn-outline { background: #fff; color: #8B4513; border: 1px solid #8B4513; }
.pt-btn-outline:hover { background: #fdf3e7; }
.pt-btn-danger { color: #dc2626; background: transparent; padding: 4px 8px; }
.pt-btn-danger:hover { text-decoration: underline; }
.pt-btn-link { color: #8B4513; background: transparent; padding: 4px 8px; }
.pt-btn-link:hover { text-decoration: underline; }
.pt-card { background: #fff; border: 1px solid #e8ddd0; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.pt-table-wrapper { overflow-x: auto; }
.pt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pt-table thead { background: #faf6f0; }
.pt-table th { padding: 12px 16px; text-align: left; font-weight: 500; color: #8b7355; border-bottom: 1px solid #e8ddd0; }
.pt-table th.text-right { text-align: right; }
.pt-table td { padding: 12px 16px; border-bottom: 1px solid #f0e8dd; color: #4a2c10; }
.pt-table td.text-right { text-align: right; }
.pt-table tr:hover { background: #faf6f0; }
.pt-empty, .pt-loading { padding: 40px; text-align: center; color: #b59d80; }
.pt-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.pt-modal { background: #fff; border-radius: 12px; padding: 24px; width: 90%; max-width: 480px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.pt-modal h3 { font-size: 18px; color: #4a2c10; margin-bottom: 20px; }
.pt-form-group { margin-bottom: 16px; }
.pt-form-group label { display: block; font-size: 12px; color: #8b7355; margin-bottom: 6px; }
.pt-form-group input { width: 100%; }
.pt-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.pt-toast { position: fixed; top: 20px; right: 20px; padding: 12px 20px; border-radius: 8px; color: #fff; z-index: 2000; animation: pt-slideIn 0.3s; }
.pt-toast.success { background: #16a34a; }
.pt-toast.error { background: #dc2626; }
@keyframes pt-slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
