*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.login-container{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);justify-content:center;align-items:center;min-height:100vh;display:flex}.login-box{background:#fff;border-radius:12px;width:400px;padding:40px;box-shadow:0 10px 40px #0003}.login-title{text-align:center;color:#333;margin-bottom:30px;font-size:24px}.form-group input{box-sizing:border-box;border:1px solid #ddd;border-radius:6px;width:100%;padding:12px;font-size:14px}.form-group input:focus{border-color:#667eea;outline:none}.error-message{color:#e74c3c;text-align:center;margin-bottom:15px}.login-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;border-radius:6px;width:100%;padding:14px;font-size:16px;transition:opacity .2s}.login-button:hover{opacity:.9}.login-button:disabled{opacity:.6;cursor:not-allowed}.hint{text-align:center;color:#999;margin-top:20px;font-size:12px}.dashboard{background:#f5f6fa;min-height:100vh}.logout-btn{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:6px;padding:8px 16px}.logout-btn:hover{background:#ffffff4d}.content h2{color:#333;margin:0 0 24px}.stats-grid{grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:40px;display:grid}.stat-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 10px #0000000d}.stat-card.success .stat-value{color:#27ae60}.stat-card.pending .stat-value{color:#f39c12}.stat-card.failed .stat-value{color:#e74c3c}.stat-label{color:#888;margin-bottom:8px;font-size:14px}.stat-value{color:#667eea;font-size:36px;font-weight:700}.quick-actions h3{color:#333;margin:0 0 16px}.action-buttons{gap:16px;display:flex}.action-buttons .action-btn{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;border-radius:8px;padding:12px 24px;font-weight:500;text-decoration:none;display:inline-block}.action-buttons .action-btn:hover{opacity:.9}.table th,.table td{text-align:left;color:#333;border-bottom:1px solid #eee;padding:14px 12px;font-size:14px}.table th{color:#555;background:#f8f9fa;font-weight:600}.table{border-collapse:collapse;background:#fff;border-radius:12px;width:100%;overflow:hidden;box-shadow:0 2px 10px #0000000d}.table-container{background:#fff;border-radius:12px;margin-bottom:24px;overflow:hidden;box-shadow:0 2px 10px #0000000d}.table .action-btn{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:4px;padding:6px 12px;font-size:13px}.table .action-btn:hover{background:#f5f5f5}.table .action-btn.delete{color:#e74c3c;border-color:#e74c3c}.table .action-btn.delete:hover{background:#fef2f2}.code-tag{color:#666;background:#e8e8e8;border-radius:4px;padding:2px 8px;font-family:monospace;font-size:12px;display:inline-block}.code-tag.mm{color:#155724;background:#d4edda}.code-tag.id{color:#004085;background:#cce5ff}.code-tag.la{color:#856404;background:#fff3cd}.code-tag.ph{color:#721c24;background:#f8d7da}.type-tag{border-radius:4px;padding:2px 8px;font-size:12px;display:inline-block}.type-tag.airtime{color:#0c5460;background:#d1ecf1}.type-tag.bundle{color:#856404;background:#fff3cd}.status{white-space:nowrap;border-radius:4px;padding:4px 10px;font-size:13px}.status-success{color:#155724;background:#d4edda}.status-pending{color:#856404;background:#fff3cd}.status-failed{color:#721c24;background:#f8d7da}.status-cancelled{color:#383d41;background:#e2e3e5}.status-refunded{color:#0c5460;background:#d1ecf1}.recharge-status-idle{color:#383d41;background:#e2e3e5}.recharge-status-submitting{color:#856404;background:#fff3cd}.recharge-status-submitted{color:#004085;background:#cce5ff}.recharge-status-confirmed{color:#155724;background:#d4edda}.recharge-status-failed{color:#721c24;background:#f8d7da}.recharge-status-exhausted{color:#6c757d;background:#e2e3e5}.empty-row{text-align:center;color:#999;padding:40px;font-size:14px}.modal-actions .btn-primary,.modal-actions button.primary{color:#fff;background:#667eea}.modal-actions button.secondary{color:#333;background:#e0e0e0}.notice-manage{background:#f5f6fa;min-height:100vh}.page-header h2{margin:0}.add-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;border-radius:8px;padding:12px 24px;font-size:14px;font-weight:500}.notice-table{table-layout:fixed;width:100%}.notice-table th:first-child{width:60px}.notice-table th:nth-child(2){width:auto}.notice-table th:nth-child(3){width:90px}.notice-table th:nth-child(4){width:60px}.notice-table th:nth-child(5),.notice-table th:nth-child(6){width:150px}.notice-table td:last-child{white-space:nowrap}.table .action-btn{cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #ddd;border-radius:4px;margin-right:6px;padding:6px 10px;font-size:13px}.content-cell{text-overflow:ellipsis;white-space:nowrap;text-align:left;max-width:0;overflow:hidden}.nav-item{color:#666;border-bottom:3px solid #0000;padding:16px 24px;text-decoration:none}.modal{background:#fff;border-radius:12px;width:500px;max-width:90%;padding:32px}.modal h3{color:#333;margin:0 0 24px}.form-group label{color:#555;margin-bottom:8px;font-size:14px;font-weight:500;display:block}.form-group input,.form-group textarea,.form-group select{box-sizing:border-box;border:1px solid #ddd;border-radius:6px;width:100%;padding:10px;font-size:14px}.checkbox-group label{align-items:center;gap:8px;font-size:14px;display:flex}.modal-actions button{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:6px;padding:10px 24px;font-size:14px}.modal-actions button.primary{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none}.order-manage{background:#f5f6fa;min-height:100vh}.filters{background:#fff;border-radius:12px;flex-wrap:wrap;gap:12px;margin-bottom:24px;padding:20px;display:flex;box-shadow:0 2px 10px #0000000d}.filters select,.filters input{border:1px solid #ddd;border-radius:6px;padding:10px 14px;font-size:14px}.filters input[type=text]{min-width:120px}.filters input[type=date]{width:140px}.filters button{cursor:pointer;color:#fff;background:#667eea;border:none;border-radius:6px;padding:10px 20px;font-size:14px}.filters button:last-child{background:#999}.table-container{flex-direction:column;gap:12px;display:flex}.order-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 10px #0000000d}.order-header{background:#f8f9fa;border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.order-main{align-items:center;gap:16px;display:flex}.order-id{color:#333;font-family:monospace;font-size:13px}.order-time{color:#888;font-size:12px}.order-body{padding:12px 16px}.order-row{flex-wrap:wrap;gap:16px;display:flex}.order-item{min-width:100px}.order-item.full{flex:1;min-width:200px}.order-item label{color:#888;margin-bottom:2px;font-size:11px;display:block}.order-item span{color:#333;font-size:13px}.order-item .price{color:#27ae60;font-weight:700}.content{padding:24px 40px}.content h2{margin:0 0 20px}.header{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);justify-content:space-between;align-items:center;padding:16px 40px;display:flex}.header h1{margin:0;font-size:22px}.header-right{align-items:center;gap:20px;display:flex}.header-right button{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:6px;padding:8px 16px}.nav{background:#fff;padding:0 40px;display:flex;box-shadow:0 2px 10px #0000000d}.nav-item{color:#666;border-bottom:3px solid #0000;padding:14px 24px;font-size:14px;text-decoration:none}.nav-item:hover,.nav-item.active{color:#667eea;border-bottom-color:#667eea}.empty-row{text-align:center;color:#999;background:#fff;border-radius:12px;padding:40px;font-size:14px}.pagination{justify-content:center;align-items:center;gap:16px;margin-top:20px;display:flex}.pagination button{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:6px;padding:8px 16px;font-size:14px}.pagination button:disabled{opacity:.5;cursor:not-allowed}.pagination span{color:#666;font-size:14px}.order-actions{border-top:1px solid #eee;gap:12px;padding:12px 16px;display:flex}.btn-edit{color:#fff;cursor:pointer;background:#667eea;border:none;border-radius:6px;padding:6px 14px;font-size:13px}.btn-edit:hover{background:#5a6fd6}.btn-refund{color:#fff;cursor:pointer;background:#e74c3c;border:none;border-radius:6px;padding:6px 14px;font-size:13px}.btn-refund:hover{background:#c0392b}.modal-content{background:#fff;border-radius:12px;width:480px;max-width:90%;max-height:90vh;padding:24px;overflow-y:auto}.modal-content h3{color:#333;margin:0 0 20px;font-size:18px}.form-group input,.form-group select{box-sizing:border-box;border:1px solid #ddd;border-radius:6px;width:100%;padding:10px 12px;font-size:14px}.remark-input{background:#fafafa;border:1px dashed #ddd;border-radius:4px;width:300px;padding:6px 10px;font-size:13px;transition:all .2s}.remark-input:focus{background:#fff;border:1px solid #667eea;outline:none}.remark-input::placeholder{color:#999}.btn-attempts{color:#1565c0;cursor:pointer;background:#e3f2fd;border:1px solid #90caf9;border-radius:6px;padding:6px 14px;font-size:13px;transition:all .2s}.btn-attempts:hover{background:#bbdefb;border-color:#64b5f6}.attempts-modal{max-width:800px;max-height:75vh;overflow-y:auto}.attempts-list{flex-direction:column;gap:12px;display:flex}.attempt-item{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.attempt-header{background:#f8f9fa;border-bottom:1px solid #e0e0e0;align-items:center;gap:12px;padding:10px 14px;display:flex}.attempt-index{color:#666;min-width:28px;font-weight:600}.attempt-channel{color:#1565c0;background:#e3f2fd;border-radius:4px;padding:2px 8px;font-size:12px;font-weight:500}.attempt-time{color:#888;margin-left:auto;font-size:13px}.attempt-detail{padding:10px 14px}.attempt-row{gap:10px;margin-bottom:6px;display:flex}.attempt-row label{color:#888;flex-shrink:0;min-width:90px;font-size:13px}.attempt-row span{word-break:break-all;font-size:13px}.attempt-row pre{white-space:pre-wrap;word-break:break-all;background:#f5f5f5;border-radius:4px;max-height:200px;margin:4px 0 0;padding:8px 12px;font-size:12px;overflow:auto}.text-danger{color:#d32f2f}.loading{text-align:center;color:#888;padding:40px}.user-manage{background:#f5f6fa;min-height:100vh}.user-manage .content{padding:24px 40px}.user-manage .content h2{margin:0 0 20px}.user-info-cell{align-items:center;gap:10px;display:flex}.user-avatar{object-fit:cover;border:2px solid #eee;border-radius:50%;width:36px;height:36px}.user-nickname{color:#333;font-size:14px;font-weight:500}.user-id{color:#999;font-family:monospace;font-size:11px}.location-cell{flex-direction:column;gap:2px;display:flex}.location-cell .province{color:#888;font-size:11px}.register-source{color:#555;font-size:13px}.sources-cell{max-width:280px}.sources-list{flex-wrap:wrap;gap:6px;display:flex}.source-tag{white-space:nowrap;cursor:help;border-radius:4px;align-items:center;gap:4px;padding:3px 8px;font-size:12px;display:inline-flex}.source-tag.source-phone{color:#2e7d32;background:#e8f5e9}.source-tag.source-wechat{color:#128c7e;background:#e8f5e9}.source-tag.source-alipay{color:#1565c0;background:#e3f2fd}.no-source{color:#bbb;font-size:13px}.risk-tag{border-radius:4px;padding:3px 8px;font-size:12px;font-weight:500;display:inline-block}.risk-tag.risky{color:#721c24;background:#f8d7da}.risk-tag.normal{color:#155724;background:#d4edda}.user-remark{color:#666;text-overflow:ellipsis;white-space:nowrap;cursor:help;background:#fff3cd;border-radius:4px;max-width:180px;margin-top:4px;padding:3px 8px;font-size:11px;display:block;overflow:hidden}.user-remark:hover{background:#ffe69c}.user-details{flex-direction:column;display:flex}.user-table .user-table th{background:#f8f9fa}.user-table td{vertical-align:middle}@media (width<=1200px){.user-manage .content{padding:24px 20px}.sources-cell{max-width:200px}}.source-tooltip{color:#fff;z-index:1000;background:#333;border-radius:8px;max-width:320px;margin-top:4px;padding:12px 16px;font-size:12px;position:fixed;box-shadow:0 4px 12px #0000004d}.source-tooltip .tooltip-title{border-bottom:1px solid #fff3;margin-bottom:8px;padding-bottom:6px;font-size:13px;font-weight:600}.source-tooltip .tooltip-row{gap:8px;margin-top:4px;line-height:1.4;display:flex}.source-tooltip .tooltip-row span:first-child{color:#aaa;flex-shrink:0}.source-tooltip .tooltip-row span:last-child{word-break:break-all;font-family:monospace;font-size:11px}.copy-value{cursor:pointer;border-radius:3px;margin:-2px -6px;padding:2px 6px;transition:background .2s}.copy-value:hover{background:#ffffff26}.copy-value:active{background:#ffffff40}.tooltip-hint{color:#888;text-align:center;border-top:1px solid #fff3;margin-top:8px;padding-top:6px;font-size:11px}.remark-tooltip{color:#fff;z-index:1000;background:#333;border-radius:8px;max-width:300px;padding:12px 16px;font-size:12px;position:fixed;box-shadow:0 4px 12px #0000004d}.remark-tooltip .tooltip-title{border-bottom:1px solid #fff3;margin-bottom:8px;padding-bottom:6px;font-size:13px;font-weight:600}.remark-tooltip .remark-content{white-space:pre-wrap;word-break:break-all;line-height:1.5}.stats-cards{flex-wrap:wrap;gap:16px;margin-bottom:24px;display:flex}.stat-card{text-align:center;background:#fff;border-radius:12px;min-width:120px;padding:20px 24px;box-shadow:0 2px 10px #0000000d}.stat-card.data{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)}.stat-card.hf{color:#fff;background:linear-gradient(135deg,#f093fb 0%,#f5576c 100%)}.stat-card.voice{color:#fff;background:linear-gradient(135deg,#4facfe 0%,#00f2fe 100%)}.stat-value{margin-bottom:4px;font-size:32px;font-weight:700}.stat-label{opacity:.9;font-size:14px}.filter-row{flex-wrap:wrap;gap:16px;margin-bottom:16px;display:flex}.filter-item{flex-direction:column;gap:6px;min-width:160px;display:flex}.filter-item input,.filter-item select{border:1px solid #ddd;border-radius:6px;min-width:150px;padding:10px 12px;font-size:14px}.filter-item input:focus,.filter-item select:focus{border-color:#667eea;outline:none}.filter-actions button.secondary{color:#666;background:#e0e0e0}.filter-actions button:hover{opacity:.9}.batch-actions{background:#f8f9fa;border-radius:8px;align-items:center;gap:12px;margin-bottom:16px;padding:12px 16px;display:flex}.batch-actions span{color:#666;margin-right:8px;font-size:14px}.batch-actions button{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:6px;padding:8px 16px;font-size:13px}.batch-actions button:disabled{opacity:.5;cursor:not-allowed}.batch-actions button:not(:disabled):hover{background:#f5f5f5}.product-table .id-cell{color:#888;font-family:monospace;font-size:13px}.product-table .name-cell{text-overflow:ellipsis;white-space:nowrap;max-width:200px;overflow:hidden}.product-table .name-cell .product-desc{color:#888;white-space:normal;margin-bottom:2px;font-size:12px}.product-table tr.selected{background:#f0f4ff}.product-table tbody tr:hover{background:#fafafa}.type-tag{border-radius:12px;padding:4px 10px;font-size:12px;font-weight:500;display:inline-block}.type-tag.data{color:#1565c0;background:#e3f2fd}.type-tag.hf{color:#c2185b;background:#fce4ec}.type-tag.voice{color:#2e7d32;background:#e8f5e9}.product-modal{box-sizing:border-box!important;width:90vw!important;max-width:800px!important;margin:2vh auto!important;padding:24px!important;overflow-y:auto!important}.product-manage .modal-overlay{align-items:flex-start!important;overflow-y:auto!important}.product-modal .form-row{flex-wrap:wrap;gap:16px;display:flex}.product-modal .form-row .form-group{flex:1;min-width:180px}.product-modal .form-group textarea{resize:vertical;border:1px solid #ddd;border-radius:6px;width:100%;padding:10px 12px;font-size:14px}.product-modal .form-group textarea:focus{border-color:#667eea;outline:none}.product-table .country-cell{text-overflow:ellipsis;white-space:nowrap;max-width:100px;overflow:hidden}.product-table .price-cell{color:#e65100;vertical-align:top;font-weight:500}.product-table .price-wrapper{flex-direction:column;gap:2px;display:flex}.product-table .cost-display{color:#999;font-size:11px;font-weight:400}.product-table .group-cell{text-overflow:ellipsis;white-space:nowrap;color:#667eea;max-width:100px;font-size:13px;overflow:hidden}.vendor-section{border-top:1px solid #eee;margin-top:4px;padding-top:8px}.cost-info-section{background:#fff3e0;border:1px solid #ffe0b2;border-radius:8px;margin-top:20px;padding:16px}.cost-info-section h4{color:#e65100;margin:0 0 12px;font-size:14px;font-weight:600}.cost-info-grid{gap:24px;display:flex}.cost-info-item{flex-direction:column;gap:4px;display:flex}.cost-info-item label{color:#666;font-size:12px}.cost-info-item .cost-value{font-size:18px;font-weight:600}.cost-info-item .cost-value.max{color:#c62828}.cost-info-item .cost-value.min{color:#2e7d32}.vendor-section h4{color:#333;margin:0 0 12px;font-size:14px}.vendor-list{flex-direction:column;gap:12px;display:flex}.vendor-item{box-sizing:border-box;background:#f8f9fa;border-radius:8px;width:100%;padding:12px}.vendor-header{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;margin-bottom:10px;padding-bottom:8px;display:flex}.vendor-header .vendor-name{color:#333;font-size:14px;font-weight:600}.vendor-switch{cursor:pointer;width:40px;height:22px;margin:0 10px;display:inline-block;position:relative}.vendor-switch input{opacity:0;width:0;height:0}.vendor-switch .slider{cursor:pointer;background-color:#ccc;border-radius:22px;transition:all .3s;position:absolute;inset:0}.vendor-switch .slider:before{content:"";background-color:#fff;border-radius:50%;width:16px;height:16px;transition:all .3s;position:absolute;bottom:3px;left:3px}.vendor-switch input:checked+.slider{background-color:#52c41a}.vendor-switch input:checked+.slider:before{transform:translate(18px)}.vendor-header .exchange-rate{color:#888;background:#f5f5f5;border-radius:4px;padding:2px 8px;font-size:12px}.vendor-name{color:#667eea;font-weight:600}.vendor-status{border-radius:10px;padding:2px 8px;font-size:12px}.vendor-status.enabled{color:#2e7d32;background:#e8f5e9}.vendor-status.disabled{color:#c62828;background:#ffebee}.vendor-details{flex-direction:column;gap:6px;display:flex}.vendor-row{align-items:flex-start;gap:8px;font-size:13px;display:flex}.vendor-label{color:#666;min-width:70px}.vendor-value{color:#333;word-break:break-all}.vendor-value.cost-price{color:#c62828;font-weight:600}.params-json{background:#fff;border:1px solid #eee;border-radius:4px;max-height:150px;margin:4px 0 0;padding:8px;font-size:11px;overflow:auto}.no-vendor{text-align:center;color:#999;padding:16px;font-size:13px}.country-select .combobox-wrapper{width:180px;position:relative}.country-select input{cursor:text;background:#fff;border:1px solid #ddd;border-radius:6px;width:100%;padding:10px 30px 10px 12px;font-size:14px}.country-select input:focus{border-color:#667eea;outline:none}.country-select .clear-btn{color:#666;cursor:pointer;background:#ddd;border:none;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;padding:0;font-size:14px;line-height:1;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.country-select .clear-btn:hover{background:#ccc}.country-select .combobox-dropdown{z-index:100;background:#fff;border:1px solid #ddd;border-radius:6px;max-height:250px;margin-top:4px;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 4px 12px #0000001a}.country-select .combobox-option{cursor:pointer;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.country-select .combobox-option:hover{background:#f5f5f5}.country-select .combobox-option.selected{color:#667eea;background:#e8f0fe}.country-select .option-name{font-weight:500}.country-select .option-code{color:#999;font-size:12px}.country-select .combobox-empty{text-align:center;color:#999;padding:16px}.vendor-table-container{overflow-x:auto}.vendor-table{border-collapse:collapse;width:100%;font-size:13px}.vendor-table th{text-align:left;color:#333;white-space:nowrap;background:#e8eaf6;border-bottom:1px solid #ddd;padding:6px 10px;font-weight:600}.vendor-table td{color:#333;border-bottom:1px solid #eee;padding:6px 10px}.vendor-table tbody tr:hover{background:#f5f5f5}.vendor-table .price-cell{color:#e65100;font-weight:600}.vendor-table .cost-price{color:#c62828;font-weight:600}.vendor-table .profit-cell{font-weight:600}.vendor-table .profit-cell.positive{color:#2e7d32}.vendor-table .profit-cell.negative{color:#c62828}.vendor-table .vendor-input{background:#fff;border:1px solid #ddd;border-radius:4px;width:80px;padding:4px 8px;font-size:13px}.vendor-table .vendor-input:focus{border-color:#667eea;outline:none}.switch{cursor:pointer;width:44px;height:24px;display:inline-block;position:relative}.switch input{opacity:0;width:0;height:0}.switch .slider{cursor:pointer;background-color:#ccc;border-radius:24px;transition:all .3s;position:absolute;inset:0}.switch .slider:before{content:"";background-color:#fff;border-radius:50%;width:18px;height:18px;transition:all .3s;position:absolute;bottom:3px;left:3px}.switch input:checked+.slider{background-color:#52c41a}.switch input:checked+.slider:before{transform:translate(20px)}.switch:hover .slider{box-shadow:0 0 4px #0003}.filter-row-single{align-items:flex-end;gap:16px;display:flex}.filter-row-single .filter-item.inline{flex-direction:row;align-items:center;gap:8px;display:flex}.filter-row-single .filter-item.inline label{white-space:nowrap}.filter-row-single .filter-item.inline select{min-width:150px}.page-header button{cursor:pointer;color:#fff;background:#667eea;border:none;border-radius:6px;padding:10px 24px;font-size:14px}.page-header button:hover{background:#5a71d4}.screenshot-link{color:#1890ff;text-decoration:none}.screenshot-link:hover{text-decoration:underline}.upload-box{align-items:center;gap:10px;display:flex}.upload-box input[type=file]{flex:1}.uploading{color:#999;font-size:12px}.preview-link{color:#52c41a;font-size:13px;text-decoration:none}.preview-link:hover{text-decoration:underline}.form-group .required{color:#ff4d4f}.form-group textarea{resize:vertical;width:100%}.vendor-recharge .modal h3{color:#333;margin:0 0 20px;font-size:18px}.vendor-recharge .modal-actions button.primary{color:#fff;cursor:pointer;background:#667eea;border:none;border-radius:6px;padding:10px 24px;font-size:14px}.vendor-recharge .modal-actions button.primary:hover{background:#5a71d4}.vendor-priority-manage .filter-bar{gap:12px;margin-bottom:16px;display:flex}.vendor-priority-manage .filter-bar select{border:1px solid #ddd;border-radius:4px;padding:8px 12px;font-size:14px}.vendor-order-cell{max-width:300px}.vendor-order-list{flex-wrap:wrap;gap:6px;display:flex}.vendor-tag{color:#1565c0;background:#e3f2fd;border-radius:12px;padding:4px 10px;font-size:12px;font-weight:500;display:inline-block}.status-badge{border-radius:12px;padding:4px 10px;font-size:12px;font-weight:500;display:inline-block}.status-badge.enabled{color:#2e7d32;background:#e8f5e9}.status-badge.disabled{color:#c62828;background:#ffebee}.action-btn{cursor:pointer;border:none;border-radius:4px;margin-right:8px;padding:4px 12px;font-size:12px}.action-btn.edit{color:#1565c0;background:#e3f2fd}.action-btn.delete{color:#c62828;background:#ffebee}.empty-cell{text-align:center;color:#888;padding:40px!important}.modal{background:#fff;border-radius:8px;flex-direction:column;width:600px;max-width:90vw;max-height:90vh;display:flex;overflow:hidden}.modal-header{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.modal-header h3{margin:0;font-size:18px}.close-btn{cursor:pointer;color:#888;background:0 0;border:none;font-size:24px}.modal-body{flex:1;padding:20px;overflow-y:auto}.form-group label{color:#333;margin-bottom:6px;font-weight:500;display:block}.form-group input[type=text],.form-group select{box-sizing:border-box;border:1px solid #ddd;border-radius:4px;width:100%;padding:10px 12px;font-size:14px}.form-group input[type=checkbox]{margin-right:8px}.vendor-config-area{gap:20px;margin-top:8px;display:flex}.vendor-order-editor{border:1px solid #ddd;border-radius:4px;flex:1;min-height:200px;padding:12px}.vendor-order-item{background:#f5f5f5;border-radius:4px;align-items:center;margin-bottom:8px;padding:8px;display:flex}.vendor-index{color:#fff;background:#1565c0;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;margin-right:10px;font-size:12px;display:flex}.vendor-name{flex:1;font-weight:500}.vendor-actions button{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:4px;margin-left:4px;padding:4px 8px}.vendor-actions button:hover{background:#f0f0f0}.vendor-actions button.remove{color:#c62828;border-color:#c62828}.vendor-actions button:disabled{opacity:.3;cursor:not-allowed}.empty-vendor{color:#888;text-align:center;padding:40px}.vendor-selector{width:180px}.vendor-selector label{margin-bottom:8px;font-weight:500;display:block}.vendor-add-btn{color:#1565c0;cursor:pointer;text-align:left;background:#e3f2fd;border:none;border-radius:4px;width:100%;margin-bottom:8px;padding:8px 12px;display:block}.vendor-add-btn:hover{background:#bbdefb}.no-vendor{color:#888;text-align:center;padding:20px;font-size:12px}.modal-footer{border-top:1px solid #eee;justify-content:flex-end;gap:12px;padding:16px 20px;display:flex}.cancel-btn{cursor:pointer;background:#f5f5f5;border:1px solid #ddd;border-radius:4px;padding:10px 20px}.submit-btn{color:#fff;cursor:pointer;background:#1565c0;border:none;border-radius:4px;padding:10px 20px}.submit-btn:hover{background:#0d47a1}.modal-large{width:900px}.form-row{gap:16px;display:flex}.form-row .form-group{flex:1}.vendor-category-config{margin-bottom:16px}.vendor-category-config>label{color:#333;margin-bottom:12px;font-weight:500;display:block}.category-vendor-list{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.category-section{border-bottom:1px solid #e0e0e0}.category-section:last-child{border-bottom:none}.category-header{background:#f5f5f5;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.category-name{color:#333;font-weight:600}.vendor-selector-inline{flex-wrap:wrap;gap:8px;display:flex}.vendor-add-btn-small{color:#1565c0;cursor:pointer;background:#e3f2fd;border:none;border-radius:4px;padding:4px 10px;font-size:12px}.vendor-add-btn-small:hover{background:#bbdefb}.no-vendor-hint{color:#888;font-size:12px}.vendor-order-row{flex-wrap:wrap;align-items:center;gap:8px;min-height:50px;padding:12px 16px;display:flex}.vendor-item{background:#e3f2fd;border-radius:20px;align-items:center;gap:8px;padding:8px 12px;font-size:13px;display:flex}.vendor-rank{color:#fff;background:#1565c0;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:11px;font-weight:600;display:flex}.vendor-btns button{cursor:pointer;color:#666;background:0 0;border:none;padding:2px 6px;font-size:12px}.vendor-btns button:hover{color:#1565c0}.vendor-btns button.remove{color:#c62828}.vendor-btns button:disabled{opacity:.3;cursor:not-allowed}.empty-hint{color:#bbb;padding:8px;font-size:13px}.vendor-order-pre{white-space:pre-wrap;margin:0;font-family:inherit;font-size:12px;line-height:1.6}.page-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.page-header h2{color:#333;margin:0;font-size:18px}.filter-bar{background:#fff;border-radius:12px;margin-bottom:24px;padding:16px 20px;box-shadow:0 2px 10px #0000000d}.filter-row{flex-wrap:wrap;align-items:flex-end;gap:16px;display:flex}.filter-item{flex-direction:column;gap:6px;display:flex}.filter-item label{color:#666;font-size:13px}.filter-item select,.filter-item input{border:1px solid #ddd;border-radius:6px;min-width:120px;padding:8px 12px;font-size:14px}.filter-item input[type=date]{width:140px}.filter-actions{gap:8px;display:flex}.filter-actions button{cursor:pointer;color:#fff;background:#667eea;border:none;border-radius:6px;padding:8px 16px;font-size:14px}.filter-actions button:hover{background:#5a71d4}.mono{font-family:Monaco,Consolas,monospace;font-size:12px}.num{text-align:right;font-family:monospace}.remark{text-overflow:ellipsis;white-space:nowrap;max-width:120px;overflow:hidden}.modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:12px;width:480px;max-width:90%;max-height:90vh;padding:24px;overflow-y:auto}.modal h3{color:#333;margin:0 0 20px;font-size:18px}.form-group{margin-bottom:16px}.form-group label{color:#666;margin-bottom:6px;font-size:13px;display:block}.form-group label .required{color:#ff4d4f}.form-group input,.form-group select,.form-group textarea{box-sizing:border-box;border:1px solid #ddd;border-radius:6px;width:100%;padding:10px 12px;font-size:14px}.form-group textarea{resize:vertical}.form-group input:disabled{color:#999;background:#f5f5f5}.form-warning{color:#856404;background:#fff3cd;border:1px solid #ffc107;border-radius:6px;margin-bottom:16px;padding:12px 14px;font-size:13px}.modal-actions{justify-content:flex-end;gap:12px;margin-top:20px;display:flex}.modal-actions button{cursor:pointer;border:none;border-radius:6px;padding:10px 20px;font-size:14px}.modal-actions button:first-child{color:#333;background:#e0e0e0}.modal-actions button:first-child:hover{background:#d0d0d0}.modal-actions .btn-primary{color:#fff;background:#667eea}.modal-actions .btn-primary:disabled{cursor:not-allowed;background:#a0a0a0}.modal-actions .btn-warning{color:#fff;background:#ff9800}.modal-actions .btn-warning:disabled{cursor:not-allowed;background:#ffcc80}
