/* Kullanıcı detay — Hesap alt gezinme */

.admin-account-panel-loading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  border: 1px dashed rgba(105, 108, 255, 0.28);
  border-radius: 0.55rem;
  background: rgba(105, 108, 255, 0.05);
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
}

.admin-account-panel-loading.d-none {
  display: none !important;
}

.admin-account-skeleton-row td {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.admin-account-skeleton-block {
  display: block;
  height: 0.72rem;
  border-radius: 0.35rem;
  background: linear-gradient(
    90deg,
    rgba(47, 43, 61, 0.07) 0%,
    rgba(47, 43, 61, 0.12) 45%,
    rgba(47, 43, 61, 0.07) 90%
  );
  background-size: 200% 100%;
  animation: adminAccountSkeleton 1.1s ease-in-out infinite;
}

@keyframes adminAccountSkeleton {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.admin-account-subnav {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(47, 43, 61, 0.08);
  border-radius: 0.75rem;
  background: var(--bs-paper-bg, #fff);
}

.admin-account-subnav__head {
  margin-bottom: 0.75rem;
}

.admin-account-subnav__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bs-heading-color, var(--bs-body-color));
}

.admin-account-subnav__title i {
  font-size: 1.05rem;
  color: var(--bs-primary);
}

.admin-account-subnav__desc {
  margin-top: 0.25rem;
  padding-left: 1.5rem;
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
}

.admin-account-subnav__tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.5rem;
}

.admin-account-subnav__btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(47, 43, 61, 0.1);
  border-radius: 0.6rem;
  background: rgba(47, 43, 61, 0.02);
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.admin-account-subnav__btn:hover {
  border-color: rgba(105, 108, 255, 0.28);
  background: rgba(105, 108, 255, 0.04);
}

.admin-account-subnav__btn.is-active {
  border-color: rgba(105, 108, 255, 0.45);
  background: rgba(105, 108, 255, 0.07);
  box-shadow: 0 2px 8px rgba(105, 108, 255, 0.12);
}

.admin-account-subnav__btn.is-active .admin-account-subnav__icon {
  background: var(--bs-primary);
  color: #fff;
}

.admin-account-subnav__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
}

.admin-account-subnav__icon i {
  font-size: 1.1rem;
}

.admin-account-subnav__copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.admin-account-subnav__name {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--bs-heading-color, var(--bs-body-color));
}

.admin-account-subnav__hint {
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--bs-secondary-color);
}

.admin-section-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-section-heading i {
  color: var(--bs-primary);
  font-size: 1.15rem;
}

/* Kullanıcı detay — Hesap sekmesi panelleri */

.admin-account-panel {
  display: none;
  animation: adminAccountPanelIn 0.28s ease both;
}

.admin-account-panel.is-active {
  display: block;
}

.admin-account-panel-empty {
  border: 1px dashed var(--bs-border-color);
  border-radius: 0.65rem;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
  background: rgba(var(--bs-secondary-rgb), 0.03);
}

.admin-account-role-hint {
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
  margin-bottom: 0.75rem;
}

.admin-driver-flow-details {
  margin-bottom: 1rem;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.18);
  border-radius: 0.5rem;
  background: rgba(var(--bs-primary-rgb), 0.04);
}

.admin-driver-flow-details > summary {
  cursor: pointer;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bs-primary);
  list-style: none;
}

.admin-driver-flow-details > summary::-webkit-details-marker {
  display: none;
}

.admin-driver-flow-details > summary::before {
  content: '▸';
  display: inline-block;
  margin-right: 0.35rem;
  transition: transform 0.15s ease;
}

.admin-driver-flow-details[open] > summary::before {
  transform: rotate(90deg);
}

.admin-driver-flow-details__body {
  padding: 0 0.75rem 0.65rem;
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
}

.admin-driver-flow-details__body ul {
  margin: 0;
  padding-left: 1.1rem;
}

#adminUserJobsSection .card-header {
  border-bottom: 1px solid var(--bs-border-color);
}

/* Rol kartları — sol üst sayaç */
.admin-role-card-header {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.admin-role-card-header__main {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 0;
}

.admin-role-card-header__count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.45rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--bs-body-color);
  background: rgba(47, 43, 61, 0.06);
}

.admin-role-card-header__count--primary {
  color: var(--bs-primary);
  background: rgba(105, 108, 255, 0.12);
}

.admin-role-card-header__text {
  flex: 1 1 auto;
  min-width: 0;
}

.admin-role-card-header__text h5 {
  line-height: 1.3;
}

.admin-role-card-header__text small {
  display: block;
  margin-top: 0.15rem;
  line-height: 1.35;
}

#adminDriverBusinessCard .role-summary--driver {
  border: none;
  padding: 0;
  background: transparent;
}

#adminDriverBusinessCard .role-summary__company {
  font-size: 1rem;
  line-height: 1.35;
}

#adminDriverBusinessCard .role-summary__meta {
  margin-top: 0.2rem;
  line-height: 1.4;
}

#adminDriverBusinessCard .role-summary__section-title {
  margin-bottom: 0.5rem;
}

#adminDriverBusinessCard .driver-biz-hero {
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-gray-50, #f8f8fa);
}

#adminDriverBusinessCard .driver-biz-hero__label {
  font-weight: 600;
}

#adminDriverBusinessCard .driver-biz-cta {
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(var(--bs-primary-rgb, 105, 108, 255), 0.2);
}

#adminDriverBusinessCard .driver-biz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

#adminDriverBusinessCard .driver-biz-chip {
  display: inline-block;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--bs-body-color);
  background: var(--bs-gray-50, #f8f8fa);
  border: 1px solid var(--bs-border-color);
  border-radius: 2rem;
}

#adminDriverBusinessCard .driver-biz-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

#adminDriverBusinessCard .driver-biz-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.55rem;
  background: var(--bs-body-bg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

#adminDriverBusinessCard a.driver-biz-link-item:hover,
#adminDriverBusinessCard a.driver-biz-link-item:focus-visible {
  border-color: rgba(var(--bs-primary-rgb, 105, 108, 255), 0.45);
  background: rgba(var(--bs-primary-rgb, 105, 108, 255), 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  color: inherit;
}

#adminDriverBusinessCard a.driver-biz-link-item:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

#adminDriverBusinessCard .driver-biz-link-item__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  min-width: 0;
}

#adminDriverBusinessCard .driver-biz-link-item__name {
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.35;
}

#adminDriverBusinessCard .driver-biz-link-item__icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--bs-primary);
  opacity: 0.85;
}

#adminDriverBusinessCard .driver-biz-link-list__item--static .driver-biz-link-item {
  cursor: default;
  opacity: 0.85;
}

.admin-job-cell__title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--bs-heading-color, var(--bs-body-color));
  word-break: break-word;
}

.admin-jobs-table-wrap {
  overflow: visible;
  padding: 0 1.25rem 1.25rem;
}

/* Gönderici ilanları — profil sekmesi */
.admin-sender-listings-card__body {
  padding-top: 0.25rem !important;
}

.admin-sender-listings-table-wrap {
  margin: 0 -0.15rem;
  padding: 0 0.15rem 0.35rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: auto;
}

.admin-sender-listings-table {
  width: 100%;
  min-width: 70rem;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
}

.admin-sender-listings-table thead th {
  padding: 0.7rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  background: rgba(47, 43, 61, 0.03);
  border-bottom: 1px solid rgba(47, 43, 61, 0.1);
  white-space: nowrap;
  vertical-align: middle;
}

.admin-sender-listings-table tbody td {
  padding: 0.85rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(47, 43, 61, 0.06);
  font-size: 0.84rem;
}

.admin-sender-listings-table tbody td.admin-sender-listings__actions {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.admin-sender-listings-table tbody tr:hover td {
  background: rgba(105, 108, 255, 0.035);
}

.admin-sender-listings-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-sender-listings-table th:nth-child(1),
.admin-sender-listings-table td.admin-sender-listings__title {
  width: 14%;
  min-width: 11.5rem;
}

.admin-sender-listings-table th:nth-child(2),
.admin-sender-listings-table td.admin-sender-listings__route {
  width: 20%;
  min-width: 12rem;
}

.admin-sender-listings-table th:nth-child(3),
.admin-sender-listings-table td:nth-child(3) {
  width: 7.5rem;
  min-width: 7.5rem;
}

.admin-sender-listings-table th:nth-child(4),
.admin-sender-listings-table td:nth-child(4) {
  width: 4.5rem;
  min-width: 4.5rem;
}

.admin-sender-listings-table th:nth-child(5),
.admin-sender-listings-table td.admin-sender-listings__money {
  width: 9rem;
  min-width: 9rem;
  white-space: nowrap;
}

.admin-sender-listings-table th:nth-child(6),
.admin-sender-listings-table td.admin-sender-listings__weight {
  width: 6rem;
  min-width: 6rem;
  white-space: nowrap;
}

.admin-sender-listings-table th:nth-child(7),
.admin-sender-listings-table td.admin-sender-listings__window {
  width: 13rem;
  min-width: 13rem;
}

.admin-sender-listings-table th:nth-child(8),
.admin-sender-listings-table td.admin-sender-listings__created {
  width: 9.5rem;
  min-width: 9.5rem;
  white-space: nowrap;
}

.admin-sender-listings-table th:nth-child(9),
.admin-sender-listings-table td.admin-sender-listings__actions {
  width: 8.25rem;
  min-width: 8.25rem;
  max-width: 8.25rem;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  overflow: hidden;
}

.admin-sender-listings-table .admin-job-actions--single {
  justify-content: center;
}

.admin-sender-listings-table .admin-job-actions__btn {
  min-width: 0;
  width: 100%;
  max-width: 7.35rem;
  min-height: 2.25rem;
  padding: 0.4rem 0.55rem;
  margin: 0 auto;
}

.admin-sender-listings__title-text,
.admin-sender-listings__route-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.admin-sender-listings__title-text {
  font-weight: 600;
  color: var(--bs-heading-color);
}

.admin-sender-listings__route-text {
  color: var(--bs-secondary-color);
  font-size: 0.8rem;
}

.admin-sender-listings__window {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--bs-body-color);
}

.admin-jobs-table {
  width: 100% !important;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-jobs-table thead th {
  padding: 0.75rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  background: rgba(47, 43, 61, 0.02);
  border-bottom: 1px solid rgba(47, 43, 61, 0.08);
  white-space: nowrap;
}

.admin-jobs-table tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(47, 43, 61, 0.06);
}

.admin-jobs-table tbody tr:hover td {
  background: rgba(105, 108, 255, 0.03);
}

.admin-jobs-table th:nth-child(1),
.admin-jobs-table td:nth-child(1) {
  width: auto;
}

.admin-jobs-table th:nth-child(2),
.admin-jobs-table td:nth-child(2) {
  width: 28%;
}

.admin-jobs-table td:nth-child(2) {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-jobs-table th:nth-child(3),
.admin-jobs-table td.admin-jobs-table__date {
  width: 9.25rem;
  min-width: 9.25rem;
  max-width: 9.25rem;
  text-align: left;
  white-space: nowrap;
}

.admin-jobs-table th:nth-child(4),
.admin-jobs-table td.admin-jobs-table__actions {
  width: 16.75rem;
  min-width: 16.75rem;
}

.admin-job-status-badge {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  text-align: left;
  line-height: 1.4;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.45em 0.7em;
}

.admin-job-date {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bs-heading-color, var(--bs-body-color));
  white-space: nowrap;
}

.admin-job-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.5rem;
  width: 100%;
}

.admin-job-actions--single {
  justify-content: flex-end;
}

.admin-job-actions--single .admin-job-actions__btn {
  flex: 0 1 auto;
  min-width: 7.25rem;
}

.admin-job-actions__btn {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 7.25rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.admin-job-actions__btn i {
  font-size: 1rem;
  flex: 0 0 auto;
  line-height: 1;
}

.admin-job-actions__btn span {
  line-height: 1.2;
}

.admin-job-actions__btn--job {
  color: #fff;
  background: var(--bs-primary);
  border-color: var(--bs-primary);
}

.admin-job-actions__btn--job:hover {
  color: #fff;
  background: #5f61e6;
  border-color: #5f61e6;
}

.admin-job-actions__btn--listing {
  color: var(--bs-primary);
  background: #fff;
  border-color: rgba(105, 108, 255, 0.4);
}

.admin-job-actions__btn--listing:hover {
  color: var(--bs-primary);
  background: rgba(105, 108, 255, 0.06);
  border-color: rgba(105, 108, 255, 0.55);
}

#adminUserJobsSection .dataTables_wrapper .row.mx-md-3 {
  margin-left: 1.25rem !important;
  margin-right: 1.25rem !important;
  padding-top: 0.75rem;
}

#adminUserJobsSection .dataTables_wrapper table.dataTable {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* Sürücü — araçlar tablosu */

.admin-vehicles-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 1rem 0.25rem;
}

.admin-vehicles-table {
  width: 100%;
  max-width: 100%;
  margin: 0;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-vehicles-table thead th {
  padding: 0.7rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  background: rgba(47, 43, 61, 0.02);
  border-bottom: 1px solid rgba(47, 43, 61, 0.08);
  white-space: nowrap;
  text-align: left;
}

.admin-vehicles-table tbody td {
  padding: 0.8rem 0.75rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(47, 43, 61, 0.06);
}

.admin-vehicles-table tbody tr:hover td {
  background: rgba(105, 108, 255, 0.03);
}

.admin-vehicles-table th:nth-child(1),
.admin-vehicles-table td:nth-child(1) {
  white-space: nowrap;
}

.admin-vehicles-table th:nth-child(2),
.admin-vehicles-table td:nth-child(2) {
  white-space: nowrap;
}

.admin-vehicles-table th:nth-child(3),
.admin-vehicles-table td.admin-vehicles-table__model {
  min-width: 7rem;
  max-width: 12rem;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.admin-vehicles-table th:nth-child(4),
.admin-vehicles-table td:nth-child(4) {
  width: 1%;
  white-space: nowrap;
  text-align: center;
}

.admin-vehicles-table th:nth-child(5),
.admin-vehicles-table td:nth-child(5) {
  white-space: nowrap;
}

.admin-vehicles-table th:nth-child(6),
.admin-vehicles-table td.admin-vehicles-table__photos {
  white-space: nowrap;
  text-align: center;
  min-width: 10.75rem;
}

.admin-vehicle-photos {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.35rem;
}

.admin-vehicle-photo {
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: 0.45rem;
  overflow: hidden;
  border: 1px solid rgba(47, 43, 61, 0.1);
  line-height: 0;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.admin-vehicle-photo:hover {
  border-color: rgba(105, 108, 255, 0.45);
  box-shadow: 0 2px 8px rgba(105, 108, 255, 0.15);
}

.admin-vehicle-photo img {
  width: 3.25rem;
  height: 2.35rem;
  object-fit: cover;
  display: block;
}

#adminDriverVehiclesCard .card-body {
  padding-bottom: 1.25rem;
}

@media (min-width: 576px) {
  .admin-vehicles-table {
    min-width: 0;
  }

  #adminDriverVehiclesCard .admin-table-pagination {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
  .admin-vehicles-table-wrap {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .admin-vehicles-table thead th,
  .admin-vehicles-table tbody td {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .admin-vehicle-photo img {
    width: 2.85rem;
    height: 2rem;
  }
}

@media (max-width: 575.98px) {
  .admin-vehicles-table-wrap {
    overflow: visible;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  #adminDriverVehiclesCard .admin-vehicles-table,
  #adminDriverVehiclesCard .admin-vehicles-table tbody {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
  }

  #adminDriverVehiclesCard .admin-vehicles-table thead {
    display: none;
  }

  #adminDriverVehiclesCard .admin-vehicles-table tbody tr {
    display: block !important;
    width: 100% !important;
    margin-bottom: 0.75rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(47, 43, 61, 0.1);
    border-radius: 0.65rem;
    background: var(--bs-paper-bg, #fff);
  }

  #adminDriverVehiclesCard .admin-vehicles-table tbody tr:hover td {
    background: transparent;
  }

  #adminDriverVehiclesCard .admin-vehicles-table tbody td {
    display: grid !important;
    grid-template-columns: 6.25rem minmax(0, 1fr);
    column-gap: 0.65rem;
    row-gap: 0.15rem;
    align-items: start;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0.4rem 0;
    border-bottom: none;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word;
  }

  #adminDriverVehiclesCard .admin-vehicles-table tbody td::before {
    content: attr(data-label);
    grid-column: 1;
    grid-row: 1;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    line-height: 1.35;
    padding-top: 0.1rem;
  }

  #adminDriverVehiclesCard .admin-vehicles-table tbody td > * {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    max-width: 100%;
    text-align: left;
    justify-self: start;
  }

  #adminDriverVehiclesCard .admin-vehicles-table tbody td.paryuk-plate-cell > * {
    margin-left: 0;
  }

  #adminDriverVehiclesCard .admin-vehicles-table tbody td.admin-vehicles-table__photos {
    display: block !important;
    padding-top: 0.65rem;
    margin-top: 0.35rem;
    border-top: 1px solid rgba(47, 43, 61, 0.08);
  }

  #adminDriverVehiclesCard .admin-vehicles-table tbody td.admin-vehicles-table__photos::before {
    display: block;
    margin-bottom: 0.45rem;
  }

  #adminDriverVehiclesCard .admin-vehicles-table tbody td.admin-vehicles-table__photos > * {
    width: 100%;
  }

  #adminDriverVehiclesCard .admin-vehicle-photos {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  #adminDriverVehiclesCard .admin-vehicle-photo img {
    width: 4.25rem;
    height: 2.9rem;
  }
}

/* SweetAlert — iş / ilan detay pencereleri */
.admin-detail-swal {
  padding: 0 !important;
  border-radius: 1rem !important;
  overflow: hidden;
}

.admin-detail-swal__html {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  text-align: left;
}

.admin-detail-swal .swal2-title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0;
}

.admin-detail-swal .swal2-actions {
  width: 100%;
  margin: 0 !important;
  padding: 0.9rem 1.15rem 1.15rem;
  border-top: 1px solid rgba(47, 43, 61, 0.08);
  background: var(--bs-paper-bg, #fff);
}

.admin-detail-swal__close {
  color: #fff !important;
  opacity: 0.9;
}

.admin-detail-modal__hero {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.2rem 1rem;
  color: #fff;
}

.admin-detail-modal__hero--job {
  background: linear-gradient(135deg, #696cff 0%, #5a5fe0 55%, #4f55c7 100%);
}

/* İş özeti — sade panel */
.admin-detail-modal--job-sheet .admin-detail-modal__content {
  padding: 0;
}

.admin-job-sheet__hero {
  padding: 1.1rem 1.15rem 1rem;
  border-bottom: 1px solid rgba(47, 43, 61, 0.08);
  background: linear-gradient(180deg, rgba(105, 108, 255, 0.07) 0%, rgba(105, 108, 255, 0.02) 100%);
}

.admin-job-sheet__hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
}

.admin-job-sheet__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.admin-job-sheet__title {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--bs-heading-color, var(--bs-body-color));
  word-break: break-word;
}

.admin-job-sheet__progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  color: var(--bs-secondary-color);
}

.admin-job-sheet__progress-head strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bs-primary);
  font-variant-numeric: tabular-nums;
}

.admin-job-sheet__progress-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(105, 108, 255, 0.12);
}

.admin-job-sheet__progress-bar .progress-bar {
  border-radius: 999px;
}

.admin-job-sheet__body {
  padding: 0.85rem 1.15rem 0.25rem;
}

.admin-job-sheet__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.85rem;
}

.admin-job-sheet__fact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  background: var(--bs-paper-bg, #fff);
  border: 1px solid rgba(47, 43, 61, 0.08);
}

.admin-job-sheet__fact-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--bs-secondary-color);
  line-height: 1.25;
}

.admin-job-sheet__fact-value {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--bs-heading-color, var(--bs-body-color));
  line-height: 1.35;
  word-break: break-word;
}

.admin-job-sheet__cancel {
  margin-top: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 62, 29, 0.16);
  background: rgba(255, 62, 29, 0.04);
}

.admin-job-sheet__cancel-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ff3e1d;
  margin-bottom: 0.3rem;
}

.admin-job-sheet__cancel-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--bs-body-color);
}

.admin-job-sheet__cancel-meta {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
}

.admin-job-sheet__finance {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(47, 51, 73, 0.1);
}

.admin-job-sheet__finance .pay-driver-breakdown {
  font-size: 0.84rem;
}

.admin-job-sheet__finance .pay-driver-breakdown__row--net .pay-driver-breakdown__value {
  font-size: 0.92rem;
}

.admin-detail-modal__hero--listing {
  background: linear-gradient(135deg, #ff9f43 0%, #ff7f32 55%, #f76707 100%);
}

.admin-detail-modal__hero-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.35rem;
}

.admin-detail-modal__hero-body {
  flex: 1 1 auto;
  min-width: 0;
}

.admin-detail-modal__type {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.2rem;
}

.admin-detail-modal__headline {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.admin-detail-modal__subline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

.admin-detail-modal__extras-list {
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(var(--bs-secondary-rgb), 0.08);
}

.admin-detail-modal__content {
  padding: 1rem 1.15rem 0.35rem;
  max-height: 58vh;
  overflow-y: auto;
}

.admin-detail-modal__section + .admin-detail-modal__section {
  margin-top: 0.9rem;
}

.admin-detail-modal__section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  margin-bottom: 0.55rem;
}

.admin-detail-modal__section--warn {
  padding: 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 62, 29, 0.18);
  background: rgba(255, 62, 29, 0.05);
}

.admin-detail-modal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.admin-detail-modal__grid--stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.admin-detail-kv {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(47, 43, 61, 0.08);
  background: rgba(47, 43, 61, 0.02);
}

.admin-detail-kv--full {
  grid-column: 1 / -1;
}

.admin-detail-kv__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bs-secondary-color);
}

.admin-detail-kv__value {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--bs-heading-color, var(--bs-body-color));
  word-break: break-word;
}

.admin-detail-modal__progress-card {
  padding: 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(105, 108, 255, 0.18);
  background: rgba(105, 108, 255, 0.05);
  margin-bottom: 0.9rem;
}

.admin-detail-modal__progress-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bs-primary);
  margin-bottom: 0.45rem;
}

.admin-job-progress--modal .admin-job-progress__bar {
  min-width: 5rem;
}

.admin-detail-modal__route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.9rem;
  padding: 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 159, 67, 0.22);
  background: rgba(255, 159, 67, 0.06);
}

.admin-detail-modal__route-point {
  min-width: 0;
}

.admin-detail-modal__route-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bs-secondary-color);
  margin-bottom: 0.15rem;
}

.admin-detail-modal__route-value {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.admin-detail-modal__route-arrow {
  color: #ff9f43;
  font-size: 1.15rem;
  text-align: center;
}

.admin-detail-modal__note {
  margin-top: 0.9rem;
  padding: 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(47, 43, 61, 0.08);
  background: rgba(47, 43, 61, 0.02);
}

.admin-detail-modal__note p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--bs-body-color);
  white-space: pre-wrap;
  word-break: break-word;
}

#adminUserJobsSection .user-table-scroll {
  overflow: visible;
}

#adminUserJobsSection .dataTables_wrapper {
  width: 100%;
  overflow: visible;
}

#adminUserJobsSection .dataTables_scroll,
#adminUserJobsSection .dataTables_scrollHead,
#adminUserJobsSection .dataTables_scrollBody {
  width: 100% !important;
}

#adminUserJobsSection table.datatable-project {
  width: 100% !important;
  margin-bottom: 0;
}

.datatable-project th:first-child,
.datatable-project td:first-child {
  padding-left: 0.75rem !important;
}

#adminDriverDocumentsTable th:first-child,
#adminDriverDocumentsTable td:first-child,
#adminDriverVehiclesTable th:first-child,
#adminDriverVehiclesTable td:first-child {
  padding-left: 0.75rem;
}

#adminDriverDocumentsTable th:last-child,
#adminDriverDocumentsTable td.admin-doc-table__actions {
  text-align: center !important;
}

@keyframes adminAccountPanelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Hesap: Aktivite paneli ——— */

.admin-activity-panel {
  border: 1px solid rgba(47, 43, 61, 0.08);
  border-radius: 0.75rem;
  background: var(--bs-paper-bg, #fff);
  overflow: hidden;
}

.admin-activity-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(47, 43, 61, 0.08);
}

.admin-activity-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bs-heading-color, var(--bs-body-color));
}

.admin-activity-panel__subtitle {
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
}

.admin-activity-metrics {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(47, 43, 61, 0.08);
  border-radius: 0.55rem;
  overflow: hidden;
  flex-shrink: 0;
}

.admin-activity-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 4.25rem;
  padding: 0.4rem 0.75rem;
  text-align: center;
  border-right: 1px solid rgba(47, 43, 61, 0.08);
}

.admin-activity-metric:last-child {
  border-right: 0;
}

.admin-activity-metric dt {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary-color);
  line-height: 1.2;
}

.admin-activity-metric dd {
  margin: 0.1rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--bs-heading-color, var(--bs-body-color));
}

.admin-activity-metric--risk dd {
  color: #ea5455;
}

.admin-activity-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.75rem 1rem 0;
  padding: 0.6rem 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #b4690e;
  background: #fff8ec;
  border: 1px solid rgba(255, 159, 67, 0.35);
  border-radius: 0.5rem;
}

.admin-activity-alert span {
  flex: 1 1 auto;
  min-width: 0;
}

.admin-activity-panel__controls {
  padding: 0.85rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(47, 43, 61, 0.06);
}

.admin-activity-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 0.65rem;
  padding-bottom: 0.1rem;
}

.admin-activity-filters::-webkit-scrollbar {
  display: none;
}

.admin-activity-filter {
  flex: 0 0 auto;
  border: 1px solid rgba(47, 43, 61, 0.1);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bs-secondary-color);
  background: transparent;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.admin-activity-filter:hover {
  color: var(--bs-body-color);
  border-color: rgba(105, 108, 255, 0.28);
}

.admin-activity-filter.is-active {
  color: var(--bs-primary);
  border-color: rgba(105, 108, 255, 0.45);
  background: rgba(105, 108, 255, 0.08);
}

.admin-activity-filter__short {
  display: none;
}

.admin-activity-toolbar {
  width: 100%;
}

.admin-activity-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.375rem;
  margin: 0;
  padding: 0 0.4rem 0 0.75rem;
  border: 1px solid rgba(47, 43, 61, 0.12);
  border-radius: 0.5rem;
  background: var(--bs-paper-bg, #fff);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-activity-search:focus-within {
  border-color: rgba(105, 108, 255, 0.45);
  box-shadow: 0 0 0 0.15rem rgba(105, 108, 255, 0.12);
}

.admin-activity-search__lead {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  color: var(--bs-secondary-color);
  line-height: 1;
  pointer-events: none;
}

.admin-activity-search__lead i {
  font-size: 1rem;
}

.admin-activity-search__input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 2.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--bs-body-color);
}

.admin-activity-search__input::placeholder {
  color: var(--bs-secondary-color);
  opacity: 1;
}

.admin-activity-search__input:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.admin-activity-search__clear {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--bs-secondary-color);
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.admin-activity-search__clear:hover {
  background: rgba(47, 43, 61, 0.06);
  color: var(--bs-body-color);
}

.admin-activity-feed {
  padding: 0 1rem 1rem;
}

.admin-activity-feed__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0 0.5rem;
}

.admin-activity-feed__count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bs-secondary-color);
}

.admin-activity-feed__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-activity-item {
  position: relative;
  padding: 0.75rem 0.85rem 0.75rem 0.95rem;
  border: 1px solid rgba(47, 43, 61, 0.08);
  border-radius: 0.55rem;
  background: var(--bs-paper-bg, #fff);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-activity-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--bs-secondary-color);
  opacity: 0.35;
}

.admin-activity-item--teslimat::before { background: #28c76f; opacity: 1; }
.admin-activity-item--odeme::before { background: #7367f0; opacity: 1; }
.admin-activity-item--risk::before { background: #ea5455; opacity: 1; }
.admin-activity-item--guzergah::before { background: #ff9f43; opacity: 1; }

.admin-activity-item:hover {
  border-color: rgba(105, 108, 255, 0.22);
  box-shadow: 0 2px 8px rgba(47, 43, 61, 0.05);
}

.admin-activity-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.admin-activity-item__cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary-color);
}

.admin-activity-item--teslimat .admin-activity-item__cat { color: #28c76f; }
.admin-activity-item--odeme .admin-activity-item__cat { color: #7367f0; }
.admin-activity-item--risk .admin-activity-item__cat { color: #ea5455; }
.admin-activity-item--guzergah .admin-activity-item__cat { color: #ff9f43; }

.admin-activity-item__when {
  font-size: 0.72rem;
  color: var(--bs-secondary-color);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.admin-activity-item__title {
  margin: 0 0 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--bs-heading-color, var(--bs-body-color));
  word-break: break-word;
}

.admin-activity-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.admin-activity-item__status {
  color: var(--bs-body-color);
  font-weight: 500;
  min-width: 0;
}

.admin-activity-item__progress {
  flex-shrink: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--bs-secondary-color);
}

.admin-activity-item--loading,
.admin-activity-item--empty,
.admin-activity-item--more {
  border-style: dashed;
  background: rgba(var(--bs-secondary-rgb), 0.025);
}

.admin-activity-item--loading::before,
.admin-activity-item--empty::before,
.admin-activity-item--more::before {
  display: none;
}

#adminUserJobsSection.card {
  border: 1px solid rgba(47, 43, 61, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .admin-role-card-header__count {
    min-width: 1.9rem;
    height: 1.9rem;
    font-size: 0.875rem;
  }

  .datatable-project th:first-child,
  .datatable-project td:first-child,
  #adminDriverDocumentsTable th:first-child,
  #adminDriverDocumentsTable td:first-child,
  #adminDriverVehiclesTable th:first-child,
  #adminDriverVehiclesTable td:first-child {
    padding-left: 0.55rem !important;
  }

  #adminUserJobsSection .dataTables_wrapper .row.mx-md-3 {
    margin-left: 0.75rem !important;
    margin-right: 0.75rem !important;
  }

  #adminUserJobsSection .dataTables_wrapper > .row:last-child {
    margin-left: 0.75rem !important;
    margin-right: 0.75rem !important;
  }

  .admin-jobs-table-wrap {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  #adminUserJobsSection .admin-jobs-table,
  #adminUserJobsSection .admin-jobs-table tbody {
    display: block;
    width: 100% !important;
  }

  #adminUserJobsSection .admin-jobs-table tbody tr {
    display: block !important;
    width: 100% !important;
  }

  #adminUserJobsSection .admin-jobs-table tbody td {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  #adminUserJobsSection .admin-jobs-table {
    table-layout: auto;
  }

  #adminUserJobsSection .admin-jobs-table thead {
    display: none;
  }

  #adminUserJobsSection .admin-jobs-table tbody tr {
    margin-bottom: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(47, 43, 61, 0.1);
    border-radius: 0.65rem;
    background: var(--bs-paper-bg, #fff);
  }

  #adminUserJobsSection .admin-jobs-table tbody tr:hover td {
    background: transparent;
  }

  #adminUserJobsSection .admin-jobs-table tbody td {
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: none;
    text-align: left !important;
  }

  #adminUserJobsSection .admin-jobs-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 5.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    padding-top: 0.2rem;
  }

  #adminUserJobsSection .admin-jobs-table tbody td > * {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
  }

  #adminUserJobsSection .admin-jobs-table tbody td.admin-jobs-table__date > .admin-job-date {
    text-align: right;
  }

  #adminUserJobsSection .admin-jobs-table tbody td.admin-jobs-table__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding-top: 0.7rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(47, 43, 61, 0.08);
  }

  #adminUserJobsSection .admin-jobs-table tbody td.admin-jobs-table__actions::before {
    margin-bottom: 0.15rem;
  }

  #adminUserJobsSection .admin-jobs-table tbody td.admin-jobs-table__actions > * {
    text-align: initial;
  }

  #adminUserJobsSection .admin-job-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.45rem;
  }

  #adminUserJobsSection .admin-job-actions__btn {
    width: 100%;
    min-width: 0;
    min-height: 2.35rem;
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }

  #adminUserJobsSection .card-body .dataTables_wrapper .card-header,
  #adminUserJobsSection .dataTables_wrapper > .row:first-child {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .admin-account-subnav {
    padding: 0.85rem 0.9rem;
    margin-bottom: 1rem;
  }

  .admin-account-subnav__desc {
    padding-left: 0;
    font-size: 0.78rem;
  }

  .admin-account-subnav__tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }

  .admin-account-subnav__btn {
    padding: 0.6rem 0.7rem;
  }

  .admin-account-subnav__hint {
    display: none;
  }

  .admin-activity-panel__header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
  }

  .admin-activity-metrics {
    width: 100%;
  }

  .admin-activity-metric {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.35rem 0.5rem;
  }

  .admin-activity-metric dd {
    font-size: 0.95rem;
  }

  .admin-activity-panel__controls {
    padding: 0.75rem 0.9rem 0.65rem;
  }

  .admin-activity-feed {
    padding: 0 0.9rem 0.9rem;
  }

  .admin-activity-filter__long {
    display: none;
  }

  .admin-activity-filter__short {
    display: inline;
  }

  .admin-activity-item {
    padding: 0.65rem 0.75rem 0.65rem 0.85rem;
  }

  .admin-activity-item__top {
    flex-wrap: wrap;
  }

  .admin-activity-item__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .admin-detail-modal__grid--stats {
    grid-template-columns: 1fr;
  }

  .admin-detail-modal__route {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .admin-detail-modal__route-arrow {
    transform: rotate(90deg);
  }

  .admin-job-sheet__facts {
    grid-template-columns: 1fr;
  }

  .admin-detail-swal {
    width: 94vw !important;
    max-width: 94vw !important;
    margin: 0.75rem auto !important;
  }

  .admin-detail-swal .swal2-actions {
    padding: 0.75rem 1rem 1rem;
  }
}
