:root {
    --primary-color: #16a249;
    --primary-highlight-color: #13913f;
    --primary-accent-color: #1ecf72;
    --primary-muted-color: #e5f7eb;
    --primary-muted-alt-color: #d7f0df;
    --primary-dark-color: #0d6b2d;
    --primary-rgb: 22, 162, 73;
    --bs-primary: var(--primary-color);
    --bs-primary-rgb: var(--primary-rgb);
    --bs-success: var(--primary-color);
    --bs-success-rgb: var(--primary-rgb);
    --bs-link-color: var(--primary-color);
    --bs-link-hover-color: var(--primary-accent-color);
    --bs-body-color: #000000;
    --bs-body-color-rgb: 0, 0, 0;
    --bs-heading-color: #000000;
}

body {
    color: #000000;
}

a {
    color: var(--primary-color);
}

a:hover,
a:focus {
    color: var(--primary-accent-color);
}

.text-primary,
.link-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-primary.bg-opacity-10 {
    background-color: rgba(var(--primary-rgb), 0.1) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: var(--primary-highlight-color) !important;
    border-color: var(--primary-highlight-color) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25) !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.show > .btn-outline-primary.dropdown-toggle {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25) !important;
}

.badge.bg-primary,
.badge-primary {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.badge.bg-label-primary,
.badge-label-primary,
.bg-label-primary {
    background-color: rgba(var(--primary-rgb), 0.08) !important;
    color: var(--primary-color) !important;
}

.text-muted,
.text-body-secondary,
.text-secondary,
.text-label,
.text-muted small,
.text-muted span,
.text-muted p {
    color: #000000 !important;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.progress-bar,
.pagination .page-item.active .page-link,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.form-range::-webkit-slider-thumb {
    background-color: var(--primary-color);
}

.form-range::-moz-range-thumb {
    background-color: var(--primary-color);
}

.form-range::-ms-thumb {
    background-color: var(--primary-color);
}

.form-control:focus,
.form-select:focus,
.select2-container--default .select2-selection--single:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.timeline-point-primary,
.apexcharts-marker {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.apexcharts-legend-series span.apexcharts-legend-marker {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-white {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}

.btn-white:hover,
.btn-white:focus {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    color: #000000 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

.bg-primary.bg-opacity-40 {
    background-color: rgba(var(--primary-rgb), 0.4) !important;
    color: #ffffff !important;
}

.alert-primary {
    background-color: rgba(var(--primary-rgb), 0.12) !important;
    border-color: rgba(var(--primary-rgb), 0.22) !important;
    color: var(--primary-color) !important;
}

.btn-check:focus + .btn,
.btn:focus,
.btn:active,
.btn.active {
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.28) !important;
}

.authentication-wrapper .nav-tabs {
    border-bottom: none;
    gap: 0.5rem;
}

.authentication-wrapper .nav-tabs .nav-link {
    border: none;
    border-radius: 999px;
    color: #000000 !important;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    transition: all 0.2s ease;
    background-color: rgba(0, 0, 0, 0.04);
}

.authentication-wrapper .nav-tabs .nav-link:hover {
    background-color: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-color) !important;
}

.authentication-wrapper .nav-tabs .nav-link.active,
.authentication-wrapper .nav-tabs .nav-item.show .nav-link {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}

.layout-menu .menu-item .menu-link:hover,
.layout-menu .menu-item.open > .menu-link,
.layout-menu .menu-item.active > .menu-link {
    background-color: rgba(var(--primary-rgb), 0.12) !important;
    color: var(--primary-color) !important;
}

.layout-menu .menu-item .menu-link:hover .menu-icon,
.layout-menu .menu-item.open > .menu-link .menu-icon,
.layout-menu .menu-item.active > .menu-link .menu-icon,
.layout-menu .menu-item .menu-link:hover div,
.layout-menu .menu-item.open > .menu-link div,
.layout-menu .menu-item.active > .menu-link div {
    color: var(--primary-color) !important;
}

.layout-menu .menu-inner > .menu-item.active::before,
.layout-menu .menu-inner > .menu-item.active::after {
    background-color: var(--primary-color) !important;
}

.menu-inner .menu-item.active .menu-icon i,
.menu-inner .menu-item.active .menu-icon svg {
    color: var(--primary-color) !important;
}

.menu-inner .menu-item.active .menu-icon,
.menu-inner .menu-item.active .menu-link span:not(.md-nav-badge),
.menu-inner .menu-item.active .menu-link div {
    color: var(--primary-color) !important;
}

.bg-menu-theme {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.bg-menu-theme .menu-link,
.bg-menu-theme .menu-link .menu-icon,
.bg-menu-theme .menu-item .menu-link div {
    color: #000000 !important;
}

.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
    background-color: rgba(var(--primary-rgb), 0.12) !important;
    color: var(--primary-color) !important;
}

.bg-menu-theme .menu-inner > .menu-item.active:before,
.bg-menu-theme .menu-inner > .menu-item.active:after {
    background-color: var(--primary-color) !important;
}

.bg-menu-theme .menu-header-text {
    color: rgba(0, 0, 0, 0.6) !important;
}

.authentication-wrapper .card-body,
.authentication-wrapper .card-body p,
.authentication-wrapper .card-body span,
.authentication-wrapper .card-body label,
.authentication-wrapper .card-body small {
    color: #000000 !important;
}

.authentication-wrapper a {
    color: var(--primary-color) !important;
    text-decoration: none;
}

.authentication-wrapper a:hover,
.authentication-wrapper a:focus {
    color: var(--primary-highlight-color) !important;
    text-decoration: none;
}

.text-body[href]:hover {
    color: var(--primary-accent-color) !important;
}

.bg-primary.bg-glow {
    box-shadow: 0px 2px 3px 0px rgba(var(--primary-rgb), 0.3) !important;
}

.bg-label-primary,
.badge.bg-label-primary,
.badge-label-primary {
    background-color: var(--primary-muted-color) !important;
    color: var(--primary-color) !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.btn-outline-primary .badge {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.btn-label-primary {
    color: var(--primary-color) !important;
    border-color: transparent !important;
    background: var(--primary-muted-color) !important;
}

.btn-label-primary:hover,
.btn-label-primary:focus,
.btn-label-primary:active,
.btn-label-primary.active,
.btn-label-primary.show.dropdown-toggle {
    color: var(--primary-color) !important;
    background: var(--primary-muted-alt-color) !important;
    border-color: transparent !important;
}

.btn-label-primary.disabled,
.btn-label-primary:disabled {
    color: var(--primary-color) !important;
    border-color: transparent !important;
    background: var(--primary-muted-color) !important;
    box-shadow: none !important;
}

.list-group-item-primary {
    background-color: var(--primary-muted-color) !important;
    border-color: var(--primary-muted-color) !important;
    color: var(--primary-color) !important;
}

.list-group-item-primary:hover,
.list-group-item-primary:focus {
    background-color: var(--primary-muted-alt-color) !important;
    color: var(--primary-color) !important;
}

.list-group-item-primary.active,
.list-group-item-primary.active:hover,
.list-group-item-primary.active:focus {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.dropdown-notifications-item:not(.mark-as-read) .dropdown-notifications-read span,
.dropdown-item:not(.disabled).active,
.dropdown-item:not(.disabled):active {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link.active:hover,
.nav-tabs .nav-link.active:focus {
    box-shadow: 0 -2px 0 var(--primary-color) inset !important;
    color: var(--primary-color) !important;
}

.nav-align-bottom .nav-tabs .nav-link.active,
.nav-align-bottom .nav-tabs .nav-link.active:hover,
.nav-align-bottom .nav-tabs .nav-link.active:focus {
    box-shadow: 0 2px 0 var(--primary-color) inset !important;
}

.page-item.active .page-link,
.pagination li.active > a:not(.page-link),
.page-item > .page-link.active {
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.progress-bar {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.form-control:focus,
.form-select:focus,
.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text,
.form-check-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25) !important;
}

.form-check-input:checked,
.form-check-input[type="checkbox"]:indeterminate {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: rgba(var(--primary-rgb), 0.16) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.bootstrap-select .dropdown-menu.inner a[aria-selected="true"],
.ranges li.active,
.datepicker table tr td.active,
.datepicker table tr td.range-start,
.datepicker table tr td.range-end,
.flatpickr-day.selected,
.daterangepicker td.active:not(.off),
.daterangepicker .start-date:not(.end-date):not(.off),
.daterangepicker .end-date:not(.start-date):not(.off) {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.bootstrap-select .dropdown-toggle.show,
.daterangepicker .input-mini.active,
.datepicker table tr td.range,
.flatpickr-day.inRange,
.flatpickr-day.today {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background-color: rgba(var(--primary-rgb), 0.16) !important;
}

.timeline .timeline-point-primary,
.timeline .timeline-indicator-primary i {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.timeline .timeline-item-primary .timeline-event {
    background-color: rgba(var(--primary-rgb), 0.1) !important;
    color: var(--primary-color) !important;
}

.timeline .timeline-item-primary .timeline-event:before {
    border-left-color: rgba(var(--primary-rgb), 0.1) !important;
    border-right-color: rgba(var(--primary-rgb), 0.1) !important;
}

.dropzone.dz-drag-hover {
    border-color: var(--primary-color) !important;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active,
.swiper-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: var(--primary-color) !important;
}

.plyr--video .plyr__controls button:hover,
.plyr--video .plyr__control[aria-expanded="true"],
.plyr--audio .plyr__controls button:hover,
.plyr--audio .plyr__control[aria-expanded="true"] {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

.plyr input[type="range"]::-ms-fill-lower,
.plyr input[type="range"]:active::-webkit-slider-thumb,
.plyr input[type="range"]:active::-moz-range-thumb,
.plyr input[type="range"]:active::-ms-thumb {
    background: var(--primary-color) !important;
}

.swal2-progress-steps[class] .swal2-progress-step,
.swal2-progress-steps[class] .swal2-progress-step-line,
.swal2-progress-steps[class] .swal2-active-progress-step {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

.pcr-app .pcr-type.active,
.pcr-app .pcr-save {
    background: var(--primary-color) !important;
}

.fill-primary {
    fill: var(--primary-color) !important;
}

.noUi-primary .noUi-base .noUi-connect {
    background: var(--primary-color) !important;
}

.noUi-primary .noUi-base .noUi-origin .noUi-handle {
    background: var(--primary-dark-color) !important;
}

.tt-suggestion:active,
.tt-cursor {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

.navbar.bg-primary,
.menu.bg-primary,
.footer.bg-primary {
    background-color: rgba(var(--primary-rgb), 0.95) !important;
    color: #ffffff !important;
}

.navbar.bg-primary .navbar-brand,
.navbar.bg-primary .navbar-nav > .nav-link,
.menu.bg-primary .menu-link,
.footer.bg-primary .footer-link {
    color: #ffffff !important;
}

.navbar.bg-primary .navbar-nav > .nav-link:hover,
.menu.bg-primary .menu-link:hover,
.footer.bg-primary .footer-link:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

.menu.bg-primary .menu-item.active > .menu-link:not(.menu-toggle),
.menu.bg-primary.menu-vertical .menu-item.active > .menu-link:not(.menu-toggle),
.menu.bg-primary.menu-horizontal .menu-inner > .menu-item.active > .menu-link.menu-toggle {
    background: linear-gradient(72.47deg, rgba(var(--primary-rgb), 0.85) 22.16%, var(--primary-color) 76.47%) !important;
    box-shadow: 0px 2px 6px 0px rgba(var(--primary-rgb), 0.35) !important;
    color: #ffffff !important;
}

.bg-menu-theme.menu-vertical .menu-item.active > .menu-link:not(.menu-toggle),
.bg-menu-theme.menu-horizontal .menu-inner > .menu-item.active > .menu-link.menu-toggle {
    background: rgba(var(--primary-rgb), 0.16) !important;
    box-shadow: none !important;
    color: var(--primary-color) !important;
}

.bg-menu-theme .menu-link.active,
.bg-menu-theme .menu-item.open:not(.menu-item-closing) > .menu-toggle {
    color: var(--primary-color) !important;
}

.layout-navbar,
.menu-horizontal {
    box-shadow: 0 0.125rem 0.25rem rgba(var(--primary-rgb), 0.15) !important;
}
.text-body[href]:hover {
    color: var(--primary-highlight-color) !important;
}

.bg-label-primary,
.badge.bg-label-primary,
.badge-label-primary {
    background-color: rgba(var(--primary-rgb), 0.12) !important;
    color: var(--primary-color) !important;
}

.progress-bar {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.page-item.active .page-link,
.pagination li.active > a:not(.page-link),
.page-item > .page-link.active {
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.dropdown-item:not(.disabled).active,
.dropdown-item:not(.disabled):active {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link.active:hover,
.nav-tabs .nav-link.active:focus {
    box-shadow: 0 -2px 0 var(--primary-color) inset !important;
    color: var(--primary-color) !important;
}

.nav-align-bottom .nav-tabs .nav-link.active,
.nav-align-bottom .nav-tabs .nav-link.active:hover,
.nav-align-bottom .nav-tabs .nav-link.active:focus {
    box-shadow: 0 2px 0 var(--primary-color) inset !important;
}

.form-control:focus,
.form-select:focus,
.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text,
.form-check-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25) !important;
}

.form-check-input:checked,
.form-check-input[type="checkbox"]:indeterminate {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: rgba(var(--primary-rgb), 0.16) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.bootstrap-select .dropdown-menu.inner a[aria-selected="true"],
.ranges li.active,
.datepicker table tr td.active,
.datepicker table tr td.range-start,
.datepicker table tr td.range-end,
.flatpickr-day.selected,
.daterangepicker td.active:not(.off),
.daterangepicker .start-date:not(.end-date):not(.off),
.daterangepicker .end-date:not(.start-date):not(.off) {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}

.bootstrap-select .dropdown-toggle.show,
.daterangepicker .input-mini.active,
.datepicker table tr td.range,
.flatpickr-day.inRange,
.flatpickr-day.today {
    border-color: var(--primary-color) !important;
}

.timeline .timeline-point-primary,
.timeline .timeline-indicator-primary i {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active,
.swiper-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: var(--primary-color) !important;
}

.dropzone.dz-drag-hover {
    border-color: var(--primary-color) !important;
}

.plyr--video .plyr__controls button:hover,
.plyr--video .plyr__control[aria-expanded="true"],
.plyr--audio .plyr__controls button:hover,
.plyr--audio .plyr__control[aria-expanded="true"] {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

.plyr input[type="range"]::-ms-fill-lower,
.plyr input[type="range"]:active::-webkit-slider-thumb,
.plyr input[type="range"]:active::-moz-range-thumb,
.plyr input[type="range"]:active::-ms-thumb {
    background: var(--primary-color) !important;
}

.fc .fc-button-primary:not(.fc-prev-button):not(.fc-next-button) {
    background-color: rgba(var(--primary-rgb), 0.16) !important;
    color: var(--primary-color) !important;
    border: 0 !important;
}

.fc .fc-button-primary:not(.fc-prev-button):not(.fc-next-button).fc-button-active,
.fc .fc-button-primary:not(.fc-prev-button):not(.fc-next-button):hover {
    background-color: rgba(var(--primary-rgb), 0.24) !important;
    color: var(--primary-color) !important;
}

/* Steppers: only circles get filled primary — never the label (was a solid green block behind step titles). */
.bs-stepper .step.crossed .step-trigger .bs-stepper-icon svg {
    fill: var(--primary-color) !important;
}
/* Beat Sneat's `.step:not(.active) .bs-stepper-circle` so crossed steps stay "done" styled, not pending grey. */
.light-style .bs-stepper .bs-stepper-header .step.active .bs-stepper-circle {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 0.125rem 0.35rem rgba(var(--primary-rgb), 0.35);
}
.light-style .bs-stepper .bs-stepper-header .step.crossed .bs-stepper-circle {
    background-color: rgba(var(--primary-rgb), 0.14) !important;
    color: var(--primary-color) !important;
    box-shadow: inset 0 0 0 2px var(--primary-color);
}
.dark-style .bs-stepper .bs-stepper-header .step.active .bs-stepper-circle {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}
.dark-style .bs-stepper .bs-stepper-header .step.crossed .bs-stepper-circle {
    background-color: rgba(var(--primary-rgb), 0.2) !important;
    color: #86efac !important;
    box-shadow: inset 0 0 0 2px var(--primary-color);
}

.light-style .bs-stepper .bs-stepper-header .step.active .bs-stepper-label,
.light-style .bs-stepper .bs-stepper-header .step.active .bs-stepper-label .bs-stepper-title {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}
.light-style .bs-stepper .bs-stepper-header .step.active .bs-stepper-label .bs-stepper-subtitle {
    color: #64748b !important;
    font-weight: 500 !important;
}
.light-style .bs-stepper .bs-stepper-header .step.crossed .bs-stepper-label .bs-stepper-title {
    color: #1e293b !important;
    font-weight: 600 !important;
}
.light-style .bs-stepper .bs-stepper-header .step.crossed .bs-stepper-label .bs-stepper-subtitle {
    color: #64748b !important;
}
.light-style .bs-stepper .bs-stepper-header .step:not(.active):not(.crossed) .bs-stepper-label .bs-stepper-title {
    color: #94a3b8 !important;
}
.light-style .bs-stepper .bs-stepper-header .step:not(.active):not(.crossed) .bs-stepper-label .bs-stepper-subtitle {
    color: #cbd5e1 !important;
}

.light-style .bs-stepper.md-repair-wizard .bs-stepper-header .step .step-trigger {
    align-items: center;
}
.light-style .bs-stepper.md-repair-wizard .bs-stepper-header .step .step-trigger .bs-stepper-label {
    background: transparent !important;
}
.light-style .bs-stepper.md-repair-wizard .bs-stepper-header {
    padding-bottom: 1.25rem;
    margin-bottom: 0.25rem;
}
.light-style .bs-stepper.md-repair-wizard .bs-stepper-header .line i {
    color: #cbd5e1;
    font-size: 1.1rem;
}
.light-style .bs-stepper.md-repair-wizard .bs-stepper-header .step.crossed + .line i {
    color: var(--primary-color);
}

.app-chat .sidebar-body .chat-contact-list li.active {
    background: rgba(var(--primary-rgb), 0.16) !important;
    color: var(--primary-color) !important;
}

.app-chat .app-chat-history .chat-history .chat-message.chat-message-right .chat-message-text {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.menu.bg-primary,
.menu.bg-primary.menu-horizontal {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.menu.bg-primary .menu-link,
.menu.bg-primary .menu-text {
    color: #ffffff !important;
}

.menu.bg-primary .menu-item.active > .menu-link:not(.menu-toggle),
.menu.bg-primary.menu-vertical .menu-item.active > .menu-link:not(.menu-toggle),
.menu.bg-primary.menu-horizontal .menu-inner > .menu-item.active > .menu-link.menu-toggle {
    background: linear-gradient(72.47deg, rgba(var(--primary-rgb), 0.85) 22.16%, var(--primary-color) 76.47%) !important;
    box-shadow: 0px 2px 6px 0px rgba(var(--primary-rgb), 0.35) !important;
    color: #ffffff !important;
}

.bg-menu-theme.menu-vertical .menu-item.active > .menu-link:not(.menu-toggle),
.bg-menu-theme.menu-horizontal .menu-inner > .menu-item.active > .menu-link.menu-toggle {
    background: rgba(var(--primary-rgb), 0.16) !important;
    box-shadow: none !important;
    color: var(--primary-color) !important;
}



/* ==========================================================================
   MOTODOC - Premium Sidebar & Navbar Redesign
   ========================================================================== */

/* ---- Sidebar Shell ---- */
.md-sidebar {
    background: #0f1117 !important;
    border-right: 1px solid rgba(255,255,255,0.05) !important;
    width: 260px !important;
    display: flex !important;
    flex-direction: column !important;
}
.md-sidebar.bg-menu-theme { background: #0f1117 !important; }

/* Scrollable nav list fills available space */
.md-sidebar .menu-inner {
    flex: 1 !important;
    min-height: 0 !important;
}

/* Pinned footer */
.md-sidebar-footer {
    flex-shrink: 0;
    padding: 0.5rem 0.6rem 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.md-sidebar-footer .md-nav-link {
    margin: 0 !important;
}
.layout-menu-collapsed .md-sidebar-footer .md-nav-text { display: none !important; }

.md-sidebar-footer-link--current-plan {
    cursor: default !important;
    pointer-events: none;
    opacity: 0.45;
}
.md-sidebar-footer-link--current-plan:hover {
    color: inherit !important;
    background: transparent !important;
}

/* ---- Brand / Logo Area ---- */
.md-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    min-height: 64px;
}
.md-brand-link { display: flex; align-items: center; gap: 0.6rem; text-decoration: none !important; }
.md-brand-logo-wrap {
    width: 32px; height: 32px; border-radius: 8px; overflow: hidden;
    background: rgba(22,162,73,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.md-brand-logo { width: 28px; height: 28px; object-fit: contain; }
.md-brand-name { font-size: 1.05rem; font-weight: 700; color: #ffffff !important; letter-spacing: 0.02em; white-space: nowrap; }
.md-menu-toggle {
    color: rgba(255,255,255,0.4) !important; width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; transition: all 0.2s; font-size: 1rem;
}
.md-menu-toggle:hover { color: #ffffff !important; background: rgba(255,255,255,0.08) !important; }

/* ---- User Info Strip ---- */
.md-user-strip {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.7rem 0.9rem; margin: 0.75rem 0.9rem;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px;
}
.md-user-avatar {
    width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    background: rgba(22,162,73,0.2); display: flex; align-items: center; justify-content: center;
}
.md-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.md-avatar-initial { font-size: 0.9rem; font-weight: 700; color: #16a249; text-transform: uppercase; }
.md-user-info { flex: 1; min-width: 0; }
.md-user-name { font-size: 0.8rem; font-weight: 600; color: #ffffff !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.md-user-role { margin-top: 2px; }
.md-role-chip { display: inline-flex; align-items: center; gap: 3px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 7px; border-radius: 20px; }
.md-role-chip--user { background: rgba(22,162,73,0.18); color: #16a249 !important; }
.md-role-chip--mechanic { background: rgba(59,130,246,0.18); color: #60a5fa !important; }
/* Legacy compact badge (mechanic strip) */
.md-plan-badge {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 0.58rem; font-weight: 700; color: #f59e0b !important; text-decoration: none !important;
    padding: 4px 7px; border-radius: 6px; border: 1px solid rgba(245,158,11,0.25);
    background: rgba(245,158,11,0.08); transition: all 0.2s; text-transform: uppercase;
    letter-spacing: 0.03em; white-space: nowrap; line-height: 1; flex-shrink: 0;
}
.md-plan-badge i { font-size: 0.85rem; }
.md-plan-badge:hover { background: rgba(245,158,11,0.18) !important; color: #f59e0b !important; }
.md-plan-badge--upgrade { color: #a78bfa !important; border-color: rgba(167,139,250,0.25); background: rgba(167,139,250,0.08); }
.md-plan-badge--upgrade:hover { background: rgba(167,139,250,0.18) !important; color: #a78bfa !important; }
.md-plan-badge--mechanic { color: #60a5fa !important; border-color: rgba(96,165,250,0.25); background: rgba(96,165,250,0.08); }

/* User sidebar — plan card (free vs Pro) */
.md-plan-section {
    margin: 0 0.9rem 0.85rem;
}
.md-plan-section__frame {
    border-radius: 12px;
    border: 1px solid rgba(217, 181, 90, 0.45);
    background: linear-gradient(165deg, rgba(255,255,255,0.04) 0%, rgba(15,17,23,0.92) 100%);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
    padding: 0.75rem 0.85rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
}
.md-plan-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.md-plan-section__head--pro { justify-content: flex-start; }
.md-plan-section__eyebrow {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
}
.md-plan-section__eyebrow--gold { color: rgba(251, 191, 36, 0.75); }
.md-plan-section__tier {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(22, 162, 73, 0.18);
    color: #4ade80 !important;
    border: 1px solid rgba(22, 162, 73, 0.28);
}
/* Mechanic sidebar: free tier chip aligns with mechanic role (blue), same card layout as user */
.md-plan-section__tier--mechanic-free {
    background: rgba(59, 130, 246, 0.18) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.28) !important;
}
.md-plan-section__copy {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.45;
    color: rgba(255,255,255,0.45);
}
.md-plan-upgrade {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.52rem 0.75rem;
    border-radius: 10px;
    text-decoration: none !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fbbf24 !important;
    border: 1px solid rgba(251, 191, 36, 0.55);
    background: rgba(251, 191, 36, 0.08);
    overflow: hidden;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.md-plan-upgrade .ti { font-size: 0.95rem; opacity: 0.95; }
.md-plan-upgrade__label { flex: 1; text-align: center; }
.md-plan-upgrade__arrow { font-size: 0.75rem; opacity: 0.85; transition: transform 0.2s ease; }
.md-plan-upgrade__glow {
    position: absolute;
    inset: -40% -20%;
    background: radial-gradient(ellipse at 50% 0%, rgba(251, 191, 36, 0.22), transparent 58%);
    pointer-events: none;
    opacity: 0.9;
}
.md-plan-upgrade:hover {
    color: #fde047 !important;
    border-color: rgba(253, 224, 71, 0.75);
    background: rgba(251, 191, 36, 0.14);
}
.md-plan-upgrade:hover .md-plan-upgrade__arrow { transform: translateX(3px); }
.md-plan-upgrade:active { transform: scale(0.98); }

.md-plan-pro-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.06);
}
.md-plan-pro-pill__crown {
    font-size: 1rem;
    color: #fbbf24 !important;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.35));
}
.md-plan-pro-pill__name {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fde68a !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.md-plan-pro-badge {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fbbf24 !important;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.1);
}
.md-plan-pro-badge .ti { font-size: 0.65rem; }
.md-plan-section__manage {
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    color: rgba(251, 191, 36, 0.65) !important;
    text-decoration: none !important;
    padding: 0.15rem 0;
    transition: color 0.2s ease;
}
.md-plan-section__manage:hover { color: #fde68a !important; }

/* ---- Navigation ---- */
.md-nav { padding: 0.25rem 0 1rem !important; }
.md-nav-section { padding: 1rem 1.25rem 0.25rem !important; list-style: none; }
.md-section-label { font-size: 0.6rem !important; font-weight: 700 !important; letter-spacing: 0.09em !important; text-transform: uppercase !important; color: rgba(255,255,255,0.25) !important; }
.md-nav-link {
    display: flex !important; align-items: center !important; gap: 0.65rem !important;
    padding: 0.5rem 1rem !important; margin: 1px 0.6rem !important;
    border-radius: 8px !important; transition: all 0.18s ease !important;
    text-decoration: none !important; color: rgba(255,255,255,0.55) !important; background: transparent !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.md-nav-link:hover { background: rgba(255,255,255,0.07) !important; color: rgba(255,255,255,0.92) !important; }
.md-nav-icon { width: 20px !important; display: flex !important; align-items: center !important; justify-content: center !important; flex-shrink: 0; color: inherit !important; }
.md-nav-icon i { font-size: 1rem; line-height: 1; }
.md-nav-text {
    font-size: 0.825rem !important; font-weight: 500 !important; line-height: 1.3 !important;
    white-space: nowrap; color: inherit !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
/* Count pill — must win over .menu-link span active color (otherwise badge is invisible) */
.md-nav-badge {
    flex-shrink: 0 !important;
    margin-left: auto !important;
    min-width: 1.25rem !important;
    height: 1.25rem !important;
    padding: 0 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    color: #fff !important;
    background: #ef4444 !important;
    border-radius: 999px !important;
    box-shadow: 0 0 0 2px rgba(15, 17, 23, 0.95) !important;
}
.menu-item.active > .md-nav-link .md-nav-badge,
.menu-item.active > .md-nav-link:hover .md-nav-badge {
    color: #fff !important;
    background: #dc2626 !important;
    box-shadow: 0 0 0 2px rgba(22, 162, 73, 0.22) !important;
}

/* Active nav item */
.menu-item.active > .md-nav-link,
.menu-item.active > .md-nav-link:hover {
    background: rgba(22,162,73,0.14) !important;
    color: #16a249 !important;
    box-shadow: inset 3px 0 0 #16a249 !important;
}
.menu-item.active > .md-nav-link .md-nav-icon,
.menu-item.active > .md-nav-link .md-nav-text { color: #16a249 !important; }

/* Logout */
.md-logout-link:hover { background: rgba(239,68,68,0.1) !important; color: #f87171 !important; }
.md-logout-link:hover .md-nav-icon,
.md-logout-link:hover .md-nav-text { color: #f87171 !important; }

/* Coming soon */
.md-coming-soon {
    font-size: 0.58rem; font-weight: 700; background: rgba(245,158,11,0.15);
    color: #f59e0b !important; padding: 1px 5px; border-radius: 4px;
    margin-left: 4px; text-transform: uppercase; letter-spacing: 0.03em; vertical-align: middle;
}

/* Scrollbar */
.md-sidebar .menu-inner { overflow-y: auto; overflow-x: hidden; }
.md-sidebar .menu-inner::-webkit-scrollbar { width: 3px; }
.md-sidebar .menu-inner::-webkit-scrollbar-track { background: transparent; }
.md-sidebar .menu-inner::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

/* Override Sneat defaults for dark sidebar */
.md-sidebar.bg-menu-theme .menu-link,
.md-sidebar.bg-menu-theme .menu-link .menu-icon,
.md-sidebar.bg-menu-theme .menu-item .menu-link div { color: rgba(255,255,255,0.55) !important; }
.md-sidebar.bg-menu-theme .menu-inner > .menu-item.active > .menu-link { background: rgba(22,162,73,0.14) !important; color: #16a249 !important; }
.md-sidebar.bg-menu-theme .menu-inner > .menu-item.active:before,
.md-sidebar.bg-menu-theme .menu-inner > .menu-item.active:after { background-color: #16a249 !important; }
.md-sidebar.bg-menu-theme .menu-header-text { color: rgba(255,255,255,0.25) !important; }
.md-sidebar .menu-inner-shadow { background: linear-gradient(#0f1117 40%, rgba(15,17,23,0)) !important; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.md-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0,0,0,0.07) !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05) !important;
    padding: 0 1.5rem !important;
    min-height: 60px !important;
}
.md-menu-burger { color: #374151 !important; font-size: 1.2rem; }
.md-navbar-greet { font-size: 0.82rem; color: #6b7280 !important; font-weight: 400; }
.md-navbar-username { font-size: 0.82rem; color: #111827 !important; }

.md-nav-icon-btn {
    width: 36px !important; height: 36px !important; display: flex !important; align-items: center !important;
    justify-content: center !important; border-radius: 8px !important; color: #4b5563 !important;
    transition: all 0.18s ease !important; padding: 0 !important;
}
.md-nav-icon-btn:hover { background: rgba(0,0,0,0.06) !important; color: #111827 !important; }
.md-nav-icon-btn i { font-size: 1.05rem; }

.md-notif-dot {
    position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px;
    font-size: 0.58rem; font-weight: 700; background: #ef4444; color: #fff;
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    padding: 0 3px; border: 2px solid #fff; line-height: 1;
}

/* Notification dropdown */
.md-dropdown-notif { width: 340px !important; border: 1px solid rgba(0,0,0,0.08) !important; border-radius: 12px !important; box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important; overflow: hidden; }
.md-dropdown-notif-header { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1rem; border-bottom: 1px solid rgba(0,0,0,0.06); background: #f9fafb; font-size: 0.875rem; }
.md-notif-count-badge { font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: rgba(239,68,68,0.1); color: #ef4444; }
.md-notif-count-badge--clear { background: rgba(22,162,73,0.1); color: #16a249; }
.md-notif-list { max-height: 320px; overflow-y: auto; }
.md-notif-list::-webkit-scrollbar { width: 3px; }
.md-notif-list::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 3px; }
.md-notif-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 2rem 1rem; color: #9ca3af; }
.md-notif-empty i { font-size: 1.75rem; }
.md-notif-empty p { font-size: 0.8rem; margin: 0; }
.md-notif-item { border-bottom: 1px solid rgba(0,0,0,0.04); transition: background 0.15s; }
.md-notif-item:last-child { border-bottom: none; }
.md-notif-item--unread { background: rgba(22,162,73,0.03); }
.md-notif-item:hover { background: rgba(0,0,0,0.025); }
.md-notif-link { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.7rem 1rem; text-decoration: none !important; color: inherit !important; }
.md-notif-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.9rem; font-weight: 700; }
.md-notif-icon--blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.md-notif-icon--green { background: rgba(22,162,73,0.1); color: #16a249; }
.md-notif-icon--amber { background: rgba(245,158,11,0.1); color: #f59e0b; }
.md-notif-icon--slate { background: rgba(100,116,139,0.1); color: #64748b; }
.md-notif-content { flex: 1; min-width: 0; }
.md-notif-title { font-size: 0.795rem; font-weight: 500; color: #1f2937 !important; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.md-notif-meta { font-size: 0.7rem; color: #9ca3af !important; margin-top: 2px; }
.md-notif-unread-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a249; flex-shrink: 0; margin-top: 4px; }
.md-dropdown-notif-footer { border-top: 1px solid rgba(0,0,0,0.06); padding: 0.6rem 1rem; text-align: center; background: #f9fafb; }
.md-dropdown-notif-footer a { font-size: 0.78rem; font-weight: 600; color: #16a249 !important; text-decoration: none !important; display: inline-flex; align-items: center; }

/* User button */
.md-user-btn { padding: 0.25rem 0.5rem !important; border-radius: 8px; transition: background 0.18s; }
.md-user-btn:hover { background: rgba(0,0,0,0.05) !important; }
.md-navbar-avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; position: relative; flex-shrink: 0; border: 2px solid rgba(0,0,0,0.08); }
.md-navbar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.md-navbar-avatar--lg { width: 40px; height: 40px; }
.md-avatar-status { position: absolute; bottom: 1px; right: 1px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #fff; }
.md-avatar-status--online { background: #16a249; }

/* User dropdown menu */
.md-user-dropdown { width: 220px !important; border: 1px solid rgba(0,0,0,0.08) !important; border-radius: 12px !important; box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important; overflow: hidden; padding: 0.25rem 0 !important; }
.md-user-dropdown-header { display: flex; align-items: center; gap: 0.65rem; padding: 0.85rem 1rem; border-bottom: 1px solid rgba(0,0,0,0.06); background: #f9fafb; list-style: none; }
.md-user-dropdown-header .fw-semibold { font-size: 0.82rem; color: #111827 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-user-dropdown-header .small { font-size: 0.7rem; color: #6b7280 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.md-dropdown-item { display: flex !important; align-items: center !important; gap: 0.35rem !important; font-size: 0.82rem !important; color: #374151 !important; padding: 0.52rem 1rem !important; transition: all 0.15s !important; }
.md-dropdown-item:hover { background: rgba(0,0,0,0.04) !important; color: #111827 !important; }
.md-dropdown-item i { font-size: 0.95rem; opacity: 0.7; }
.md-dropdown-item--danger { color: #ef4444 !important; }
.md-dropdown-item--danger:hover { background: rgba(239,68,68,0.06) !important; color: #dc2626 !important; }
.md-dropdown-item--danger i { opacity: 1; }

/* Collapsed sidebar */
.layout-menu-collapsed .md-brand-name,
.layout-menu-collapsed .md-user-strip,
.layout-menu-collapsed .md-nav-text,
.layout-menu-collapsed .md-section-label,
.layout-menu-collapsed .md-nav-section { display: none !important; }
.layout-menu-collapsed .md-sidebar { width: 64px !important; }
.layout-menu-collapsed .md-nav-link { justify-content: center !important; padding: 0.6rem !important; margin: 2px 0.5rem !important; }
.layout-menu-collapsed .md-nav-icon { width: auto !important; }
.layout-menu-collapsed .md-sidebar-brand { justify-content: center !important; padding: 1rem 0.5rem !important; }

/* Prevent text-muted override to black in navbar/dropdown area */
.md-user-dropdown .text-muted,
.md-user-dropdown-header .small,
.md-notif-meta { color: #6b7280 !important; }


/* ==========================================================================
   MOTODOC - Dashboard Components (Batch 2)
   ========================================================================== */

/* ---- Hero Banner ---- */
.dash-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.dash-hero-eyebrow {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 500; color: #6b7280; margin-bottom: 4px;
}
.dash-hero-dot {
    width: 7px; height: 7px; border-radius: 50%; background: #16a249; display: inline-block;
}
.dash-hero-dot--blue { background: #3b82f6; }
.dash-hero-title {
    font-size: 1.2rem; font-weight: 700; color: #111827 !important;
    margin: 0 0 2px; line-height: 1.3;
}
.dash-hero-title span { color: #16a249; }
.dash-hero-sub { font-size: 0.8rem; color: #6b7280; margin: 0; }
/* Mechanic profile hero: hourly rate on its own line, slightly emphasized */
.dash-hero-hourly {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}
.dash-hero-hourly__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}
.dash-hero-hourly__unit {
    font-weight: 600;
    font-size: 0.78rem;
    color: #6b7280;
}
.dash-hero-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---- KPI Stat Cards ---- */
.dash-kpi-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.dash-kpi-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.09); }
.dash-kpi-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 12px 0 0 12px;
    background: #e5e7eb;
}
.dash-kpi-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1.1rem;
}
.dash-kpi-icon--green  { background: rgba(22,162,73,0.1);  color: #16a249; }
.dash-kpi-icon--blue   { background: rgba(59,130,246,0.1); color: #3b82f6; }
.dash-kpi-icon--amber  { background: rgba(245,158,11,0.1); color: #f59e0b; }
.dash-kpi-icon--purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.dash-kpi-icon--red    { background: rgba(239,68,68,0.08); color: #ef4444; }
.dash-kpi-icon--slate  { background: rgba(100,116,139,0.1); color: #475569; }

.dash-kpi-card:has(.dash-kpi-icon--green)::before  { background: #16a249; }
.dash-kpi-card:has(.dash-kpi-icon--blue)::before   { background: #3b82f6; }
.dash-kpi-card:has(.dash-kpi-icon--amber)::before  { background: #f59e0b; }
.dash-kpi-card:has(.dash-kpi-icon--purple)::before { background: #8b5cf6; }
.dash-kpi-card:has(.dash-kpi-icon--red)::before    { background: #ef4444; }
.dash-kpi-card:has(.dash-kpi-icon--slate)::before  { background: #64748b; }

.dash-kpi-body { flex: 1; min-width: 0; }
.dash-kpi-value { font-size: 1.3rem; font-weight: 700; color: #111827 !important; line-height: 1.1; }
.dash-kpi-label { font-size: 0.72rem; color: #6b7280; font-weight: 500; margin-top: 1px; }
.dash-kpi-arrow { color: #d1d5db; font-size: 0.95rem; flex-shrink: 0; text-decoration: none; transition: color 0.18s; }
.dash-kpi-card:hover .dash-kpi-arrow { color: #16a249; }

/* ---- Quick Action Tiles ---- */
.dash-action-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 1rem 0.75rem;
    background: #fff; border: 1px solid rgba(0,0,0,0.07); border-radius: 12px;
    text-decoration: none !important; text-align: center;
    transition: all 0.18s; box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    min-height: 88px;
}
.dash-action-tile:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); transform: translateY(-2px); }
.dash-action-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.dash-action-label { font-size: 0.775rem; font-weight: 600; color: #374151 !important; line-height: 1.3; }

/* ---- Shared Card Shell ---- */
.dash-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
    overflow: hidden;
}
.dash-card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.dash-card-title {
    display: flex; align-items: center; gap: 0.45rem;
    font-size: 0.875rem; font-weight: 600; color: #111827;
}
.dash-card-icon { font-size: 1rem; color: #16a249; }
.dash-card-link {
    font-size: 0.75rem; font-weight: 600; color: #16a249 !important;
    text-decoration: none !important; display: inline-flex; align-items: center;
    transition: opacity 0.15s;
}
.dash-card-link:hover { opacity: 0.75; }
.dash-card-body { padding: 1rem 1.1rem; }

/* ---- Badges ---- */
.dash-badge {
    display: inline-flex; align-items: center;
    font-size: 0.65rem; font-weight: 700; padding: 2px 8px;
    border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em;
    white-space: nowrap;
}
.dash-badge--green  { background: rgba(22,162,73,0.1);  color: #16a249; }
.dash-badge--blue   { background: rgba(59,130,246,0.1); color: #3b82f6; }
.dash-badge--amber  { background: rgba(245,158,11,0.1); color: #d97706; }
.dash-badge--purple { background: rgba(139,92,246,0.1); color: #7c3aed; }
.dash-badge--red    { background: rgba(239,68,68,0.08); color: #dc2626; }
.dash-badge--slate  { background: rgba(100,116,139,0.1); color: #475569; }

/* ---- Vehicle Card (Swiper) ---- */
.dash-vehicle-card {
    display: flex; gap: 0.85rem; align-items: center;
    background: #f9fafb; border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px; padding: 0.85rem;
}
.dash-vehicle-img-wrap { width: 100px; flex-shrink: 0; }
.dash-vehicle-img { width: 100%; height: 78px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(0,0,0,0.07); }
.dash-vehicle-info { flex: 1; min-width: 0; }
.dash-vehicle-header { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.dash-vehicle-name { font-size: 0.85rem; font-weight: 700; color: #111827; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-vehicle-meta { display: flex; gap: 12px; font-size: 0.72rem; color: #6b7280; }
.dash-vehicle-actions { display: flex; gap: 6px; }

/* ---- Activity List ---- */
.dash-activity-list { list-style: none; padding: 0; margin: 0; }
.dash-activity-item {
    display: flex; align-items: flex-start; gap: 0.7rem;
    padding: 0.6rem 0; border-bottom: 1px solid rgba(0,0,0,0.04);
}
.dash-activity-item:last-child { border-bottom: none; padding-bottom: 0; }
.dash-activity-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
    margin-top: 5px;
}
.dash-activity-dot--green  { background: #16a249; }
.dash-activity-dot--blue   { background: #3b82f6; }
.dash-activity-dot--amber  { background: #f59e0b; }
.dash-activity-dot--purple { background: #8b5cf6; }
.dash-activity-dot--red    { background: #ef4444; }
.dash-activity-content { flex: 1; min-width: 0; }
.dash-activity-title { font-size: 0.8rem; font-weight: 600; color: #1f2937; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-activity-meta { font-size: 0.7rem; color: #9ca3af; margin-top: 1px; }

/* ---- Invoice List ---- */
.dash-invoice-list { list-style: none; padding: 0; margin: 0; }
.dash-invoice-item {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem; padding: 0.65rem 0; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dash-invoice-item:last-child { border-bottom: none; padding-bottom: 0; }
.dash-invoice-num { font-size: 0.8rem; font-weight: 600; color: #1f2937; }
.dash-invoice-meta { font-size: 0.7rem; color: #9ca3af; margin-top: 1px; }
.dash-invoice-right { text-align: right; flex-shrink: 0; }
.dash-invoice-amount { font-size: 0.85rem; font-weight: 700; color: #111827; }

/* ---- Membership List ---- */
.dash-membership-list { list-style: none; padding: 0; margin: 0; }
.dash-membership-item {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.6rem 0; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dash-membership-item:last-child { border-bottom: none; padding-bottom: 0; }
.dash-membership-icon {
    width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
    background: rgba(22,162,73,0.1); color: #16a249;
    display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.dash-membership-info { flex: 1; min-width: 0; }
.dash-membership-plan { font-size: 0.8rem; font-weight: 600; color: #1f2937; }
.dash-membership-garage { font-size: 0.7rem; color: #9ca3af; }

/* ---- Empty State ---- */
.dash-empty-state {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; padding: 2rem 1rem; gap: 6px;
}
.dash-empty-state--sm { padding: 1.25rem 0.5rem; }
.dash-empty-icon { font-size: 2rem; color: #d1d5db; line-height: 1; }
.dash-empty-title { font-size: 0.85rem; font-weight: 600; color: #6b7280; }
.dash-empty-text { font-size: 0.78rem; color: #9ca3af; margin: 0; }

/* ---- Alert Banners ---- */
.dash-alert {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem; border-radius: 12px;
    border: 1px solid transparent;
}
.dash-alert--amber { background: rgba(245,158,11,0.07); border-color: rgba(245,158,11,0.2); }
.dash-alert--green { background: rgba(22,162,73,0.07); border-color: rgba(22,162,73,0.2); }
.dash-alert-icon {
    width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.dash-alert--amber .dash-alert-icon { background: rgba(245,158,11,0.15); color: #d97706; }
.dash-alert--green .dash-alert-icon  { background: rgba(22,162,73,0.15); color: #16a249; }
.dash-alert-title { font-size: 0.82rem; font-weight: 600; color: #1f2937; }
.dash-alert-sub   { font-size: 0.72rem; color: #6b7280; margin-top: 1px; }

/* ---- Mechanic Profile Card ---- */
.dash-profile-row { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.dash-profile-avatar {
    width: 42px; height: 42px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
    background: rgba(22,162,73,0.15); color: #16a249;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 700;
}
.dash-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash-profile-name { font-size: 0.85rem; font-weight: 700; color: #111827; }
.dash-profile-loc  { font-size: 0.72rem; color: #9ca3af; margin-top: 1px; }

.dash-mini-stats {
    display: flex; align-items: stretch; gap: 0;
    background: #f9fafb; border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px; overflow: hidden; margin-bottom: 0.9rem;
}
.dash-mini-stat { flex: 1; text-align: center; padding: 0.55rem 0.5rem; }
.dash-mini-stat-divider { width: 1px; background: rgba(0,0,0,0.06); margin: 6px 0; }
.dash-mini-stat-val { font-size: 1.05rem; font-weight: 700; line-height: 1.1; }
.dash-mini-stat-lbl { font-size: 0.65rem; color: #9ca3af; font-weight: 500; margin-top: 1px; }

.dash-rating-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.dash-rating-label { font-size: 0.78rem; color: #6b7280; }
.dash-stars { display: inline-flex; align-items: center; gap: 1px; }
.dash-stars i { font-size: 0.82rem; color: #d1d5db; }
.dash-stars .ti-star-filled { color: #f59e0b; }
.dash-stars--sm i { font-size: 0.7rem; }
.dash-rating-val { font-size: 0.78rem; font-weight: 600; color: #374151; margin-left: 5px; }

.dash-spec-row { margin-top: 0.5rem; }
.dash-spec-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dash-spec-label { font-size: 0.78rem; color: #6b7280; font-weight: 500; }
.dash-spec-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.dash-spec-tag {
    font-size: 0.68rem; font-weight: 600; padding: 2px 8px; border-radius: 20px;
    background: rgba(22,162,73,0.1); color: #16a249;
}

/* ---- Appointment Snapshot ---- */
.dash-appt-next {
    display: flex; align-items: center; gap: 0.85rem;
    background: #f9fafb; border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px; padding: 0.85rem;
}
.dash-appt-date-block {
    width: 44px; flex-shrink: 0; text-align: center;
    background: #16a249; color: #fff; border-radius: 8px; padding: 4px 2px;
}
.dash-appt-day   { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.dash-appt-month { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.85; }
.dash-appt-detail { flex: 1; min-width: 0; }
.dash-appt-name { font-size: 0.82rem; font-weight: 600; color: #1f2937; }
.dash-appt-dow  { font-size: 0.7rem; color: #9ca3af; }
.dash-appt-pending-row {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    background: rgba(245,158,11,0.07); border: 1px solid rgba(245,158,11,0.18);
    border-radius: 8px;
}
.dash-appt-pending-icon { color: #d97706; font-size: 0.95rem; }
.dash-appt-pending-text { font-size: 0.78rem; color: #6b7280; }

/* ---- Quick Action Buttons (Mechanic) — horizontal row, wrap on small screens ---- */
.dash-quick-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.dash-quick-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    text-decoration: none !important;
    color: #374151 !important;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    font-size: 0.8rem;
    font-weight: 500;
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fafafa;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.dash-quick-btn:hover {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.dash-quick-btn > span {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.25;
}
.dash-quick-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.dash-quick-chevron {
    flex-shrink: 0;
    margin-left: 0;
    color: #d1d5db;
    font-size: 0.75rem;
}
@media (min-width: 576px) {
    .dash-quick-btn {
        flex: 1 1 calc(33.333% - 0.34rem);
    }
}
@media (min-width: 992px) {
    .dash-quick-actions {
        flex-wrap: nowrap;
    }
    .dash-quick-btn {
        flex: 1 1 0;
        justify-content: flex-start;
    }
}

/* ---- Data Table ---- */
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.dash-table thead th {
    padding: 0.65rem 1rem; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: #9ca3af; background: #f9fafb;
    border-bottom: 1px solid rgba(0,0,0,0.06); white-space: nowrap;
}
.dash-table tbody tr { border-bottom: 1px solid rgba(0,0,0,0.04); transition: background 0.12s; }
.dash-table tbody tr:last-child { border-bottom: none; }
.dash-table tbody tr:hover { background: rgba(0,0,0,0.015); }
.dash-table td { padding: 0.65rem 1rem; vertical-align: middle; }
.dash-table-user { display: flex; align-items: center; gap: 0.6rem; }
.dash-table-avatar {
    width: 30px; height: 30px; border-radius: 7px; flex-shrink: 0;
    background: rgba(22,162,73,0.12); color: #16a249;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
}
.dash-table-name { font-size: 0.8rem; font-weight: 600; color: #1f2937; }
.dash-table-sub  { font-size: 0.7rem; color: #9ca3af; }
.dash-table-text { font-size: 0.8rem; color: #374151; }

/* ---- Review List ---- */
.dash-review-list { list-style: none; padding: 0; margin: 0; }
.dash-review-item {
    display: flex; gap: 0.7rem; padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dash-review-item:last-child { border-bottom: none; padding-bottom: 0; }
.dash-review-avatar {
    width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
    background: rgba(59,130,246,0.1); color: #3b82f6;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700;
}
.dash-review-body { flex: 1; min-width: 0; }
.dash-review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3px; }
.dash-review-name { font-size: 0.8rem; font-weight: 600; color: #1f2937; }
.dash-review-comment { font-size: 0.75rem; color: #6b7280; margin: 0; line-height: 1.5; }
.dash-review-time { font-size: 0.68rem; color: #9ca3af; margin-top: 3px; }

/* ---- Compact btn-xs ---- */
.btn-xs { padding: 0.2rem 0.65rem !important; font-size: 0.72rem !important; border-radius: 6px !important; }

/* Swiper pagination dots color */
#vehicle-slider .swiper-pagination-bullet-active { background: #16a249 !important; }


/* ==========================================================================
   MOTODOC � Batch 3: Garage & Operations Pages
   ========================================================================== */

/* -- Vehicle Card -------------------------------------------------------- */
.veh-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    overflow: hidden;
    padding: 1rem 1.1rem;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}
.veh-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); }
.veh-watermark {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-size: 6rem; font-weight: 800;
    color: rgba(0,0,0,0.025); pointer-events: none; letter-spacing: .12em;
    z-index: 0;
}
.veh-status-pill {
    position: absolute; top: .9rem; right: .9rem;
    background: rgba(22,162,73,0.1); color: #16a249;
    font-size: .65rem; font-weight: 700; padding: 3px 10px;
    border-radius: 20px; text-transform: uppercase; letter-spacing: .05em;
    display: flex; align-items: center; gap: 4px; z-index: 2;
}
.veh-body {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 1rem;
    padding-right: 2rem;
}
.veh-img-col { width: 110px; flex-shrink: 0; }
.veh-img { width: 100%; height: 82px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(0,0,0,0.07); }
.veh-info-col { flex: 1; min-width: 0; }
.veh-name { font-size: .95rem; font-weight: 700; color: #111827; margin-bottom: .4rem; }
.veh-meta-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .6rem; }
.veh-meta-chip {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: .7rem; color: #6b7280; background: #f3f4f6;
    padding: 2px 8px; border-radius: 20px;
}
.veh-meta-chip i { font-size: .75rem; }
.veh-service-strip {
    display: flex; align-items: center; gap: .6rem;
    background: rgba(245,158,11,0.07); border: 1px solid rgba(245,158,11,0.2);
    border-radius: 8px; padding: .45rem .75rem;
}
.veh-service-strip--due { background: rgba(239,68,68,0.07); border-color: rgba(239,68,68,0.2); }
.veh-service-icon { font-size: .95rem; color: #d97706; }
.veh-service-strip--due .veh-service-icon { color: #ef4444; }
.veh-service-type { font-size: .78rem; font-weight: 600; color: #1f2937; }
.veh-service-due  { font-size: .7rem; color: #9ca3af; margin-top: 1px; }
.veh-arrow {
    position: absolute; bottom: .9rem; right: .9rem; z-index: 2;
    width: 34px; height: 34px; border-radius: 8px;
    background: #111827; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; transition: background .15s;
}
.veh-card:hover .veh-arrow { background: #16a249; }

/* -- Mechanic Cards ----------------------------------------------------- */
.mech-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: box-shadow 0.2s;
    height: 100%;
}
.mech-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,0.09); }
.mech-card-header {
    display: flex; align-items: flex-start; gap: .75rem;
    padding: .9rem 1rem .75rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mech-avatar-wrap { position: relative; flex-shrink: 0; }
.mech-avatar { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(0,0,0,0.08); }
.mech-online-dot {
    position: absolute; bottom: 2px; right: 2px;
    width: 10px; height: 10px; border-radius: 50%;
    background: #16a249; border: 2px solid #fff;
}
.mech-header-info { flex: 1; min-width: 0; }
.mech-name { font-size: .88rem; font-weight: 700; color: #111827; margin-bottom: 2px; }
.mech-location { font-size: .72rem; color: #9ca3af; display: flex; align-items: center; margin-bottom: 4px; }
.mech-rating-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mech-rating-val { font-size: .75rem; font-weight: 600; color: #374151; }
.mech-exp-chip { font-size: .65rem; font-weight: 600; background: #f3f4f6; color: #6b7280; padding: 2px 7px; border-radius: 20px; }
.mech-card-body { padding: .75rem 1rem; flex: 1; }
.mech-promo-tag {
    display: inline-flex; align-items: center;
    background: rgba(59,130,246,0.08); color: #3b82f6;
    font-size: .65rem; font-weight: 700; padding: 2px 8px;
    border-radius: 20px; text-transform: uppercase; letter-spacing: .04em;
    margin-bottom: .5rem;
}
.mech-bio { font-size: .78rem; color: #6b7280; margin-bottom: .6rem; line-height: 1.55; }
.mech-tags-row { display: flex; flex-wrap: wrap; gap: 4px; }
.mech-tag {
    font-size: .65rem; font-weight: 600; padding: 2px 8px;
    border-radius: 20px; text-transform: uppercase; letter-spacing: .03em;
}
.mech-tag--green  { background: rgba(22,162,73,0.1);  color: #16a249; }
.mech-tag--slate  { background: rgba(100,116,139,0.1); color: #475569; }
.mech-services-row { display: flex; gap: 4px; align-items: baseline; flex-wrap: wrap; font-size: .72rem; color: #6b7280; }
.mech-services-label { font-weight: 600; color: #374151; }
.mech-card-footer {
    display: flex; gap: 6px;
    padding: .75rem 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* -- Repair Requests Active Card ---------------------------------------- */
.rr-section-label {
    font-size: .72rem; font-weight: 700; color: #6b7280;
    text-transform: uppercase; letter-spacing: .06em;
    display: flex; align-items: center;
}
.rr-active-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
}
.rr-active-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: .65rem 1.1rem;
    background: #f9fafb;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.rr-req-id { font-size: .8rem; font-weight: 700; color: #1f2937; font-family: monospace; }
.rr-active-body {
    display: flex; flex-wrap: wrap; gap: 0;
}
.rr-active-section {
    flex: 1; min-width: 160px;
    padding: .85rem 1rem;
    border-right: 1px solid rgba(0,0,0,0.05);
}
.rr-active-section:last-child { border-right: none; }
.rr-active-section-label { font-size: .65rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; }
.rr-vehicle-thumb { width: 80px; height: 56px; object-fit: cover; border-radius: 7px; border: 1px solid rgba(0,0,0,0.07); display: block; margin-bottom: .35rem; }
.rr-vehicle-label { font-size: .8rem; font-weight: 600; color: #1f2937; }
.rr-service-name  { font-size: .82rem; font-weight: 600; color: #1f2937; }
.rr-meta-text     { font-size: .72rem; color: #9ca3af; }
.rr-mech-avatar   { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.rr-progress-val  { font-size: 1.1rem; font-weight: 800; color: #111827; margin-bottom: 4px; }
.rr-progress-track { height: 5px; background: #f3f4f6; border-radius: 3px; overflow: hidden; }
.rr-progress-fill  { height: 100%; border-radius: 3px; }
.rr-progress-fill--blue  { background: #3b82f6; }
.rr-progress-fill--amber { background: #f59e0b; }
.rr-active-section--progress { flex: 1.2; }

/* -- Services Cards ----------------------------------------------------- */
.svc-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
    transition: box-shadow .2s;
}
.svc-card:hover { box-shadow: 0 5px 18px rgba(0,0,0,0.09); }
.svc-card-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: .75rem 1rem .5rem;
}
.svc-icon-wrap {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(22,162,73,0.1); color: #16a249;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.svc-menu-btn {
    background: none; border: none; padding: 4px;
    color: #9ca3af; cursor: pointer; border-radius: 6px;
    transition: background .15s;
}
.svc-menu-btn:hover { background: #f3f4f6; }
.svc-card-body { padding: .5rem 1rem 1rem; }
.svc-name  { font-size: .88rem; font-weight: 700; color: #111827; margin-bottom: .3rem; }
.svc-desc  { font-size: .75rem; color: #6b7280; margin-bottom: .65rem; line-height: 1.5; }
.svc-meta-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.svc-price { font-size: 1.15rem; font-weight: 800; color: #16a249; }
.svc-duration { font-size: .72rem; color: #9ca3af; display: flex; align-items: center; }

/* -- Appointments chat bubbles ----------------------------------------- */
.appt-chat-messages {
    max-height: 360px; overflow-y: auto;
    padding: .75rem; background: #f9fafb;
    border-radius: 10px; margin-bottom: .75rem;
}
.appt-chat-bubble {
    max-width: 72%; padding: .55rem .8rem;
    border-radius: 12px; font-size: .8rem;
}
.appt-chat-bubble--me    { background: #16a249; color: #fff; border-bottom-right-radius: 4px; }
.appt-chat-bubble--other { background: #fff; border: 1px solid rgba(0,0,0,0.08); color: #1f2937; border-bottom-left-radius: 4px; }
.appt-chat-sender { font-size: .68rem; font-weight: 700; margin-bottom: 2px; opacity: .75; }
.appt-chat-time   { font-size: .65rem; margin-top: 3px; opacity: .7; }
/* Chat button: badge uses Bootstrap top-0 start-100 translate-middle on position-relative btn */
.btn.appt-chat-btn {
    overflow: visible !important;
    padding-right: 0.75rem !important;
    padding-top: 0.32rem !important;
    padding-bottom: 0.32rem !important;
}
.appt-chat-msg-badge.badge {
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    padding: 0.3em 0.48em !important;
    line-height: 1 !important;
    z-index: 2;
    border: 2px solid #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
    pointer-events: none;
}
/* Room for the pill past the button edge (table cells / horizontal scroll) */
.appt-table-actions {
    overflow: visible !important;
    padding-right: 0.35rem !important;
    margin-right: 0.25rem !important;
}
.dash-table td:has(.appt-chat-btn) {
    overflow: visible !important;
}

/* -- Responsive tweaks -------------------------------------------------- */
@media (max-width: 768px) {
    .veh-body { flex-direction: column; align-items: flex-start; padding-right: 0; padding-bottom: 2.5rem; }
    .veh-img-col { width: 100%; }
    .veh-img { height: 140px; }
    .mech-card-footer { flex-wrap: wrap; }
    .rr-active-section { min-width: 100%; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .rr-active-section:last-child { border-bottom: none; }
}

/* =========================================================
   BATCH 4 – Business & Wallet (Mechanic) + Bills/Inspections/
   Subscriptions/Invoices (User)
   ========================================================= */

/* -- KPI Cards (b4-kpi) -------------------------------------------- */
.b4-kpi {
    display: flex; align-items: center; gap: 12px;
    padding: .85rem 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.b4-kpi-icon {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.b4-kpi--blue  .b4-kpi-icon { background: rgba(59,130,246,.12); color: #3b82f6; }
.b4-kpi--amber .b4-kpi-icon { background: rgba(245,158,11,.12); color: #f59e0b; }
.b4-kpi--green .b4-kpi-icon { background: rgba(22,162,73,.12);  color: #16a249; }
.b4-kpi--red   .b4-kpi-icon { background: rgba(239,68,68,.12);  color: #ef4444; }
.b4-kpi-val   { font-size: 1.25rem; font-weight: 800; color: #111827; line-height: 1; }
.b4-kpi-label { font-size: .72rem; color: #9ca3af; margin-top: 2px; }

/* -- Revenue Summary Cards ------------------------------------------ */
.b4-rev-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.b4-rev-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #9ca3af; margin-bottom: 4px; }
.b4-rev-val   { font-size: 1.45rem; font-weight: 800; line-height: 1.2; margin-bottom: 2px; }
.b4-rev-val--primary { color: #111827; }
.b4-rev-val--green   { color: #16a249; }
.b4-rev-val--amber   { color: #f59e0b; }
.b4-rev-sub   { font-size: .72rem; color: #9ca3af; }

/* -- Side Card (generic panel) -------------------------------------- */
.b4-side-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
    margin-bottom: 1.25rem;
}
.b4-side-card-hd {
    padding: .75rem 1rem;
    font-size: .8rem; font-weight: 700;
    color: #374151;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex; align-items: center; justify-content: space-between;
}

/* -- Status Banner -------------------------------------------------- */
.b4-status-banner {
    display: flex; align-items: center; gap: 12px;
    padding: .9rem 1.1rem;
    border-radius: 12px;
    border: 1px solid transparent;
}
.b4-status-banner--info      { background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.2); }
.b4-status-banner--secondary { background: rgba(107,114,128,.08); border-color: rgba(107,114,128,.18); }
.b4-status-banner-icon {
    width: 36px; height: 36px; border-radius: 9px;
    background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; color: #3b82f6; flex-shrink: 0;
}
.b4-status-banner--secondary .b4-status-banner-icon { color: #6b7280; }

/* Maintenance plans: high-visibility Start / Stop offering toggle */
.b4-offering-toggle-btn {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.b4-offering-toggle-btn--start {
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.45) !important;
}
.b4-offering-toggle-btn--start:hover {
    color: #fff !important;
    filter: brightness(1.08);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.55) !important;
    transform: translateY(-1px);
}
.b4-offering-toggle-btn--stop {
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4) !important;
}
.b4-offering-toggle-btn--stop:hover {
    color: #fff !important;
    filter: brightness(1.06);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5) !important;
    transform: translateY(-1px);
}
.b4-offering-toggle-btn:active {
    transform: translateY(0);
}

/* -- Plan Cards ----------------------------------------------------- */
.b4-plan-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
    display: flex; flex-direction: column;
    transition: box-shadow .2s, transform .2s;
    height: 100%;
}
.b4-plan-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); transform: translateY(-2px); }
.b4-plan-card-top {
    display: flex; align-items: flex-start; justify-content: space-between;
    padding: .9rem 1rem .5rem;
}
.b4-plan-card-body { padding: .3rem 1rem .75rem; flex: 1; }
.b4-plan-price    { font-size: 1.5rem; font-weight: 800; color: #16a249; line-height: 1; margin-bottom: 2px; }
.b4-plan-duration { font-size: .72rem; color: #9ca3af; margin-bottom: .55rem; }
.b4-plan-desc     { font-size: .78rem; color: #6b7280; line-height: 1.55; margin-bottom: .6rem; }
.b4-plan-features { list-style: none; padding: 0; margin: 0; }
.b4-plan-features li {
    display: flex; align-items: flex-start; gap: 6px;
    font-size: .78rem; color: #374151;
    padding: 3px 0;
}
.b4-plan-features li .ti-check { color: #16a249; flex-shrink: 0; margin-top: 2px; }
.b4-plan-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: .6rem 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.b4-plan-type-badge {
    display: inline-block;
    font-size: .62rem; font-weight: 700; text-transform: uppercase;
    padding: 2px 7px; border-radius: 20px; margin-top: 3px;
}
.b4-plan-type-badge--basic    { background: rgba(107,114,128,.1); color: #6b7280; }
.b4-plan-type-badge--standard { background: rgba(59,130,246,.1);  color: #3b82f6; }
.b4-plan-type-badge--premium  { background: rgba(245,158,11,.12); color: #d97706; }
.b4-plan-type-badge--custom   { background: rgba(22,162,73,.1);   color: #16a249; }

/* -- Dots button ---------------------------------------------------- */
.b4-dots-btn {
    background: none; border: none; padding: 4px 6px;
    color: #9ca3af; cursor: pointer; border-radius: 6px;
    transition: background .15s;
}
.b4-dots-btn:hover { background: #f3f4f6; }

/* -- Pills (generic) ------------------------------------------------ */
.b4-pill {
    display: inline-block;
    font-size: .68rem; font-weight: 700; letter-spacing: .02em;
    padding: 2px 9px; border-radius: 20px;
}
.b4-pill--green  { background: rgba(22,162,73,.1);   color: #15803d; }
.b4-pill--amber  { background: rgba(245,158,11,.12); color: #b45309; }
.b4-pill--red    { background: rgba(239,68,68,.1);   color: #dc2626; }
.b4-pill--slate  { background: rgba(107,114,128,.1); color: #6b7280; }
.b4-pill--blue   { background: rgba(59,130,246,.1);  color: #2563eb; }

/* -- Avatar initial (small) ----------------------------------------- */
.b4-avatar-initial-sm {
    width: 30px; height: 30px; border-radius: 8px;
    background: rgba(22,162,73,.12); color: #16a249;
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem; font-weight: 800; flex-shrink: 0; text-transform: uppercase;
}

/* -- Empty state (small inline) ------------------------------------- */
.b4-empty-small {
    display: flex; align-items: center; justify-content: center;
}

/* -- Empty state (full card) ---------------------------------------- */
.b4-empty {
    text-align: center; padding: 3rem 1.5rem;
}
.b4-empty i { font-size: 3rem; color: #d1d5db; display: block; margin-bottom: .75rem; }
.b4-empty h6 { font-size: .95rem; font-weight: 700; color: #374151; margin-bottom: .35rem; }
.b4-empty p  { font-size: .8rem; color: #9ca3af; margin-bottom: 0; }

/* -- Wallet Balance Card --------------------------------------------- */
.b4-wallet-balance-card {
    background: linear-gradient(135deg, #16a249 0%, #0d6b2d 100%);
    border-radius: 16px;
    padding: 1.4rem 1.2rem 1.1rem;
    color: #fff;
    box-shadow: 0 4px 18px rgba(22,162,73,.28);
    height: 100%;
    display: flex; flex-direction: column;
}
.b4-wallet-balance-top { flex: 1; }
.b4-wallet-icon {
    width: 42px; height: 42px; border-radius: 11px;
    background: rgba(255,255,255,.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: .85rem;
}
.b4-wallet-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; opacity: .8; margin-bottom: 4px; }
.b4-wallet-amount { font-size: 2rem; font-weight: 800; line-height: 1.1; margin-bottom: 3px; }
.b4-wallet-sub { font-size: .75rem; opacity: .75; }

/* -- Bank Detail Fields --------------------------------------------- */
.b4-bank-field {
    padding: .85rem 1rem;
    border-right: 1px solid rgba(0,0,0,0.05);
}
.b4-bank-field:last-child { border-right: none; }
.b4-bank-field-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #9ca3af; margin-bottom: 3px; }
.b4-bank-field-val   { font-size: .88rem; font-weight: 600; color: #111827; }

/* -- Bank Preview (in modal) ---------------------------------------- */
.b4-bank-preview {
    background: #f9fafb;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 10px;
    padding: .8rem 1rem;
}

/* -- Shared dash-table (used across many pages) --------------------- */
.dash-table { border-collapse: collapse; }
.dash-table th {
    padding: .6rem .9rem;
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: #9ca3af;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    white-space: nowrap;
    background: #fafafa;
}
.dash-table td {
    padding: .65rem .9rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    vertical-align: middle;
}
.dash-table tbody tr:last-child td { border-bottom: none; }
.dash-table tbody tr:hover td { background: #f9fafb; }

/* -- Btn xs --------------------------------------------------------- */
.btn-xs {
    padding: .2rem .45rem;
    font-size: .72rem;
    border-radius: 6px;
    line-height: 1.4;
}

/* -- Batch 4 Responsive --------------------------------------------- */
@media (max-width: 768px) {
    .b4-plan-card { min-width: unset; }
    .b4-bank-field { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .b4-bank-field:last-child { border-bottom: none; }
    .b4-wallet-balance-card { height: auto; }
}

/* ══ Marketplace (mp-*) ══════════════════════════════════════════════ */
.mp-req-card {
    display: flex; align-items: flex-start; justify-content: space-between;
    background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 10px;
    padding: 1rem 1.1rem; gap: 1rem; transition: box-shadow .15s;
}
.mp-req-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.07); }
.mp-req-left { display: flex; align-items: flex-start; gap: .75rem; flex: 1; min-width: 0; }
.mp-req-icon {
    width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
    background: rgba(22,162,73,0.1); color: #16a249;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.mp-req-body { flex: 1; min-width: 0; }
.mp-req-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 3px; }
.mp-req-desc { font-size: .78rem; color: #6b7280; margin: 0 0 .4rem; }
.mp-req-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .72rem; color: #6b7280; }
.mp-req-right { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; min-width: 70px; }
.mp-bids-num { font-size: 1.25rem; font-weight: 800; color: #16a249; display: block; line-height: 1; }
.mp-bids-label { font-size: .68rem; color: #9ca3af; }

.mp-bid-card {
    background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 10px;
    padding: 1rem 1.1rem; margin-bottom: .75rem; transition: box-shadow .15s;
}
.mp-bid-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.07); }
.mp-bid-card--accepted { border-color: rgba(22,162,73,0.35); background: rgba(22,162,73,0.02); }
.mp-bid-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.mp-bid-mech { display: flex; align-items: center; gap: .6rem; }
.mp-bid-avatar { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.mp-bid-avatar-init {
    width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0;
    background: rgba(22,162,73,0.12); color: #16a249;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; font-weight: 700;
}
.mp-bid-mech-name { font-size: .83rem; font-weight: 700; color: #1f2937; }
.mp-bid-mech-meta { font-size: .72rem; color: #9ca3af; margin-top: 1px; }
.mp-bid-amount { font-size: 1.3rem; font-weight: 800; color: #16a249; line-height: 1; }
.mp-bid-amount-label { font-size: .68rem; color: #9ca3af; }
.mp-bid-msg { font-size: .78rem; color: #6b7280; background: #f9fafb; border-radius: 7px; padding: .5rem .75rem; margin-bottom: .6rem; border-left: 3px solid rgba(22,162,73,0.3); }
.mp-bid-footer { display: flex; align-items: center; justify-content: space-between; }
.mp-bid-meta { display: flex; gap: 12px; font-size: .72rem; color: #9ca3af; }

.mp-detail-row { display: flex; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.mp-detail-row:last-child { border-bottom: none; }
.mp-detail-label { font-size: .7rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .05em; min-width: 130px; flex-shrink: 0; padding-top: 2px; }
.mp-detail-val { font-size: .82rem; color: #1f2937; flex: 1; line-height: 1.5; }

/* -- Marketplace Responsive ----------------------------------------- */
@media (max-width: 576px) {
    .mp-req-card { flex-direction: column; }
    .mp-req-right { align-items: flex-start; flex-direction: row; align-items: center; gap: 1rem; }
}

/* ══ Bills filter buttons ═══════════════════════════════════════════ */
.bills-filter-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: .28rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 600;
    border: 1.5px solid rgba(0,0,0,.1); background: transparent; color: #6b7280;
    cursor: pointer; transition: all .15s; white-space: nowrap;
}
.bills-filter-btn:hover { border-color: rgba(22,162,73,.4); color: #16a249; background: rgba(22,162,73,.05); }
.bills-filter-btn--active { border-color: #16a249 !important; background: rgba(22,162,73,.08) !important; color: #16a249 !important; }
.bills-filter-count { background: rgba(0,0,0,.07); color: inherit; border-radius: 10px; padding: 0 5px; font-size: .65rem; font-weight: 700; }
.bills-filter-btn--active .bills-filter-count { background: rgba(22,162,73,.15); }

/* ══ Customer CRM Card (cust-*) ═══════════════════════════════════════ */
.cust-card {
    border-radius: 14px; overflow: hidden; background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
    transition: box-shadow .2s, transform .2s;
    display: flex; flex-direction: column;
}
.cust-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }

/* Banner */
.cust-banner {
    background: linear-gradient(135deg, #064e1e 0%, #0d6b2d 55%, #064e1e 100%);
    background-size: 200% 200%;
    padding: 1rem 1.1rem;
    position: relative; overflow: hidden;
}
.cust-banner::after {
    content: ''; position: absolute; right: -24px; top: -24px;
    width: 110px; height: 110px; border-radius: 50%;
    background: rgba(255,255,255,.05);
}
.cust-banner::before {
    content: ''; position: absolute; right: 50px; bottom: -35px;
    width: 75px; height: 75px; border-radius: 50%;
    background: rgba(255,255,255,.04);
}

/* Avatar */
.cust-avatar {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.28);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 800; color: #fff; flex-shrink: 0;
}

/* Name / since */
.cust-name  { font-size: .9rem; font-weight: 700; color: #fff; line-height: 1.2; }
.cust-since { font-size: .7rem; color: rgba(255,255,255,.6); margin-top: 2px; }

/* Status chips in banner */
.cust-active-chip {
    display: inline-flex; align-items: center; gap: 3px;
    background: rgba(74,222,128,.18); border: 1px solid rgba(74,222,128,.3);
    color: #86efac; border-radius: 20px;
    padding: .18rem .55rem; font-size: .65rem; font-weight: 700; letter-spacing: .04em;
    white-space: nowrap;
}

/* Body */
.cust-body { padding: 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }

/* Contact */
.cust-contact { font-size: .75rem; color: #6b7280; }
.cust-contact-row { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }

/* Stats strip */
.cust-stats { display: flex; gap: 5px; }
.cust-stat {
    flex: 1; background: #f9fafb; border-radius: 9px;
    padding: .55rem .3rem; text-align: center;
    border: 1px solid rgba(0,0,0,.04);
}
.cust-stat-val  { font-size: .92rem; font-weight: 800; color: #111827; line-height: 1; }
.cust-stat-val--green  { color: #16a249; }
.cust-stat-val--blue   { color: #3b82f6; }
.cust-stat-val--purple { color: #8b5cf6; }
.cust-stat-lbl { font-size: .58rem; color: #9ca3af; margin-top: 3px; text-transform: uppercase; letter-spacing: .05em; }

/* Vehicle tags */
.cust-vehicles { display: flex; flex-wrap: wrap; gap: 4px; }
.cust-vehicle-tag {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(59,130,246,.08); color: #3b82f6;
    border-radius: 6px; padding: .2rem .55rem;
    font-size: .72rem; font-weight: 600;
}

/* Subscription row */
.cust-subscription-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.cust-plan-tag {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(22,162,73,.1); color: #16a249;
    border-radius: 6px; padding: .2rem .55rem;
    font-size: .72rem; font-weight: 600;
}

/* Last activity bar */
.cust-activity {
    font-size: .75rem; color: #6b7280;
    padding: .45rem .7rem; background: #f9fafb; border-radius: 8px;
    border-left: 3px solid rgba(22,162,73,.35);
}
.cust-activity strong { color: #374151; }

/* Action buttons */
.cust-actions { display: flex; gap: 5px; padding-top: .75rem; border-top: 1px solid rgba(0,0,0,.05); margin-top: auto; }
.cust-action-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
    padding: .38rem .2rem; border-radius: 8px;
    font-size: .72rem; font-weight: 600;
    border: 1.5px solid rgba(0,0,0,.09); background: transparent; color: #6b7280;
    cursor: pointer; transition: all .15s; white-space: nowrap;
}
.cust-action-btn:hover:not(:disabled) { border-color: rgba(22,162,73,.35); color: #16a249; background: rgba(22,162,73,.06); }
.cust-action-btn--primary { border-color: rgba(22,162,73,.3); color: #16a249; background: rgba(22,162,73,.07); }
.cust-action-btn--primary:hover { background: rgba(22,162,73,.13) !important; border-color: #16a249 !important; }
.cust-action-btn:disabled { opacity: .38; cursor: not-allowed; }

/* ══ Subscription Card (sub-*) ══════════════════════════════════════ */
.sub-card {
    border-radius: 14px; overflow: hidden; background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

/* Banner */
.sub-banner {
    background: linear-gradient(135deg, #064e1e 0%, #0d6b2d 55%, #064e1e 100%);
    padding: 1.25rem 1.5rem; position: relative; overflow: hidden;
}
.sub-banner::after  { content:''; position:absolute; right:-30px; top:-30px; width:140px; height:140px; border-radius:50%; background:rgba(255,255,255,.05); }
.sub-banner::before { content:''; position:absolute; right:60px; bottom:-40px; width:90px; height:90px; border-radius:50%; background:rgba(255,255,255,.04); }

/* Avatar in banner */
.sub-avatar {
    width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
    background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.28);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 800; color: #fff; overflow: hidden;
}
.sub-avatar img { width: 100%; height: 100%; object-fit: cover; }

.sub-mech-name { font-size: 1rem; font-weight: 700; color: #fff; margin: 0; line-height: 1.2; }
.sub-mech-sub  { font-size: .78rem; color: rgba(255,255,255,.6); margin: 2px 0 0; }

.sub-chip {
    display: inline-flex; align-items: center; gap: 3px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.85); border-radius: 20px;
    padding: .18rem .6rem; font-size: .7rem; font-weight: 600;
}
.sub-plan-chip {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(245,158,11,.2); border: 1px solid rgba(245,158,11,.3);
    color: #fcd34d; border-radius: 20px;
    padding: .18rem .6rem; font-size: .65rem; font-weight: 700; letter-spacing: .04em;
}

/* Body */
.sub-body { padding: 1.25rem 1.5rem; }

/* Collapsible toggle banner */
.sub-banner--toggle { cursor: pointer; user-select: none; transition: filter .15s; }
.sub-banner--toggle:hover { filter: brightness(1.08); }

/* Chevron icon — rotates when expanded */
.sub-chevron {
    width: 28px; height: 28px; border-radius: 8px;
    background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center;
    font-size: .9rem; color: rgba(255,255,255,.8); flex-shrink: 0;
    transition: transform .25s ease;
}
.sub-banner--toggle[aria-expanded="true"] .sub-chevron { transform: rotate(180deg); background: rgba(255,255,255,.25); }

/* Info strip */
.sub-info-strip {
    display: flex; gap: 6px; flex-wrap: wrap;
    background: #f9fafb; border-radius: 10px;
    padding: .75rem 1rem; border: 1px solid rgba(0,0,0,.04);
}
.sub-info-tile { flex: 1; min-width: 110px; }
.sub-info-lbl  { font-size: .65rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.sub-info-val  { font-size: .8rem; font-weight: 600; color: #1f2937; }

/* Stats row */
.sub-stats-row { display: flex; gap: 6px; }
.sub-stat { flex: 1; background: #f9fafb; border-radius: 9px; padding: .6rem .4rem; text-align: center; border: 1px solid rgba(0,0,0,.04); }
.sub-stat-val  { font-size: 1rem; font-weight: 800; line-height: 1; }
.sub-stat-lbl  { font-size: .6rem; color: #9ca3af; margin-top: 3px; text-transform: uppercase; letter-spacing: .05em; }

/* Section label */
.sub-section-lbl { font-size: .72rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .05em; }

/* Bio */
.sub-bio { font-size: .82rem; color: #374151; line-height: 1.6; background: #f9fafb; border-radius: 8px; padding: .65rem .9rem; margin: 0; border-left: 3px solid rgba(22,162,73,.3); }

/* Row items (tasks, recs, appointments) */
.sub-row {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
    background: #f9fafb; border-radius: 9px;
    padding: .65rem .85rem; border: 1px solid rgba(0,0,0,.04);
    transition: background .12s;
}
.sub-row:hover { background: #f1f5f9; }
.sub-row-title { font-size: .82rem; font-weight: 600; color: #1f2937; margin-bottom: 2px; }
.sub-row-sub   { font-size: .75rem; color: #6b7280; }
.sub-row-date  { font-size: .72rem; color: #9ca3af; }
.sub-row-cost  { font-size: .75rem; color: #059669; font-weight: 600; }
