:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#f5f5f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh;background-color:#f5f5f5}#root{height:100vh}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:all .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.toast-container{position:fixed;top:20px;right:20px;z-index:9999;pointer-events:none}.toast{pointer-events:auto;margin-bottom:10px;animation:slideInRight .3s ease-out}.toast.leaving{animation:slideOutRight .3s ease-in}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5}.app{display:flex;flex-direction:column;height:100vh;background-color:#f5f5f5}.header{background-color:#dde7ec;border-bottom:1px solid #bdc3c7;color:#fff;height:60px;display:flex;align-items:center;padding:0 20px;box-shadow:0 2px 4px #0000001a}.header-content{display:flex;justify-content:space-between;align-items:center;width:100%}.header-left{display:flex;align-items:center;gap:16px}.opti-pro-logo{height:64px;width:auto}.logo-image{width:200px;height:64px;object-fit:contain;margin-right:15px;border-radius:4px}.logo-placeholder{width:40px;height:40px;background:linear-gradient(135deg,#3498db,#2980b9);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:15px}.logo-text{color:#fff;font-weight:700;font-size:12px}.header-right{display:flex;gap:10px}.header-icon{background:none;border:none;color:#fff;font-size:18px;cursor:pointer;padding:8px;border-radius:4px;transition:background-color .2s}.header-icon:hover{background-color:#ffffff1a}.main-layout{display:flex;flex:1;height:calc(100vh - 60px)}.sidebar{width:230px;background-color:#dde7ec;border-right:1px solid #bdc3c7;display:flex;flex-direction:column;transition:transform .3s ease,width .3s ease}.sidebar.closed{transform:translate(-100%)}.sidebar-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:998}.logo-toggle-button{background:none;border:none;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;color:inherit}.logo-toggle-button:focus,.logo-toggle-button:focus-visible,.logo-toggle-button:active{outline:none;background:none}.header-left{display:flex;align-items:center}.sidebar-content{padding:20px 0;flex:1}.nav-items{display:flex;flex-direction:column;gap:5px;padding:0 15px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 15px;background:none;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease;text-align:left;font-size:14px;color:#2c3e50;font-weight:500}.nav-item:hover{background-color:#d5dbdb}.nav-item.active{background-color:#bdc3c7;color:#2c3e50;font-weight:600}.nav-item span:first-child{font-size:16px;width:20px;text-align:center}.nav-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.content{flex:1;background-color:#fff;padding:30px;overflow-y:auto;transition:margin-left .3s ease}@media (min-width: 769px){.sidebar.closed{width:0;overflow:hidden}.content{margin-left:0}}.main-content{max-width:1800px;margin:0 auto}.main-content h2{color:#2c3e50;margin-bottom:20px;font-size:24px;font-weight:600}.main-content h3{color:#34495e;margin-bottom:15px;font-size:20px;font-weight:500}.main-content h4{color:#2c3e50;margin-bottom:8px;font-size:16px;font-weight:500}.main-content p{color:#7f8c8d;line-height:1.6;font-size:16px;margin-bottom:15px}.users-table-wrapper{background:white;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.users-table-header{display:flex;justify-content:space-between;align-items:center;padding:20px 30px;border-bottom:1px solid #ecf0f1}.users-table-header h2{color:#2c3e50;font-size:20px;font-weight:600;margin:0}.add-user-btn{background:#3498db;color:#fff;border:none;border-radius:50%;width:40px;height:40px;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s;box-shadow:0 2px 4px #3498db4d}.add-user-btn:hover{background:#2980b9}.users-table-filter-row{padding:20px 30px;border-bottom:1px solid #ecf0f1}.filter-container{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.filter-input-container{position:relative;flex:1;min-width:200px}.users-table-filter{width:100%;padding:10px 15px 10px 40px;border:1px solid #bdc3c7;border-radius:6px;font-size:14px;transition:border-color .2s;background-color:#fff}.users-table-filter:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 2px #3498db33}.filter-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#7f8c8d;font-size:14px}.filter-dropdowns{display:flex;gap:10px}.filter-select{padding:10px 15px;border:1px solid #bdc3c7;border-radius:6px;font-size:14px;background-color:#fff;cursor:pointer;transition:border-color .2s;min-width:120px}.filter-select:focus{outline:none;border-color:#3498db}.clear-filters-btn{background:#e74c3c;color:#fff;border:none;padding:10px 15px;border-radius:6px;cursor:pointer;font-size:14px;transition:background-color .2s;display:flex;align-items:center;gap:5px}.clear-filters-btn:hover{background:#c0392b}.users-table-scroll{overflow-x:auto}.users-table{width:100%;border-collapse:collapse;font-size:14px}.users-table th{background-color:#f8f9fa;padding:15px 12px;text-align:left;font-weight:600;color:#2c3e50;border-bottom:2px solid #dee2e6;white-space:nowrap}.users-table th:nth-child(4){text-align:center}.users-table th:nth-child(5){text-align:center}.users-table th:last-child{text-align:center}.users-table td{padding:12px;border-bottom:1px solid #ecf0f1;vertical-align:middle}.users-table td:nth-child(4){text-align:center}.users-table td:nth-child(5){text-align:center}.users-table td:last-child{text-align:center}.users-table tbody tr:hover{background-color:#f8f9fa}.users-table tbody tr:last-child td{border-bottom:none}.active-badge{background-color:#27ae60;color:#fff;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500;display:inline-block}.inactive-badge{background-color:#e74c3c;color:#fff;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500;display:inline-block}.role-badge{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500;display:inline-block}.role-admin{background-color:#27ae60;color:#fff}.role-user{background-color:#3498db;color:#fff}.role-advanced{background-color:#9b59b6;color:#fff}.role-unknown,.role-guest{background-color:#95a5a6;color:#fff}.action-btn{background:none;border:none;cursor:pointer;padding:6px;margin:0 2px;border-radius:4px;transition:background-color .2s;font-size:14px}.action-btn:hover{background-color:#ecf0f1}.users-table-pagination{display:flex;justify-content:center;align-items:center;gap:10px;padding:20px;border-top:1px solid #ecf0f1}.pagination-btn{background:#3498db;color:#fff;border:none;padding:8px 12px;border-radius:4px;cursor:pointer;transition:background-color .2s}.pagination-btn:hover:not(:disabled){background:#2980b9}.pagination-btn:disabled{background:#bdc3c7;cursor:not-allowed}.pagination-page{background:#ecf0f1;color:#2c3e50;padding:8px 12px;border-radius:4px;font-weight:500}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:20px}.stat-card{background:linear-gradient(135deg,#3498db,#2980b9);color:#fff;padding:25px;border-radius:8px;text-align:center;transition:transform .2s}.stat-card:hover{transform:translateY(-2px)}.stat-number{font-size:32px;font-weight:700;margin-bottom:8px;display:block}.scenario-content,.product-content{background:white;border-radius:8px;padding:25px;box-shadow:0 2px 8px #0000001a}.scenario-section,.product-section{margin-bottom:30px}.scenario-section h3,.product-section h3{color:#2c3e50;margin-bottom:15px;font-size:18px;font-weight:600}.scenario-list,.product-list{display:flex;flex-direction:column;gap:15px}.scenario-item,.product-item{background:#f8f9fa;border:1px solid #ecf0f1;border-radius:6px;padding:15px;transition:all .2s ease}.scenario-item:hover,.product-item:hover{background:#ecf0f1;border-color:#bdc3c7;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}@media (max-width: 768px){.sidebar{position:fixed;top:60px;left:0;height:calc(100vh - 60px);z-index:999;box-shadow:2px 0 10px #0000001a}.sidebar.closed{transform:translate(-100%)}.content{padding:20px;margin-left:0}.nav-item{padding:10px 12px;font-size:13px}.stats-grid{grid-template-columns:1fr}.users-table-filter{min-width:150px}.users-table-scroll{overflow-x:scroll}}@media (max-width: 480px){.sidebar{width:250px}.content{padding:15px}.nav-item{padding:12px 15px}.users-table-header{flex-direction:column;gap:15px;align-items:flex-start}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:modalSlideIn .3s ease-out}.modal-content{background:white;border-radius:8px;box-shadow:0 4px 20px #0000004d;max-width:500px;width:90%;max-height:90vh;overflow-y:auto}.modal-header{padding:20px 25px;border-bottom:1px solid #ecf0f1}.modal-header h3{color:#2c3e50;font-size:18px;font-weight:600;margin:0}.modal-body{padding:25px}.modal-body p{color:#7f8c8d;line-height:1.6;margin-bottom:0}.modal-footer{padding:20px 25px;border-top:1px solid #ecf0f1;display:flex;gap:10px;justify-content:flex-end}.btn-cancel{background:#95a5a6;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:14px;transition:background-color .2s}.btn-cancel:hover{background:#7f8c8d}.btn-delete{background:#e74c3c;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:14px;transition:background-color .2s}.btn-delete:hover{background:#c0392b}.btn-save{background:#27ae60;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:14px;transition:background-color .2s}.btn-save:hover{background:#229954}.form-group{margin-bottom:20px}.form-label{display:block;margin-bottom:8px;color:#2c3e50;font-weight:500;font-size:14px}.form-value{color:#7f8c8d;font-size:14px;margin-bottom:10px}.form-control{margin-bottom:15px}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:#2c3e50}.checkbox-input{width:16px;height:16px;cursor:pointer}.checkbox-text{font-weight:500}.form-input{width:100%;padding:10px 12px;border:1px solid #bdc3c7;border-radius:6px;font-size:14px;transition:border-color .2s}.form-input:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 2px #3498db33}.form-input-error{border-color:#e74c3c}.form-input-error:focus{border-color:#e74c3c;box-shadow:0 0 0 2px #e74c3c33}.error-message{color:#e74c3c;font-size:12px;margin-top:5px}.form-select{width:100%;padding:10px 12px;border:1px solid #bdc3c7;border-radius:6px;font-size:14px;background-color:#fff;cursor:pointer;transition:border-color .2s}.form-select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 2px #3498db33}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.product-table-wrapper{background:white;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.product-table-header{display:flex;justify-content:space-between;align-items:center;padding:20px 30px;border-bottom:1px solid #ecf0f1}.product-table-header h2{color:#2c3e50;font-size:20px;font-weight:600;margin:0}.product-table-scroll{overflow-x:auto}.product-table{width:100%;border-collapse:collapse;font-size:14px;min-width:1200px}.product-table th{background-color:#f8f9fa;padding:15px 8px;text-align:left;font-weight:600;color:#2c3e50;border-bottom:2px solid #dee2e6;white-space:nowrap;font-size:12px;border-right:1px solid #dee2e6}.product-table th:last-child{text-align:center;border-right:none}.product-table th:nth-child(18),.product-table td:nth-child(18){width:500px;min-width:80px;max-width:120px}.product-table th:nth-child(4),.product-table th:nth-child(5),.product-table th:nth-child(9),.product-table th:nth-child(10),.product-table td:nth-child(4),.product-table td:nth-child(5),.product-table td:nth-child(9),.product-table td:nth-child(10){text-align:center;width:60px;min-width:0;max-width:80px}.product-table th:nth-child(6),.product-table th:nth-child(7),.product-table th:nth-child(8),.product-table td:nth-child(6),.product-table td:nth-child(7),.product-table td:nth-child(8){text-align:center;width:100px;min-width:0;max-width:100px}.product-table th:nth-child(17),.product-table td:nth-child(17){text-align:center;width:120px;min-width:0;max-width:120px}.product-table td{padding:6px;border-bottom:1px solid #ecf0f1;vertical-align:middle;font-size:12px;border-right:1px solid #ecf0f1}.product-table td:last-child{text-align:center;border-right:none}.product-table tbody tr:hover{background-color:#f8f9fa}.product-table tbody tr:last-child td{border-bottom:none}.number-cell{text-align:right}.edit-input{width:100%;padding:4px 6px;border:1px solid #3498db;border-radius:4px;font-size:12px;background-color:#f8f9fa}.edit-input:focus{outline:none;border-color:#2980b9;box-shadow:0 0 0 2px #3498db33}.product-table th:nth-child(3),.product-table th:nth-child(4),.product-table th:nth-child(5),.product-table th:nth-child(6),.product-table th:nth-child(7),.product-table th:nth-child(8),.product-table th:nth-child(9),.product-table th:nth-child(10),.product-table th:nth-child(12),.product-table th:nth-child(13),.product-table th:nth-child(14),.product-table th:nth-child(15),.product-table th:nth-child(16),.product-table th:nth-child(17),.product-table td:nth-child(3),.product-table td:nth-child(4),.product-table td:nth-child(5),.product-table td:nth-child(6),.product-table td:nth-child(7),.product-table td:nth-child(8),.product-table td:nth-child(9),.product-table td:nth-child(10),.product-table td:nth-child(12),.product-table td:nth-child(13),.product-table td:nth-child(14),.product-table td:nth-child(15),.product-table td:nth-child(16),.product-table td:nth-child(17){text-align:center}.product-table th:nth-child(1),.product-table td:nth-child(1){width:150px;min-width:120px;max-width:200px}.product-table th:nth-child(2),.product-table td:nth-child(2),.product-table th:nth-child(3),.product-table td:nth-child(3),.product-table th:nth-child(4),.product-table td:nth-child(4){width:100px;min-width:80px;max-width:120px;text-align:center}.product-table th:nth-child(5),.product-table td:nth-child(5){width:120px;min-width:100px;max-width:150px;text-align:center}.sortable-header{display:flex;align-items:center;justify-content:space-between;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .2s}.sortable-header:hover{color:#3498db}.sort-indicators{display:flex;flex-direction:column;margin-left:4px;font-size:10px;line-height:1}.sort-indicators i{color:#bdc3c7;transition:color .2s}.sort-indicators i.active{color:#3498db}.sort-indicators i.fa-sort-up{margin-bottom:-2px}.sort-indicators i.fa-sort-down{margin-top:-2px}.filter-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.filter-btn{background:none;border:none;cursor:pointer;padding:4px;border-radius:4px;color:#7f8c8d;font-size:12px;transition:all .2s}.filter-btn:hover{background-color:#ecf0f1;color:#2c3e50}.filter-btn.active{background-color:#3498db;color:#fff}.filter-dropdown{position:absolute;top:100%;left:0;right:0;background:white;border:1px solid #bdc3c7;border-radius:6px;box-shadow:0 4px 12px #00000026;z-index:1000;max-height:300px;overflow-y:auto;margin-top:4px}.filter-actions{display:flex;gap:8px;padding:8px;border-bottom:1px solid #ecf0f1}.filter-actions button{background:#3498db;color:#fff;border:none;padding:4px 8px;border-radius:4px;font-size:11px;cursor:pointer;transition:background-color .2s}.filter-actions button:hover{background:#2980b9}.filter-options{padding:8px;max-height:200px;overflow-y:auto}.filter-option{display:flex;align-items:center;gap:8px;padding:4px 0;cursor:pointer;font-size:12px}.filter-option:hover{background-color:#f8f9fa}.filter-option input[type=checkbox]{margin:0;cursor:pointer}.filter-option span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-table th{position:relative}
