*{margin:0;padding:0;box-sizing:border-box}html{height:100%}body,html{overflow-x:hidden}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;color:#333;background-color:#f4f4f4;min-height:100%}.container{max-width:1400px;margin:0 auto;background-color:white;min-height:100vh;box-shadow:0 0 10px rgba(0,0,0,.1)}header{background:linear-gradient(135deg,rgb(50,47,57),#764ba2);color:white;padding:1rem 2rem;box-shadow:0 2px 5px rgba(0,0,0,.1)}header h1{margin-bottom:1rem;font-size:2rem}nav{display:flex;flex-wrap:wrap;gap:.5rem}.nav-btn{background:rgba(255,255,255,.2);color:white;border:none;padding:.7rem 1.2rem;border-radius:5px;cursor:pointer;transition:all .3s ease;font-size:.9rem}.nav-btn:hover{background:rgba(255,255,255,.3);transform:translateY(-2px)}.nav-btn.active{background:rgba(255,255,255,.4);font-weight:700}main{padding:2rem}.section{display:none}.section.active{display:block}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.section-header h2{color:rgb(50,47,57);font-size:2rem}.btn{padding:.7rem 1.5rem;border:none;border-radius:5px;cursor:pointer;font-size:.9rem;transition:all .3s ease;text-decoration:none;display:inline-block}.btn-primary{background:rgb(50,47,57);color:white}.btn-primary:hover{background:#5a6fd8;transform:translateY(-2px)}.btn-secondary{background:#6c757d;color:white}.btn-secondary:hover{background:#5a6268}.btn-danger{background:#dc3545;color:white;padding:.4rem .8rem;font-size:.8rem}.btn-danger:hover{background:#c82333}.btn-success{background:#28a745;color:white;padding:.4rem .8rem;font-size:.8rem}.btn-success:hover{background:#218838}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1.5rem;gap:1.5rem;margin-bottom:2rem}.stat-card{background:linear-gradient(135deg,rgb(50,47,57),#764ba2);color:white;padding:2rem;border-radius:10px;text-align:center;box-shadow:0 5px 15px rgba(0,0,0,.1)}.stat-card h3{margin-bottom:1rem;font-size:1.1rem}.stat-number{font-size:2.5rem;font-weight:700;margin:0}.recent-activity{background:white;padding:1.5rem;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.1)}.recent-activity h3{margin-bottom:1rem;color:rgb(50,47,57)}.activity-list{max-height:300px;overflow-y:auto}.activity-item{padding:.8rem;border-left:4px solid rgb(50,47,57);background:#f8f9fa;margin-bottom:.5rem;border-radius:0 5px 5px 0}.activity-item .date{color:#6c757d;font-size:.8rem}.table-container{background:white;border-radius:10px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.1)}table{width:100%;border-collapse:collapse}th{background:rgb(50,47,57);color:white;text-align:left;font-weight:600}td,th{padding:1rem}td{border-bottom:1px solid #dee2e6}tr:hover{background:#f8f9fa}.modal-overlay{display:none;z-index:9999}.modal-overlay.active{display:block}.modal{background:white;z-index:10001;overflow:hidden;display:flex;flex-direction:column;margin:0!important;padding:0!important;border:none!important;border-radius:0!important;box-shadow:none!important;animation:none!important;transform:none!important}.modal,.modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh}.modal-overlay{background:rgba(0,0,0,.5);z-index:10000}@keyframes modalSlideIn{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{padding:1.5rem;border-bottom:1px solid #dee2e6;display:flex;justify-content:space-between;align-items:center;flex-shrink:0;background:white}.modal-header h3{margin:0;color:rgb(50,47,57)}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#6c757d;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.modal-close:hover{color:#dc3545}.modal-body{padding:1.5rem;flex:1 1;overflow-y:auto}.modal-footer{padding:1rem 1.5rem;border-top:1px solid #dee2e6;display:flex;gap:1rem;justify-content:flex-end;flex-shrink:0;background:white}.modal-footer button{pointer-events:auto;z-index:1005;position:relative}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#495057}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:1px solid #ced4da;border-radius:5px;font-size:.9rem;transition:border-color .3s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:rgb(50,47,57);box-shadow:0 0 0 2px rgba(50,47,57,.25)}.form-group textarea{resize:vertical;min-height:80px}.status-badge{padding:.25rem .75rem;font-size:.75rem}.status-pending{background:#fff3cd;color:#856404}.status-active{background:#d4edda;color:#155724}.status-completed{background:#d1ecf1;color:#0c5460}.status-cancelled{background:#f8d7da;color:#721c24}.status-paid{background:#d4edda;color:#155724}.status-overdue{background:#f8d7da;color:#721c24}@media (max-width:768px){.container{margin:0}header{padding:1rem}header h1{font-size:1.5rem}.nav-btn{padding:.5rem .8rem;font-size:.8rem}main{padding:1rem}.section-header{flex-direction:column;gap:1rem;align-items:flex-start}.stats-grid{grid-template-columns:1fr}.table-container{overflow-x:auto}table{min-width:600px}.modal{width:100vw!important;height:100vh!important;margin:0!important;top:0!important;left:0!important;position:fixed!important;z-index:10001!important}}.action-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.action-buttons .btn{padding:.3rem .6rem;font-size:.75rem}.empty-state{padding:3rem 1rem}.empty-state h3{margin-bottom:1rem;color:#495057}.empty-state p{margin-bottom:1.5rem}.loading{text-align:center;padding:2rem}.spinner{border:4px solid #f3f3f3;border-top-color:rgb(50,47,57);border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin:0 auto}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.settings-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid #dee2e6}.settings-tab-btn{background:none;padding:1rem 1.5rem;cursor:pointer;border:none;border-bottom:3px solid transparent;color:#6c757d;font-weight:500;transition:all .3s ease}.settings-tab-btn.active,.settings-tab-btn:hover{color:rgb(50,47,57);background:rgba(50,47,57,.1)}.settings-tab-btn.active{border-bottom-color:rgb(50,47,57)}.settings-tab{display:none}.settings-tab.active{display:block}.field-manager{background:white;padding:2rem;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.1)}.field-manager h3{color:rgb(50,47,57);margin-bottom:.5rem}.field-manager p{color:#6c757d}.field-manager p,.section-selector{margin-bottom:2rem}.section-selector label{display:block;margin-bottom:.5rem;font-weight:600;color:#495057}.section-selector select{width:200px;padding:.75rem;border:1px solid #ced4da;border-radius:5px;font-size:.9rem}.custom-fields-container{background:#f8f9fa;border-radius:8px;padding:1.5rem;margin-bottom:2rem;min-height:200px}.custom-field-item{background:white;border:1px solid #dee2e6;border-radius:5px;padding:1rem;margin-bottom:1rem;display:flex;justify-content:space-between;align-items:center}.field-info h5{margin:0 0 .5rem}.field-info p{font-size:.8rem}.field-actions{display:flex;gap:.5rem}.add-field-section{background:#f8f9fa;border-radius:8px;padding:1.5rem;border:2px dashed #dee2e6}.add-field-section h4{color:rgb(50,47,57);margin-bottom:1rem}.add-field-form{display:flex;flex-direction:column;gap:1rem}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:1rem;gap:1rem;align-items:end}.data-manager{background:white;padding:2rem;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.1)}.data-manager h3{color:rgb(50,47,57);margin-bottom:.5rem}.data-manager p{color:#6c757d;margin-bottom:2rem}.data-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:1.5rem;gap:1.5rem}.action-card{background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:1.5rem;text-align:center}.action-card h4{color:#495057;margin-bottom:1rem}.action-card p{color:#6c757d;margin-bottom:1.5rem;font-size:.9rem}.custom-field-badge{background:rgb(50,47,57)}.custom-field-badge,.default-field-badge{color:white;font-size:.75rem;padding:.25rem .5rem;border-radius:12px;margin-left:.5rem}.default-field-badge{background:#28a745}#newFieldType,#optionsGroup input{width:100%}.field-preview{background:#e9ecef;padding:.5rem;border-radius:3px;font-family:monospace;font-size:.8rem}@media (max-width:768px){.settings-tabs{flex-direction:column}.data-actions,.form-row{grid-template-columns:1fr}.data-manager,.field-manager{padding:1rem}}.full-screen-view{position:fixed;top:0;left:0;width:100vw;height:100vh;background:white;z-index:1000;overflow-y:auto;display:none;pointer-events:auto}.full-screen-header{background:linear-gradient(135deg,rgb(50,47,57),#764ba2);color:white;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 10px rgba(0,0,0,.1);position:-webkit-sticky;position:sticky;top:0;z-index:10}.full-screen-header button{pointer-events:auto;z-index:11;position:relative}.back-btn{background:rgba(255,255,255,.2);color:white;border:none;padding:.5rem 1rem;border-radius:5px;cursor:pointer;display:flex;align-items:center;gap:.5rem;font-size:.9rem;transition:background .3s ease}.back-btn:hover{background:rgba(255,255,255,.3)}.back-icon{font-size:1.2rem;font-weight:700}.full-screen-actions{display:flex;gap:.5rem}.full-screen-content{padding:2rem;max-width:1200px;margin:0 auto}.record-details{display:block;margin-bottom:2rem}.detail-card{background:#f8f9fa;border-radius:10px;padding:1.5rem;box-shadow:0 2px 10px rgba(0,0,0,.1)}.detail-card h3{color:rgb(50,47,57);margin-bottom:1rem;border-bottom:2px solid rgb(50,47,57);padding-bottom:.5rem}.detail-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #dee2e6}.detail-item:last-child{border-bottom:none}.detail-label{font-weight:600;color:#495057;min-width:120px}.detail-value{color:#6c757d;text-align:right;word-break:break-word}.field-designer{z-index:1000;overflow:hidden}.designer-header{background:linear-gradient(135deg,rgb(50,47,57),#764ba2);color:white;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 10px rgba(0,0,0,.1)}.designer-actions{display:flex;gap:.5rem}.designer-content{display:flex;height:calc(100vh - 80px)}.designer-sidebar{width:300px;background:#f8f9fa;border-right:1px solid #dee2e6;padding:1.5rem;overflow-y:auto}.designer-sidebar h3{color:rgb(50,47,57);margin-bottom:1rem}.field-palette{margin-bottom:2rem}.palette-field{background:white;border:1px solid #dee2e6;border-radius:5px;padding:.75rem;margin-bottom:.5rem;cursor:-webkit-grab;cursor:grab;transition:all .3s ease;display:flex;justify-content:space-between;align-items:center}.palette-field:hover{border-color:rgb(50,47,57);box-shadow:0 2px 5px rgba(50,47,57,.2);transform:translateY(-1px)}.palette-field.dragging{opacity:.5;cursor:-webkit-grabbing;cursor:grabbing}.field-info h5{margin:0;color:#495057;font-size:.9rem}.field-info p{margin:0;color:#6c757d;font-size:.75rem}.field-badge{font-size:.7rem;padding:.25rem .5rem;border-radius:10px;background:rgb(50,47,57);color:white}.designer-canvas{flex:1 1;padding:1.5rem;overflow-y:auto}.designer-canvas h3{color:rgb(50,47,57);margin-bottom:1rem}.canvas-area{background:white;border:2px dashed #dee2e6;border-radius:10px;min-height:500px;position:relative}.canvas-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1rem;gap:1rem;padding:1rem;min-height:100%}.drop-zone{border:2px dashed #ccc;border-radius:8px;padding:1rem;text-align:center;color:#999;transition:all .3s ease;min-height:80px;display:flex;align-items:center;justify-content:center}.drop-zone.drag-over{border-color:rgb(50,47,57);background:rgba(50,47,57,.1);color:rgb(50,47,57)}.field-in-canvas{background:#f8f9fa;border:1px solid #dee2e6;border-radius:5px;padding:1rem;position:relative;cursor:move;transition:all .3s ease}.field-in-canvas:hover{border-color:rgb(50,47,57);box-shadow:0 2px 5px rgba(50,47,57,.2)}.field-in-canvas .field-controls{position:absolute;top:5px;right:5px;display:flex;gap:.25rem;opacity:0;transition:opacity .3s ease}.field-in-canvas:hover .field-controls{opacity:1}.field-control-btn{background:rgb(50,47,57);color:white;border:none;width:20px;height:20px;border-radius:3px;cursor:pointer;font-size:.7rem;display:flex;align-items:center;justify-content:center}.field-control-btn:hover{background:#5a6fd8}.field-preview{margin-top:.5rem}.field-preview input,.field-preview select,.field-preview textarea{width:100%;padding:.5rem;border:1px solid #ced4da;border-radius:3px;background:white;pointer-events:none;font-size:.8rem}.field-preview label{display:block;margin-bottom:.25rem;font-weight:500;color:#495057;font-size:.8rem}.layout-designer-btn{margin-left:1rem;padding:.5rem 1rem;font-size:.85rem}.table-container tbody tr{cursor:pointer;transition:all .3s ease}.table-container tbody tr:hover{background:#e9ecef!important;transform:translateY(-1px);box-shadow:0 2px 5px rgba(0,0,0,.1)}.action-buttons button{pointer-events:all;z-index:2;position:relative}.crm-container{width:100%;min-height:100vh;background:#f8f9fa;display:flex;flex-direction:column}.crm-title{display:flex;align-items:center}.crm-title h1{color:white;margin:0;font-size:1.8rem}.module-header{background:linear-gradient(135deg,rgb(50,47,57),#764ba2);border-bottom:1px solid #dee2e6;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 5px rgba(0,0,0,.1);position:relative;z-index:1001}.module-nav{display:flex;gap:0;background:#f8f9fa;border-radius:8px;padding:4px;border:1px solid #dee2e6;overflow-x:auto;flex-wrap:nowrap;max-width:100%;scrollbar-width:thin;scrollbar-color:rgb(50,47,57) #f8f9fa}.module-nav::-webkit-scrollbar{height:6px}.module-nav::-webkit-scrollbar-track{background:#f8f9fa;border-radius:3px}.module-nav::-webkit-scrollbar-thumb{background:rgb(50,47,57);border-radius:3px}.module-nav::-webkit-scrollbar-thumb:hover{background:#5a6fd8}.module-nav-btn{background:transparent;border:none;padding:.75rem 1.5rem;cursor:pointer;border-radius:6px;white-space:nowrap;flex-shrink:0;font-weight:500;transition:all .3s ease;color:#6c757d;position:relative;z-index:1002;pointer-events:auto}.module-nav-btn:hover{background:rgba(50,47,57,.1);color:rgb(50,47,57)}.module-nav-btn.active{background:rgb(50,47,57);color:white;box-shadow:0 2px 5px rgba(50,47,57,.3)}.module-actions{display:flex;gap:1rem;align-items:center}.module-content{display:flex;flex:1 1;min-height:0;position:relative}.module-sidebar{width:300px;background:white;border-right:1px solid #dee2e6;overflow-y:auto}.filter-section{padding:1.5rem}.filter-section h3{color:#495057;margin-bottom:1rem;font-size:1.1rem}.search-box{margin-bottom:1.5rem}.search-box input{width:100%;padding:.75rem;border:1px solid #ced4da;border-radius:6px;font-size:.9rem}.search-box input:focus{outline:none;border-color:rgb(50,47,57);box-shadow:0 0 0 2px rgba(50,47,57,.25)}.filter-group{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #f1f3f4}.filter-group:last-child{border-bottom:none}.filter-group h4{color:#495057;margin-bottom:.75rem;font-size:.9rem;font-weight:600}.filter-item{display:flex;align-items:center;gap:.5rem;padding:.5rem 0;cursor:pointer;font-size:.85rem;color:#6c757d}.filter-item input[type=checkbox]{width:16px;height:16px;accent-color:rgb(50,47,57)}.filter-item:hover{color:#495057}.filter-actions{display:flex;gap:.5rem;margin-top:1rem}.btn-small{padding:.5rem .75rem;font-size:.8rem}.module-main{flex:1 1;display:flex;flex-direction:column;background:white;min-height:0}.records-header{padding:1.5rem;border-bottom:1px solid #dee2e6;display:flex;justify-content:space-between;align-items:center}.records-info h3{color:#495057;margin-bottom:0}.records-count{color:#6c757d;font-size:.85rem}.view-options{display:flex;gap:.25rem;background:#f8f9fa;border-radius:6px;padding:2px;border:1px solid #dee2e6}.view-btn{background:transparent;border:none;padding:.5rem 1rem;cursor:pointer;border-radius:4px;font-size:.8rem;transition:all .3s ease;color:#6c757d;display:flex;align-items:center;gap:.25rem}.view-btn:hover{background:rgba(50,47,57,.1);color:rgb(50,47,57)}.view-btn.active{background:rgb(50,47,57);color:white;box-shadow:0 1px 3px rgba(50,47,57,.3)}.bulk-actions-bar{justify-content:space-between;padding:1rem 1.5rem;background:#f8f9fa;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6}.bulk-actions-bar,.bulk-info{display:flex;align-items:center}.bulk-info{gap:.75rem}.bulk-info input[type=checkbox]{width:18px;height:18px;accent-color:rgb(50,47,57)}.bulk-info span{font-weight:600;color:#495057}.bulk-actions{display:flex;gap:.75rem}.record-checkbox{width:16px;height:16px;accent-color:rgb(50,47,57);margin-right:.75rem;cursor:pointer}.records-container{flex:1 1;position:relative;min-height:0}.records-grid,.records-list{flex:1 1;overflow-y:auto;overflow-x:auto;display:none;padding-bottom:2rem}.records-grid.active,.records-list.active{display:block}.list-header{display:grid;background:#f8f9fa;border-bottom:1px solid #dee2e6;padding:.75rem 1.5rem;font-weight:600;color:#495057;position:-webkit-sticky;position:sticky;top:0;z-index:10}.list-row{display:grid;padding:1rem 1.5rem;border-bottom:1px solid #f1f3f4;cursor:pointer;transition:all .3s ease}.list-row:hover{background:rgba(50,47,57,.05);transform:translateY(-1px);box-shadow:0 2px 5px rgba(0,0,0,.1)}.list-row:last-child{border-bottom:none}.records-grid{padding:1.5rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-gap:1.5rem;gap:1.5rem;align-content:start}.record-card{background:white;border:1px solid #dee2e6;border-radius:8px;padding:1.5rem;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 5px rgba(0,0,0,.05)}.record-card:hover{border-color:rgb(50,47,57);box-shadow:0 5px 15px rgba(50,47,57,.15);transform:translateY(-2px)}.card-header{margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #f1f3f4;position:relative}.card-checkbox{position:absolute;top:0;right:0;z-index:10}.card-title{font-weight:600;color:#495057;margin-bottom:.25rem}.card-subtitle{color:#6c757d;font-size:.85rem}.card-field{margin-bottom:.5rem;font-size:.85rem}.card-field .label{color:#6c757d;font-weight:500;margin-right:.5rem}.card-field .value{color:#495057}.record-detail-panel{position:absolute;top:0;right:-400px;width:400px;height:100%;background:white;border-left:1px solid #dee2e6;box-shadow:-5px 0 15px rgba(0,0,0,.1);transition:right .3s ease;z-index:20;overflow-y:auto}.record-detail-panel.active{right:0}.detail-header{padding:1.5rem;border-bottom:1px solid #dee2e6;background:#f8f9fa;position:-webkit-sticky;position:sticky;top:0;z-index:10}.detail-header h3{color:#495057;margin-bottom:1rem}.detail-actions{display:flex;gap:.5rem;flex-wrap:wrap}.detail-content{padding:1.5rem}.detail-section{margin-bottom:1.5rem}.detail-section h4{color:rgb(50,47,57);font-size:1rem;border-bottom:2px solid rgb(50,47,57);padding-bottom:.25rem}.detail-field,.detail-section h4{margin-bottom:.75rem}.detail-field .field-label{font-weight:600;color:#495057;margin-bottom:.25rem;font-size:.85rem}.detail-field .field-value{color:#6c757d;padding:.5rem;background:#f8f9fa;border-radius:4px;font-size:.85rem;word-break:break-word}.empty-records{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#6c757d;text-align:center}.empty-records h4{margin-bottom:.5rem;color:#495057}.empty-records p{margin-bottom:1.5rem}.status-badge{padding:.25rem .5rem;border-radius:12px;font-size:.7rem;font-weight:600;text-transform:uppercase}@media (max-width:768px){.module-header{padding:1rem;flex-direction:column;gap:1rem;align-items:stretch}.module-nav{overflow-x:auto;flex-wrap:nowrap}.module-nav-btn{white-space:nowrap;padding:.5rem 1rem}.module-content{flex-direction:column;flex:1 1;min-height:0}.module-sidebar{width:100%;max-height:200px;border-right:none;border-bottom:1px solid #dee2e6}.filter-section{padding:1rem}.records-header{padding:1rem;flex-direction:column;gap:1rem;align-items:stretch}.records-grid{grid-template-columns:1fr;padding:1rem}.record-detail-panel{width:100%;right:-100%}.designer-header,.full-screen-header{padding:1rem;flex-direction:column;gap:1rem;align-items:flex-start}.designer-actions,.full-screen-actions{width:100%;justify-content:flex-end}.designer-content{flex-direction:column;height:auto}.designer-sidebar{width:100%;max-height:300px}.canvas-grid,.record-details{grid-template-columns:1fr}}.sidebar-content{display:none;height:100%}.sidebar-content.active{display:block}.main-content{display:none;flex:1 1;flex-direction:column;background:white;overflow:hidden}.main-content.active{display:flex}.stats-section{margin-bottom:2rem}.stats-section h3{color:#495057;margin-bottom:1rem;font-size:1.1rem}.mini-stats{display:flex;flex-direction:column;gap:.75rem}.mini-stat{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:white;border:1px solid #dee2e6;border-radius:6px;transition:all .3s ease}.mini-stat:hover{border-color:rgb(50,47,57);box-shadow:0 2px 5px rgba(50,47,57,.1)}.stat-label{font-size:.8rem;color:#6c757d;font-weight:500}.stat-value{font-size:1.2rem;font-weight:700;color:rgb(50,47,57)}.quick-actions-section h3{color:#495057;margin-bottom:1rem;font-size:1.1rem}.quick-actions{display:flex;flex-direction:column;gap:.5rem}.quick-action-btn{display:flex;align-items:center;gap:.75rem;padding:1rem;background:white;border:1px solid #dee2e6;border-radius:6px;cursor:pointer;transition:all .3s ease;text-align:left;font-size:.9rem}.quick-action-btn:hover{border-color:rgb(50,47,57);background:rgba(50,47,57,.05);transform:translateY(-1px);box-shadow:0 2px 5px rgba(50,47,57,.15)}.action-icon{font-size:1.2rem}.settings-nav-section h3{color:#495057;margin-bottom:1rem;font-size:1.1rem}.settings-menu{display:flex;flex-direction:column;gap:.5rem}.settings-menu-btn{display:flex;align-items:center;gap:.75rem;padding:1rem;background:white;border:1px solid #dee2e6;border-radius:6px;cursor:pointer;transition:all .3s ease;text-align:left;font-size:.9rem;color:#495057}.settings-menu-btn:hover{border-color:rgb(50,47,57);background:rgba(50,47,57,.05)}.settings-menu-btn.active{border-color:rgb(50,47,57);background:rgba(50,47,57,.1);color:rgb(50,47,57);font-weight:600}.setting-icon{font-size:1.1rem}.settings-content{display:none;flex:1 1;flex-direction:column;overflow:hidden}.settings-content.active{display:flex}.dashboard-content,.settings-container{flex:1 1;overflow-y:auto;padding:1.5rem 1.5rem 3rem}.dashboard-content .stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1.5rem;gap:1.5rem;margin-bottom:2rem}.dashboard-content .stat-card{background:linear-gradient(135deg,rgb(50,47,57),#764ba2);color:white;padding:2rem;border-radius:10px;text-align:center;box-shadow:0 5px 15px rgba(0,0,0,.1)}.dashboard-content .stat-card h3{margin-bottom:1rem;font-size:1.1rem}.dashboard-content .stat-number{font-size:2.5rem;font-weight:700;margin:0}.dashboard-content .recent-activity{background:white;padding:1.5rem;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.1)}.dashboard-content .recent-activity h3{margin-bottom:1rem;color:rgb(50,47,57)}.field-designer{position:fixed;top:0;left:0;width:100%;height:100%;background:white;z-index:2000;display:none}.field-designer.active{display:block}.filter-field{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #f1f3f4}.filter-field:last-child{border-bottom:none}.filter-field-label{display:block;color:#495057;font-weight:600;margin-bottom:.5rem;font-size:.9rem}.filter-field input[type=date],.filter-field input[type=number],.filter-field input[type=text],.filter-field select{width:100%;padding:.5rem;border:1px solid #ced4da;border-radius:4px;font-size:.85rem;margin-bottom:.5rem}.filter-field input:focus,.filter-field select:focus{outline:none;border-color:rgb(50,47,57);box-shadow:0 0 0 2px rgba(50,47,57,.25)}.date-range-filter,.range-filter{display:grid;grid-template-columns:1fr 1fr;grid-gap:.5rem;gap:.5rem}.date-range-filter input[type=date]{margin-bottom:0}.filter-suggestions{max-height:150px;overflow-y:auto;background:#f8f9fa;border-radius:4px;padding:.5rem;margin-top:.5rem}.filter-suggestions .filter-item{display:flex;align-items:center;gap:.5rem;padding:.25rem 0;font-size:.8rem;color:#6c757d;cursor:pointer}.filter-suggestions .filter-item:hover{color:#495057;background:rgba(50,47,57,.1);border-radius:3px;padding-left:.5rem;padding-right:.5rem}.filter-suggestions input[type=checkbox]{width:auto;margin:0}.filter-actions{position:-webkit-sticky;position:sticky;bottom:0;background:white;padding:1rem 0;border-top:1px solid #dee2e6;margin-top:auto}.active-filters-display{background:#e9ecef}@media (max-width:768px){.module-actions>div:first-child{display:none!important}.mobile-menu-btn{display:flex!important;align-items:center!important;justify-content:center!important}.desktop-only{display:none!important}.records-grid,.records-grid.active,.records-list,.records-list.active{padding-bottom:0!important}}@media (min-width:769px){.mobile-menu-btn{display:none!important}}.mobile-menu-btn{display:flex;align-items:center;justify-content:center}.active-filters-display{padding:.75rem;border-radius:4px;margin-bottom:1rem;font-size:.8rem;color:#495057;max-height:100px;overflow-y:auto}.active-filters-display .filter-tag{display:inline-block;background:rgb(50,47,57);color:white;padding:.25rem .5rem;border-radius:12px;margin:.125rem;font-size:.7rem}.active-filters-display .filter-tag .remove-filter{margin-left:.25rem;cursor:pointer;font-weight:700}.active-filters-display .filter-tag .remove-filter:hover{color:#ff6b6b}.success-message{position:fixed;top:100px;right:20px;background:#28a745;color:white;padding:1rem 1.5rem;border-radius:6px;box-shadow:0 4px 12px rgba(40,167,69,.3);z-index:2000;font-weight:500;animation:slideInRight .3s ease-out}@keyframes slideInRight{0%{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.module-main .dashboard-content,.module-main .records-container,.module-main .settings-container{scroll-behavior:smooth}.records-grid,.records-list{padding-bottom:4rem!important}@supports (height:100dvh){.crm-container{min-height:100dvh}}.dashboard-content,.module-main,.records-grid,.records-list,.settings-container{-webkit-overflow-scrolling:touch}.dashboard-content>:last-child,.records-grid>:last-child,.records-list>:last-child,.settings-container>:last-child{margin-bottom:2rem}.loading-state{padding:3rem;text-align:center}.empty-state{padding:3rem 1rem 4rem;text-align:center;color:#6c757d}body.excel-validation-fullscreen .crm-container>:first-child,body.excel-validation-fullscreen .crm-container>:nth-child(2){display:none!important}body.excel-validation-fullscreen .module-content{height:100vh!important}