:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--primary-color: #217f16;--secondary-color: #459f37;--text-primary: #1f2937;--text-secondary: #6b7280;--bg-primary: #ffffff;--bg-secondary: #f8f9fa}a{font-weight:500;color:var(--primary-color, #217f16);text-decoration:inherit}a:hover{color:var(--secondary-color, #459f37)}body{margin:0;padding:0;min-width:320px;min-height:100vh;width:100%;overflow-x:hidden;font-family:Inter,system-ui,sans-serif;color:var(--text-primary, #1f2937);background-color:var(--bg-primary, #ffffff);box-sizing:border-box}*,*:before,*:after{box-sizing:border-box}h1{font-size:clamp(2rem,5vw,3.2rem);line-height:1.1;margin:0}@media(max-width:768px){h1{font-size:clamp(1.5rem,4vw,2rem)}}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--primary-color, #217f16);color:#fff;cursor:pointer;transition:all .25s ease;min-height:44px;box-sizing:border-box}button:hover{background-color:var(--secondary-color, #459f37);transform:translateY(-1px)}button:focus,button:focus-visible{outline:2px solid var(--primary-color, #217f16);outline-offset:2px}@media(max-width:768px){button{min-height:48px;padding:.75em 1.5em}}@media(max-width:480px){button{font-size:.95rem}}:focus-visible{outline:2px solid var(--primary-color, #217f16);outline-offset:2px}body{width:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.dashboard-container{height:100vh;background:#f5f7fb;display:flex;flex-direction:column;width:100%;overflow:hidden}.dashboard-header{background:linear-gradient(135deg,#217f16,#459f37);color:#fff;padding:1rem 2rem;box-shadow:0 4px 20px #0000001a;position:sticky;top:0;z-index:100;flex-shrink:0}.header-content{display:flex;justify-content:space-between;align-items:center;width:100%}.brand-icon{font-size:1.5rem}.user-info{display:flex;align-items:center;gap:1rem}.notification-icon{font-size:1.2rem;cursor:pointer;padding:.5rem;border-radius:50%;transition:background .2s}.notification-icon:hover{background:#ffffff1a}.dashboard-content{display:flex;flex:1;width:100%;overflow:hidden}.sidebar{width:280px;background:#fff;box-shadow:2px 0 10px #0000000d;padding:1rem 0;overflow-y:auto;flex-shrink:0}.support-section{padding:1.5rem;border-top:1px solid #e5e7eb;background:#f8f9fa;margin-top:auto;position:sticky;bottom:0}.support-section h4{font-size:.95rem;font-weight:600;color:#1f2937;margin-bottom:.75rem}.support-button{background:#217f16;color:#fff;border:none;border-radius:8px;padding:.75rem 1rem;font-weight:500;cursor:pointer;width:100%;transition:background .2s}.support-button:hover{background:#1a6b10}.main-content{flex:1;padding:1.5rem;overflow-y:auto;width:100%;max-width:calc(100vw - 280px)}.main-content.dashboard-main{display:flex;flex-direction:column;gap:1.5rem;padding:1rem}.table-title{gap:.5rem!important;align-items:center!important}.table-stats{margin-top:0!important}.welcome-section{display:grid;grid-template-columns:2fr 1fr;gap:1.5rem;width:100%}.welcome-card{background:linear-gradient(135deg,#217f16,#459f37);border-radius:12px;padding:1.5rem;color:#fff;display:flex;align-items:center;justify-content:space-between;width:100%}.welcome-text h2{font-size:1.75rem;font-weight:700;margin-bottom:.5rem}.welcome-text p{font-size:1rem;opacity:.9;margin-bottom:1.5rem;line-height:1.5}.welcome-button{background:#fff;color:#217f16;border:none;border-radius:8px;padding:.75rem 1.5rem;font-weight:600;cursor:pointer;transition:transform .2s}.welcome-button:hover{transform:translateY(-2px);background:#fffffff2;color:#5b4f9d;box-shadow:0 4px 12px #ffffff4d}.welcome-illustration{display:flex;align-items:center;justify-content:center}.illustration-placeholder{font-size:4rem}.calendar-widget{background:#fff;border-radius:12px;padding:1rem;box-shadow:0 4px 20px #00000014;width:100%}.calendar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.calendar-title{display:flex;flex-direction:column;align-items:center;gap:.5rem}.calendar-header h3{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0}.calendar-today-btn{background:#68bf57;color:#fff;border:none;padding:.25rem .75rem;border-radius:.375rem;font-size:.75rem;font-weight:500;cursor:pointer;transition:background-color .2s}.calendar-today-btn:hover{background:#68bf57}.calendar-nav{background:none;border:none;font-size:1.25rem;cursor:pointer;color:#6b7280;padding:.5rem;border-radius:.375rem;transition:all .2s;min-width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center}.calendar-nav:hover{background:#f3f4f6;color:#374151}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:.5rem;margin-bottom:.5rem}.calendar-days span{text-align:center;font-size:.75rem;font-weight:500;color:#9ca3af;text-transform:uppercase}.calendar-dates{display:grid;grid-template-columns:repeat(7,1fr);gap:.25rem}.calendar-date{background:none;border:none;padding:.5rem;text-align:center;border-radius:6px;cursor:pointer;font-size:.875rem;color:#4b5563;transition:background .2s}.calendar-date:hover{background:#e6f3ff}.calendar-date.active{background:#68bf57;color:#fff}.hire-section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 20px #00000014;width:100%}.hire-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.hire-header h2{font-size:1.5rem;font-weight:700;color:#1f2937}.see-all-btn{background:none;color:#4b5563;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s;white-space:nowrap}.see-all-btn:hover{background:#f3f4f6;color:#217f16;border-color:#217f16}.see-all-btn:active{background:linear-gradient(135deg,#217f16,#af6ff0);color:#fff;border-color:#217f16}.hire-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}.hire-card{display:flex;align-items:center;gap:1.5rem;padding:1.5rem;border:2px solid #f3f4f6;border-radius:12px;transition:border-color .2s}.hire-card:hover{border-color:#217f16}.hire-number{font-size:2.5rem;font-weight:700;color:#1f2937}.hire-info{flex:1}.hire-info h4{font-size:1.125rem;font-weight:600;color:#1f2937;margin-bottom:.75rem}.progress-bar{background:#f3f4f6;height:8px;border-radius:4px;overflow:hidden}.progress-fill{background:linear-gradient(135deg,#217f16,#459f37);height:100%;transition:width .3s ease}.bottom-section{display:grid;grid-template-columns:1.5fr 1fr;gap:1.5rem;width:100%}.progress-section,.applicants-section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 20px #00000014;width:100%}.progress-header,.applicants-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.progress-header h3,.applicants-header h3{font-size:1.25rem;font-weight:700;color:#1f2937}.progress-list,.applicants-list{display:flex;flex-direction:column;gap:1rem}.progress-item,.applicant-item{display:flex;align-items:center;gap:1rem;padding:.75rem 0}.progress-avatar,.applicant-avatar{width:40px;height:40px;border-radius:50%;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-size:1.25rem}.progress-details,.applicant-details{flex:1}.progress-details h4,.applicant-details h4{font-size:.95rem;font-weight:600;color:#1f2937;margin-bottom:.25rem}.progress-details p,.applicant-details p{font-size:.875rem;color:#6b7280}.progress-status{font-size:.875rem;color:#4b5563;background:#f3f4f6;padding:.375rem .75rem;border-radius:6px}.applicant-rating{font-size:.875rem}@media(max-width:1024px){.sidebar{width:240px;min-width:240px}.main-content{padding:1rem;gap:1rem;max-width:calc(100vw - 240px)}}@media(max-width:1200px){.mobile-menu-toggle,.mobile-overlay{display:block}.dashboard-container{padding:0}.dashboard-header{padding:1rem}.header-content{flex-direction:row;justify-content:space-between}.brand{display:flex;align-items:center;gap:.75rem}.brand h1{font-size:1.2rem;display:none}.mobile-menu-toggle{background:none;border:none;color:#fff;font-size:1.2rem;cursor:pointer;padding:.5rem;border-radius:4px;transition:background-color .2s}.mobile-menu-toggle:hover{background-color:#ffffff1a}.user-info{display:flex;align-items:center;gap:.5rem;font-size:.8rem}.user-info>div{display:none}.notification-icon{font-size:1rem}.logout-btn{font-size:.75rem!important;padding:6px 10px!important;margin-left:8px!important}.dashboard-content{position:relative;flex-direction:column;min-height:calc(100vh - 80px)}.sidebar{position:fixed;top:80px;left:-280px;width:280px;height:calc(100vh - 80px);background:#fff;box-shadow:2px 0 10px #0000001a;transition:left .3s ease;z-index:1000;padding:1rem 0 0;overflow-y:auto}.sidebar .sidebar-nav{flex-direction:column;gap:1rem;padding-bottom:1rem}.sidebar .nav-section{width:100%;padding:0 1rem}.main-content{padding:1rem;width:100%;overflow-y:auto;max-width:100vw}.table-title{gap:.5rem!important}}.kpi-card .kpi-value{color:#111827!important}.kpi-card .kpi-title{color:#6b7280!important}.kpi-value{color:#111827!important}.kpi-title{color:#6b7280!important}.calendar-date.has-maintenance{background:#8cdf78;color:#fff;position:relative;font-weight:600;box-shadow:0 2px 4px #8b5cf64d}.calendar-date.has-maintenance:hover{background:#8cdf78;transform:scale(1.05);box-shadow:0 4px 8px #8b5cf666}.calendar-date.has-maintenance.active{background:#8cdf78;color:#fff;box-shadow:0 4px 12px #9169ee80}.calendar-date.other-month{opacity:.4}.calendar-tooltip{z-index:1000;box-shadow:0 4px 12px #00000026;max-width:250px;background:#1f2937!important;color:#fff!important;border:1px solid #374151;pointer-events:none}.actions-section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 20px #00000014;width:100%}.actions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.actions-header h2{font-size:1.5rem;font-weight:700;color:#1f2937}.actions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.action-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1.25rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:1rem}.action-card:hover{background:#f1f5f9;border-color:#217f16;transform:translateY(-1px);box-shadow:0 4px 12px #217f1626}.action-icon{background:#217f16;color:#fff;padding:.75rem;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;flex-shrink:0}.action-info h4{font-size:1rem;font-weight:600;color:#1f2937;margin-bottom:.25rem}.action-info p{font-size:.875rem;color:#6b7280;margin:0}.recent-maintenance-section,.recent-devices-section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 20px #00000014;width:100%}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.section-header h3{font-size:1.25rem;font-weight:600;color:#1f2937}.recent-list{display:flex;flex-direction:column;gap:1rem}.recent-item{display:flex;align-items:center;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;transition:background .2s}.recent-item:hover{background:#f1f5f9}.recent-icon{background:#217f16;color:#fff;padding:.75rem;border-radius:6px;display:flex;align-items:center;justify-content:center;margin-right:1rem;flex-shrink:0}.recent-details{flex:1}.recent-details h4{font-size:.9rem;font-weight:600;color:#1f2937;margin-bottom:.25rem}.recent-details p{font-size:.8rem;color:#6b7280;margin:0}.recent-status{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.status-badge{padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:500;text-transform:capitalize}.status-badge.status-pendiente,.status-badge.status-pending{background:#fef3c7;color:#d97706}.status-badge.status-completado,.status-badge.status-completed{background:#d1fae5;color:#065f46}.status-badge.status-activo,.status-badge.status-active{background:#dbeafe;color:#1e40af}.status-badge.status-mantenimiento,.status-badge.status-maintenance{background:#fed7d7;color:#c53030}.recent-status small{font-size:.7rem;color:#9ca3af}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;color:#9ca3af;text-align:center}@media(max-width:768px){.welcome-section,.actions-grid,.bottom-section{grid-template-columns:1fr}.welcome-card{flex-direction:column;text-align:center}.header-content{padding:0 1rem}.brand h1{font-size:1.25rem}.action-card{flex-direction:column;text-align:center}.recent-item{flex-direction:column;align-items:flex-start}.recent-status{align-items:flex-start;margin-top:.5rem}}.dashboard-footer{background:linear-gradient(135deg,#217f16,#459f37);color:#fff;padding:1.5rem 2rem;margin-top:3rem;width:100%;box-shadow:0 -4px 20px #0000001a;border-radius:12px 12px 0 0}.footer-content{display:flex;flex-direction:column;align-items:center;gap:.5rem;max-width:1200px;margin:0 auto}.footer-text{font-size:.875rem;font-weight:600;margin:0;opacity:.9;text-transform:uppercase;letter-spacing:.05em}.developers-list{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;justify-content:center;font-size:.9rem}.developers-list span{font-weight:500}.separator{opacity:.6;font-size:.8rem}.footer-copyright{font-size:.75rem;margin:.5rem 0 0;opacity:.7}@media(max-width:768px){.dashboard-footer{padding:1rem}.footer-text{font-size:.75rem}.developers-list{font-size:.8rem;gap:.5rem}.footer-copyright{font-size:.7rem}}*{margin:0;padding:0;box-sizing:border-box}.icon{width:16px;height:16px;flex-shrink:0}.icon-sm{width:14px;height:14px;flex-shrink:0}.icon-lg{width:20px;height:20px;flex-shrink:0}.icon-xl{width:24px;height:24px;flex-shrink:0}.action-btn .icon,.action-btn .icon-sm{width:12px;height:12px}.nav-item span{display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:8px}.filters-title .icon-sm,.filter-group-title .icon-sm{margin-right:6px}.dashboard-container{min-height:100vh;background:#f5f7fb;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;width:100%}.loading-container{display:flex;justify-content:center;align-items:center;height:100vh}.loader{border:4px solid #f3f4f6;border-top:4px solid #217f16;border-radius:50%;width:50px;height:50px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dashboard-header{background:linear-gradient(135deg,#217f16,#459f37);color:#fff;padding:1rem 2rem;box-shadow:0 4px 20px #0000001a;position:sticky;top:0;z-index:100}.header-content{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto}.brand{display:flex;align-items:center;gap:1rem}.brand-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px}.brand h1{font-size:1.5rem;font-weight:600;margin:0}.mobile-menu-toggle{display:none;background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;padding:.5rem;border-radius:4px;transition:background-color .2s}.mobile-menu-toggle:hover{background:#ffffff1a}.user-info{display:flex;align-items:center;gap:1.5rem}.user-info>div{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#ffffff1a;border-radius:8px;font-size:.95rem}.notification-icon{cursor:pointer;transition:transform .2s;display:flex;align-items:center;width:20px;height:20px}.dashboard-content{display:flex;min-height:calc(100vh - 80px)}.sidebar{width:280px;background:#fff;box-shadow:2px 0 10px #0000000d;padding:2rem 0;height:calc(100vh - 80px);overflow:auto;position:sticky;top:0;flex-shrink:0}.sidebar-nav{display:flex;flex-direction:column;gap:1rem;height:100%;justify-content:flex-start}.nav-section{padding:0 1rem}.nav-title{color:#9ca3af;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.75rem;font-weight:600;padding:0 .75rem}.nav-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-radius:8px;color:#4b5563;text-decoration:none;transition:all .2s;cursor:pointer;border:none;background:none;width:100%;text-align:left;font-size:.95rem;margin-bottom:.25rem}.nav-item:hover{background:#f3f4f6;color:#217f16}.nav-item.active{background:linear-gradient(135deg,#217f16,#459f37);color:#fff}.nav-item span{font-size:1.2rem;width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.nav-item span svg{width:100%;height:100%}.main-content{flex:1;padding:2rem;max-width:1400px;overflow-y:auto;height:calc(100vh - 80px)}.table-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;overflow:hidden}.table-card{width:100%}.table-card-header{padding:1.5rem;border-bottom:1px solid #e5e7eb}.table-title{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;flex-wrap:wrap;gap:1rem;width:100%}.table-title h2{font-size:1.25rem;display:flex;align-items:center;gap:.5rem;margin:0;color:#1f2937;font-weight:600;text-align:left}.table-title h2 svg{width:1.2rem;height:1.2rem;flex-shrink:0}.table-stats{display:flex;gap:1rem}.badge{background:#f3f4f6;padding:.5rem 1rem;border-radius:20px;font-size:.875rem;color:#4b5563}.badge strong{color:#217f16;font-weight:600}.table-toolbar{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}.search-container{flex:1;min-width:250px}.search-input{width:100%;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.95rem;transition:all .2s;background-color:#fff;color:#1f2937}.filters-panel{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:20px;margin-top:15px;box-shadow:0 2px 4px #0000001a}.filters-panel input,.filters-panel select{background-color:#fff!important;color:#1f2937!important;border:1px solid #d1d5db;border-radius:6px;padding:8px 12px;font-size:14px;transition:border-color .2s}.filters-panel input:focus,.filters-panel select:focus{outline:none;border-color:#217f16;box-shadow:0 0 0 3px #217f161a}.filters-panel input::placeholder{color:#9ca3af!important}.btn{padding:.75rem 1.25rem;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.btn-primary{background:linear-gradient(135deg,#217f16,#459f37);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #217f1666}.btn-primary svg{color:#fff;fill:currentColor}.btn-secondary{background:#f3f4f6;color:#4b5563}.btn-secondary:hover{background:#e5e7eb}.btn-filter{background:#fff;border:1px solid #e5e7eb;color:#4b5563}.btn-filter:hover{background:#f9fafb;border-color:#217f16;color:#217f16}.btn-sm{padding:.5rem .75rem;font-size:.875rem;gap:.25rem;display:inline-flex;align-items:center;justify-content:center}.action-btn{background:none;border:none;cursor:pointer;padding:.5rem .75rem;border-radius:6px;transition:all .3s ease;font-weight:500;display:flex;align-items:center;justify-content:center}.action-btn svg{width:14px;height:14px}.action-btn:hover{transform:translateY(-2px)}.btn-edit{background:#459f37!important;color:#fff!important}.btn-edit:hover{background:#b565d5!important;box-shadow:0 4px 12px #c066ea66!important}.btn-delete{background:#a24b4b!important;color:#fff!important}.btn-delete:hover{background:#cb5f5f!important;box-shadow:0 4px 12px #a24b4b66!important}.btn-view{background:#4b76a2!important;color:#fff!important}.btn-view:hover{background:#5f84cb!important;box-shadow:0 4px 12px #4b76a266!important}.btn-add{background:#10b981!important;color:#fff!important}.btn-add:hover{background:#059669!important;box-shadow:0 4px 12px #10b98166!important}.table-wrapper{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;table-layout:fixed}.data-table thead{background:#f9fafb}.data-table th{padding:1rem;text-align:left;font-weight:600;color:#374151;font-size:.875rem;border-bottom:2px solid #e5e7eb;white-space:normal;word-wrap:break-word;text-transform:capitalize}.data-table th.rotulacion-col{min-width:180px;max-width:250px}.th-actions{text-align:center;width:160px;max-width:160px}.data-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background .2s}.data-table tbody tr:hover{background:#f9fafb}.data-table td{padding:1rem;font-size:.875rem;color:#4b5563;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-table td.rotulacion-col{min-width:180px;max-width:250px;font-weight:600;color:#217f16;white-space:normal;word-wrap:break-word}.td-actions{display:flex;gap:.4rem;justify-content:center;align-items:center;width:160px;min-width:160px}.pagination-container{display:flex;justify-content:space-between;align-items:center;margin:20px 0;padding:15px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.pagination-info{font-size:14px;color:#6c757d;font-weight:500}.pagination-controls{display:flex;align-items:center;gap:8px}.pagination-btn{padding:8px 12px;background:#fff;border:1px solid #dee2e6;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;color:#495057;transition:all .2s ease;min-width:44px}.pagination-btn:hover:not(:disabled){background:#e9ecef;border-color:#adb5bd}.pagination-btn:disabled{opacity:.5;cursor:not-allowed;background:#f8f9fa}.pagination-number{padding:8px 12px;background:#fff;border:1px solid #dee2e6;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;color:#495057;transition:all .2s ease;min-width:44px}.pagination-number:hover{background:#e9ecef;border-color:#adb5bd}.pagination-number.active{background:linear-gradient(135deg,#217f16,#459f37);border-color:#217f16;color:#fff}.pagination-number.active:hover{background:linear-gradient(135deg,#4963d6,#693999)}.empty-state{padding:4rem 2rem;text-align:center;color:#9ca3af}.empty-icon{width:64px;height:64px;margin-bottom:1rem}.empty-state h3{color:#6b7280;font-size:1.25rem;margin-bottom:.5rem}.empty-state p{color:#9ca3af;font-size:.95rem}.desktop-view{display:block}.mobile-view{display:none}.mobile-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;z-index:999;display:none}.sidebar-open{left:0!important}.mobile-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:1rem;box-shadow:0 2px 4px #0000000d;overflow:hidden}.mobile-card-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8f9fa;border-bottom:1px solid #e5e7eb}.mobile-card-id{color:#495057;font-weight:600}.mobile-card-actions{display:flex;gap:.5rem}.mobile-card-content{padding:1rem}.mobile-field{display:flex;justify-content:space-between;align-items:flex-start;padding:.5rem 0;border-bottom:1px solid #f1f3f4}.mobile-field:last-child{border-bottom:none}.mobile-field-label{font-weight:600;color:#6c757d;min-width:100px;margin-right:1rem;font-size:.875rem}.mobile-field-value{color:#212529;text-align:right;word-break:break-word;flex:1;font-size:.875rem}.mobile-details{margin-top:1rem;border-top:1px solid #e5e7eb;padding-top:1rem}.mobile-details-summary{cursor:pointer;font-weight:600;color:#217f16;padding:.5rem 0;list-style:none;display:flex;align-items:center;-webkit-user-select:none;user-select:none}.mobile-details-summary::-webkit-details-marker{display:none}.mobile-details-summary:before{content:"▶";margin-right:.5rem;transition:transform .2s ease}.mobile-details[open] .mobile-details-summary:before{transform:rotate(90deg)}.mobile-details-content{padding-top:.5rem;animation:slideDown .2s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1024px){.sidebar{width:240px}.main-content{padding:1.5rem}}@media(max-width:1200px){.desktop-view{display:none}.mobile-view,.mobile-menu-toggle,.mobile-overlay{display:block}.dashboard-container{padding:0}.dashboard-header{padding:1rem}.header-content{flex-direction:row;justify-content:space-between}.brand h1{font-size:1.2rem;display:none}.dashboard-content{position:relative;flex-direction:column}.sidebar{position:fixed;top:80px;left:-280px;width:280px;height:calc(100vh - 80px);background:#fff;box-shadow:2px 0 10px #0000001a;transition:left .3s ease;z-index:1000;padding:2rem 0}.sidebar .sidebar-nav{flex-direction:column;gap:2rem}.sidebar .nav-section{width:100%;padding:0 1rem}.main-content{padding:1rem;width:100%}.table-card{margin:0;border-radius:8px}.table-card-header{padding:1rem}.table-title{flex-direction:column;gap:1rem;align-items:flex-start}.table-toolbar{flex-wrap:wrap;gap:.5rem;flex-direction:column;align-items:stretch}.search-container{width:100%}.btn{flex:1;min-width:120px}.mobile-pagination{margin:15px;padding:12px;flex-direction:column;gap:10px}.mobile-pagination-controls{gap:10px}.mobile-pagination-controls .pagination-btn{min-width:80px;font-size:13px;padding:8px 12px}.pagination-current{font-size:14px;font-weight:600;color:#495057;min-width:60px;text-align:center}.pagination-container:not(.mobile-pagination){flex-direction:column;gap:10px;text-align:center}.pagination-controls{flex-wrap:wrap;justify-content:center}.pagination-number{display:none}.pagination-number.active{display:inline-block}}@media(max-width:480px){.mobile-field{flex-direction:column;align-items:flex-start;gap:.25rem}.mobile-field-label{min-width:auto;margin-right:0}.mobile-field-value{text-align:left}.btn{width:100%;padding:.5rem .75rem;font-size:.8rem}.brand h1{font-size:1rem}}input[type=date]{position:relative;color-scheme:light}input[type=date]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;cursor:pointer;height:auto;inset:0;position:absolute;width:auto;padding:0;margin:0}input[type=date]::-webkit-calendar-picker-indicator:hover{background:#217f161a;border-radius:4px}input[type=date]::-webkit-inner-spin-button,input[type=date]::-webkit-clear-button{display:none;-webkit-appearance:none}input[type=date]::-webkit-datetime-edit-text,input[type=date]::-webkit-datetime-edit-month-field,input[type=date]::-webkit-datetime-edit-day-field,input[type=date]::-webkit-datetime-edit-year-field{color:#1f2937}input[type=date]{appearance:none;-moz-appearance:textfield}.date-input-container{position:relative;display:inline-block;width:100%}.date-input-container .calendar-icon{position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none;color:#6b7280;width:16px;height:16px;z-index:1}@media(max-width:1200px){.th-actions{width:140px;max-width:140px}.td-actions{width:140px;min-width:140px;gap:.3rem}.action-btn{padding:.4rem .6rem}.action-btn svg{width:12px;height:12px}}.search-container{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px;margin-top:16px;margin-bottom:16px}.search-input{width:100%;padding:12px 16px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px;background-color:#fff;color:#1e293b;transition:all .2s}.search-input:focus{outline:none;border-color:#217f16;box-shadow:0 0 0 3px #217f161a}.filters-panel{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:20px;margin-bottom:20px;margin-top:10px}.filters-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.filters-title{margin:0;color:#374151}.filter-clear-btn{padding:8px 16px;background-color:#ef4444;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;font-size:13px;transition:background-color .2s}.filter-clear-btn:hover{background-color:#dc2626}.active-filters{margin-bottom:20px}.active-filters-title{margin-bottom:12px;color:#6b7280;font-size:14px}.active-filters-list{display:flex;flex-wrap:wrap;gap:8px}.filter-tag{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;background-color:#4f46e5;color:#fff;border-radius:20px;font-size:13px;font-weight:500}.filter-tag-remove{background:#ffffff4d;border:none;border-radius:50%;width:20px;height:20px;cursor:pointer;color:#fff;font-weight:700;font-size:12px;display:flex;align-items:center;justify-content:center;transition:background .2s}.filter-tag-remove:hover{background:#ffffff80}.filter-section{border-top:1px solid #e5e7eb;padding-top:20px}.filter-section-title{margin-bottom:15px;color:#6b7280}.filter-group{margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #e5e7eb}.filter-group:last-child{margin-bottom:20px;padding-bottom:0;border-bottom:none}.filter-group-title{margin-bottom:12px;color:#374151;font-size:14px}.filter-inputs{display:grid;gap:12px}.filter-input,.filter-select{width:100%;padding:10px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;background-color:#fff;color:#1f2937;transition:all .2s}.filter-select{cursor:pointer;appearance:auto}.filter-input:focus,.filter-select:focus{outline:none;border-color:#217f16;box-shadow:0 0 0 3px #217f161a}.filter-date-inputs{display:flex;gap:12px}.filter-add-btn{padding:10px 20px;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s}.filter-add-btn:hover{transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}.filter-btn-text{background-color:#3b82f6}.filter-btn-text:hover{background-color:#2563eb}.filter-btn-entity{background-color:#10b981}.filter-btn-entity:hover{background-color:#059669}.filter-btn-date{background-color:#f59e0b}.filter-btn-date:hover{background-color:#d97706}.swal2-show{animation:swal2-show .3s ease-out}.swal2-hide{animation:swal2-hide .15s ease-in}.swal2-backdrop-show{animation:swal2-backdrop-show .3s ease-out}.swal2-backdrop-hide{animation:swal2-backdrop-hide .15s ease-in}.swal2-icon-show{animation:swal2-icon-show .4s ease-out .1s both}.swal2-icon-hide{animation:swal2-icon-hide .1s ease-in}@keyframes swal2-show{0%{transform:scale(.7) translateY(-30px);opacity:0}50%{transform:scale(1.05) translateY(0);opacity:.8}to{transform:scale(1) translateY(0);opacity:1}}@keyframes swal2-hide{0%{transform:scale(1) translateY(0);opacity:1}to{transform:scale(.8) translateY(20px);opacity:0}}@keyframes swal2-backdrop-show{0%{opacity:0}to{opacity:.4}}@keyframes swal2-backdrop-hide{0%{opacity:.4}to{opacity:0}}@keyframes swal2-icon-show{0%{transform:scale(.3) rotate(-120deg);opacity:0}50%{transform:scale(1.1) rotate(0);opacity:.8}to{transform:scale(1) rotate(0);opacity:1}}@keyframes swal2-icon-hide{0%{transform:scale(1) rotate(0);opacity:1}to{transform:scale(.5) rotate(45deg);opacity:0}}.filter-date-inputs{display:flex;gap:.5rem;flex-wrap:wrap}.filter-date-inputs input[type=date]{flex:1;min-width:150px}.login-container{min-height:100vh;height:100vh;width:100%;display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden;background:linear-gradient(135deg,#217f16,#459f37);padding:1rem;box-sizing:border-box}.login-background{position:absolute;width:100%;height:100%;overflow:hidden}.blob{position:absolute;border-radius:50%;filter:blur(60px);opacity:.3;animation:float 20s infinite ease-in-out}.blob-1{width:400px;height:400px;background:#ffffff4d;bottom:-100px;left:-100px;animation-delay:0s}.blob-2{width:500px;height:500px;background:#fff3;top:-150px;right:-150px;animation-delay:5s}@keyframes float{0%,to{transform:translate(0) scale(1)}33%{transform:translate(30px,-50px) scale(1.1)}66%{transform:translate(-20px,20px) scale(.9)}}.login-card{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:24px;padding:2.5rem 2rem;width:100%;max-width:440px;min-width:320px;box-shadow:0 20px 60px #0000004d;position:relative;z-index:1;animation:slideUp .6s ease-out;margin:1rem;box-sizing:border-box}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.login-header{text-align:center;margin-bottom:2rem}.login-header h1{color:#217f16;font-size:2rem;font-weight:600;margin-bottom:.5rem}.login-header p{color:#a0aec0;font-size:.95rem}.demo-hint{margin-top:1rem;padding:.75rem 1rem;background:linear-gradient(135deg,#217f161a,#459f371a);border-radius:8px;border-left:3px solid #217f16}.demo-hint small{color:#217f16;font-size:.875rem;font-weight:500}.login-form{display:flex;flex-direction:column;gap:1.25rem}.google-btn{display:flex;align-items:center;justify-content:center;gap:.75rem;width:100%;padding:.875rem;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;color:#4a5568;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .3s ease}.google-btn:hover{background:#f7fafc;border-color:#cbd5e0;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.google-icon{width:20px;height:20px}.divider{display:flex;align-items:center;text-align:center;color:#cbd5e0;margin:.5rem 0}.divider:before,.divider:after{content:"";flex:1;border-bottom:1px solid #e2e8f0}.divider span{padding:0 1rem;font-size:.875rem}.input-group{display:flex;flex-direction:column;gap:.5rem}.input-group label{color:#a0aec0;font-size:.875rem;font-weight:500}.input-wrapper{position:relative!important;display:block!important}.input-wrapper input{width:100%!important;padding:.875rem 4rem .875rem 1rem!important;border:none!important;border-bottom:2px solid #e2e8f0!important;background:transparent!important;font-size:.95rem!important;color:#616a7a!important;transition:all .3s ease!important;outline:none!important}.input-wrapper input::-ms-reveal,.input-wrapper input::-ms-clear{display:none}.input-wrapper input::placeholder{color:#cbd5e0}.input-wrapper input:focus{border-bottom-color:#217f16}.input-wrapper input.valid:not(:focus){border-bottom-color:#48bb78!important}.input-wrapper input.invalid:not(:focus){border-bottom-color:#f56565!important}.input-wrapper input:focus+.input-check{color:#217f16}.input-wrapper .input-check{position:absolute!important;right:.25rem!important;top:.875rem!important;transform:none!important;font-size:1.25rem!important;animation:checkPop .3s ease!important;pointer-events:none!important;line-height:1!important;display:flex!important;align-items:center!important}.input-wrapper .input-check.valid{color:#48bb78!important}.input-wrapper .input-check.invalid{color:#f56565!important}.input-wrapper .input-validation-icon{position:absolute!important;right:.25rem!important;top:50%!important;transform:translateY(-50%)!important;font-size:1.5rem!important;animation:checkPop .3s ease!important;pointer-events:none!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;z-index:10!important;margin:0!important;padding:0!important;width:auto!important;height:auto!important}.input-wrapper .input-validation-icon.password-check{right:.25rem!important;font-size:1.25rem!important;top:50%!important;transform:translateY(-50%)!important}.input-wrapper .input-validation-icon.valid{color:#48bb78!important}.input-wrapper .input-validation-icon.invalid{color:#f56565!important}@keyframes checkPop{0%{transform:scale(0) translateY(0)}50%{transform:scale(1.2) translateY(0)}to{transform:scale(1) translateY(0)}}.input-wrapper .toggle-password{position:absolute!important;right:2.5rem!important;top:50%!important;transform:translateY(-50%)!important;background:none!important;border:none!important;cursor:pointer!important;font-size:1.25rem!important;opacity:.6!important;transition:all .2s!important;z-index:5!important;padding:.25rem!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#718096!important;line-height:1!important;margin:0!important;height:auto!important;width:auto!important}.input-wrapper .toggle-password:hover{opacity:1!important;color:#217f16!important}.submit-btn{width:100%;padding:1rem;background:linear-gradient(135deg,#217f16,#459f37);border:none;border-radius:12px;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:.5rem;box-shadow:0 4px 15px #217f1666}.submit-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #217f1699}.submit-btn:active{transform:translateY(0)}.login-options{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;margin-top:-.5rem}.remember-me{display:flex;align-items:center;gap:.5rem;cursor:pointer;color:#718096}.remember-me input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:#217f16}.forgot-password{background:none;border:none;color:#217f16;font-weight:500;cursor:pointer;transition:color .2s}.forgot-password:hover{color:#459f37;text-decoration:underline}.toggle-mode{text-align:center;margin-top:.5rem;color:#718096;font-size:.9rem}.toggle-link{background:none;border:none;color:#217f16;font-weight:600;cursor:pointer;text-decoration:none;transition:color .2s}.toggle-link:hover{color:#459f37;text-decoration:underline}@media(max-width:480px){.login-card{padding:2rem 1.5rem;border-radius:16px}.login-header h1{font-size:1.75rem}.blob-1,.blob-2{width:300px;height:300px}}.submit-btn:disabled{opacity:.6;cursor:not-allowed}.submit-btn.loading{position:relative;color:transparent}.submit-btn.loading:after{content:"";position:absolute;width:20px;height:20px;top:50%;left:50%;margin-left:-10px;margin-top:-10px;border:2px solid white;border-top-color:transparent;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1024px){.login-container{padding:1.5rem}.login-card{padding:2rem 1.75rem;max-width:400px}}@media(max-width:768px){.login-container{padding:2rem 1rem 1rem;align-items:flex-start}.login-card{width:100%;max-width:100%;min-width:unset;margin:0;padding:2rem 1.5rem;border-radius:16px}.login-header h1{font-size:1.75rem}.blob-1,.blob-2{opacity:.15}}@media(max-width:480px){.login-container{padding:.5rem;min-height:100vh;height:auto;align-items:center}.login-card{width:100%;max-width:100%;margin:0;padding:1.5rem 1rem;border-radius:12px;min-height:auto}.login-header{margin-bottom:1.5rem}.login-header h1{font-size:1.5rem;margin-bottom:.25rem}.login-header p{font-size:.875rem}.input-group{margin-bottom:1.25rem}.submit-btn{padding:.875rem 1.5rem;font-size:1rem}.blob-1,.blob-2{display:none}}@media(max-width:360px){.login-card{padding:1.25rem .75rem;border-radius:8px}.login-header h1{font-size:1.25rem}.login-header p{font-size:.8rem}}.dashboard-page{padding:16px;width:100%;max-width:100%}.charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;align-items:start;width:100%}.chart-card{background:#fff;border-radius:10px;padding:16px;box-shadow:0 6px 18px #0f172a0f;border:1px solid rgba(15,23,42,.03);width:100%;min-width:0}.chart-canvas-wrapper{height:280px;position:relative;width:100%}.chart-canvas-wrapper canvas{width:100%!important;height:100%!important}@media(max-width:800px){.charts-grid{grid-template-columns:1fr;gap:12px}.chart-canvas-wrapper{height:240px}.dashboard-page{padding:8px}}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.kpi-card{background:linear-gradient(180deg,#fff,#fbfbff);border-radius:10px;padding:12px 14px;box-shadow:0 6px 18px #0f172a0a;display:flex;flex-direction:column;justify-content:center;border:1px solid rgba(99,102,241,.06)}.kpi-title{color:#6b7280;font-size:13px}.kpi-value{font-size:22px;font-weight:700;margin-top:6px}.charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.chart-card{background:#fff;border-radius:8px;padding:12px;box-shadow:0 1px 3px #0000000f}.chart-card h3{margin:0 0 8px;font-size:16px;color:#111827}.chart-canvas-wrapper.small{height:220px}.full-width-chart{grid-column:1 / -1}.back-button{margin-left:8px}@media(max-width:900px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.charts-grid{grid-template-columns:1fr}}@media(max-width:768px){.mobile-menu-toggle{display:block!important}.brand h1{font-size:1.2rem;display:none}.sidebar{position:fixed;top:80px;left:-280px;width:280px;height:calc(100vh - 80px);background:#fff;box-shadow:2px 0 10px #0000001a;transition:left .3s ease;z-index:1000;overflow-y:auto}.sidebar-open{left:0!important}.mobile-overlay{display:block!important}}@media(min-width:769px){.sidebar{overflow-y:auto;max-height:calc(100vh - 80px)}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.sidebar::-webkit-scrollbar-thumb{background:#888;border-radius:10px}.sidebar::-webkit-scrollbar-thumb:hover{background:#555}}
