/* ==========================================================================
   AWESOME CAR RENTAL - COMPLETE ADMIN CARS & FLEET INVENTORY STYLESHEET
   Location: assets/css/admin/cars.css
   Covers: Main Car Controller, Sub-Nav Tabs, Inventory List, Add/Edit Form & Profile View
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL RESET & BASE WRAPPER
   -------------------------------------------------------------------------- */
.acrb-cars-wrapper,
.acrb-cars-wrapper *,
.acrb-cars-wrapper *::before,
.acrb-cars-wrapper *::after,
.acrb-cars-nav-wrapper,
.acrb-cars-nav-wrapper *,
.acrb-cars-nav-wrapper *::before,
.acrb-cars-nav-wrapper *::after,
.acrb-cars-table-wrap,
.acrb-cars-table-wrap *,
.acrb-cars-table-wrap *::before,
.acrb-cars-table-wrap *::after,
.acrb-car-form-wrapper,
.acrb-car-form-wrapper *,
.acrb-car-form-wrapper *::before,
.acrb-car-form-wrapper *::after,
.acrb-car-view-wrapper,
.acrb-car-view-wrapper *,
.acrb-car-view-wrapper *::before,
.acrb-car-view-wrapper *::after {
  box-sizing: border-box;
}

.acrb-cars-wrapper {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #1e293b;
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   2. TOPBAR HEADER BANNER & ALERTS
   -------------------------------------------------------------------------- */
.acrb-cars-wrapper .acrb-cars-topbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #4f46e5;
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}

.acrb-cars-wrapper .acrb-cars-topbar-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.acrb-cars-wrapper .acrb-cars-topbar-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #eef2ff;
  color: #4f46e5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.15);
  flex-shrink: 0;
}

.acrb-cars-wrapper .acrb-cars-topbar-icon .dashicons {
  font-size: 22px;
  width: 22px;
  height: 22px;
}

.acrb-cars-wrapper .acrb-cars-topbar-meta h1 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 3px 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.acrb-cars-wrapper .acrb-cars-topbar-meta p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.acrb-cars-wrapper .acrb-cars-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.acrb-cars-wrapper .acrb-cars-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   3. SUB-NAVIGATION TAB STRIP
   -------------------------------------------------------------------------- */
.acrb-cars-nav-wrapper {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.acrb-cars-nav-item {
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.acrb-cars-nav-item .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #64748b;
  transition: color 0.15s ease;
}

.acrb-cars-nav-item:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.acrb-cars-nav-item:hover .dashicons {
  color: #0f172a;
}

.acrb-cars-nav-item.is-active {
  background: #eff6ff;
  color: #4f46e5;
  border-color: #c7d2fe;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12);
}

.acrb-cars-nav-item.is-active .dashicons {
  color: #4f46e5;
}

.acrb-cars-nav-label {
  line-height: 1;
}

/* --------------------------------------------------------------------------
   4. INVENTORY CATALOG DATATABLE LIST VIEW
   -------------------------------------------------------------------------- */
.acrb-cars-table-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
  margin-top: 10px;
}

.acrb-cars-datatable {
  width: 100% !important;
  border-collapse: collapse;
  font-family: inherit;
}

.acrb-cars-datatable thead th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 13px 16px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.acrb-cars-datatable tbody td {
  vertical-align: middle;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-size: 13px;
}

.acrb-cars-datatable tbody tr:hover {
  background-color: #fcfdfe;
}

.acrb-car-title-text {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3px;
  display: block;
  line-height: 1.3;
}

.acrb-car-meta-year {
  font-weight: 500;
  color: #64748b;
  font-size: 12px;
}

.acrb-car-meta-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.acrb-car-vin-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #64748b;
  font-size: 11px;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.acrb-car-plate-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #475569;
  font-size: 11px;
  background: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  font-weight: 700;
}

.acrb-car-category-pill {
  background: #eff6ff;
  color: #4f46e5;
  border: 1px solid #dbeafe;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-block;
  white-space: nowrap;
}

.acrb-car-rate-val {
  color: #059669;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.acrb-car-rate-unit {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.acrb-cars-th-actions {
  text-align: right !important;
  width: 120px;
}

.acrb-cars-cell-actions {
  text-align: right !important;
}

.acrb-cars-actions-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.acrb-cars-table-wrap .acrb-btn-action,
.acrb-car-view-wrapper .acrb-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.acrb-cars-table-wrap .acrb-btn-action:hover,
.acrb-car-view-wrapper .acrb-btn-action:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.acrb-cars-table-wrap .acrb-btn-action .dashicons {
  font-size: 15px;
  width: 15px;
  height: 15px;
}

.acrb-cars-table-wrap .acrb-btn-delete {
  color: #dc2626 !important;
  border-color: #fee2e2 !important;
  background: #fff5f5 !important;
}

.acrb-cars-table-wrap .acrb-btn-delete:hover {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border-color: #fca5a5 !important;
}

.acrb-cars-empty-row {
  text-align: center;
  padding: 48px 20px;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. ADD / EDIT VEHICLE FORM
   -------------------------------------------------------------------------- */
.acrb-car-form-wrapper {
  max-width: 960px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
  margin-top: 10px;
}

.acrb-car-form-wrapper .acrb-car-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.acrb-car-form-wrapper .acrb-car-hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03);
}

.acrb-car-form-wrapper .acrb-car-hero-label {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 8px;
}

.acrb-car-form-wrapper .acrb-car-field-hero {
  width: 100% !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  height: 48px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
}

.acrb-car-form-wrapper .acrb-car-field-hero:focus {
  background: #ffffff !important;
  border-color: #4f46e5 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.acrb-car-form-wrapper .acrb-car-textarea {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 13.5px !important;
  font-family: inherit !important;
  color: #1e293b !important;
  line-height: 1.6 !important;
  resize: vertical !important;
  min-height: 110px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
}

.acrb-car-form-wrapper .acrb-car-textarea:hover {
  border-color: #94a3b8 !important;
  background: #ffffff !important;
}

.acrb-car-form-wrapper .acrb-car-textarea:focus {
  background: #ffffff !important;
  border-color: #4f46e5 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.acrb-car-form-wrapper .acrb-car-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.acrb-car-form-wrapper .acrb-car-panel:hover {
  border-color: #cbd5e1;
}

.acrb-car-form-wrapper .acrb-car-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: #ffffff;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid transparent;
  transition: background-color 0.15s ease;
}

.acrb-car-form-wrapper .acrb-car-panel-head:hover {
  background: #f8fafc;
}

.acrb-car-form-wrapper .acrb-car-panel-head-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.acrb-car-form-wrapper .acrb-car-panel-head-title .dashicons {
  color: #4f46e5;
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.acrb-car-form-wrapper .acrb-car-panel-chevron {
  color: #64748b;
  font-size: 18px;
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.acrb-car-form-wrapper .acrb-car-panel.is-open .acrb-car-panel-chevron {
  transform: rotate(180deg);
}

.acrb-car-form-wrapper .acrb-car-panel.is-open .acrb-car-panel-head {
  border-bottom-color: #f1f5f9;
  background: #fafbff;
}

.acrb-car-form-wrapper .acrb-car-panel-body {
  padding: 22px;
  display: none;
}

.acrb-car-form-wrapper .acrb-car-panel.is-open .acrb-car-panel-body {
  display: block;
}

.acrb-car-form-wrapper .acrb-car-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.acrb-car-form-wrapper .acrb-car-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.acrb-car-form-wrapper .acrb-car-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.acrb-car-form-wrapper .acrb-car-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.acrb-car-form-wrapper .acrb-car-form-group:last-child {
  margin-bottom: 0;
}

.acrb-car-form-wrapper .acrb-car-label {
  display: block;
  font-weight: 700;
  color: #1e293b;
  font-size: 13px;
  margin-bottom: 6px;
}

.acrb-car-form-wrapper .acrb-car-input,
.acrb-car-form-wrapper .acrb-car-select {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 42px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  font-size: 13.5px !important;
  font-family: inherit !important;
  color: #1e293b !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
  line-height: 40px !important;
}

.acrb-car-form-wrapper .acrb-car-input:hover,
.acrb-car-form-wrapper .acrb-car-select:hover {
  border-color: #94a3b8 !important;
  background: #ffffff !important;
}

.acrb-car-form-wrapper .acrb-car-input:focus,
.acrb-car-form-wrapper .acrb-car-select:focus {
  background: #ffffff !important;
  border-color: #4f46e5 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.acrb-car-form-wrapper .acrb-car-select-wrap {
  position: relative;
  width: 100%;
}

.acrb-car-form-wrapper .acrb-car-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px !important;
  cursor: pointer;
}

.acrb-car-form-wrapper .acrb-car-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.acrb-car-form-wrapper .acrb-location-group-title {
  font-size: 13px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.acrb-car-form-wrapper .acrb-location-group-title .dashicons {
  color: #4f46e5;
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.acrb-car-form-wrapper .acrb-seasonal-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 40px;
  gap: 10px;
  align-items: center;
  background: #f8fafc;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
}

.acrb-car-form-wrapper .acrb-btn-remove-row {
  height: 42px;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: background-color 0.15s ease;
}

.acrb-car-form-wrapper .acrb-btn-remove-row:hover {
  background: #fca5a5;
}

.acrb-car-form-wrapper .acrb-thumb-box {
  background: #f8fafc;
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  min-height: 150px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acrb-car-form-wrapper .acrb-thumb-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.acrb-car-form-wrapper .acrb-thumb-placeholder-icon {
  font-size: 48px;
  width: 48px;
  height: 48px;
  color: #cbd5e1;
}

.acrb-car-form-wrapper .acrb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.acrb-car-form-wrapper .acrb-gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
}

.acrb-car-form-wrapper .acrb-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acrb-car-form-wrapper .acrb-gallery-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.1s ease;
}

.acrb-car-form-wrapper .acrb-gallery-remove:hover {
  transform: scale(1.1);
}

.acrb-car-form-wrapper .acrb-toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 8px;
  transition: border-color 0.15s ease;
}

.acrb-car-form-wrapper .acrb-toggle-card:last-child {
  margin-bottom: 0;
}

.acrb-car-form-wrapper .acrb-toggle-card:hover {
  border-color: #cbd5e1;
}

.acrb-car-form-wrapper .acrb-toggle-card-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.acrb-car-form-wrapper .acrb-switch-ui {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.acrb-car-form-wrapper .acrb-switch-ui input {
  opacity: 0;
  width: 0;
  height: 0;
}

.acrb-car-form-wrapper .acrb-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.25s ease;
  border-radius: 24px;
}

.acrb-car-form-wrapper .acrb-switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: 0.25s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.acrb-car-form-wrapper .acrb-switch-ui input:checked + .acrb-switch-slider {
  background-color: #4f46e5;
}

.acrb-car-form-wrapper .acrb-switch-ui input:checked + .acrb-switch-slider:before {
  transform: translateX(20px);
}

.acrb-car-form-wrapper .acrb-loc-toggle-icon {
  color: #64748b;
  font-size: 17px;
  width: 17px;
  height: 17px;
}

.acrb-car-form-wrapper .acrb-loc-toggle-title {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.acrb-car-form-wrapper .acrb-extra-meta-title {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  display: block;
}

.acrb-car-form-wrapper .acrb-extra-meta-sub {
  font-size: 11.5px;
  color: #64748b;
}

.acrb-car-form-wrapper .acrb-rate-badge {
  font-size: 12px;
  font-weight: 700;
  color: #4f46e5;
  background: #eef2ff;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #c7d2fe;
  white-space: nowrap;
}

.acrb-car-form-wrapper .acrb-btn-secondary {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.acrb-car-form-wrapper .acrb-btn-secondary:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

.acrb-car-form-wrapper .acrb-car-footer-actions {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03);
}

.acrb-car-form-wrapper .acrb-car-btn-submit {
  background: #4f46e5;
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
  transition: background-color 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.acrb-car-form-wrapper .acrb-car-btn-submit:hover {
  background: #4338ca;
  transform: translateY(-1px);
}

.acrb-car-form-wrapper .acrb-car-btn-cancel {
  color: #64748b;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s ease;
}

.acrb-car-form-wrapper .acrb-car-btn-cancel:hover {
  color: #0f172a;
}

.acrb-car-form-wrapper .acrb-muted-hint {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px 0;
}

.acrb-car-form-wrapper .acrb-monospace-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

/* --------------------------------------------------------------------------
   6. CAR PROFILE VIEW & DOSSIER
   -------------------------------------------------------------------------- */
.acrb-car-view-wrapper {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #1e293b;
  margin-top: 10px;
}

.acrb-car-view-wrapper .acrb-car-view-nav-bar {
  margin-bottom: 20px;
}

.acrb-car-view-wrapper .acrb-car-btn-back {
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.acrb-car-view-wrapper .acrb-car-btn-back:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.acrb-car-view-wrapper .acrb-car-btn-back .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.acrb-car-view-wrapper .acrb-car-view-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: start;
}

.acrb-car-view-wrapper .acrb-car-view-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}

.acrb-car-view-wrapper .acrb-car-view-card-title {
  margin: 0 0 16px 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.acrb-car-view-wrapper .acrb-car-view-card-title .dashicons {
  color: #4f46e5;
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.acrb-car-view-wrapper .acrb-car-dossier {
  text-align: center;
}

.acrb-car-view-wrapper .acrb-car-dossier-thumb {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acrb-car-view-wrapper .acrb-car-dossier-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acrb-car-view-wrapper .acrb-car-dossier-thumb-placeholder {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acrb-car-view-wrapper .acrb-car-dossier-thumb-placeholder .dashicons {
  font-size: 52px;
  width: 52px;
  height: 52px;
}

.acrb-car-view-wrapper .acrb-car-dossier-name {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.acrb-car-view-wrapper .acrb-car-category-badge {
  background: #eff6ff;
  color: #4f46e5;
  border: 1px solid #dbeafe;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-block;
}

.acrb-car-view-wrapper .acrb-car-status-badge {
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-block;
  white-space: nowrap;
}

.acrb-car-view-wrapper .acrb-car-status-active {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.acrb-car-view-wrapper .acrb-car-status-draft {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.acrb-car-view-wrapper .acrb-car-status-rented {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.acrb-car-view-wrapper .acrb-car-status-maintenance {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.acrb-car-view-wrapper .acrb-car-status-reserved {
  background: #fdf4ff;
  color: #a21caf;
  border: 1px solid #f0abfc;
}

.acrb-car-view-wrapper .acrb-car-status-retired {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.acrb-car-view-wrapper .acrb-car-meta-list {
  margin-top: 20px;
  text-align: left;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.acrb-car-view-wrapper .acrb-car-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.acrb-car-view-wrapper .acrb-car-meta-label {
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
}

.acrb-car-view-wrapper .acrb-car-meta-val {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

.acrb-car-view-wrapper .acrb-car-rate-highlight {
  color: #059669;
  font-size: 15px;
  font-weight: 800;
}

.acrb-car-view-wrapper .acrb-car-rate-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
}

.acrb-car-view-wrapper .acrb-car-mono-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.acrb-car-view-wrapper .acrb-car-link-video {
  color: #4f46e5;
  font-weight: 700;
  text-decoration: none !important;
}

.acrb-car-view-wrapper .acrb-car-link-video:hover {
  text-decoration: underline !important;
}

.acrb-car-view-wrapper .acrb-car-dossier-actions {
  margin-top: 20px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acrb-car-view-wrapper .acrb-car-btn-edit {
  background: #4f46e5;
  color: #ffffff !important;
  border: none;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}

.acrb-car-view-wrapper .acrb-car-btn-edit:hover {
  background: #4338ca;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.acrb-car-view-wrapper .acrb-car-btn-edit .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.acrb-car-view-wrapper .acrb-car-btn-del {
  color: #dc2626 !important;
  background: #fff5f5;
  border: 1px solid #fee2e2;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.acrb-car-view-wrapper .acrb-car-btn-del:hover {
  background: #fee2e2;
  color: #991b1b !important;
  border-color: #fca5a5;
}

.acrb-car-view-wrapper .acrb-car-btn-del .dashicons {
  font-size: 15px;
  width: 15px;
  height: 15px;
}

.acrb-car-view-wrapper .acrb-car-details-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.acrb-car-view-wrapper .acrb-car-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.acrb-car-view-wrapper .acrb-car-spec-tile {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
}

.acrb-car-view-wrapper .acrb-car-spec-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}

.acrb-car-view-wrapper .acrb-car-spec-val {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 4px;
}

.acrb-car-view-wrapper .acrb-view-section-subtitle {
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.acrb-car-view-wrapper .acrb-view-section-subtitle .dashicons {
  font-size: 15px;
  width: 15px;
  height: 15px;
  color: #4f46e5;
}

.acrb-car-view-wrapper .acrb-view-row-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acrb-car-view-wrapper .acrb-view-row-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
}

.acrb-car-view-wrapper .acrb-view-row-card-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.acrb-car-view-wrapper .acrb-view-row-card-left .dashicons {
  color: #64748b;
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.acrb-car-view-wrapper .acrb-view-row-title {
  color: #0f172a;
  font-weight: 700;
}

.acrb-car-view-wrapper .acrb-view-rate-badge {
  font-size: 12px;
  font-weight: 700;
  color: #4f46e5;
  background: #eef2ff;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #c7d2fe;
  white-space: nowrap;
}

.acrb-car-view-wrapper .acrb-seasonal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acrb-car-view-wrapper .acrb-seasonal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
}

.acrb-car-view-wrapper .acrb-seasonal-name {
  color: #0f172a;
  font-weight: 700;
}

.acrb-car-view-wrapper .acrb-seasonal-range {
  color: #64748b;
  margin-left: 8px;
  font-size: 12px;
}

.acrb-car-view-wrapper .acrb-seasonal-rate {
  color: #059669;
  font-weight: 800;
}

.acrb-car-view-wrapper .acrb-gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
}

.acrb-car-view-wrapper .acrb-gallery-photo-box {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.acrb-car-view-wrapper .acrb-gallery-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acrb-car-view-wrapper .acrb-car-overview-text {
  color: #475569;
  font-size: 13.5px;
  line-height: 1.6;
}

.acrb-car-view-wrapper .acrb-car-overview-text p:first-child {
  margin-top: 0;
}

.acrb-car-view-wrapper .acrb-car-overview-text p:last-child {
  margin-bottom: 0;
}

.acrb-car-view-wrapper .acrb-muted-empty {
  font-size: 13px;
  color: #94a3b8;
  font-style: italic;
  margin: 0;
}

.acrb-car-view-notfound {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   7. RESPONSIVE RULES
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .acrb-car-form-wrapper .acrb-car-grid-2,
  .acrb-car-form-wrapper .acrb-car-grid-3,
  .acrb-car-form-wrapper .acrb-car-grid-4 {
    grid-template-columns: 1fr;
  }
  .acrb-car-form-wrapper .acrb-seasonal-row {
    grid-template-columns: 1fr;
  }
  .acrb-car-view-wrapper .acrb-car-view-grid {
    grid-template-columns: 1fr;
  }
  .acrb-car-view-wrapper .acrb-car-spec-grid,
  .acrb-car-view-wrapper .acrb-car-grid-2 {
    grid-template-columns: 1fr;
  }
}