body{margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.date-filter{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px;padding:20px}.date-filter-header{align-items:center;color:#374151;display:flex;gap:8px;margin-bottom:16px}.date-filter-header h3{font-size:18px;font-weight:600;margin:0}.date-filter-controls{align-items:end;display:flex;gap:20px}.filter-group{display:flex;flex-direction:column;gap:6px}.filter-group label{color:#6b7280;font-size:14px;font-weight:500}.filter-select{background:#fff;border:2px solid #e5e7eb;border-radius:6px;color:#374151;cursor:pointer;font-size:14px;min-width:120px;padding:8px 12px;transition:border-color .2s}.filter-select:hover{border-color:#d1d5db}.filter-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}@media (max-width:640px){.date-filter-controls{flex-direction:column;gap:16px}.filter-select{width:100%}}.view-toggle{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px;padding:20px}.view-toggle-header{margin-bottom:16px}.view-toggle-header h3{color:#374151;font-size:16px;font-weight:600;margin:0 0 4px}.view-toggle-header p{color:#6b7280;font-size:14px;margin:0}.view-toggle-options{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.view-toggle-button{align-items:center;background:#fafafa;border:2px solid #e5e7eb;border-radius:10px;color:#6b7280;cursor:pointer;display:flex;gap:12px;padding:16px;text-align:left;transition:all .2s ease}.view-toggle-button:hover{background:#f3f4f6;border-color:#d1d5db;transform:translateY(-1px)}.view-toggle-button.active{background:#f0f9ff;border-color:#3b82f6;box-shadow:0 2px 4px #3b82f61a;color:#1d4ed8}.view-toggle-content{display:flex;flex-direction:column;gap:2px}.view-toggle-title{font-size:14px;font-weight:600;line-height:1.2}.view-toggle-description{font-size:12px;line-height:1.3;opacity:.8}.view-toggle-button.active .view-toggle-description{opacity:.9}.view-toggle-button.monthly.active{background:#f0f9ff;border-color:#3b82f6;color:#1d4ed8}.view-toggle-button.cycle.active{background:#f0fdf4;border-color:#10b981;color:#065f46}@media (max-width:640px){.view-toggle-options{grid-template-columns:1fr}.view-toggle-button{gap:10px;padding:14px}.view-toggle-title{font-size:13px}.view-toggle-description{font-size:11px}}.status-filter{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px;padding:20px}.status-filter-header{align-items:center;color:#374151;display:flex;font-size:16px;font-weight:600;gap:8px;margin-bottom:16px}.status-filter-options{display:flex;flex-wrap:wrap;gap:12px}.status-filter-button{align-items:center;background:#f9fafb;border:2px solid #0000;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:6px;min-height:40px;padding:10px 16px;transition:all .2s ease}.status-filter-button:hover{background:#f3f4f6;transform:translateY(-1px)}.status-filter-button.active{box-shadow:0 2px 4px #0000001a;font-weight:600}.status-filter-button.all.active{background:#ebf8ff;border-color:#3b82f6;color:#1d4ed8}.status-filter-button.demo.active{background:#fef3c7;border-color:#f59e0b;color:#92400e}.status-filter-button.paid.active{background:#d1fae5;border-color:#10b981;color:#065f46}.status-filter-button.inactive.active{background:#fee2e2;border-color:#ef4444;color:#991b1b}.status-filter-button.demo-terminated.active{background:#fdf2f8;border-color:#ec4899;color:#be185d}.status-filter-button.terminated.active{background:#f3f4f6;border-color:#6b7280;color:#374151}.status-label{font-weight:inherit}.status-count{font-size:13px;font-weight:600;opacity:.8}.status-filter-button.active .status-count{opacity:1}@media (max-width:768px){.status-filter-options{gap:8px}.status-filter-button{font-size:13px;min-height:36px;padding:8px 12px}.status-filter-header{font-size:15px}}.payment-type-filter{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px;padding:16px}.payment-type-filter-header{align-items:center;color:#374151;display:flex;font-size:14px;font-weight:600;gap:8px;margin-bottom:12px}.payment-type-filter-options{display:flex;flex-wrap:wrap;gap:8px}.payment-type-filter-button{align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;font-size:13px;font-weight:500;gap:6px;padding:8px 12px;transition:all .2s}.payment-type-filter-button:hover{background:#f3f4f6;border-color:#d1d5db}.payment-type-filter-button.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.payment-type-filter-button.all.active{background:#6b7280;border-color:#6b7280}.payment-type-filter-button.recurrent.active{background:#10b981;border-color:#10b981}.payment-type-filter-button.package.active{background:#f59e0b;border-color:#f59e0b}.payment-type-label{font-weight:500}.payment-type-count{font-size:12px;font-weight:600}@media (max-width:768px){.payment-type-filter-options{flex-direction:column}.payment-type-filter-button{justify-content:space-between;width:100%}}.module-filter{background:#fff;border-left:4px solid #3498db;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px;padding:16px}.module-filter-header{align-items:center;color:#2c3e50;display:flex;font-size:14px;font-weight:600;gap:8px;margin-bottom:12px}.module-filter-options{display:flex;flex-wrap:wrap;gap:12px}.module-filter-button{align-items:center;background:#f8f9fa;border:2px solid #0000;border-radius:20px;color:#6c757d;cursor:pointer;display:flex;font-size:13px;font-weight:500;gap:8px;min-height:36px;padding:8px 16px;transition:all .2s ease}.module-filter-button:hover{box-shadow:0 2px 8px #0000001a;transform:translateY(-1px)}.module-filter-button.active{box-shadow:0 4px 12px #00000026;color:#fff;font-weight:600;transform:translateY(-1px)}.module-filter-button.all{background:#6c757d;color:#fff}.module-filter-button.all.active{background:#495057;border-color:#343a40}.module-filter-button.causacion{background:#28a745;color:#fff}.module-filter-button.causacion.active{background:#218838;border-color:#1e7e34}.module-filter-button.acuse{background:#007bff;color:#fff}.module-filter-button.acuse.active{background:#0056b3;border-color:#004085}.module-label{font-weight:inherit}.module-count{background:#fff3;border-radius:10px;font-size:11px;font-weight:600;padding:2px 6px}.module-filter-button.all .module-count{background:#ffffff4d}@media (max-width:768px){.module-filter{padding:12px}.module-filter-options{gap:8px}.module-filter-button{font-size:12px;min-height:32px;padding:6px 12px}}.membership-status-filter{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:1.5rem;padding:1.5rem}.membership-status-filter-header{align-items:center;color:#6b7280;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;margin-bottom:1rem}.membership-status-filter-options{display:flex;flex-wrap:wrap;gap:.75rem}.membership-status-filter-button{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;padding:.625rem 1rem;transition:all .2s ease}.membership-status-filter-button:hover{background:#f9fafb;border-color:#d1d5db;transform:translateY(-1px)}.membership-status-filter-button.active{background:currentColor;border-color:currentColor;box-shadow:0 2px 4px #0000001a;color:#fff}.membership-status-filter-button.all.active{background:#6366f1;border-color:#6366f1}.membership-status-filter-button.active.active{background:#10b981;border-color:#10b981}.membership-status-filter-button.deactivated.active{background:#ef4444;border-color:#ef4444}.membership-status-label{font-weight:500}.membership-status-count{font-weight:600;opacity:.8}.membership-status-filter-button:not(.active) .membership-status-count{color:#9ca3af}@media (max-width:768px){.membership-status-filter{padding:1rem}.membership-status-filter-options{gap:.5rem}.membership-status-filter-button{font-size:.8125rem;padding:.5rem .75rem}}.update-status{align-items:center;background:#fff;border-left:4px solid #e5e7eb;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;gap:12px;margin-bottom:20px;padding:12px 16px;transition:all .2s}.update-status.success{background:#f0fdf4;border-left-color:#10b981}.update-status.warning{background:#fffbeb;border-left-color:#f59e0b}.update-status.error{background:#fef2f2;border-left-color:#ef4444}.update-status.loading{background:#f9fafb;border-left-color:#6b7280}.status-icon{align-items:center;background:#fffc;border-radius:50%;display:flex;height:32px;justify-content:center;width:32px}.update-status.success .status-icon{color:#10b981}.update-status.warning .status-icon{color:#f59e0b}.update-status.error .status-icon{color:#ef4444}.update-status.loading .status-icon{color:#6b7280}.status-content{display:flex;flex:1 1;flex-direction:column;gap:4px}.status-main{align-items:center;display:flex;font-size:14px;gap:8px}.status-label{color:#374151;font-weight:600}.status-time{color:#6b7280;font-weight:500}.status-details{color:#6b7280;font-size:12px}.clients-updated{font-weight:500}.refresh-button{background:#fffc;color:#6b7280;height:32px;justify-content:center;transition:all .2s;width:32px}.refresh-button:hover{background:#fff;color:#374151;transform:scale(1.05)}.refresh-button:active{transform:scale(.95)}@media (max-width:768px){.update-status{gap:8px}.status-main,.update-status{align-items:flex-start;flex-direction:column}.status-main{gap:4px}.refresh-button{align-self:flex-end}}.action-bar{align-items:center;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:20px;padding:16px 20px}.action-buttons{display:flex;flex-wrap:wrap;gap:12px}.action-button{align-items:center;border:none;border-radius:6px;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 16px;transition:all .2s;white-space:nowrap}.action-button:disabled{cursor:not-allowed;opacity:.6}.action-button.primary{background:#3b82f6;color:#fff}.action-button.primary:hover:not(:disabled){background:#2563eb;box-shadow:0 4px 8px #3b82f64d;transform:translateY(-1px)}.action-button.secondary{background:#f3f4f6;border:1px solid #d1d5db;color:#374151}.action-button.secondary:hover:not(:disabled){background:#e5e7eb;box-shadow:0 2px 4px #0000001a;transform:translateY(-1px)}.action-button.digitalocean{background:#0080ff;border:2px solid #0080ff;color:#fff}.action-button.digitalocean:hover:not(:disabled){background:#06c;border-color:#06c;box-shadow:0 4px 8px #0080ff4d;transform:translateY(-1px)}.spinning{animation:spin 1s linear infinite}.status-message{align-items:center;border-radius:6px;display:flex;font-size:14px;font-weight:500;gap:8px;max-width:400px;padding:8px 12px}.status-message.success{background:#d1fae5;border:1px solid #a7f3d0;color:#065f46}.status-message.error{background:#fee2e2;border:1px solid #fecaca;color:#991b1b}.status-message.info{background:#dbeafe;border:1px solid #93c5fd;color:#1e40af}@media (max-width:640px){.action-bar{align-items:stretch;flex-direction:column}.action-button,.action-buttons{justify-content:center}.action-button{flex:1 1}.status-message{max-width:none;text-align:center}}.module-labels{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.module-labels.compact{gap:2px;margin-left:4px;margin-top:0}.module-label{align-items:center;border-radius:10px;color:#fff;display:inline-flex;font-size:10px;font-weight:600;letter-spacing:.3px;padding:2px 8px;text-transform:uppercase}.module-label.compact{border-radius:6px;font-size:8px;font-weight:700;min-width:12px;padding:1px 4px;text-align:center}.module-label.use_accounting_system{background:#28a745;box-shadow:0 1px 3px #28a7454d}.module-label.use_accounting_system.compact{background:#28a745;box-shadow:0 1px 2px #28a74566}.module-label.acuse_recibo_module{background:#007bff;box-shadow:0 1px 3px #007bff4d}.module-label.acuse_recibo_module.compact{background:#007bff;box-shadow:0 1px 2px #007bff66}.no-modules{color:#6c757d;font-size:11px;font-style:italic;margin-top:4px}.module-label:hover{transform:scale(1.05);transition:transform .1s ease}.module-label.compact:hover{transform:scale(1.1)}@media (max-width:768px){.module-labels{gap:3px}.module-labels.compact{gap:1px}.module-label{font-size:9px;padding:1px 6px}.module-label.compact{font-size:7px;min-width:10px;padding:1px 3px}}.success-rate{background:#ffffffe6;border:1px solid;border-radius:8px;cursor:help;display:inline-block;font-size:11px;font-weight:700;letter-spacing:.3px;margin-left:8px;padding:2px 6px;transition:all .2s ease}.success-rate:hover{box-shadow:0 2px 4px #0000001a;transform:scale(1.05)}.success-rate.excellent{background:#28a7451a;border-color:#28a745;color:#28a745}.success-rate.good{background:#6f42c11a;border-color:#6f42c1;color:#6f42c1}.success-rate.fair{background:#fd7e141a;border-color:#fd7e14;color:#fd7e14}.success-rate.poor{background:#dc35451a;border-color:#dc3545;color:#dc3545}.success-rate.critical{background:#6c757d1a;border-color:#6c757d;color:#6c757d}.success-rate.no-data{background:#6c757d0d;border-color:#dee2e6;color:#6c757d;font-style:italic}@media (max-width:768px){.success-rate{font-size:10px;margin-left:4px;padding:1px 4px}}.clients-table-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.table-header{border-bottom:1px solid #e5e7eb;flex-wrap:wrap;gap:16px;justify-content:space-between;padding:20px}.table-header,.table-title{align-items:center;display:flex}.table-title{color:#374151;gap:12px}.table-title h2{font-size:20px;font-weight:600;margin:0}.table-stats{display:flex;flex-wrap:wrap;gap:24px}.stat-item{gap:4px}.stat-value{color:#374151;font-weight:600}.stat-value.demo{color:#f59e0b}.stat-value.paid{color:#10b981}.stat-warning{color:#ef4444;font-size:11px;font-weight:500;margin-left:4px}.search-bar{align-items:center;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;gap:12px;padding:16px 20px}.search-input{background:#fff;border:1px solid #d1d5db;border-radius:6px;flex:1 1;font-size:14px;padding:8px 12px}.search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.table-wrapper{overflow-x:auto}.clients-table{border-collapse:collapse;width:100%}.clients-table th{background:#f9fafb;border-bottom:1px solid #e5e7eb;color:#374151;font-weight:600;padding:12px 16px;text-align:left;white-space:nowrap}.clients-table th.sortable{align-items:center;cursor:pointer;display:flex;gap:6px;position:relative;-webkit-user-select:none;user-select:none}.clients-table th.sortable:hover{background:#f3f4f6}.sort-icon{opacity:.5;transition:opacity .2s,transform .2s}.clients-table th.sortable.desc .sort-icon{opacity:1;transform:rotate(180deg)}.clients-table th.sortable.asc .sort-icon{opacity:1}.clients-table td{border-bottom:1px solid #f3f4f6;padding:12px 16px;vertical-align:middle}.clients-table tr:hover{background:#f9fafb}.clients-table tr.no-data{opacity:.6}.client-name .name{color:#374151;font-weight:500}.ip-address{color:#6c757d;cursor:pointer;min-width:40px;padding:8px 4px;text-align:center;width:40px}.ip-address:hover{background-color:#007bff1a;color:#495057}.ip-address.copied{background-color:#28a74533;color:#28a745;transform:scale(1.1);transition:all .3s ease}.status-cell{min-width:100px;text-align:center}.status-with-modules{align-items:center;display:flex;flex-wrap:wrap;gap:2px;justify-content:center}.metrics-cell{min-width:120px;padding:8px 12px;text-align:center}.metrics-info{align-items:center;display:flex;font-weight:600;gap:8px;justify-content:center}.pending-count{background-color:#3b82f61a;border-radius:4px;color:#1f2937;font-size:14px;font-weight:700;min-width:20px;padding:2px 6px;text-align:center}.separator{color:#6b7280;font-size:12px;font-weight:400}.usage-cell{min-width:120px}.usage-info{display:flex;flex-direction:column;gap:4px}.usage-number{color:#374151;font-weight:600}.usage-bar{background:#e5e7eb;border-radius:2px;height:4px;overflow:hidden;width:100%}.usage-fill{background:linear-gradient(90deg,#3b82f6,#1d4ed8);height:100%;transition:width .3s ease}.status-badge{border-radius:12px;font-size:12px;font-weight:500;padding:4px 8px;white-space:nowrap}.status-badge.active{background:#d1fae5;color:#065f46}.status-badge.inactive{background:#fee2e2;color:#991b1b}.status-badge.demo{background:#fef3c7;color:#92400e}.status-badge.demo.expiring{animation:pulse 2s infinite;background:#fecaca;color:#991b1b}.status-badge.paid{background:#d1fae5;color:#065f46}.status-badge.paid.deactivated{background:#fee2e2;color:#991b1b}.status-badge.demo-terminated{background:#fdf2f8;color:#be185d}.status-badge.terminated{background:#f3f4f6;color:#374151}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.last-updated{font-size:13px;gap:6px;white-space:nowrap}.last-updated,.loading-state{align-items:center;color:#6b7280;display:flex}.loading-state{flex-direction:column;justify-content:center;padding:60px 20px}.loading-spinner{margin-bottom:12px}.empty-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;padding:60px 20px}.empty-state h3{color:#374151;margin:12px 0 4px}.empty-state p{font-size:14px;margin:0}.usage-progress{display:flex;flex-direction:column;gap:4px;min-width:140px}.usage-numbers{align-items:center;display:flex;font-size:13px;gap:2px}.usage-numbers .current{color:#374151;font-weight:600}.usage-numbers .contracted,.usage-numbers .separator{color:#6b7280}.progress-bar{background:#e5e7eb;border-radius:3px;height:6px;overflow:hidden;width:100%}.progress-fill{background:linear-gradient(90deg,#10b981,#059669);border-radius:3px;height:100%;transition:width .3s ease}.progress-fill.over-limit{background:linear-gradient(90deg,#f59e0b,#d97706)}.percentage{color:#6b7280;font-size:11px;font-weight:500;text-align:right}.simple-usage{display:flex;flex-direction:column;gap:4px}.clients-table tr.demo{background:#fef3c71a}.clients-table tr.paid{background:#d1fae51a}.clients-table tr.demo:hover{background:#fef3c733}.clients-table tr.paid:hover{background:#d1fae533}.view-indicator{color:#10b981;font-size:14px;font-weight:500;margin-left:8px}.cycle-range{color:#6b7280;font-size:13px;white-space:nowrap}@media (max-width:768px){.table-header{align-items:flex-start;flex-direction:column}.table-stats{justify-content:space-around;width:100%}.clients-table td,.clients-table th{padding:8px 12px}.clients-table th.sortable{display:table-cell}.sort-icon{position:absolute;right:4px;top:50%;transform:translateY(-50%)}}.client-info{gap:4px}.client-comment{border-radius:4px;color:#6b7280;cursor:pointer;font-size:12px;font-style:italic;padding:2px 4px;transition:background-color .2s}.client-comment:hover{background-color:#f3f4f6}.comment-text{display:block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.add-comment-icon{align-items:center;border-radius:4px;color:#9ca3af;cursor:pointer;display:inline-flex;height:20px;justify-content:center;transition:all .2s;width:20px}.add-comment-icon:hover{background-color:#f3f4f6;color:#6b7280}.modal-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:8px;box-shadow:0 10px 25px #00000026;max-height:90vh;max-width:500px;overflow:hidden;width:90%}.modal-header{border-bottom:1px solid #e5e7eb;padding:20px}.modal-header h3{color:#374151;font-size:18px;font-weight:600;margin:0}.modal-body{padding:20px}.modal-body textarea{border:1px solid #d1d5db;border-radius:6px;box-sizing:border-box;font-family:inherit;font-size:14px;min-height:100px;padding:12px;resize:vertical;width:100%}.modal-body textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.character-count{color:#6b7280;font-size:12px;margin-top:8px;text-align:right}.modal-footer{border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:flex-end;padding:20px}.modal-footer button{border:1px solid #0000;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s}.btn-cancel{background:#f9fafb;border-color:#d1d5db;color:#374151}.btn-cancel:hover{background:#f3f4f6}.btn-save{background:#3b82f6;color:#fff}.btn-save:hover:not(:disabled){background:#2563eb}.btn-save:disabled{background:#9ca3af;cursor:not-allowed}.btn-delete{background:#ef4444;color:#fff}.btn-delete:hover{background:#dc2626}.payment-type-badge{border-radius:4px;display:inline-block;font-size:11px;font-weight:600;letter-spacing:.5px;padding:4px 8px;text-transform:uppercase}.payment-type-badge.package{background-color:#fef3c7;border:1px solid #f59e0b;color:#d97706}.payment-type-badge.recurrent{background-color:#d1fae5;border:1px solid #10b981;color:#065f46}.last-invoice-cell,.payment-type-cell{padding:12px 8px;text-align:center}.last-invoice-info{display:flex;flex-direction:column;gap:2px}.invoice-date{color:#374151;font-size:12px;font-weight:600}.invoice-count{color:#6b7280;font-size:11px;font-weight:500}.no-invoice-data{color:#9ca3af;font-size:11px;font-style:italic}.usage-chart-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px;padding:20px}.chart-header{color:#374151;gap:12px;margin-bottom:24px}.chart-header h3{font-size:18px;font-weight:600;margin:0}.charts-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:2fr 1fr;margin-bottom:24px}.chart-section{background:#f9fafb;border-radius:8px;padding:16px}.chart-section h4{color:#374151;font-size:16px;font-weight:500;margin:0 0 16px;text-align:center}.chart-wrapper{background:#fff;border-radius:6px;padding:12px}.chart-tooltip{border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 4px 6px #0000001a;padding:8px 12px}.tooltip-label{color:#374151;font-size:13px;font-weight:500;margin:0 0 4px}.tooltip-value{color:#6b7280;font-size:12px;margin:0}.tooltip-value span{color:#3b82f6;font-weight:600}.quick-stats{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-top:24px}.stat-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column;gap:8px;padding:16px;text-align:center}.stat-number{color:#3b82f6;font-size:20px;font-weight:700}.stat-label{color:#6b7280;letter-spacing:.5px;text-transform:uppercase}.no-data-message{color:#6b7280;padding:40px 20px;text-align:center}.no-data-message p{font-size:16px;margin:0}@media (max-width:1024px){.charts-grid{grid-template-columns:1fr}.quick-stats{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.usage-chart-container{padding:16px}.charts-grid{gap:16px}.chart-section{padding:12px}.quick-stats{gap:12px;grid-template-columns:1fr}.stat-card{padding:12px}.stat-number{font-size:18px}}.daily-usage-container{max-width:100%;overflow-x:auto;padding:20px}.daily-usage-header{margin-bottom:20px}.daily-usage-header h2{color:#2c3e50;font-size:1.4rem;font-weight:600;margin-bottom:12px}.daily-usage-stats{background:#f8f9fa;border-left:4px solid #3498db;border-radius:8px;display:flex;flex-wrap:wrap;gap:20px;padding:12px}.stat-item{align-items:center;display:flex;flex-direction:column;min-width:90px}.stat-label{color:#7f8c8d;font-size:.75rem;margin-bottom:3px}.stat-value{color:#2c3e50;font-size:1.1rem}.daily-usage-loading{align-items:center;color:#7f8c8d;display:flex;flex-direction:column;justify-content:center;padding:60px 20px}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #ecf0f1;border-radius:50%;border-top-color:#3498db;height:40px;margin-bottom:15px;width:40px}.daily-usage-empty{color:#7f8c8d;font-size:1.1rem;padding:60px 20px;text-align:center}.daily-usage-table-container{border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px;overflow-x:auto}.daily-usage-table{background:#fff;border-collapse:collapse;font-size:.75rem;min-width:600px;width:100%}.daily-usage-table th{background:#34495e;border:1px solid #2c3e50;color:#fff;font-size:.7rem;font-weight:600;padding:8px 4px;text-align:center}.month-header{background:#2c3e50!important;left:0;min-width:100px;position:-webkit-sticky;position:sticky;z-index:10}.day-header{font-size:.65rem;min-width:35px}.total-header{background:#27ae60!important;min-width:60px}.daily-usage-table td{border:1px solid #ecf0f1;font-size:.7rem;font-weight:500;padding:6px 3px;text-align:center}.month-cell{background:#f8f9fa;border-right:2px solid #bdc3c7;color:#2c3e50;font-weight:600;left:0;position:-webkit-sticky;position:sticky;z-index:5}.usage-cell{cursor:pointer;font-size:.65rem;transition:all .2s ease}.usage-cell:hover{box-shadow:0 2px 8px #00000026;position:relative;transform:scale(1.05);z-index:2}.total-cell{background:#e8f5e8;border-left:2px solid #27ae60;color:#27ae60;font-weight:700}.intensity-0{background:#fff;color:#bdc3c7}.intensity-1{background:#e3f2fd;color:#1976d2}.intensity-2{background:#bbdefb;color:#1565c0}.intensity-3{background:#90caf9;color:#0d47a1}.intensity-4{background:#64b5f6;color:#fff}.intensity-5{background:#2196f3;color:#fff;font-weight:700}.daily-usage-legend{background:#f8f9fa;border-left:4px solid #9b59b6;border-radius:8px;padding:10px}.daily-usage-legend h4{color:#2c3e50;font-size:.85rem;margin:0 0 8px}.legend-items{display:flex;flex-wrap:wrap;gap:12px}.legend-item{align-items:center;color:#7f8c8d;display:flex;font-size:.7rem;gap:6px}.legend-color{border:1px solid #bdc3c7;border-radius:3px;height:16px;width:16px}@media (max-width:768px){.daily-usage-container{padding:10px}.daily-usage-stats{gap:10px}.stat-item{min-width:70px}.stat-value{font-size:.9rem}.daily-usage-table{font-size:.65rem}.day-header{font-size:.6rem;min-width:28px}.usage-cell{font-size:.6rem;padding:4px 2px}.legend-items{gap:8px}.legend-item{font-size:.65rem}}@media (max-width:480px){.daily-usage-header h2{font-size:1.2rem}.daily-usage-stats{flex-direction:column;gap:8px}.stat-item{flex-direction:row;justify-content:space-between;min-width:auto;width:100%}.stat-label{font-size:.7rem}.stat-value{font-size:.85rem}}.daily-consumption-chart{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;margin-bottom:24px;padding:24px}.chart-header{flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:20px}.chart-header,.chart-title{align-items:center;display:flex}.chart-title{color:#2c3e50;gap:12px}.chart-title h3{font-size:20px;font-weight:600;margin:0}.chart-controls{align-items:center;display:flex;flex-wrap:wrap;gap:16px}.months-selector{align-items:center;color:#666;display:flex;font-size:14px;gap:8px}.months-selector label{font-weight:500}.months-selector select{background:#fff;border:1px solid #ddd;border-radius:6px;cursor:pointer;font-size:14px;padding:6px 12px}.months-selector select:focus{border-color:#3498db;box-shadow:0 0 0 2px #3498db33;outline:none}.refresh-button{align-items:center;background:#3498db;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:6px;padding:8px 16px;transition:all .2s ease}.refresh-button:hover{background:#2980b9;transform:translateY(-1px)}.refresh-button:active{transform:translateY(0)}.chart-stats{display:flex;flex-wrap:wrap;gap:24px;margin-bottom:24px}.month-stat{background:#f8f9fa;border-left:4px solid #0000;border-radius:8px;min-width:120px;padding:12px 16px;text-align:center}.stat-label{color:#666;font-size:12px;font-weight:500;margin-bottom:4px}.stat-value{font-size:16px;font-weight:700}.chart-container{background:#fafbfc;border:1px solid #e1e8ed;border-radius:8px;margin:20px 0;padding:16px}.chart-loading{align-items:center;color:#666;display:flex;flex-direction:column;justify-content:center;padding:60px 20px}.chart-loading .spinning{animation:spin 1s linear infinite;margin-bottom:12px}.chart-error{color:#e74c3c;flex-direction:column;justify-content:center;padding:40px 20px;text-align:center}.chart-error,.retry-button{align-items:center;display:flex}.retry-button{background:#e74c3c;font-size:14px;gap:6px;margin-top:12px;padding:8px 16px;transition:all .2s ease}.retry-button:hover{background:#c0392b}.chart-tooltip{background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 4px 12px #00000026;font-size:14px;padding:12px}.tooltip-label{border-bottom:1px solid #eee;color:#2c3e50;font-weight:600;margin:0 0 8px;padding-bottom:4px}.tooltip-name{font-weight:500;margin-right:8px}.tooltip-value{font-weight:600}.chart-info{background:#e8f4f8;border-left:4px solid #3498db;border-radius:8px;margin-top:20px;padding:16px}.chart-info p{color:#2c3e50;font-size:14px;line-height:1.5;margin:0}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (max-width:768px){.daily-consumption-chart{padding:16px}.chart-header{align-items:flex-start;flex-direction:column}.chart-controls{justify-content:space-between;width:100%}.chart-stats{gap:12px}.month-stat{min-width:100px;padding:8px 12px}.chart-container{padding:8px}}@media (max-width:480px){.chart-stats{flex-direction:column;gap:8px}.month-stat{width:100%}}.error-report{background:#fff;border:1px solid #fee2e2;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px}.error-report-header{align-items:center;background:#fef2f2;border-radius:8px 8px 0 0;cursor:pointer;display:flex;justify-content:space-between;padding:16px 20px;transition:background-color .2s}.error-report-header:hover{background:#fee2e2}.error-report-title{align-items:center;color:#dc2626;display:flex;gap:12px}.error-report-title h3{font-size:16px;font-weight:600;margin:0}.error-report-content{padding:20px}.error-summary{background:#f3f4f6;border-radius:6px;color:#374151;font-size:14px;margin-bottom:20px;padding:12px}.error-groups{display:flex;flex-direction:column;gap:16px;margin-bottom:20px}.error-group{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.error-group-header{background:#f9fafb;border-left:4px solid #ef4444;padding:12px 16px}.error-group-info{display:flex;flex-direction:column;gap:4px}.error-group-title{align-items:center;color:#374151;display:flex;font-weight:600;gap:8px}.error-count{background:#e5e7eb;border-radius:12px;color:#6b7280;font-size:12px;font-weight:500;padding:2px 6px}.error-description{color:#6b7280;font-size:13px;font-style:italic;margin:0}.error-clients{padding:0}.error-client{align-items:flex-start;border-bottom:1px solid #f3f4f6;display:flex;gap:16px;justify-content:space-between;padding:12px 16px}.error-client:last-child{border-bottom:none}.client-info{display:flex;flex-direction:column;gap:2px;min-width:200px}.client-name{color:#374151;font-size:14px;font-weight:500}.client-ip,.error-message{color:#6b7280;font-family:Courier New,monospace;font-size:12px}.error-message{background:#f9fafb;border-radius:4px;flex:1 1;padding:6px 8px;word-break:break-word}.error-suggestions{background:#f0f9ff;border:1px solid #bae6fd;border-radius:6px;padding:16px}.error-suggestions h4{color:#0369a1;font-size:14px;margin:0 0 12px}.error-suggestions ul{color:#374151;margin:0;padding-left:20px}.error-suggestions li{font-size:13px;line-height:1.4;margin-bottom:6px}.error-suggestions strong{color:#0369a1}@media (max-width:768px){.error-report-content{padding:16px}.error-client{align-items:stretch;flex-direction:column;gap:8px}.client-info{min-width:auto}.error-message{font-size:11px}.error-suggestions{padding:12px}}*{box-sizing:border-box;margin:0;padding:0}:root{--primary-color:#3b82f6;--primary-hover:#2563eb;--secondary-color:#6b7280;--success-color:#10b981;--error-color:#ef4444;--warning-color:#f59e0b;--bg-primary:#f9fafb;--bg-secondary:#fff;--text-primary:#111827;--text-secondary:#6b7280;--border-color:#e5e7eb;--shadow-sm:0 1px 2px 0 #0000000d;--shadow-md:0 4px 6px -1px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a;--radius-sm:4px;--radius-md:6px;--radius-lg:8px}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f9fafb;background-color:var(--bg-primary);color:#111827;color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.6}.app{display:flex;flex-direction:column;min-height:100vh}.app-header{background:linear-gradient(135deg,#3b82f6,#2563eb);background:linear-gradient(135deg,var(--primary-color),var(--primary-hover));box-shadow:0 4px 6px -1px #0000001a;box-shadow:var(--shadow-md);color:#fff;padding:2rem 0}.header-content{margin:0 auto;max-width:1200px;padding:0 1rem}.header-title{align-items:center;display:flex;gap:1rem;margin-bottom:.5rem}.header-title h1{font-size:2rem;font-weight:700;margin:0}.header-subtitle{font-size:1.1rem;font-weight:400;margin:0;opacity:.9}.app-main{flex:1 1;padding:2rem 0}.container{margin:0 auto;max-width:1200px;padding:0 1rem}.app-footer{background:#fff;background:var(--bg-secondary);border-top:1px solid #e5e7eb;border-top:1px solid var(--border-color);margin-top:2rem;padding:1.5rem 0}.app-footer p{color:#6b7280;color:var(--text-secondary);font-size:.875rem;text-align:center}.error-container{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:60vh;padding:2rem;text-align:center}.error-container h2{color:#ef4444;color:var(--error-color);font-size:1.5rem;margin:1rem 0 .5rem}.error-container p{color:#6b7280;color:var(--text-secondary);margin-bottom:1.5rem;max-width:500px}.retry-button{background:#3b82f6;background:var(--primary-color);border:none;border-radius:6px;border-radius:var(--radius-md);color:#fff;cursor:pointer;font-size:1rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s}.retry-button:hover{background:#2563eb;background:var(--primary-hover);box-shadow:0 4px 6px -1px #0000001a;box-shadow:var(--shadow-md);transform:translateY(-1px)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}@media (max-width:768px){.app-header{padding:1.5rem 0}.header-title{align-items:center;flex-direction:column;gap:.5rem;text-align:center}.header-title h1{font-size:1.5rem}.header-subtitle{font-size:1rem}.app-main{padding:1rem 0}.container{padding:0 .75rem}}@media (max-width:480px){.header-title h1{font-size:1.25rem}.header-subtitle{font-size:.875rem}.error-container{padding:1rem}.error-container h2{font-size:1.25rem}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.fade-in{animation:fadeIn .3s ease-out}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.tabs-container{margin-bottom:2rem}.tabs{background:#fff;background:var(--bg-secondary);border:1px solid #e5e7eb;border:1px solid var(--border-color);border-radius:8px;border-radius:var(--radius-lg);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);gap:0;padding:4px}.tab,.tabs{display:flex}.tab{align-items:center;background:#0000;border:none;border-radius:6px;border-radius:var(--radius-md);color:#6b7280;color:var(--text-secondary);cursor:pointer;flex:1 1;font-size:.95rem;font-weight:500;gap:8px;justify-content:center;min-height:44px;padding:12px 20px;transition:all .2s ease}.tab:hover{background:#f9fafb;background:var(--bg-primary);color:#111827;color:var(--text-primary)}.tab.active{background:#3b82f6;background:var(--primary-color);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#fff}.tab.active:hover{background:#2563eb;background:var(--primary-hover);color:#fff}@media (max-width:768px){.tabs{flex-direction:column;gap:4px}.tab{justify-content:flex-start;padding:14px 16px}}@media (max-width:480px){.tab{font-size:.9rem;padding:12px 14px}.tab svg{height:16px;width:16px}}
/*# sourceMappingURL=main.0c1f5bbf.css.map*/