.fleet-page,.vehicle-table,.vehicle-table th,.vehicle-table td,.status-badge,.expiry-remaining-text,.driver-name,.driver-avatar-circle,.action-btn,.search-input,.filter-pill,.compliance-select{font-family:var(--font-sans),system-ui,-apple-system,sans-serif}.fleet-page{background-color:var(--background);flex-direction:column;gap:1.5rem;min-height:100vh;padding:1rem;display:flex}@media (min-width:768px){.fleet-page{padding:2rem}}.page-header{flex-direction:column;gap:1rem;width:100%;display:flex}@media (min-width:640px){.page-header{flex-direction:row;justify-content:space-between;align-items:center;width:100%}}.header-with-back{align-items:center;gap:1rem;display:flex}.back-button{width:2.5rem;height:2.5rem;color:var(--text-primary);background:var(--card);border:1.5px solid var(--border);border-radius:var(--radius-lg,.75rem);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:all .15s;display:flex}.back-button:hover{background:var(--muted);border-color:var(--primary);color:var(--primary);transform:translate(-2px)}.page-header-content h1{color:var(--text-primary);margin:0;font-size:1.5rem;font-weight:700}.page-header-content p{color:var(--text-secondary);margin:.25rem 0 0;font-size:.875rem}.header-left{align-items:center;gap:.5rem;display:flex}.page-title h1{color:var(--text-primary);margin:0;font-size:1.5rem;font-weight:700}.page-title p{color:var(--text-secondary);margin:.25rem 0 0;font-size:.875rem}.header-actions{align-items:center;gap:.75rem;display:flex}.summary-grid{grid-template-columns:repeat(4,1fr);gap:.75rem;margin-bottom:1rem;display:grid}@media (max-width:1024px){.summary-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.summary-grid{grid-template-columns:1fr}}.summary-card{background:var(--card);border:1px solid var(--border);border-radius:.75rem;justify-content:space-between;align-items:center;padding:.875rem 1rem;display:flex;box-shadow:0 1px 3px #0000001a}.card-title{color:var(--text-secondary);margin-bottom:.125rem;font-size:.7rem;font-weight:500}.card-value-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.card-value{color:var(--text-primary);margin:0;font-size:1.125rem;font-weight:700}.trend-pill{border-radius:9999px;align-items:center;gap:.25rem;padding:.125rem .5rem;font-size:.6rem;font-weight:500;display:inline-flex}.trend-pill.trend-up{background-color:var(--success-soft);color:var(--success)}.trend-pill.trend-down{background-color:var(--danger-soft);color:var(--danger)}.trend-pill.trend-neutral{background-color:var(--muted);color:var(--text-secondary)}.icon-wrapper{color:var(--text-secondary)}.toolbar-container{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.toolbar-left{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.search-wrapper{min-width:280px;position:relative}.search-wrapper .search-icon{color:var(--text-muted);pointer-events:none;position:absolute;top:50%;left:.875rem;transform:translateY(-50%)}.search-input{background:var(--card);border:1px solid var(--border);width:100%;color:var(--text-primary);border-radius:.5rem;padding:.625rem 1rem .625rem 2.5rem;font-size:.875rem;transition:border-color .15s,box-shadow .15s}.search-input:focus{border-color:var(--primary);box-shadow:var(--shadow-focus)}.search-input::placeholder{color:var(--text-muted)}.filter-group{align-items:center;gap:.5rem;display:flex}.filter-pills{background:var(--background);border:1px solid var(--border);border-radius:.5rem;gap:.25rem;padding:.25rem;display:flex}.filter-pill{color:var(--text-secondary);cursor:pointer;text-transform:capitalize;background:0 0;border:none;border-radius:.375rem;padding:.375rem .75rem;font-size:.8rem;font-weight:500;transition:all .2s}.filter-pill:hover{background:var(--border);color:var(--text-primary)}.filter-pill.active{background:var(--card);color:var(--text-primary);box-shadow:0 1px 2px #0000001a}.page-actions{align-items:center;gap:.75rem;display:flex}.btn-primary{background:var(--primary);color:var(--primary-foreground);cursor:pointer;border:none;border-radius:.5rem;align-items:center;gap:.5rem;padding:.625rem 1rem;font-size:.875rem;font-weight:500;transition:all .15s;display:flex;box-shadow:0 1px 2px #0000000d}.btn-primary:hover{background:#1d4ed8}.btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.btn-secondary{background:var(--card);color:var(--text-primary);border:1px solid var(--border);cursor:pointer;border-radius:.5rem;align-items:center;gap:.5rem;padding:.625rem 1rem;font-size:.875rem;font-weight:500;transition:all .15s;display:flex;position:relative}.btn-secondary:hover{background:var(--muted);border-color:var(--text-disabled)}.btn-secondary.has-filters{border-color:var(--primary);color:var(--primary)}.filter-badge{background:var(--danger);width:16px;height:16px;color:var(--primary-foreground);border-radius:50%;justify-content:center;align-items:center;font-size:.625rem;font-weight:700;display:flex;position:absolute;top:-4px;right:-4px}.filter-container{position:relative}.filter-dropdown{background:var(--card);border:1px solid var(--border);z-index:50;border-radius:.75rem;flex-direction:column;gap:.75rem;width:220px;margin-top:.5rem;padding:1rem;display:flex;position:absolute;top:100%;right:0;box-shadow:0 10px 25px #0000001a}.filter-group{flex-direction:column;gap:.25rem;display:flex}.filter-group label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.025em;font-size:.75rem;font-weight:500}.filter-group select{border:1px solid var(--border);color:var(--text-primary);background:var(--card);cursor:pointer;border-radius:.375rem;padding:.5rem;font-size:.875rem}.filter-group select:focus{border-color:var(--primary);box-shadow:0 0 0 2px #2563eb1a}.clear-filters-btn{background:var(--danger-light);color:var(--danger);cursor:pointer;border:none;border-radius:.375rem;margin-top:.5rem;padding:.5rem;font-size:.75rem;font-weight:500;transition:background .15s}.clear-filters-btn:hover{background:#fee2e2}.search-bar{max-width:400px;position:relative}.search-bar input{background:var(--card);border:1px solid var(--border);width:100%;color:var(--text-primary);border-radius:.5rem;padding:.75rem 1rem .75rem 2.75rem;font-size:.875rem;transition:border-color .15s,box-shadow .15s}.search-bar input:focus{border-color:var(--primary);box-shadow:var(--shadow-focus)}.search-bar input::placeholder{color:var(--text-muted)}.search-icon{color:var(--text-muted);position:absolute;top:50%;left:.875rem;transform:translateY(-50%)}.loading-state,.error-state,.empty-state{background:var(--card);border:1px solid var(--border);text-align:center;color:var(--text-secondary);border-radius:1rem;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:4rem 2rem;display:flex}.loading-state .spin,.error-state svg{color:var(--primary)}.error-state svg{color:var(--danger)}.empty-state svg{color:var(--text-disabled)}.empty-state h3,.error-state h3{color:var(--text-primary);margin:0;font-size:1.125rem}.empty-state p,.error-state p{max-width:300px;margin:0}.vehicle-table-container{background:var(--card);border:1px solid var(--border);-webkit-overflow-scrolling:touch;border-radius:.75rem;overflow-x:auto;box-shadow:0 10px 15px -3px #0000000d,0 4px 6px -2px #00000005}.vehicle-table{border-collapse:collapse;text-align:left;width:100%}.vehicle-table thead{background:var(--background);border-bottom:1px solid var(--border);z-index:10;position:sticky;top:0}.vehicle-table th{color:var(--text-table-header,var(--text-secondary));text-transform:uppercase;letter-spacing:.05em;padding:1rem 1.25rem;font-size:.8rem;font-weight:600}.vehicle-table th.text-right{text-align:right}.vehicle-table tbody tr{border-bottom:1px solid var(--muted);transition:background-color .15s}.vehicle-table tbody tr:last-child{border-bottom:none}.vehicle-table tbody tr.clickable-row{cursor:pointer}.vehicle-table tbody tr:hover{background:var(--background)}.vehicle-table td{color:var(--text-primary);vertical-align:middle;padding:1rem 1.25rem;font-size:.875rem}.registration-cell{flex-direction:column;display:flex}.registration-number{color:var(--text-primary);font-size:.95rem;font-weight:600}.vehicle-model{color:var(--text-secondary);margin-top:.125rem;font-size:.75rem}.status-badge{text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;border:1px solid #0000;border-radius:4px;padding:2px 8px;font-size:10px;font-weight:700;display:inline-block}.badge-default{color:var(--text-secondary);background-color:#64748b1a;border-color:#64748b33}.badge-green{color:var(--success);background-color:#10b9811a;border-color:#10b98133}.badge-orange{color:var(--warning-hover);background-color:#f59e0b1a;border-color:#f59e0b33}.badge-red{color:var(--danger);background-color:#ef44441a;border-color:#ef444433}.vehicle-type-badge{background:var(--primary-light);color:var(--primary-hover);border-radius:.375rem;padding:.25rem .5rem;font-size:.75rem;font-weight:500;display:inline-block}.ownership-badge{border-radius:.375rem;padding:.25rem .5rem;font-size:.75rem;font-weight:500;display:inline-block}.ownership-badge.owned{color:#166534;background:#f0fdf4}.ownership-badge.vendor{color:#92400e;background:#fef3c7}.driver-cell{align-items:center;gap:.75rem;display:flex}.driver-avatar-circle{background:var(--muted);width:28px;height:28px;color:var(--text-secondary);border:1px solid var(--border);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.75rem;font-weight:600;display:flex}[data-theme=dark] .driver-avatar-circle{color:var(--text-muted);background:#1e293bcc;border-color:#33415599}.driver-name{color:var(--text-primary);font-size:.875rem;font-weight:500}[data-theme=dark] .driver-name{color:var(--text-disabled)}.no-driver{color:var(--text-muted);font-style:italic}.actions-cell{text-align:right;justify-content:flex-end;gap:.5rem;display:flex}.action-btn{cursor:pointer;color:var(--text-secondary);background:0 0;border:none;border-radius:.375rem;padding:.375rem;transition:all .15s}.action-btn:hover{background:var(--muted)}.action-btn.edit:hover{color:var(--success);background:#10b9811a}.action-btn.delete:hover{color:var(--danger);background:#ef44441a}.pagination{color:var(--text-secondary);justify-content:space-between;align-items:center;padding:1rem 0;font-size:.875rem;display:flex}.pagination-info{font-size:.875rem}.pagination-buttons{align-items:center;gap:.75rem;display:flex}.pagination-buttons button{background:var(--card);border:1px solid var(--border);color:var(--text-primary);cursor:pointer;border-radius:.375rem;padding:.5rem 1rem;font-size:.875rem;transition:all .15s}.pagination-buttons button:hover:not(:disabled){background:var(--background);border-color:var(--text-disabled)}.pagination-buttons button:disabled{opacity:.5;cursor:not-allowed}.page-indicator{color:var(--text-primary);font-weight:500}.modal-overlay{z-index:100;background:#00000080;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.delete-modal{background:var(--card);text-align:center;border-radius:1rem;width:100%;max-width:400px;padding:2rem}.delete-modal-icon{background:var(--danger-light);width:64px;height:64px;color:var(--danger);border-radius:50%;justify-content:center;align-items:center;margin:0 auto 1rem;display:flex}.delete-modal h3{color:var(--text-primary);margin:0 0 .5rem;font-size:1.25rem}.delete-modal p{color:var(--text-secondary);margin:0 0 1.5rem;font-size:.875rem}.delete-modal-actions{justify-content:center;gap:.75rem;display:flex}.btn-cancel-modal{background:var(--card);color:var(--text-secondary);border:1px solid var(--border);cursor:pointer;border-radius:.5rem;padding:.625rem 1.5rem;font-size:.875rem;font-weight:500;transition:all .15s}.btn-cancel-modal:hover{background:var(--background)}.btn-delete-confirm{background:var(--danger);color:var(--primary-foreground);cursor:pointer;border:none;border-radius:.5rem;align-items:center;gap:.5rem;padding:.625rem 1.5rem;font-size:.875rem;font-weight:500;transition:all .15s;display:flex}.btn-delete-confirm:hover{background:var(--danger)}.btn-delete-confirm:disabled{opacity:.7;cursor:not-allowed}.spin{animation:1s linear infinite spin}.vehicle-detail{background:var(--background);min-height:100vh}.detail-loading,.detail-error{min-height:50vh;color:var(--text-secondary);flex-direction:column;justify-content:center;align-items:center;gap:1rem;display:flex}.detail-error svg{color:var(--danger)}.vehicle-detail-card{background:var(--card);border-radius:.75rem;margin-bottom:2rem;box-shadow:0 1px 3px #0000001a}.detail-header{background:var(--card);border-bottom:1px solid var(--border);z-index:20;border-radius:.75rem .75rem 0 0;position:sticky;top:0}.detail-header-content{max-width:1200px;margin:0 auto;padding:1.5rem 1.5rem .5rem}.detail-back-btn{color:var(--text-secondary);cursor:pointer;margin-bottom:1rem;background:0 0;border:none;border-radius:.5rem;align-items:center;gap:.375rem;width:fit-content;margin-inline-start:-.5rem;padding:.5rem .75rem;font-size:.875rem;font-weight:500;transition:all .15s;display:none}.detail-back-btn:hover{color:var(--text-primary);background:var(--muted)}.breadcrumbs{color:var(--text-secondary);align-items:center;margin-bottom:.75rem;font-size:.875rem;display:flex}.breadcrumb-item{cursor:pointer;align-items:center;transition:color .15s;display:flex}.breadcrumb-item:hover{color:var(--primary)}.breadcrumb-icon{width:1rem;height:1rem;margin-inline-end:.25rem}.breadcrumb-separator{width:1rem;height:1rem;color:var(--text-muted);margin:0 .5rem}.breadcrumb-current{color:var(--text-primary);font-weight:500}.header-row{flex-direction:column;gap:1rem;display:flex}@media (min-width:768px){.header-row{flex-direction:row;justify-content:space-between;align-items:center}}.detail-title-group{align-items:center;gap:1rem;display:flex}.detail-icon{width:56px;height:56px;color:var(--primary);background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border-radius:.75rem;flex-shrink:0;justify-content:center;align-items:center;display:flex}.detail-title h1{color:var(--text-primary);flex-wrap:wrap;align-items:center;gap:.75rem;margin:0;font-size:1.5rem;font-weight:700;display:flex}.detail-title p{color:var(--text-secondary);margin:.25rem 0 0;font-size:.875rem}.detail-actions{align-items:center;gap:.75rem;display:flex}.detail-tabs{-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:2rem;max-width:1200px;margin:0 auto;padding:0 1.5rem;display:flex;overflow-x:auto}.detail-tabs::-webkit-scrollbar{display:none}.tab-btn{color:var(--text-secondary);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:.5rem;padding:1rem 0;font-size:.875rem;font-weight:500;transition:all .15s;display:inline-flex}.tab-btn:hover{color:var(--text-primary)}.tab-btn.active{color:var(--primary);border-bottom-color:var(--primary)}.detail-content{max-width:1200px;margin:0 auto;padding:1.5rem}.info-grid{grid-template-columns:1fr;gap:1.5rem;display:grid}@media (min-width:1024px){.info-grid{grid-template-columns:2fr 1fr}}.info-main,.info-sidebar{flex-direction:column;gap:1.5rem;display:flex}.info-card{background:var(--card);border:1px solid var(--border);border-radius:1rem;padding:1.5rem}.info-card h3{color:var(--text-primary);align-items:center;gap:.5rem;margin:0 0 1rem;font-size:1rem;font-weight:600;display:flex}.info-card h3 svg{color:var(--text-secondary)}.card-header-row{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.card-header-row h3{margin:0}.bluebook-id{color:var(--text-secondary);background:var(--muted);border-radius:.25rem;padding:.25rem .5rem;font-size:.75rem}.toggle-mask-btn{color:var(--primary);cursor:pointer;background:0 0;border:none;align-items:center;gap:.25rem;padding:0;font-size:.75rem;display:inline-flex}.toggle-mask-btn:hover{text-decoration:underline}.info-list{grid-template-columns:repeat(2,1fr);gap:1rem;margin:0;display:grid}.info-list.stacked{grid-template-columns:1fr}.info-list>div{flex-direction:column;display:flex}.info-list dt{color:var(--text-secondary);margin-bottom:.25rem;font-size:.75rem;font-weight:500}.info-list dd{color:var(--text-primary);margin:0;font-size:.875rem}.info-list dd.mono{background:var(--background);border-radius:.25rem;padding:.375rem .5rem;font-family:ui-monospace,monospace}.driver-tab{max-width:960px;margin:0 auto}.driver-card-full{background:var(--card);border:1px solid var(--border);text-align:center;border-radius:1rem;overflow:hidden}.driver-header-bg{background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);height:100px}.driver-avatar{background:var(--card);width:80px;height:80px;color:var(--primary);border-radius:50%;justify-content:center;align-items:center;margin:-40px auto 0;display:flex;box-shadow:0 4px 12px #0000001a}.driver-info-full{padding:1.5rem 2rem 2rem}.driver-info-full h2{color:var(--text-primary);margin:0 0 .5rem;font-size:1.5rem;font-weight:700}.driver-phone{color:var(--text-secondary);justify-content:center;align-items:center;gap:.5rem;margin:0;font-size:.875rem;display:flex}.no-driver-card,.no-bluebook-card{background:var(--card);text-align:center;color:var(--text-secondary);border:2px dashed #e2e8f0;border-radius:1rem;padding:4rem 2rem}.no-driver-card svg,.no-bluebook-card svg{color:var(--text-disabled);margin-bottom:1rem}.no-driver-card h3,.no-bluebook-card h3{color:var(--text-primary);margin:0 0 .5rem;font-size:1.125rem}.no-driver-card p,.no-bluebook-card p{margin:0 0 1.5rem}.no-driver-card .btn-primary,.no-bluebook-card .btn-primary{align-items:center;gap:.5rem;display:inline-flex}.bluebook-tab{flex-direction:column;gap:1.5rem;display:flex}.bluebook-details{grid-template-columns:1fr;gap:1.5rem;display:grid}@media (min-width:768px){.bluebook-details{grid-template-columns:repeat(2,1fr)}}.samiti-tab{flex-direction:column;gap:1.5rem;display:flex}.samiti-header{background:var(--card);border:1px solid var(--border);border-radius:.75rem;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.samiti-title{align-items:center;gap:.75rem;display:flex}.samiti-title svg{color:#7c3aed}.samiti-title h3{color:var(--text-primary);margin:0;font-size:1.125rem;font-weight:600}.btn-add-payment{background:var(--success);color:var(--primary-foreground);cursor:pointer;border:none;border-radius:.5rem;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;transition:all .15s;display:flex}.btn-add-payment:hover{background:#16a34a;transform:translateY(-1px)}.samiti-loading{background:var(--card);border:1px solid var(--border);color:var(--text-secondary);border-radius:.75rem;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:4rem 2rem;display:flex}.samiti-loading svg{color:#7c3aed}.samiti-empty{background:var(--card);text-align:center;color:var(--text-secondary);border:2px dashed #e2e8f0;border-radius:.75rem;flex-direction:column;justify-content:center;align-items:center;padding:4rem 2rem;display:flex}.samiti-empty svg{color:var(--text-disabled);margin-bottom:1rem}.samiti-empty h4{color:var(--text-primary);margin:0 0 .5rem;font-size:1.125rem}.samiti-empty p{margin:0 0 1.5rem}.samiti-table-container{background:var(--card);border:1px solid var(--border);border-radius:.75rem;overflow:hidden}.samiti-table{border-collapse:collapse;width:100%}.samiti-table thead{background:var(--background)}.samiti-table th{color:var(--text-table-header,var(--text-secondary));text-transform:uppercase;letter-spacing:.05em;text-align:left;border-bottom:1px solid var(--border);padding:.875rem 1rem;font-size:.7rem;font-weight:600}.samiti-table tbody tr{border-bottom:1px solid var(--muted);transition:background .15s}.samiti-table tbody tr:last-child{border-bottom:none}.samiti-table tbody tr:hover{background:#fafbfc}.samiti-table td{color:var(--text-primary);vertical-align:middle;padding:.875rem 1rem;font-size:.875rem}.payment-date{color:var(--text-secondary);align-items:center;gap:.5rem;display:flex}.payment-date svg{color:var(--text-muted)}.samiti-cell{flex-direction:column;display:flex}.samiti-name{color:var(--text-primary);font-weight:600}.samiti-reg{color:var(--text-muted);margin-top:.125rem;font-size:.75rem}.payment-type-badge{border:1px solid;border-radius:9999px;padding:.25rem .625rem;font-size:.75rem;font-weight:500;display:inline-block}.payment-type-badge.green{color:var(--success);background:#f0fdf4;border-color:#bbf7d0}.payment-type-badge.blue{background:var(--primary-light);color:var(--primary);border-color:var(--primary-soft)}.payment-type-badge.purple{color:#7c3aed;background:#f5f3ff;border-color:#ddd6fe}.payment-type-badge.gray{background:var(--background);color:var(--text-secondary);border-color:var(--border)}.payment-amount{color:var(--text-primary);font-weight:600}.payment-receipt{color:var(--text-secondary);font-family:SF Mono,Monaco,Consolas,monospace;font-size:.8rem}.payment-remarks{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;max-width:200px;overflow:hidden}.add-payment-modal{width:100%;max-width:500px}.modal-content{background:var(--card);border-radius:1rem;flex-direction:column;max-height:90vh;display:flex;overflow:hidden}.modal-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:.75rem 1.5rem;display:flex}.modal-header h3{color:var(--text-primary);margin:0;font-size:1.125rem;font-weight:600}.modal-close{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:.375rem;padding:.375rem;transition:all .15s}.modal-close:hover{color:var(--text-primary);background:var(--muted)}.modal-body{flex-direction:column;flex:1;gap:.75rem;padding:1.25rem;display:flex;overflow-y:auto}.form-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.form-group{flex-direction:column;gap:.25rem;display:flex}.form-group label{color:var(--text-primary);font-size:.875rem;font-weight:500}.form-input,.form-select{border:1px solid var(--border);color:var(--text-primary);background:var(--card);border-radius:.5rem;padding:.625rem .875rem;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.form-input:focus,.form-select:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1a}.form-textarea{border:1px solid var(--border);color:var(--text-primary);background:var(--card);resize:vertical;border-radius:.5rem;min-height:80px;padding:.625rem .875rem;font-family:inherit;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.form-textarea:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1a}.modal-footer{background:var(--background);border-top:1px solid var(--border);border-radius:0 0 1rem 1rem;flex-shrink:0;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;display:flex}.modal-footer .btn-primary:disabled{opacity:.6;cursor:not-allowed}.bb-modal{width:100%;max-width:960px}.bb-wizard-header{border-bottom:1px solid var(--muted);flex-shrink:0;justify-content:space-between;align-items:center;padding:.85rem 1.5rem;display:flex}.bb-wizard-header-left h3{color:var(--text-primary);letter-spacing:-.01em;margin:0;font-size:1.05rem;font-weight:700}.bb-wizard-header-left p{color:var(--text-secondary);margin:.1rem 0 0;font-size:.72rem}.bb-wizard-header-right{align-items:center;gap:.75rem;display:flex}.bb-step-counter{color:var(--text-muted);background:var(--background);border:1px solid var(--muted);border-radius:999px;padding:.25rem .65rem;font-size:.68rem;font-weight:600}.bb-step-indicator{background:var(--background);border-bottom:1px solid var(--muted);flex-shrink:0;justify-content:space-between;align-items:center;padding:.6rem 1.5rem;display:flex;position:relative}.bb-step-line-bg{background:var(--border);z-index:0;height:2px;position:absolute;top:50%;left:1.5rem;right:1.5rem;transform:translateY(-50%)}.bb-step-line-progress{background:var(--primary);z-index:1;height:2px;transition:width .4s;position:absolute;top:50%;left:1.5rem;transform:translateY(-50%)}.bb-step-item{z-index:2;flex-direction:column;align-items:center;gap:.3rem;display:flex;position:relative}.bb-step-circle{background:var(--card);border:2px solid var(--border);width:1.75rem;height:1.75rem;color:var(--text-muted);border-radius:50%;justify-content:center;align-items:center;transition:all .3s;display:flex}.bb-step-icon{width:.8rem;height:.8rem}.bb-step-circle.active{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground);box-shadow:0 0 0 3px #3b82f61f}.bb-step-circle.current{transform:scale(1.05)}.bb-step-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.3px;margin:0;font-size:.6rem;font-weight:600}.bb-step-label.active{color:var(--primary)}.bb-step-content{flex-direction:column;gap:.75rem;min-height:260px;animation:.2s bb-fadeIn;display:flex}@keyframes bb-fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.bb-section-title{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);border-bottom:1px solid var(--muted);margin-top:.25rem;padding-bottom:.375rem;font-size:.7rem;font-weight:600}.bb-form-grid-2{grid-template-columns:1fr 1fr;gap:.875rem;display:grid}.bb-form-grid-3{grid-template-columns:1fr 1fr 1fr;gap:.875rem;display:grid}.bb-field{flex-direction:column;gap:.3rem;display:flex}.bb-field label{color:var(--text-secondary);font-size:.8rem;font-weight:500}.bb-req{color:var(--danger);font-weight:600}.bb-input,.bb-select{border:1px solid var(--border);color:var(--text-primary);background:#fafbfc;border-radius:.5rem;padding:.6rem .875rem;font-family:inherit;font-size:.875rem;transition:border-color .2s,box-shadow .2s,background .2s}.bb-input:focus,.bb-select:focus{border-color:var(--primary);background:var(--card);box-shadow:0 0 0 3px #3b82f614}.bb-input::placeholder{color:var(--text-disabled)}.bb-input-error{background:var(--danger-light);border-color:#fca5a5}.bb-input-error:focus{border-color:var(--danger);box-shadow:0 0 0 3px #ef444414}.bb-error{color:var(--danger);font-size:.7rem;font-weight:500}.bb-hint{color:#0369a1;background:#f0f9ff;border:1px solid #e0f2fe;border-radius:.5rem;padding:.625rem 1rem;font-size:.8rem}.bb-wizard-footer{border-top:1px solid var(--muted);background:#f8fafccc;border-radius:0 0 1rem 1rem;flex-shrink:0;justify-content:space-between;align-items:center;padding:.65rem 1.5rem;display:flex}.bb-btn-back{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:.3rem;padding:.45rem .85rem;font-family:inherit;font-size:.78rem;font-weight:600;transition:all .15s;display:inline-flex}.bb-btn-back:hover{color:var(--text-primary);background:var(--muted)}.bb-btn-next,.bb-btn-submit{background:var(--primary);color:var(--primary-foreground);cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.3rem;padding:.45rem 1rem;font-family:inherit;font-size:.78rem;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 1px 2px #3b82f62e}.bb-btn-next:hover:not(:disabled),.bb-btn-submit:hover:not(:disabled){background:var(--primary)}.bb-btn-next:active:not(:disabled),.bb-btn-submit:active:not(:disabled){transform:scale(.98)}.bb-btn-next:disabled,.bb-btn-submit:disabled{opacity:.55;cursor:not-allowed}.bb-btn-next svg,.bb-btn-submit svg{width:.85rem;height:.85rem}@media (max-width:768px){.bb-modal{max-width:95vw}.bb-form-grid-3,.bb-form-grid-2{grid-template-columns:1fr}}.bluebook-modal{width:100%;max-width:900px}.error-message-details{color:var(--text-secondary);background:var(--background);white-space:pre-wrap;word-wrap:break-word;text-align:left;border:1px solid var(--border);border-radius:.5rem;max-height:200px;margin:.5rem 0 1rem;padding:.75rem 1rem;font-family:inherit;font-size:.875rem;overflow-y:auto}.bluebook-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:1rem;margin-top:1rem;display:grid}.gallery-thumbnail{aspect-ratio:1;cursor:pointer;border:1px solid var(--border);background:var(--muted);border-radius:.5rem;transition:all .2s;position:relative;overflow:hidden}.gallery-thumbnail img{object-fit:cover;width:100%;height:100%;transition:transform .3s}.gallery-thumbnail:hover{border-color:var(--text-muted);box-shadow:0 4px 6px -1px #0000001a}.gallery-thumbnail:hover img{transform:scale(1.05)}.thumbnail-overlay{opacity:0;background:#0000004d;justify-content:center;align-items:center;transition:opacity .2s;display:flex;position:absolute;inset:0}.thumbnail-overlay svg{color:var(--primary-foreground);filter:drop-shadow(0 2px 4px #00000080)}.gallery-thumbnail:hover .thumbnail-overlay{opacity:1}.lightbox-overlay{z-index:9999;background:#000000e6;justify-content:center;align-items:center;padding:2rem;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}.lightbox-content{max-width:90vw;max-height:90vh;position:relative}.lightbox-image{object-fit:contain;border-radius:.5rem;max-width:100%;max-height:90vh;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.lightbox-close{color:var(--primary-foreground);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:.5rem;transition:background .2s;display:flex;position:absolute;top:-3rem;right:-1rem}.lightbox-close:hover{background:#ffffff1a}.lightbox-nav{color:var(--primary-foreground);cursor:pointer;z-index:10;background:#ffffff1a;border:none;border-radius:50%;justify-content:center;align-items:center;padding:1rem;transition:all .2s;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.lightbox-nav:hover{background:#fff3;transform:translateY(-50%)scale(1.1)}.lightbox-nav.prev{left:-4rem}.lightbox-nav.next{right:-4rem}.lightbox-counter{color:var(--primary-foreground);background:#00000080;border-radius:1rem;padding:.25rem .75rem;font-size:.9rem;position:absolute;bottom:-2.5rem;left:50%;transform:translate(-50%)}@media (max-width:768px){.lightbox-nav.prev{left:0}.lightbox-nav.next{right:0}}.vehicle-driver-tab{padding:.5rem 0}.driver-status-card{background:var(--card);border:1px solid var(--border);border-radius:.75rem;padding:1.5rem}.driver-status-card.no-driver{background:var(--background);border-style:dashed}.empty-driver-state{text-align:center;padding:2rem}.empty-driver-state .empty-icon{background:var(--border);width:4rem;height:4rem;color:var(--text-muted);border-radius:50%;justify-content:center;align-items:center;margin:0 auto 1rem;display:flex}.empty-driver-state h3{color:var(--text-primary);margin:0 0 .5rem;font-size:1.125rem;font-weight:600}.empty-driver-state p{color:var(--text-secondary);margin:0 0 1.5rem;max-width:400px;margin-inline:auto;font-size:.875rem}.driver-details{align-items:flex-start;gap:1.5rem;display:flex}.driver-avatar-large{background:linear-gradient(135deg,#3b82f6,#1d4ed8);border:3px solid #fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:5rem;height:5rem;display:flex;box-shadow:0 4px 12px #0000001a}.driver-avatar-large span{color:var(--primary-foreground);font-size:1.5rem;font-weight:700}.driver-info{flex:1}.driver-header{justify-content:space-between;align-items:flex-start;margin-bottom:.75rem;display:flex}.driver-header h3{color:var(--text-primary);margin:0;font-size:1.25rem;font-weight:600}.driver-header .driver-id{color:var(--text-secondary);margin:.25rem 0 0;font-size:.8rem}.status-badge.active{color:#166534;background:#dcfce7;border:1px solid #bbf7d0;border-radius:9999px;padding:.25rem .75rem;font-size:.75rem;font-weight:500}.driver-meta{flex-wrap:wrap;gap:1rem;margin-bottom:1rem;display:flex}.driver-meta .meta-item{color:var(--text-secondary);align-items:center;gap:.5rem;font-size:.875rem;display:flex}.driver-meta .meta-item svg{color:var(--text-muted)}.driver-actions{gap:.75rem;display:flex}.btn-danger-outline{background:var(--danger-light);color:var(--danger);cursor:pointer;border:1px solid #fca5a5;border-radius:.5rem;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;transition:all .15s;display:flex}.btn-danger-outline:hover{background:#fee2e2}.btn-danger-outline:disabled{opacity:.6;cursor:not-allowed}.driver-select-modal{max-width:480px}.modal-search{border-bottom:1px solid var(--border);background:var(--background);align-items:center;gap:.75rem;padding:1rem 1.5rem;display:flex}.modal-search svg{color:var(--text-muted);flex-shrink:0}.modal-search input{color:var(--text-primary);background:0 0;border:none;flex:1;font-size:.9rem}.modal-search input::placeholder{color:var(--text-muted)}.driver-list{max-height:320px;overflow-y:auto}.driver-list-loading,.driver-list-error,.driver-list-empty{color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;padding:3rem 1.5rem;display:flex}.driver-list-error button{background:var(--primary-light);color:var(--primary);cursor:pointer;border:none;border-radius:.375rem;margin-top:.5rem;padding:.5rem 1rem;font-size:.8rem}.driver-list-item{border-bottom:1px solid var(--muted);cursor:pointer;align-items:center;gap:.75rem;padding:.875rem 1.5rem;transition:background-color .15s;display:flex}.driver-list-item:hover{background:var(--background)}.driver-list-item.selected{background:var(--primary-light)}.driver-list-item:last-child{border-bottom:none}.driver-avatar-small{background:var(--border);width:2.5rem;height:2.5rem;color:var(--text-secondary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.9rem;font-weight:600;display:flex}.driver-item-info{flex:1;min-width:0}.driver-item-info h4{color:var(--text-primary);margin:0;font-size:.9rem;font-weight:500}.driver-item-meta{gap:1rem;margin-top:.25rem;display:flex}.driver-item-meta span{color:var(--text-secondary);align-items:center;gap:.25rem;font-size:.75rem;display:flex}.driver-selected-check{color:var(--primary);flex-shrink:0}@media (max-width:640px){.driver-details{text-align:center;flex-direction:column;align-items:center}.driver-header{flex-direction:column;align-items:center}.driver-meta,.driver-actions{justify-content:center}}.mobile-vehicles-list,.fab-add-vehicle{display:none}@media (max-width:768px){.desktop-only,.vehicle-table-container{display:none!important}.toolbar-container{top:calc(64px + var(--safe-top));z-index:10;-webkit-backdrop-filter:blur(12px);background:#f8fafce6;flex-direction:column;align-items:stretch;gap:.75rem;position:sticky}.toolbar-left,.search-wrapper,.filter-group{width:100%}.mobile-vehicles-list{box-sizing:border-box;flex-direction:column;gap:.875rem;width:100%;max-width:100%;overflow:hidden;display:flex!important}.mobile-vehicle-card{background:var(--card);border:1px solid var(--border);cursor:pointer;box-sizing:border-box;border-radius:12px;flex-direction:column;gap:.75rem;min-width:0;max-width:100%;padding:1rem;transition:all .2s;display:flex;overflow:hidden;box-shadow:0 1px 3px #0000000d}.mobile-vehicle-card:hover{border-color:var(--primary);box-shadow:0 4px 12px #2563eb14}.card-header-mobile{border-bottom:1px dashed #e2e8f0;justify-content:space-between;align-items:flex-start;min-width:0;padding-bottom:.5rem;display:flex}.vehicle-title-group{flex-direction:column;gap:.125rem;min-width:0;display:flex;overflow:hidden}.vehicle-title-group .registration-number{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:1.0625rem;font-weight:700;overflow:hidden}.vehicle-title-group .vehicle-model{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.card-body-mobile{flex-direction:column;gap:.75rem;min-width:0;display:flex;overflow:hidden}.card-meta-row{flex-wrap:wrap;align-items:center;gap:.5rem;min-width:0;display:flex}.driver-info-mini{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:.375rem;min-width:0;margin-inline-start:auto;font-size:.75rem;font-weight:500;display:flex;overflow:hidden}.driver-info-mini .icon-muted{color:var(--text-muted)}.compliance-grid-mobile{background-color:var(--background);border:1px solid var(--border);box-sizing:border-box;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;min-width:0;max-width:100%;padding:.75rem;display:grid;overflow:hidden}@media (min-width:480px){.compliance-grid-mobile{grid-template-columns:repeat(3,1fr)}}.compliance-item-mobile{flex-direction:column;gap:.25rem;min-width:0;display:flex;overflow:hidden}.compliance-label{text-transform:uppercase;color:var(--text-secondary);letter-spacing:.5px;white-space:nowrap;text-overflow:ellipsis;font-size:.625rem;font-weight:700;overflow:hidden}.compliance-badge-wrapper{flex-wrap:wrap;align-items:center;gap:.375rem;min-width:0;display:flex}.compliance-badge-wrapper .status-badge{flex-shrink:0;padding:.125rem .5rem;font-size:.6875rem}.remaining-days-mobile{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;font-size:.6875rem;font-weight:500;overflow:hidden}.remaining-days-mobile.expired{color:var(--danger);font-weight:600}.remaining-days-mobile.pending{color:var(--warning-hover);font-weight:600}.remaining-days-mobile.valid{color:var(--success)}.card-actions-mobile{gap:.5rem;margin-top:.25rem;display:flex}.btn-mobile-action{background-color:var(--muted);border:1px solid var(--border);color:var(--text-secondary);cursor:pointer;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:.375rem;padding:.5rem;font-size:.75rem;font-weight:600;transition:all .15s;display:flex}.btn-mobile-action:hover{background-color:var(--border);color:var(--text-primary);border-color:var(--text-disabled)}.btn-mobile-action.edit{color:var(--primary)}.btn-mobile-action.delete{color:var(--danger)}.btn-mobile-action.delete:hover{background-color:var(--danger-light);border-color:#fca5a5}.fab-add-vehicle{bottom:calc(1.5rem + var(--safe-bottom));width:3.5rem;height:3.5rem;color:var(--primary-foreground);cursor:pointer;z-index:50;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border:none;border-radius:50%;justify-content:center;align-items:center;transition:all .2s cubic-bezier(.175,.885,.32,1.275);display:flex;position:fixed;right:1.5rem;box-shadow:0 4px 12px #2563eb66}.fab-add-vehicle:active{transform:scale(.9);box-shadow:0 2px 8px #2563eb66}.fleet-page{padding-bottom:5rem}.modal-overlay{align-items:flex-end;padding:0}.delete-modal{border-radius:1.25rem 1.25rem 0 0;max-width:100%;padding:1.5rem 1.25rem}.delete-modal-actions{flex-direction:row;gap:.5rem}.btn-cancel-modal,.btn-delete-confirm{flex:1;justify-content:center;min-height:48px;font-size:.9375rem}.summary-grid{grid-template-columns:repeat(2,1fr);gap:.5rem}.summary-card{padding:.75rem}.card-value{font-size:1rem}.pagination{flex-direction:column;align-items:center;gap:.75rem}.pagination-buttons button{min-height:44px}.filter-dropdown{z-index:200;border-radius:1.25rem 1.25rem 0 0;width:auto;margin-top:0;padding:1.25rem;position:fixed;inset:auto .75rem 0}.filter-dropdown select{min-height:44px;font-size:.9375rem}.breadcrumbs{display:none!important}.detail-back-btn{display:flex!important}.vehicle-detail{background:var(--background);min-height:100vh}.vehicle-detail-card{box-shadow:none;border-bottom:1px solid var(--border);border-radius:0;margin-bottom:1rem}.detail-header{border-radius:0;position:relative}.detail-header-content{padding:1rem 1rem .5rem}.detail-title-group{gap:.75rem}.detail-icon{border-radius:8px;width:44px;height:44px}.detail-icon svg{width:22px!important;height:22px!important}.detail-title h1{font-weight:700;line-height:1.2;gap:.5rem!important;font-size:1.25rem!important}.detail-title p{margin-top:.125rem!important;font-size:.75rem!important}.detail-actions{width:100%;margin-top:.5rem}.detail-actions button,.detail-actions a{min-height:44px;justify-content:center!important;width:100%!important;font-size:.875rem!important}.detail-tabs{gap:1.25rem;padding:0 1rem}.tab-btn{padding:.75rem 0;font-size:.8125rem}.detail-content{padding:1rem}.info-card{border-radius:12px;padding:1rem}.info-card h3{margin-bottom:.75rem;font-size:.9375rem}.info-list{grid-template-columns:1fr;gap:.75rem}.info-list dt{color:var(--text-secondary);font-size:.75rem}.info-list dd{margin:0;font-size:.875rem;font-weight:600}}[data-theme=dark] .fleet-page{background-color:var(--background);color:var(--text-primary)}[data-theme=dark] .page-header-content h1,[data-theme=dark] .page-title h1{color:var(--text-primary)}[data-theme=dark] .page-header-content p,[data-theme=dark] .page-title p{color:var(--text-secondary)}[data-theme=dark] .summary-card{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .card-title{color:var(--text-secondary)}[data-theme=dark] .card-value{color:var(--text-primary)}[data-theme=dark] .search-input{background:var(--surface-2);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .search-input:focus{border-color:var(--primary)}[data-theme=dark] .search-input::placeholder{color:var(--text-muted)}[data-theme=dark] .filter-pills{background:var(--surface-2);border-color:var(--border)}[data-theme=dark] .filter-pill{color:var(--text-secondary)}[data-theme=dark] .filter-pill:hover{background:var(--surface-3);color:var(--text-primary)}[data-theme=dark] .filter-pill.active{background:var(--surface-1);color:var(--text-primary);box-shadow:0 1px 2px #0000004d}[data-theme=dark] .btn-secondary{background:var(--surface-1);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .btn-secondary:hover{background:var(--surface-2);border-color:var(--border-hover)}[data-theme=dark] .vehicle-table-container{background:#141d2e;border-color:#1e293b99}[data-theme=dark] .vehicle-table thead{background:#1a2333;border-bottom-color:#1e293b99}[data-theme=dark] .vehicle-table th{color:var(--text-muted)}[data-theme=dark] .vehicle-table tbody tr{border-bottom-color:#1e293b99}[data-theme=dark] .vehicle-table tbody tr:hover{background:#1e293b4d}[data-theme=dark] .vehicle-table td,[data-theme=dark] .registration-number{color:var(--text-disabled)}[data-theme=dark] .vehicle-model{color:var(--text-secondary)}[data-theme=dark] .badge-default{color:var(--text-muted);background:#94a3b81a;border-color:#94a3b833}[data-theme=dark] .trend-pill.trend-neutral{color:var(--text-secondary);background:#ffffff1a;border-color:#0000}[data-theme=dark] .badge-green{color:#34d399;background:#34d3991a;border-color:#34d39933}[data-theme=dark] .ownership-badge.owned,[data-theme=dark] .trend-pill.trend-up{background:var(--success-bg);color:var(--success);border-color:#0000}[data-theme=dark] .badge-orange{color:#fbbf24;background:#fbbf241a;border-color:#fbbf2433}[data-theme=dark] .ownership-badge.vendor{background:var(--warning-bg);color:var(--warning);border-color:#0000}[data-theme=dark] .badge-red{color:#fb7185;background:#fb71851a;border-color:#fb718533}[data-theme=dark] .trend-pill.trend-down{background:var(--danger-bg);color:var(--danger);border-color:#0000}[data-theme=dark] .action-btn{color:var(--text-muted)}[data-theme=dark] .action-btn:hover{background:#1e293bcc}[data-theme=dark] .action-btn.edit:hover{color:#34d399;background:#34d3991a}[data-theme=dark] .action-btn.delete:hover{color:#fb7185;background:#fb71851a}[data-theme=dark] .vehicle-type-badge{background:var(--info-bg);color:#60a5fa}[data-theme=dark] .loading-state,[data-theme=dark] .error-state,[data-theme=dark] .empty-state{background:var(--surface-1);border-color:var(--border);color:var(--text-muted)}[data-theme=dark] .modal-overlay{background:var(--overlay-bg)}[data-theme=dark] .delete-modal{background:var(--surface-1)}[data-theme=dark] .delete-modal h3{color:var(--text-primary)}[data-theme=dark] .delete-modal p{color:var(--text-secondary)}[data-theme=dark] .btn-cancel-modal{background:var(--surface-2);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .pagination-info{color:var(--text-muted)}[data-theme=dark] .pagination-buttons button{background:var(--surface-1);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .pagination-buttons button:hover:not(:disabled){background:var(--surface-2)}[data-theme=dark] .filter-dropdown{background:var(--surface-1);border-color:var(--border);box-shadow:0 10px 25px #00000080}[data-theme=dark] .filter-group label{color:var(--text-muted)}[data-theme=dark] .filter-group select{background:var(--surface-2);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .mobile-vehicle-card{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .mobile-vehicle-card:active{background:var(--surface-2)}[data-theme=dark] .vehicle-title-group .registration-number{color:var(--text-primary)}[data-theme=dark] .vehicle-title-group .vehicle-model{color:var(--text-muted)}[data-theme=dark] .card-header-mobile{border-bottom-color:var(--border)}[data-theme=dark] .driver-info-mini{color:var(--text-secondary)}[data-theme=dark] .compliance-grid-mobile{background-color:var(--surface-2);border-color:var(--border)}[data-theme=dark] .btn-mobile-action{background-color:var(--surface-2);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .btn-mobile-action:hover{background-color:var(--surface-3);color:var(--text-primary)}[data-theme=dark] .btn-mobile-action.delete:hover{background-color:var(--danger-bg)}[data-theme=dark] .vehicle-card-body{border-bottom-color:var(--surface-2)}[data-theme=dark] .vehicle-card-actions .action-btn{background:var(--surface-2);border-color:var(--border)}[data-theme=dark] .fab-add-vehicle{box-shadow:0 4px 12px #2563eb80}[data-theme=dark] .bb-modal{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .bb-modal-header{border-bottom-color:var(--border)}[data-theme=dark] .bb-modal-header h2{color:var(--text-primary)}[data-theme=dark] .bb-label{color:var(--text-secondary)}[data-theme=dark] .bb-input,[data-theme=dark] .bb-select{background:var(--surface-2);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .bb-input:focus,[data-theme=dark] .bb-select:focus{border-color:var(--primary);background:var(--surface-1)}[data-theme=dark] .bb-step-indicator{background:var(--surface-2);border-color:var(--border)}[data-theme=dark] .bb-modal-footer{border-top-color:var(--border);background:var(--surface-2)}[data-theme=dark] .vehicle-detail{background:var(--background)}[data-theme=dark] .detail-loading,[data-theme=dark] .detail-error{color:var(--text-muted)}[data-theme=dark] .vehicle-detail-card{background:var(--surface-1);box-shadow:0 1px 3px #0006}[data-theme=dark] .detail-header{background:var(--surface-1);border-bottom-color:var(--border)}[data-theme=dark] .detail-back-btn{color:var(--text-secondary)}[data-theme=dark] .detail-back-btn:hover{color:var(--text-primary);background:var(--surface-2)}[data-theme=dark] .breadcrumbs{color:var(--text-muted)}[data-theme=dark] .breadcrumb-item:hover{color:var(--primary)}[data-theme=dark] .breadcrumb-separator{color:var(--text-muted)}[data-theme=dark] .breadcrumb-current{color:var(--text-primary)}[data-theme=dark] .detail-icon{color:#60a5fa;background:linear-gradient(135deg,#2563eb33 0%,#2563eb1a 100%)}[data-theme=dark] .detail-title h1{color:var(--text-primary)}[data-theme=dark] .detail-title p,[data-theme=dark] .detail-tabs .tab-btn{color:var(--text-secondary)}[data-theme=dark] .detail-tabs .tab-btn:hover{color:var(--text-primary)}[data-theme=dark] .detail-tabs .tab-btn.active{color:var(--primary);border-bottom-color:var(--primary)}[data-theme=dark] .info-card{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .info-card h3{color:var(--text-primary)}[data-theme=dark] .info-card h3 svg,[data-theme=dark] .info-list dt{color:var(--text-muted)}[data-theme=dark] .info-list dd{color:var(--text-primary)}[data-theme=dark] .info-list dd.mono{background:var(--surface-2);color:var(--text-primary)}[data-theme=dark] .bluebook-id{background:var(--surface-2);color:var(--text-muted)}[data-theme=dark] .driver-card-full{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .driver-avatar{background:var(--surface-2);box-shadow:0 4px 12px #0006}[data-theme=dark] .driver-info-full h2{color:var(--text-primary)}[data-theme=dark] .driver-phone{color:var(--text-secondary)}[data-theme=dark] .no-driver-card,[data-theme=dark] .no-bluebook-card{background:var(--surface-1);border-color:var(--border);color:var(--text-muted)}[data-theme=dark] .no-driver-card h3,[data-theme=dark] .no-bluebook-card h3{color:var(--text-primary)}[data-theme=dark] .no-driver-card svg,[data-theme=dark] .no-bluebook-card svg{color:var(--text-muted)}[data-theme=dark] .samiti-header{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .samiti-title h3{color:var(--text-primary)}[data-theme=dark] .samiti-loading,[data-theme=dark] .samiti-empty{background:var(--surface-1);border-color:var(--border);color:var(--text-muted)}[data-theme=dark] .samiti-empty h4{color:var(--text-primary)}[data-theme=dark] .samiti-table-container{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .samiti-table thead{background:var(--surface-2)}[data-theme=dark] .samiti-table th{color:var(--text-secondary);border-bottom-color:var(--border)}[data-theme=dark] .samiti-table tbody tr{border-bottom-color:var(--surface-2)}[data-theme=dark] .samiti-table tbody tr:hover{background:var(--hover-bg)}[data-theme=dark] .samiti-table td{color:var(--text-secondary)}[data-theme=dark] .samiti-name{color:var(--text-primary)}[data-theme=dark] .samiti-reg{color:var(--text-muted)}[data-theme=dark] .payment-date{color:var(--text-secondary)}[data-theme=dark] .payment-date svg{color:var(--text-muted)}[data-theme=dark] .payment-amount{color:var(--text-primary)}[data-theme=dark] .payment-receipt,[data-theme=dark] .payment-remarks{color:var(--text-muted)}[data-theme=dark] .payment-type-badge.green{background:var(--success-bg);color:var(--success);border-color:#0000}[data-theme=dark] .payment-type-badge.blue{background:var(--info-bg);color:#60a5fa;border-color:#0000}[data-theme=dark] .payment-type-badge.purple{color:#a78bfa;background:#7c3aed26;border-color:#0000}[data-theme=dark] .payment-type-badge.gray{background:var(--surface-2);color:var(--text-secondary);border-color:#0000}[data-theme=dark] .modal-content{background:var(--surface-1)}[data-theme=dark] .modal-header{border-bottom-color:var(--border)}[data-theme=dark] .modal-header h3{color:var(--text-primary)}[data-theme=dark] .modal-close:hover{color:var(--text-primary);background:var(--surface-2)}[data-theme=dark] .modal-body{background:var(--surface-1)}[data-theme=dark] .modal-footer{background:var(--surface-2);border-top-color:var(--border)}[data-theme=dark] .form-group label{color:var(--text-secondary)}[data-theme=dark] .form-input,[data-theme=dark] .form-select{background:var(--surface-2);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .form-input:focus,[data-theme=dark] .form-select:focus{border-color:var(--primary);background:var(--surface-1)}[data-theme=dark] .form-textarea{background:var(--surface-2);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .form-textarea:focus{border-color:var(--primary);background:var(--surface-1)}@media (max-width:768px){[data-theme=dark] .toolbar-container{background:#0b1120e6}}[data-theme=dark] .back-button{background:var(--surface-1);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .back-button:hover{background:var(--surface-2);border-color:var(--primary);color:var(--primary)}[data-theme=dark] .card-header-row h3{color:var(--text-primary)}[data-theme=dark] .detail-actions .btn-secondary{background:var(--surface-1);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .detail-actions .btn-secondary:hover{background:var(--surface-2);color:var(--text-primary)}[data-theme=dark] .toggle-mask-btn{color:#60a5fa}[data-theme=dark]{--card-bg:var(--surface-1);--slate-50:var(--surface-1);--slate-100:var(--surface-2);--slate-200:var(--border);--slate-300:var(--text-muted);--slate-400:var(--text-muted);--slate-500:var(--text-secondary);--slate-600:var(--text-secondary);--slate-700:var(--text-primary)}[data-theme=dark] .vb-card,[data-theme=dark] .vb-section-card{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .vb-top-toolbar{border-bottom-color:var(--surface-2)}[data-theme=dark] .vb-btn-default{background:var(--surface-1);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .vb-btn-default:hover{background:var(--surface-2);border-color:var(--border)}[data-theme=dark] .vb-value{color:var(--text-secondary)}[data-theme=dark] .vb-value.highlight{color:var(--text-primary)}[data-theme=dark] .vb-critical-bar{background:var(--surface-2);border-color:var(--border)}[data-theme=dark] .vb-critical-label svg{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .vb-critical-title,[data-theme=dark] .vb-critical-val,[data-theme=dark] .vb-section-title{color:var(--text-primary)}[data-theme=dark] .vb-gallery-item,[data-theme=dark] .vb-gallery-empty,[data-theme=dark] .vb-empty-state{background:var(--surface-2);border-color:var(--border)}[data-theme=dark] .vb-empty-icon,[data-theme=dark] .vb-table-header{background:var(--surface-1)}[data-theme=dark] .vb-tr{border-bottom-color:var(--surface-2)}[data-theme=dark] .vb-tr:hover{background:var(--hover-bg)}[data-theme=dark] .vb-td-main{color:var(--text-primary)}[data-theme=dark] .vb-card-footer{border-top-color:var(--border);background:var(--surface-2)}[data-theme=dark] .no-bluebook-card,[data-theme=dark] .driver-identity-card{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .identity-header{background:var(--surface-1);border-bottom-color:var(--surface-2)}[data-theme=dark] .identity-info h2{color:var(--text-primary)}[data-theme=dark] .info-icon{background:var(--surface-2);color:var(--text-muted)}[data-theme=dark] .info-value,[data-theme=dark] .salary-amount{color:var(--text-primary)}[data-theme=dark] .grid-divider{background:var(--surface-2)}[data-theme=dark] .driver-docs-actions-row{border-top-color:var(--surface-2)}[data-theme=dark] .license-doc-card{background:var(--surface-2);border-color:var(--border)}[data-theme=dark] .license-doc-card:hover{background:var(--surface-1);border-color:#6366f14d}[data-theme=dark] .doc-icon-wrapper{background:var(--surface-1)}[data-theme=dark] .doc-title{color:var(--text-secondary)}[data-theme=dark] .identity-footer{background:var(--surface-2);border-top-color:var(--border)}[data-theme=dark] .history-card{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .history-header h3{color:var(--text-primary)}[data-theme=dark] .timeline-dot{border-color:var(--surface-1)}[data-theme=dark] .history-timeline{border-left-color:var(--border)}[data-theme=dark] .timeline-title{color:var(--text-secondary)}[data-theme=dark] .view-log-btn{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .view-log-btn:hover{background:var(--surface-2)}[data-theme=dark] .unassign-btn-outline{background:var(--surface-1);border-color:#dc26264d}[data-theme=dark] .unassign-btn-outline:hover{background:var(--danger-bg)}[data-theme=dark] .driver-empty-state{background:var(--surface-2);border-color:var(--border)}[data-theme=dark] .driver-empty-state h3{color:var(--text-primary)}[data-theme=dark] .driver-empty-state p{color:var(--text-secondary)}[data-theme=dark] .jt-card,[data-theme=dark] .ins-card,[data-theme=dark] .rp-card{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .jt-card-header-bar,[data-theme=dark] .ins-card-header-bar,[data-theme=dark] .rp-card-header-bar{border-bottom-color:var(--surface-2)}[data-theme=dark] .jt-no-image,[data-theme=dark] .ins-no-image,[data-theme=dark] .rp-no-image{background:var(--surface-2);border-color:var(--border)}[data-theme=dark] .jt-table-header tr,[data-theme=dark] .ins-table-header tr,[data-theme=dark] .rp-table-header tr{background:var(--surface-2);border-bottom-color:var(--border)}[data-theme=dark] .jt-tr:hover,[data-theme=dark] .ins-tr:hover,[data-theme=dark] .rp-tr:hover{background:var(--hover-bg)}[data-theme=dark] .jt-td,[data-theme=dark] .ins-td,[data-theme=dark] .rp-td{border-bottom-color:var(--surface-2)}[data-theme=dark] .jt-empty-icon-circle,[data-theme=dark] .ins-empty-icon-circle,[data-theme=dark] .rp-empty-icon-circle{background:var(--surface-2)}[data-theme=dark] .jt-modal,[data-theme=dark] .ins-modal,[data-theme=dark] .rp-modal{background:var(--surface-1);box-shadow:0 25px 50px #0006}[data-theme=dark] .jt-modal-header,[data-theme=dark] .ins-modal-header,[data-theme=dark] .rp-modal-header{border-bottom-color:var(--border)}[data-theme=dark] .jt-modal-footer,[data-theme=dark] .ins-modal-footer,[data-theme=dark] .rp-modal-footer{background:var(--surface-2);border-top-color:var(--border)}[data-theme=dark] .jt-form-input,[data-theme=dark] .ins-form-input,[data-theme=dark] .rp-form-input{background:var(--surface-2);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .jt-form-input:focus,[data-theme=dark] .ins-form-input:focus,[data-theme=dark] .rp-form-input:focus{background:var(--surface-1)}[data-theme=dark] .jt-btn-empty,[data-theme=dark] .ins-btn-empty,[data-theme=dark] .rp-btn-empty{background:var(--surface-1);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .jt-upload-dropzone{background:var(--surface-2);border-color:var(--border)}[data-theme=dark] .jt-upload-dropzone:hover{background:var(--surface-1)}[data-theme=dark] .jt-upload-icon-circle{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .jt-btn-cancel,[data-theme=dark] .ins-btn-cancel,[data-theme=dark] .rp-btn-cancel{color:var(--text-secondary)}[data-theme=dark] .jt-btn-cancel:hover,[data-theme=dark] .ins-btn-cancel:hover,[data-theme=dark] .rp-btn-cancel:hover{background:var(--surface-2);color:var(--text-primary)}[data-theme=dark] .samiti-enrollment-card{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .samiti-enrollment-details h3{color:var(--text-primary)}[data-theme=dark] .samiti-enrollment-meta{color:var(--text-secondary)}[data-theme=dark] .samiti-enrollment-icon{background:linear-gradient(135deg,#2563eb33 0%,#2563eb1a 100%)}[data-theme=dark] .btn-edit-enrollment{background:var(--surface-1);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .btn-edit-enrollment:hover{background:var(--surface-2)}[data-theme=dark] .btn-remove-enrollment{background:var(--surface-1);border-color:#dc26264d}[data-theme=dark] .btn-remove-enrollment:hover{background:var(--danger-bg)}[data-theme=dark] .samiti-empty-state{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .samiti-empty-icon{background:var(--surface-2)}[data-theme=dark] .samiti-empty-state h3{color:var(--text-primary)}[data-theme=dark] .samiti-empty-state p{color:var(--text-secondary)}[data-theme=dark] .payment-history-section{background:var(--surface-1);border-color:var(--border)}[data-theme=dark] .payment-history-header{border-bottom-color:var(--surface-2)}[data-theme=dark] .payment-history-title{color:var(--text-primary)}[data-theme=dark] .payment-table thead{background:var(--surface-2)}[data-theme=dark] .payment-table th{color:var(--text-secondary);border-bottom-color:var(--border)}[data-theme=dark] .payment-table tbody tr{border-bottom-color:var(--surface-2)}[data-theme=dark] .payment-table tbody tr:hover{background:var(--hover-bg)}[data-theme=dark] .payment-table td{color:var(--text-secondary)}[data-theme=dark] .amount-cell{color:var(--text-primary)}[data-theme=dark] .payment-empty-state{color:var(--text-muted)}[data-theme=dark] .samiti-modal-card{background:var(--surface-1)}[data-theme=dark] .samiti-modal-header{border-bottom-color:var(--surface-2)}[data-theme=dark] .samiti-modal-header h3{color:var(--text-primary)}[data-theme=dark] .samiti-modal-close:hover{background:var(--surface-2);color:var(--text-primary)}[data-theme=dark] .samiti-modal-footer{background:var(--surface-2);border-top-color:var(--border)}[data-theme=dark] .samiti-form-input,[data-theme=dark] .samiti-form-textarea{background:var(--surface-2);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .samiti-form-input:focus,[data-theme=dark] .samiti-form-textarea:focus{border-color:var(--primary);background:var(--surface-1)}[data-theme=dark] .samiti-form-group label{color:var(--text-secondary)}[data-theme=dark] .btn-modal-cancel{background:var(--surface-2);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .btn-modal-cancel:hover{background:var(--surface-3)}[data-theme=dark] .btn-cancel-delete{background:var(--surface-2);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .btn-cancel-delete:hover{background:var(--surface-3)}[data-theme=dark] .delete-confirm-content h4{color:var(--text-primary)}[data-theme=dark] .delete-confirm-content p{color:var(--text-secondary)}[data-theme=dark] .delete-confirm-icon{background:var(--danger-bg)}[data-theme=dark] .payment-type-badge.new-registration{color:#a78bfa;background:#7c3aed26}[data-theme=dark] .payment-type-badge.monthly-renewal{background:var(--info-bg);color:#60a5fa}[data-theme=dark] .payment-type-badge.yearly-renewal{background:var(--warning-bg);color:var(--warning)}[data-theme=dark] .payment-status-badge.paid{background:var(--success-bg);color:var(--success)}[data-theme=dark] .payment-status-badge.pending{background:var(--warning-bg);color:var(--warning)}[data-theme=dark] .payment-status-badge.overdue{background:var(--danger-bg);color:var(--danger)}[data-theme=dark] .payment-table tbody tr.overdue-row{background:var(--danger-bg)}[data-theme=dark] .payment-table tbody tr.overdue-row:hover{background:#f8717133}[data-theme=dark] .btn-pay-action{background:var(--success-bg);color:var(--success);border-color:#0000}[data-theme=dark] .btn-pay-action:hover{background:#4ade8040}[data-theme=dark] .driver-modal-overlay{background:var(--overlay-bg)}[data-theme=dark] .driver-modal-card{background:var(--surface-1)}[data-theme=dark] .driver-modal-card h3{color:var(--text-primary)}[data-theme=dark] .driver-list-item{border-bottom-color:var(--surface-2)}[data-theme=dark] .driver-list-item:hover{background:var(--hover-bg)}[data-theme=dark] .driver-list-name{color:var(--text-primary)}[data-theme=dark] .driver-list-phone{color:var(--text-muted)}@keyframes skeleton-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.skeleton-badge{background:var(--border);border-radius:9999px;width:72px;height:24px;display:inline-block;position:relative;overflow:hidden}.skeleton-badge .skeleton-shimmer{background:linear-gradient(90deg,#0000 0%,#ffffff80 50%,#0000 100%);animation:1.5s ease-in-out infinite skeleton-shimmer;position:absolute;inset:0}[data-theme=dark] .skeleton-badge{background:var(--surface-2,#334155)}[data-theme=dark] .skeleton-badge .skeleton-shimmer{background:linear-gradient(90deg,#0000 0%,#ffffff14 50%,#0000 100%)}.skeleton-text{background:var(--border);border-radius:4px;height:16px;display:inline-block;position:relative;overflow:hidden}.skeleton-text .skeleton-shimmer{background:linear-gradient(90deg,#0000 0%,#ffffff80 50%,#0000 100%);animation:1.5s ease-in-out infinite skeleton-shimmer;position:absolute;inset:0}[data-theme=dark] .skeleton-text{background:var(--surface-2,#334155)}[data-theme=dark] .skeleton-text .skeleton-shimmer{background:linear-gradient(90deg,#0000 0%,#ffffff14 50%,#0000 100%)}.compliance-status-cell{text-align:left;flex-direction:column;align-items:flex-start;gap:.35rem;display:flex}.compliance-status-cell .status-badge{text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;border:1px solid #0000;border-radius:9999px;padding:3px 10px;font-size:10px;font-weight:700;display:inline-block}.expiry-remaining-text{letter-spacing:-.025em;opacity:1;margin-top:2px;margin-inline-start:0;font-size:11px;font-weight:500}.expiry-remaining-text.valid{color:#10b981cc}.expiry-remaining-text.expired{color:#ef4444e6}.expiry-remaining-text.pending{color:#f59e0be6}[data-theme=dark] .expiry-remaining-text{opacity:1}[data-theme=dark] .expiry-remaining-text.valid{color:#34d399cc}[data-theme=dark] .expiry-remaining-text.expired{color:#fb7185e6}[data-theme=dark] .expiry-remaining-text.pending{color:#fbbf24e6}.registration-col{width:160px;max-width:160px}.vehicle-table th.registration-col,.vehicle-table td.registration-col{padding-inline-end:.5rem}.compliance-col{width:130px;max-width:130px}.vehicle-table th.compliance-col,.vehicle-table td.compliance-col{padding-inline:.875rem}.driver-col{width:180px;max-width:180px}.actions-col{width:110px;max-width:110px}.vehicle-table th.actions-col,.vehicle-table td.actions-col{padding-inline:.5rem 1.25rem}.compliance-select-wrapper{align-items:center;display:inline-flex;position:relative}.compliance-select{background:var(--background);border:1px solid var(--border);color:var(--text-secondary);cursor:pointer;appearance:none;border-radius:.5rem;padding:.375rem 2rem .375rem .75rem;font-size:.8rem;font-weight:500;transition:all .2s}.compliance-select-wrapper:after{content:"";pointer-events:none;border-top:5px solid #64748b;border-left:4px solid #0000;border-right:4px solid #0000;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.compliance-select:hover{background:var(--border);color:var(--text-primary)}.compliance-select:focus{border-color:var(--primary);box-shadow:var(--shadow-focus)}[data-theme=dark] .compliance-select{background:var(--surface-1);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .compliance-select:hover{background:var(--surface-2);color:var(--text-primary)}[data-theme=dark] .compliance-select-wrapper:after{border-top-color:var(--text-secondary)}.toolbar-filters{align-items:center;gap:1rem;display:flex}.status-select-wrapper{align-items:center;display:inline-flex;position:relative}.status-select{background:var(--background);border:1px solid var(--border);color:var(--text-secondary);cursor:pointer;appearance:none;border-radius:.5rem;padding:.375rem 2rem .375rem .75rem;font-size:.8rem;font-weight:500;transition:all .2s}.status-select-wrapper:after{content:"";pointer-events:none;border-top:5px solid #64748b;border-left:4px solid #0000;border-right:4px solid #0000;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.status-select:hover{background:var(--border);color:var(--text-primary)}.status-select:focus{border-color:var(--primary);box-shadow:var(--shadow-focus)}[data-theme=dark] .status-select{background:var(--surface-1);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .status-select:hover{background:var(--surface-2);color:var(--text-primary)}[data-theme=dark] .status-select-wrapper:after{border-top-color:var(--text-secondary)}@media (max-width:768px){.toolbar-filters{gap:.5rem;width:100%;display:flex}.status-select-wrapper,.compliance-select-wrapper{flex:1;min-width:0}.status-select,.compliance-select{width:100%;min-height:var(--touch-target-min,44px);font-size:.8rem}}
