.broker-dashboard-title {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 16px;
  padding-top: 35px;
  padding-bottom: 24px;
  margin: 0;
}

/* ── Stat cards ── */
.broker-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.broker-stat-card {
  flex: 1 1 0;
  min-width: 200px;
  border-radius: 12px;
  border: 1px solid rgba(121, 138, 164, 0.20);
  background: #FFF;
  box-shadow: 8px 11px 19px 0 rgba(121, 138, 164, 0.15);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.broker-stat-card__label {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.broker-stat-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.broker-stat-card__value {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
}

.broker-stat-card__sub {
  font-size: 13px;
  color: #798aa4;
}

/* ── Tabs ── */
.broker-tabs {
  display: flex;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(148, 155, 171, 0.35);
}

.broker-tab {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #798aa4;
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.broker-tab:hover {
  color: #0165fc;
}

.broker-tab.active {
  color: #0165fc;
  border-bottom-color: #0165fc;
}
.broker-tab.active svg g[mask] path {
  fill: #0165fc;
}

.broker-tab i {
  font-size: 16px;
}

.broker-tab-content {
  display: none;
}

.broker-tab-content.active {
  display: block;
}

/* ── Info banner ── */
.broker-info-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0f6ff;
  border-radius: 10px;
  padding: 14px 20px;
  margin: 24px 0 0;
  font-size: 14px;
  color: #3b3b3b;
}

.broker-info-banner i {
  color: #0165fc;
  font-size: 18px;
  flex-shrink: 0;
}

/* ── Section ── */
.broker-profile-form {
  border-radius: 12px;
  background: #FFF;
  /* Shdow 8 */
  box-shadow: 3px 4px 27px 0 rgba(133, 146, 158, 0.25);
  padding: 20px;
  margin-top: 24px;
}

.broker-section-title {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.broker-section-subtitle {
  font-size: 13px;
  color: #798aa4;
  margin-bottom: 20px;
}

/* ── Company logo ── */
.broker-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.broker-logo-row.is-invalid .broker-logo-img {
  box-shadow: 0 0 0 2px #dc3545;
}

/* Summary above Save Company Profile */
.broker-profile-form-summary {
  border-radius: 8px;
  padding: 10px 12px;
  background: #fef2f2;
  border: 1px solid #f5c2c7;
}

.broker-logo-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.broker-logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: #e8ecf1;
}

.broker-logo-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: #0165fc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  border: 2px solid #fff;
  cursor: pointer;
}

.broker-logo-name-input {
  flex: 1;
}

/* ── Form fields ── */
.broker-form-group {
  margin-bottom: 20px;
}

.broker-form-group label {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  display: block;
}

.broker-form-control {
  width: 100%;
  border: 1px solid #e0e4ea;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.broker-form-control:focus {
  border-color: #0165fc;
}

.broker-form-control.is-invalid {
  border-color: #dc3545;
}

.broker-form-control.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.broker-form-group .invalid-feedback {
  margin-top: 6px;
  font-size: 13px;
}

.broker-form-control::placeholder {
  color: #aeb3bc;
}

textarea.broker-form-control {
  resize: vertical;
  min-height: 90px;
}

/* ── Verification requirements ── */
.broker-verification-requirements {
  border-radius: 8px;
  border: 1px solid #DFDFDF;
  padding: 24px;
}

.broker-verification-title {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.broker-verification-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.broker-verification-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 4px;
  background: #F9F9F9;
}

.broker-verification-item:last-child {
  border-bottom: none;
}

.broker-verification-item__label {
  font-size: 14px;
  color: #1a1a1a;
}

.broker-verification-item__hint {
  font-size: 12px;
  color: #798aa4;
  margin-left: 4px;
}

/* custom checkbox toggle */
.broker-check {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #d0d5dd;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.broker-check:checked {
  background: #0165fc;
  border-color: #0165fc;
}

.broker-check:checked:disabled {
  background: #4A5A6D;
  border-color: #4A5A6D;
}

.broker-check:checked::after {
  content: "✓";
  color: #fff;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── Save button ── */
.broker-save-btn-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
  margin-bottom: 40px;
}

.broker-save-btn {
  background: #0165fc;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 32px;
  font-family: "Manrope-Bold", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.broker-save-btn:hover {
  background: #0050cc;
}

.broker-save-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Loader ── */
.broker-loader {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

/* ── Load & Lane Postings ── */
.loads-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 28px;
  margin-bottom: 20px;
}

.loads-title {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.loads-subtitle {
  font-size: 14px;
  color: #798aa4;
  margin: 0;
}

/* Sub-tabs (Active / Expired) */
.loads-subtabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid rgba(148, 155, 171, 0.35);
  margin-bottom: 0;
}

.loads-subtab {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #798aa4;
  padding-bottom: 10px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.loads-subtab:hover {
  color: #0165fc;
}

.loads-subtab.active {
  color: #0165fc;
  border-bottom-color: #0165fc;
}

/* Table */
.loads-table-scroll {
  overflow-x: auto;
}

.loads-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 8px;
}

.loads-table thead th {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #798aa4;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid #eef0f3;
  background: #EFF1F4;
}

.loads-table tbody tr {
  transition: background 0.15s;
}

.loads-table tbody tr:hover {
  background: #f8faff;
}

.loads-table tbody td {
  font-size: 14px;
  color: #1a1a1a;
  padding: 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f1f3;
}

.loads-cell-route {
  white-space: nowrap;
  font-weight: 600;
}

.loads-route-arrow {
  color: #798aa4;
  margin: 0 2px;
}

.loads-cell-dates {
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.7;
}

.loads-date-label {
  color: #0165fc;
  font-weight: 600;
}

.loads-equip-sub {
  font-size: 12px;
  color: #798aa4;
}

/* Status badges */
.loads-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.loads-badge--assign {
  color: #0165fc;
  border: 1.5px dashed #0165fc;
  background: #fff;
}

.loads-badge--expired {
  color: #798aa4;
  border: 1.5px solid #d0d5dd;
  background: #f9fafb;
}

/* Action buttons */
.loads-cell-actions {
  white-space: nowrap;
  text-align: right;
}

.loads-action-btn {
  background: none;
  border: 1px solid #fff;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #798aa4;
  font-size: 14px;
  margin-left: 6px;
  transition: all 0.15s;
  color: #0165fc;
}

.loads-action-btn--danger {
  color: #e5383b;
}

.loads-action-btn--danger:hover,
.loads-action-btn:hover {
  border: 1px solid #e0e4ea;
}

/* ── Load Posting Modal ── */
.load-modal-header {
  padding: 24px 28px 0;
  border-bottom: none;
}

.load-modal-title {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.load-modal-body {
  padding: 20px 28px 8px;
}

/* Server / non-field validation messages (e.g. DRF non_field_errors) */
#load_posting_form_summary {
  display: none;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.45;
}

#load_posting_form_summary.load-posting-form-summary--visible {
  display: block !important;
}

.load-modal-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.load-modal-col {
  flex: 1 1 0;
  min-width: 0;
}

.load-modal-split {
  display: flex;
  gap: 10px;
}

.load-modal-zip {
  max-width: 140px;
}

.load-modal-label {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  display: block;
}

.load-modal-group {
  margin-bottom: 16px;
}

.load-modal-col .invalid-feedback,
.load-modal-group .invalid-feedback,
.load-modal-split__field .invalid-feedback {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #dc3545;
}

.load-modal-col .broker-form-control.is-invalid~.invalid-feedback,
.load-modal-group .broker-form-control.is-invalid~.invalid-feedback,
.load-modal-split__field .broker-form-control.is-invalid~.invalid-feedback {
  display: block;
}

.load-modal-footer {
  padding: 12px 28px 24px;
  border-top: none;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.load-modal-cancel-btn {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #e0e4ea;
  border-radius: 10px;
  padding: 12px 32px;
  font-family: "Manrope-Bold", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.load-modal-cancel-btn:hover {
  background: #f5f6f8;
  border-color: #c8cdd5;
}

@media (max-width: 576px) {
  .load-modal-row {
    flex-direction: column;
    gap: 0;
  }

  .load-modal-col {
    margin-bottom: 16px;
  }

  .load-modal-zip {
    max-width: none;
  }
}

/* ── Assign Driver Popover ── */
.assign-popover {
  position: fixed;
  z-index: 1050;
  width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 14px;
  margin-top: 4px;
}

.assign-search {
  width: 100%;
  border: 1px solid #e0e4ea;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

.assign-search:focus {
  border-color: #0165fc;
}

.assign-search::placeholder {
  color: #aeb3bc;
}

.assign-driver-list {
  max-height: 220px;
  overflow-y: auto;
}

.assign-driver-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}

.assign-driver-item:hover {
  background: #f0f6ff;
}

.assign-driver-item.selected,
.assign-driver-item:active {
  background: #0165fc;
  color: #fff;
}

.assign-driver-item.selected .assign-driver-avatar,
.assign-driver-item:active .assign-driver-avatar {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.assign-driver-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8ecf1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope-Bold", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #798aa4;
  flex-shrink: 0;
}

.assign-driver-name {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
}

.assign-empty {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: #798aa4;
}

.loads-badge--assigned {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: #0165FC;
  background: rgba(1, 101, 252, 0.10);
}

.loads-badge--assigned-unassign:hover {
  background: rgba(1, 101, 252, 0.18);
}

/* separator between items */
.assign-driver-item+.assign-driver-item {
  border-top: 1px solid #f0f1f3;
}

/* ── Verify Drivers ── */
.vd-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 3px 4px 27px 0 rgba(133, 146, 158, 0.25);
  padding: 24px;
  margin-top: 24px;
}

.vd-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.vd-title {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.vd-subtitle {
  font-size: 14px;
  color: #798aa4;
  margin: 0;
}

.vd-filter-select {
  border: 1px solid #e0e4ea;
  border-radius: 10px;
  padding: 10px 36px 10px 16px;
  font-family: "Manrope-Bold", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23798aa4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  white-space: nowrap;
}

.vd-filter-select:focus {
  border-color: #0165fc;
}

.vd-table .vd-contact-email {
  display: block;
  font-size: 14px;
  color: #1a1a1a;
}

.vd-table .vd-contact-phone {
  display: block;
  font-size: 13px;
  color: #798aa4;
  margin-top: 2px;
}

/* Status badges */
.vd-badge {
  display: inline-block;
  height: 32px;
  padding: 6px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.vd-badge--verified {
  color: rgba(1, 101, 252, 1);
  background: rgba(1, 101, 252, 0.10);
}

.vd-badge--submitted {
  color: #dcb53b;
  background: #fff4d1;
}

.vd-badge--incomplete {
  color: rgba(254, 143, 53, 1);
  background: rgba(254, 143, 53, 0.10);
}

.vd-badge--on-hold {
  color: rgba(26, 167, 236, 1);
  background: rgba(26, 167, 236, 0.10);
}

.vd-badge--not-a-fit {
  color: rgba(248, 113, 113, 1);
  background: rgba(248, 113, 113, 0.10);
}
.vd-badge--custom-status {
  color: rgba(121, 126, 246, 1);;
  background: rgba(121, 126, 246, 0.10);;
}

.vd-badge--default {
  color: #798aa4;
  background: #f1f3f5;
  border: 1px solid #e0e4ea;
}

.vd-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #0165fc;
  font-family: "Manrope-Bold", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 4px;
  transition: opacity 0.15s;
}

.vd-review-btn:hover {
  opacity: 0.75;
}

.vd-review-btn i {
  font-size: 14px;
}

/* ── Driver Profile Modal ── */
.dp-modal-content {
  border-radius: 15px;
  overflow: hidden;
}

.dp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px 0;
}

.dp-modal-title {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.dp-modal-subtitle {
  font-size: 14px;
  color: #0165fc;
  margin: 0;
}

.dp-tabs {
  display: flex;
  border-bottom: 1px solid rgba(148, 155, 171, 0.35);
  padding: 0 28px;
  margin-top: 16px;
}

.dp-tab {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #798aa4;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.dp-tab:hover {
  color: #0165fc;
}

.dp-tab.active {
  color: #0165fc;
  border-bottom-color: #0165fc;
}

.dp-tab i {
  font-size: 14px;
}

.dp-modal-body {
  padding: 20px 28px 8px;
  min-height: 280px;
  max-height: 55vh;
  overflow-y: auto;
}

.dp-tab-content {
  display: none;
}

.dp-tab-content.active {
  display: block;
}

.dp-card {
  border: 1px solid #e0e4ea;
  border-radius: 12px;
  padding: 20px;
}

.dp-card-title {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
}

.dp-empty-text {
  font-size: 14px;
  color: #798aa4;
  text-align: center;
  padding: 32px 0;
  margin: 0;
}

/* Documents tab */
.dp-doc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dp-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f9f9f9;
  border-radius: 8px;
}

.dp-doc-name-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dp-doc-name {
  font-size: 14px;
  color: #1a1a1a;
}

.dp-doc-meta {
  font-size: 12px;
  color: #798aa4;
  text-transform: capitalize;
}

.dp-doc-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #0165fc;
  background: #e8f1ff;
}

a.dp-doc-badge {
  text-decoration: none;
  cursor: pointer;
  border: none;
}

a.dp-doc-badge:hover {
  color: #014fd4;
  background: #d9e8ff;
}

.dp-doc-badge--muted {
  opacity: 0.55;
  cursor: default;
}

/* Employment tab */
.dp-emp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dp-emp-item {
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f1f3;
}

.dp-emp-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dp-emp-company {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0165fc;
  margin: 0 0 2px;
}

.dp-emp-title {
  font-family: "Manrope-Bold", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.dp-emp-dates {
  font-size: 13px;
  color: #798aa4;
  margin: 0;
}

.dp-emp-duration {
  color: #ea580c;
  font-weight: 600;
}

/* Questionnaire tab */
.dp-que-list {
  display: flex;
  flex-direction: column;
}

.dp-que-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f1f3;
}

.dp-que-row:last-child {
  border-bottom: none;
}

.dp-que-answer {
  flex-shrink: 0;
  min-width: 2.5rem;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.dp-que-q {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.4;
}

/* Authority tab */
.dp-auth-list {
  display: flex;
  flex-direction: column;
}

.dp-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f0f1f3;
}

.dp-auth-row:last-child {
  border-bottom: none;
}

.dp-auth-label {
  font-size: 14px;
  color: #0165fc;
}

.dp-auth-value {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 600;
}

.dp-auth-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #0165fc;
  background: #e8f1ff;
}

.dp-modal-footer {
  padding: 12px 28px 24px;
  border-top: none;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .broker-stats {
    flex-direction: column;
  }

  .broker-tabs {
    overflow-x: auto;
  }

  .loads-header {
    flex-direction: column;
    gap: 12px;
  }

  .vd-header {
    flex-direction: column;
    gap: 12px;
  }
}

/* ─── Driver Profile Status Controls ─── */

.dp-status-section {
  margin-top: 18px;
}

.dp-status-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: #1a1a1a;
}

.dp-custom-status-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dp-custom-status-row .broker-form-control {
  flex: 1;
}

.dp-custom-status-btn {
  white-space: nowrap;
  padding: 8px 20px;
}

/* City autocomplete dropdown */
.ui-autocomplete {
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 9999 !important;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  background: #fff;
  padding: 4px 0;
  font-size: 14px;
}

.ui-menu-item-wrapper {
  padding: 8px 14px !important;
  color: #344054;
  border-radius: 0;
}

.ui-menu-item-wrapper.ui-state-active {
  background: #f0f4ff !important;
  color: #1d3dbf !important;
  border: none !important;
  margin: 0;
}