/* ==========================================================
   CUSTOMER DETAILS
========================================================== */

.customer-details-page,
.customer-details-page * {
  box-sizing: border-box;
}

.customer-details-page {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #0f172a;
}

/* ==========================================================
   TOP ACTIONS
========================================================== */

.customer-details-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.customer-details-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1e293b;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.customer-details-back:hover {
  color: #0f8b4c;
}

.customer-details-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-details-edit-btn,
.customer-details-more-btn {
  min-height: 42px;
  border: 1px solid #dce5ef;
  border-radius: 9px;
  background: #fff;
  color: #172234;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.customer-details-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
}

.customer-details-more-btn {
  width: 44px;
  display: grid;
  place-items: center;
}

/* ==========================================================
   PROFILE CARD
========================================================== */

.customer-profile-card {
  display: grid;
  grid-template-columns: minmax(270px, 0.9fr) minmax(0, 2fr);
  gap: 34px;
  padding: 28px;
  border: 1px solid #e3eaf2;
  border-radius: 14px;
  background: #fff;
}

.customer-profile-main {
  display: flex;
  align-items: center;
  gap: 20px;
}

.customer-profile-avatar {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dff7e8;
  color: #087c40;
  font-size: 2rem;
  font-weight: 900;
}

.customer-profile-identity {
  min-width: 0;
}

.customer-app-badge {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 5px;
  background: #dff7e8;
  color: #0b7f45;
  font-size: 0.68rem;
  font-weight: 900;
}

.customer-profile-identity h2 {
  margin: 10px 0 5px;
  color: #071322;
  font-size: 1.55rem;
  font-weight: 900;
}

.customer-profile-identity p {
  margin: 0;
  color: #42547a;
  font-size: 0.88rem;
  font-weight: 800;
}

.customer-details-status {
  display: inline-flex;
  margin-top: 24px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 900;
}

.customer-details-status.active {
  background: #dcfce7;
  color: #087c40;
}

.customer-profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 34px;
}

.customer-profile-info-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.customer-profile-info-item > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #0f9f5c;
  font-size: 0.95rem;
}

.customer-profile-info-item span {
  display: block;
  margin-bottom: 5px;
  color: #60708d;
  font-size: 0.72rem;
  font-weight: 700;
}

.customer-profile-info-item b {
  display: block;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* ==========================================================
   TABS
========================================================== */

.customer-details-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 48px;
  border-bottom: 1px solid #dfe7ef;
  overflow-x: auto;
  scrollbar-width: none;
}

.customer-details-tabs::-webkit-scrollbar {
  display: none;
}

.customer-details-tabs button {
  position: relative;
  flex: 0 0 auto;
  height: 48px;
  padding: 0 24px;
  border: 0;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.customer-details-tabs button.active {
  color: #071322;
  font-weight: 900;
}

.customer-details-tabs button.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #0f9f5c;
}

/* ==========================================================
   MAIN LAYOUT
========================================================== */

.customer-details-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(310px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.customer-details-main,
.customer-details-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.customer-details-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.9fr) minmax(0, 1.55fr);
  gap: 16px;
}

/* ==========================================================
   PANELS
========================================================== */

.customer-details-panel,
.customer-booking-summary {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e3eaf2;
  border-radius: 12px;
  background: #fff;
}

.customer-details-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.customer-details-panel-heading h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #071322;
  font-size: 0.92rem;
  font-weight: 900;
}

.customer-details-panel-heading h3 > i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6f8ee;
  color: #0f9f5c;
  font-size: 0.82rem;
}

.customer-details-panel-heading button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #1661d8;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 900;
  cursor: pointer;
}

/* ==========================================================
   CONTACT INFORMATION
========================================================== */

.customer-contact-details-list {
  display: grid;
  gap: 18px;
}

.customer-contact-details-list p {
  margin: 0;
}

.customer-contact-details-list p > span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 0.71rem;
  font-weight: 700;
}

.customer-contact-details-list p > b {
  color: #0f172a;
  font-size: 0.84rem;
  line-height: 1.45;
}

.verified-badge {
  display: inline-flex;
  margin-left: 7px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #dcfce7;
  color: #0f8b4c;
  font-size: 0.62rem;
  font-weight: 900;
}

/* ==========================================================
   RECENT ACTIVITY
========================================================== */

.customer-activity-list {
  position: relative;
  display: grid;
}

.customer-activity-list::before {
  content: "";
  position: absolute;
  top: 19px;
  bottom: 19px;
  left: 18px;
  width: 1px;
  background: #dce6ef;
}

.customer-activity-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  min-height: 62px;
  padding-bottom: 12px;
}

.customer-activity-item:last-child {
  min-height: auto;
  padding-bottom: 0;
}

.customer-activity-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #e3eaf2;
  background: #fff;
  font-size: 0.82rem;
}

.customer-activity-icon.green {
  background: #e4f8ec;
  color: #0f9f5c;
}

.customer-activity-icon.orange {
  background: #fff0df;
  color: #f97316;
}

.customer-activity-icon.blue {
  background: #e9efff;
  color: #2563eb;
}

.customer-activity-icon.gray {
  background: #f3f5f8;
  color: #64748b;
}

.customer-activity-item > div b {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 0.79rem;
  font-weight: 900;
}

.customer-activity-item > div p {
  margin: 0;
  color: #41537a;
  font-size: 0.73rem;
  line-height: 1.45;
}

.customer-activity-item time {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================
   BOOKING SUMMARY
========================================================== */

.customer-booking-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.customer-booking-stats > div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon value";
  gap: 1px 10px;
  padding: 4px 20px;
  border-right: 1px solid #dce5ef;
}

.customer-booking-stats > div:first-child {
  padding-left: 0;
}

.customer-booking-stats > div:last-child {
  border-right: 0;
}

.customer-booking-stats i {
  grid-area: icon;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.customer-booking-stats i.blue {
  background: #e7efff;
  color: #2563eb;
}

.customer-booking-stats i.green {
  background: #e3f8ec;
  color: #0f9f5c;
}

.customer-booking-stats i.red {
  background: #fee9e9;
  color: #ef4444;
}

.customer-booking-stats span {
  grid-area: label;
  color: #526483;
  font-size: 0.68rem;
  font-weight: 700;
}

.customer-booking-stats b {
  grid-area: value;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 900;
}

/* ==========================================================
   OVERVIEW
========================================================== */

.customer-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.customer-overview-grid > div {
  min-height: 72px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon value";
  gap: 1px 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e3eaf2;
  border-radius: 9px;
}

.customer-overview-grid > div.wide {
  grid-column: 1 / -1;
}

.customer-overview-grid i {
  grid-area: icon;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.customer-overview-grid i.blue {
  background: #e8efff;
  color: #2563eb;
}

.customer-overview-grid i.green {
  background: #e3f8ec;
  color: #0f9f5c;
}

.customer-overview-grid span {
  grid-area: label;
  color: #526483;
  font-size: 0.66rem;
  font-weight: 700;
}

.customer-overview-grid b {
  grid-area: value;
  color: #0f172a;
  font-size: 0.87rem;
  font-weight: 900;
}

/* ==========================================================
   REGISTERED VEHICLES
========================================================== */

.registered-vehicles-list,
.customer-payment-list {
  display: grid;
  gap: 10px;
}

.registered-vehicle-card,
.customer-payment-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e3eaf2;
  border-radius: 9px;
}

.registered-vehicle-card img {
  width: 82px;
  height: 58px;
  border-radius: 7px;
  background: #f3f6f9;
  object-fit: contain;
}

.registered-vehicle-card > div,
.customer-payment-card > div {
  min-width: 0;
}

.registered-vehicle-card b,
.customer-payment-card b {
  display: block;
  color: #0f172a;
  font-size: 0.79rem;
  font-weight: 900;
}

.registered-vehicle-card b small,
.customer-payment-card b small {
  display: inline-flex;
  margin-left: 7px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #dcfce7;
  color: #0f8b4c;
  font-size: 0.58rem;
  font-weight: 900;
}

.registered-vehicle-card span,
.customer-payment-card span {
  display: block;
  margin-top: 6px;
  color: #42547a;
  font-size: 0.72rem;
  font-weight: 800;
}

.registered-vehicle-card p {
  margin: 6px 0 0;
  color: #42547a;
  font-size: 0.68rem;
}

.registered-vehicle-card > button,
.customer-payment-card > button {
  width: 28px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* ==========================================================
   PAYMENT METHODS
========================================================== */

.customer-payment-card {
  grid-template-columns: 58px minmax(0, 1fr) 28px;
}

.customer-payment-card > strong {
  width: 58px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #f7f9fb;
  color: #164db8;
  font-size: 1rem;
  font-style: italic;
  font-weight: 900;
}

/* ==========================================================
   FOOTER BUTTONS
========================================================== */

.customer-deactivate-btn,
.customer-export-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.customer-deactivate-btn {
  align-self: flex-start;
  padding: 0 20px;
  border: 1px solid #fecaca;
  color: #ef4444;
}

.customer-export-btn {
  width: 100%;
  border: 1px solid #dce5ef;
  color: #172234;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1250px) {
  .customer-details-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .customer-profile-card {
    grid-template-columns: minmax(230px, 0.8fr) minmax(0, 2fr);
  }

  .customer-details-grid {
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.4fr);
  }
}

@media (max-width: 1050px) {
  .customer-details-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-details-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-details-sidebar > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 850px) {
  .customer-profile-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-profile-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-details-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-booking-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .customer-booking-stats > div:nth-child(2) {
    border-right: 0;
  }

  .customer-details-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-details-sidebar > :last-child {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .customer-details-topbar {
    align-items: flex-start;
  }

  .customer-details-actions {
    flex-shrink: 0;
  }

  .customer-details-edit-btn {
    width: 44px;
    padding: 0;
    font-size: 0;
    justify-content: center;
  }

  .customer-details-edit-btn i {
    font-size: 0.9rem;
  }

  .customer-profile-card,
  .customer-details-panel,
  .customer-booking-summary {
    padding: 16px;
  }

  .customer-profile-main {
    align-items: flex-start;
  }

  .customer-profile-avatar {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
    font-size: 1.5rem;
  }

  .customer-profile-identity h2 {
    font-size: 1.2rem;
  }

  .customer-profile-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-activity-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .customer-activity-item time {
    grid-column: 2;
    white-space: normal;
  }

  .customer-overview-grid,
  .customer-booking-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-booking-stats > div {
    padding: 4px 0;
    border-right: 0;
    border-bottom: 1px solid #e5ebf2;
  }

  .customer-booking-stats > div:last-child {
    border-bottom: 0;
  }
}
/* ==========================================================
   CUSTOMER DETAILS TAB PANELS
========================================================== */

.customer-tab-panel {
  display: none;
}

.customer-tab-panel.active {
  display: block;
}

.customer-tab-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px solid #e3eaf2;
  border-radius: 12px;
  background: #fff;
  color: #64748b;
  font-weight: 700;
}

/* ==========================================================
   VEHICLES TAB
========================================================== */

.customer-vehicles-tab-card {
  min-height: 440px;
  padding: 22px;
  border: 1px solid #e3eaf2;
  border-radius: 12px;
  background: #fff;
}

.customer-vehicles-tab-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.customer-vehicles-tab-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.customer-vehicles-tab-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #e6f8ee;
  color: #0f9f5c;
}

.customer-vehicles-tab-title h2 {
  margin: 0;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 900;
}

.customer-vehicles-tab-title p {
  margin: 6px 0 0;
  color: #42547a;
  font-size: 0.72rem;
  font-weight: 700;
}

.customer-add-vehicle-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #0f8b4c;
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(15, 139, 76, 0.16);
  cursor: pointer;
}

.customer-vehicles-empty-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: stretch;
  margin-top: 26px;
}

.customer-vehicles-empty-state {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px;
  text-align: center;
}

.customer-vehicles-empty-icon {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #eef2fb;
  color: #42588f;
  font-size: 2.1rem;
}

.customer-vehicles-empty-icon small {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #0f8b4c;
  color: #fff;
  font-size: 0.7rem;
}

.customer-vehicles-empty-state h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
}

.customer-vehicles-empty-state p {
  margin: 12px 0 24px;
  color: #526483;
  font-size: 0.78rem;
  line-height: 1.7;
}

.customer-vehicle-tips-card {
  min-height: 315px;
  padding: 20px;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8faff, #fcfdff);
  overflow: hidden;
}

.customer-vehicle-tips-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-vehicle-tips-heading i {
  color: #185abc;
}

.customer-vehicle-tips-heading h3 {
  margin: 0;
  color: #172234;
  font-size: 0.86rem;
  font-weight: 900;
}

.customer-vehicle-tips-card > p {
  margin: 18px 0;
  color: #42547a;
  font-size: 0.73rem;
  font-weight: 700;
}

.customer-vehicle-tips-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-vehicle-tips-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #42547a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
}

.customer-vehicle-tips-card li i {
  margin-top: 2px;
  color: #0f9f5c;
}

.customer-vehicle-tips-illustration {
  height: 100px;
  display: grid;
  place-items: end center;
  margin-top: 22px;
  color: #e7ebf3;
  font-size: 5rem;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1050px) {
  .customer-vehicles-empty-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-vehicle-tips-card {
    min-height: auto;
  }

  .customer-vehicle-tips-illustration {
    display: none;
  }
}

@media (max-width: 620px) {
  .customer-vehicles-tab-card {
    padding: 16px;
  }

  .customer-vehicles-tab-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-add-vehicle-btn {
    width: 100%;
  }

  .customer-vehicles-empty-state {
    min-height: 280px;
    padding: 24px 12px;
  }
}
/* ==========================================================
   CUSTOMER BOOKINGS TAB
========================================================== */

.customer-bookings-tab-card,
.customer-bookings-tab-card * {
  box-sizing: border-box;
}

.customer-bookings-tab-card {
  width: 100%;
  min-width: 0;
  padding: 28px;
  border: 1px solid #dfe7ef;
  border-radius: 13px;
  background: #fff;
}

.customer-bookings-empty-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 34px;
  min-height: 445px;
}

/* LEFT SIDE */

.customer-bookings-empty-state {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-right: 1px solid #e4eaf1;
  text-align: center;
}

.customer-bookings-empty-illustration {
  margin-bottom: 22px;
}

.customer-bookings-document {
  position: relative;
  width: 124px;
  height: 138px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(241, 245, 249, 0.95),
    rgba(255, 255, 255, 0.95)
  );
  color: #0f9f5c;
  font-size: 2.3rem;
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.08),
    inset 0 0 0 1px #e6ebf1;
}

.customer-bookings-document::before,
.customer-bookings-document::after {
  content: "";
  position: absolute;
  left: 28px;
  width: 68px;
  height: 7px;
  border-radius: 999px;
  background: #e6ebf1;
}

.customer-bookings-document::before {
  bottom: 34px;
}

.customer-bookings-document::after {
  bottom: 20px;
}

.customer-bookings-document > small {
  position: absolute;
  right: -15px;
  bottom: -10px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #dcfce7;
  color: #0f9f5c;
  font-size: 1rem;
}

.customer-bookings-empty-state h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.65rem;
  font-weight: 900;
}

.customer-bookings-empty-state > p {
  margin: 16px 0 28px;
  color: #51627d;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.7;
}

.customer-create-booking-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  background: #0f8b4c;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(15, 139, 76, 0.2);
  cursor: pointer;
}

.customer-create-booking-btn:hover {
  background: #0b7a42;
}

/* RIGHT SIDE */

.customer-bookings-info-card {
  min-width: 0;
  align-self: center;
  padding: 30px;
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    rgba(251, 253, 252, 0.98),
    rgba(247, 250, 248, 0.98)
  );
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.035);
}

.customer-bookings-info-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.customer-bookings-info-heading > span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  flex: 0 0 68px;
  border-radius: 50%;
  background: #dcfce7;
  color: #0f8b4c;
  font-size: 1.65rem;
}

.customer-bookings-info-heading h2 {
  margin: 6px 0 0;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 900;
}

.customer-bookings-info-heading p {
  margin: 12px 0 0;
  color: #51627d;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.7;
}

.customer-bookings-info-divider {
  height: 1px;
  margin: 25px 0;
  background: #e2e8f0;
}

.customer-bookings-info-list {
  display: grid;
  gap: 24px;
}

.customer-bookings-info-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}

.customer-bookings-info-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f8ee;
  color: #0f8b4c;
  font-size: 0.85rem;
}

.customer-bookings-info-list h3 {
  margin: 1px 0 0;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 900;
}

.customer-bookings-info-list p {
  margin: 7px 0 0;
  color: #5c6e88;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.55;
}

/* ==========================================================
   BOOKINGS TAB RESPONSIVE
========================================================== */

@media (max-width: 1150px) {
  .customer-bookings-empty-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
  }

  .customer-bookings-empty-state {
    padding: 32px 24px;
  }

  .customer-bookings-info-card {
    padding: 24px;
  }
}

@media (max-width: 900px) {
  .customer-bookings-empty-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-bookings-empty-state {
    min-height: 370px;
    border-right: 0;
    border-bottom: 1px solid #e4eaf1;
  }

  .customer-bookings-info-card {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .customer-bookings-tab-card {
    padding: 16px;
  }

  .customer-bookings-empty-state {
    min-height: 340px;
    padding: 28px 12px;
  }

  .customer-bookings-document {
    width: 104px;
    height: 116px;
  }

  .customer-bookings-empty-state h2 {
    font-size: 1.35rem;
  }

  .customer-bookings-empty-state > p {
    font-size: 0.82rem;
  }

  .customer-create-booking-btn {
    width: 100%;
  }

  .customer-bookings-info-card {
    padding: 20px;
  }

  .customer-bookings-info-heading {
    flex-direction: column;
  }

  .customer-bookings-info-heading > span {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    font-size: 1.3rem;
  }
}

/* ==========================================================
   CUSTOMER BOOKINGS LIST
========================================================== */

.customer-bookings-list-card,
.customer-bookings-list-card * {
  box-sizing: border-box;
}

.customer-bookings-list-card {
  width: 100%;
  min-width: 0;
  border: 1px solid #dfe7ef;
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
}

/* Toolbar */

.customer-bookings-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid #e8edf3;
}

.customer-bookings-toolbar-left {
  min-width: 0;
  display: grid;
  grid-template-columns:
    minmax(230px, 1fr)
    140px
    160px
    auto;
  gap: 12px;
  align-items: center;
}

.customer-bookings-search {
  position: relative;
  min-width: 0;
}

.customer-bookings-search i {
  position: absolute;
  top: 50%;
  left: 14px;
  color: #64748b;
  transform: translateY(-50%);
}

.customer-bookings-search input,
.customer-bookings-toolbar select {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid #d8e2ed;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 0.78rem;
}

.customer-bookings-search input {
  padding: 0 14px 0 42px;
}

.customer-bookings-toolbar select {
  padding: 0 12px;
}

.customer-bookings-filter-btn,
.customer-bookings-add-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 8px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.customer-bookings-filter-btn {
  border: 1px solid #d8e2ed;
  background: #fff;
  color: #0f172a;
}

.customer-bookings-add-btn {
  border: 0;
  background: #0f8b4c;
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 139, 76, 0.16);
}

/* Table */

.customer-bookings-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.customer-booking-row {
  display: grid;
  grid-template-columns:
    155px
    145px
    150px
    170px
    90px
    145px
    110px
    100px
    50px;
  align-items: center;
  min-height: 70px;
  padding: 0 16px;
  border-bottom: 1px solid #edf1f5;
}

.customer-booking-head {
  min-height: 42px;
  background: #f8fafc;
  color: #4b5d78;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-booking-row > span {
  min-width: 0;
  padding: 10px 8px;
  color: #263754;
  font-size: 0.74rem;
}

.customer-booking-row b,
.customer-booking-row strong {
  color: #0f172a;
  font-weight: 900;
}

.customer-booking-row small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
}

.customer-booking-id button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #174a9c;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.booking-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 5px;
  font-size: 0.66rem;
  font-weight: 900;
}

.booking-status.in-progress {
  background: #e8f1ff;
  color: #2563eb;
}

.booking-status.completed {
  background: #dcfce7;
  color: #15803d;
}

.booking-status.cancelled {
  background: #fee2e2;
  color: #dc2626;
}

.customer-booking-amount {
  color: #0f172a !important;
  font-weight: 900;
}

/* Actions menu */

.customer-booking-actions-cell {
  position: relative;
  display: flex;
  justify-content: center;
}

.customer-booking-more-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #334155;
  cursor: pointer;
}

.customer-booking-more-btn:hover {
  border-color: #d8e2ed;
  background: #f8fafc;
}

.customer-booking-actions-menu {
  position: fixed;
  z-index: 9999;
  width: 190px;
  padding: 7px;
  border: 1px solid #dce4ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.16);
}

.customer-booking-actions-menu.hidden {
  display: none;
}

.customer-booking-actions-menu button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #263754;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.customer-booking-actions-menu button:hover {
  background: #f1f5f9;
}

.customer-booking-actions-menu button.danger {
  color: #dc2626;
}

/* Footer */

.customer-bookings-footer {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
}

.customer-bookings-footer p {
  margin: 0;
  color: #52637d;
  font-size: 0.72rem;
  font-weight: 700;
}

.customer-bookings-footer select {
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d8e2ed;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

/* No results */

.customer-bookings-no-results {
  padding: 58px 20px;
  text-align: center;
}

.customer-bookings-no-results.hidden {
  display: none;
}

.customer-bookings-no-results i {
  color: #0f8b4c;
  font-size: 2rem;
}

.customer-bookings-no-results h3 {
  margin: 15px 0 0;
  color: #0f172a;
}

.customer-bookings-no-results p {
  margin: 8px 0 0;
  color: #64748b;
}

/* Responsive */

@media (max-width: 1180px) {
  .customer-bookings-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-bookings-toolbar-left {
    grid-template-columns:
      minmax(220px, 1fr)
      repeat(3, minmax(130px, auto));
  }

  .customer-bookings-add-btn {
    justify-self: end;
  }
}

@media (max-width: 820px) {
  .customer-bookings-toolbar-left {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-bookings-search {
    grid-column: 1 / -1;
  }

  .customer-bookings-filter-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .customer-bookings-toolbar {
    padding: 14px;
  }

  .customer-bookings-toolbar-left {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-bookings-search {
    grid-column: auto;
  }

  .customer-bookings-add-btn,
  .customer-bookings-filter-btn {
    width: 100%;
  }

  .customer-bookings-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-bookings-footer select {
    width: 100%;
  }
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.payment-badge.mada {
  background: #e8f5ee;
  color: #0f8b4c;
}

.payment-badge.visa {
  background: #e8f1ff;
  color: #2563eb;
}

.payment-badge.applepay {
  background: #f3f4f6;
  color: #111827;
}

.payment-badge.cash {
  background: #fff7e6;
  color: #b45309;
}

.payment-badge.arrival {
  background: #fef3c7;
  color: #92400e;
}

/* ==========================================================
   BOOKINGS TABLE. PAYMENT AND RESPONSIVE FINAL FIX
========================================================== */

.customer-bookings-table {
  min-width: 1260px;
}

/* Rebalance columns after adding Payment Method */
.customer-booking-row {
  grid-template-columns:
    155px
    145px
    150px
    170px
    90px
    145px
    110px
    100px
    50px;
  column-gap: 4px;
}

/* Payment cell must not stretch its badge */
.customer-booking-payment {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

/* Compact content-width badges */
.payment-badge {
  width: max-content !important;
  max-width: 100%;
  min-width: 0;
  min-height: 30px;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
  font-size: 0.69rem;
  font-weight: 800;
}

.payment-badge i {
  flex: 0 0 auto;
  font-size: 0.8rem;
}

/* Payment badge themes */

.payment-badge.mada {
  background: #e8f8ee;
  color: #0f8b4c;
}

.payment-badge.visa {
  background: #e9f1ff;
  color: #2563eb;
}

.payment-badge.applepay {
  background: #f1f3f6;
  color: #111827;
}

.payment-badge.cash {
  background: #fff5df;
  color: #b45309;
}

.payment-badge.arrival {
  background: #fff3cd;
  color: #92400e;
}

/* Keep status badges compact too */
.booking-status {
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

/* Improve table alignment */
.customer-booking-row > span {
  display: flex;
  min-width: 0;
  align-items: center;
}

.customer-booking-id,
.customer-booking-location,
.customer-booking-date {
  align-items: flex-start !important;
  flex-direction: column;
}

.customer-booking-actions-cell {
  justify-content: center;
}

/* Slightly move payment and later columns to the right */
.customer-booking-row > span:nth-child(6),
.customer-booking-row > span:nth-child(7),
.customer-booking-row > span:nth-child(8),
.customer-booking-row > span:nth-child(9) {
  padding-left: 12px;
}

/* ----------------------------------------------------------
   LAPTOP AND IPAD LANDSCAPE
---------------------------------------------------------- */

@media (max-width: 1450px) {
  .customer-bookings-table {
    min-width: 1180px;
  }

  .customer-booking-row {
    grid-template-columns:
      145px
      135px
      140px
      155px
      80px
      130px
      100px
      90px
      46px;
  }

  .payment-badge {
    padding: 0 9px;
    font-size: 0.65rem;
  }
}

/* ----------------------------------------------------------
   TABLET
---------------------------------------------------------- */

@media (max-width: 1180px) {
  .customer-bookings-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .customer-bookings-table {
    min-width: 1120px;
  }

  .customer-booking-row {
    grid-template-columns:
      138px
      128px
      132px
      148px
      76px
      124px
      96px
      86px
      44px;
  }

  .customer-bookings-toolbar {
    grid-template-columns: 1fr;
  }

  .customer-bookings-toolbar-left {
    grid-template-columns:
      minmax(220px, 1fr)
      repeat(3, minmax(125px, auto));
  }

  .customer-bookings-add-btn {
    justify-self: end;
  }
}

/* ----------------------------------------------------------
   IPAD PORTRAIT AND MOBILE
---------------------------------------------------------- */

@media (max-width: 820px) {
  .customer-bookings-toolbar-left {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-bookings-search {
    grid-column: 1 / -1;
  }

  .customer-bookings-add-btn {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .customer-bookings-toolbar-left {
    grid-template-columns: 1fr;
  }

  .customer-bookings-search {
    grid-column: auto;
  }
}

/* ==========================================================
   KSA VEHICLE PLATE IMAGE
========================================================== */

.customer-booking-plate-image {
  position: relative;
  width: 170px;
  aspect-ratio: 1.72 / 1;
  flex: 0 0 170px;
  overflow: hidden;
}

.customer-booking-plate-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.customer-booking-plate-image span {
  position: absolute;
  z-index: 1;
  color: #050505;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

/* Top-left Arabic numbers */

.booking-plate-arabic-number {
  top: 20%;
  left: 7%;
  width: 48%;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  direction: rtl;
}

/* Top-right Arabic letters */

.booking-plate-arabic-letters {
  top: 20%;
  left: 53%;
  width: 28%;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  direction: rtl;
}

/* Bottom-left English numbers */

.booking-plate-english-number {
  top: 66%;
  left: 7%;
  width: 48%;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

/* Bottom-right English letters */

.booking-plate-english-letters {
  top: 66%;
  left: 53%;
  width: 28%;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

/* ==========================================================
   CUSTOMER BOOKINGS TABLE. FINAL RESPONSIVE LAYOUT
========================================================== */

.customer-bookings-table-scroll {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

/* Large desktop. Fill the complete available width */

.customer-bookings-table {
  width: 100%;
  min-width: 1180px;
}

.customer-booking-row {
  width: 100%;
  display: grid;
  grid-template-columns:
    minmax(150px, 1.15fr)
    minmax(140px, 1fr)
    minmax(170px, 1.25fr)
    minmax(170px, 1.2fr)
    minmax(80px, 0.65fr)
    minmax(135px, 0.9fr)
    minmax(105px, 0.75fr)
    minmax(95px, 0.7fr)
    48px;
  column-gap: 14px;
  align-items: center;
}

.customer-booking-row > span {
  min-width: 0;
}

/* Vehicle plate */

.customer-booking-plate-image {
  position: relative;
  width: 150px;
  flex: 0 0 150px;
  aspect-ratio: 1.72 / 1;
  overflow: hidden;
}

.customer-booking-plate-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Prevent the vehicle cell from entering Date & Time */

.customer-booking-row > span:nth-child(3) {
  min-width: 0;
  overflow: hidden;
}

.customer-booking-row > span:nth-child(4) {
  position: relative;
  z-index: 1;
  min-width: 0;
  background: #fff;
}

/* Keep badges compact */

.customer-booking-payment {
  display: flex;
  align-items: center;
  min-width: 0;
}

.payment-badge,
.booking-status {
  width: max-content !important;
  max-width: 100%;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* ==========================================================
   STANDARD LAPTOP
========================================================== */

@media (max-width: 1500px) {
  .customer-bookings-table {
    min-width: 1120px;
  }

  .customer-booking-row {
    grid-template-columns:
      140px
      135px
      160px
      155px
      76px
      125px
      100px
      90px
      44px;
    column-gap: 10px;
  }

  .customer-booking-plate-image {
    width: 142px;
    flex-basis: 142px;
  }
}

/* ==========================================================
   IPAD LANDSCAPE AND TABLETS
========================================================== */

@media (max-width: 1180px) {
  .customer-bookings-table-scroll {
    overflow-x: auto;
  }

  .customer-bookings-table {
    width: max-content;
    min-width: 1080px;
  }

  .customer-booking-row {
    width: 1080px;
    grid-template-columns:
      132px
      128px
      145px
      150px
      72px
      120px
      96px
      86px
      42px;
    column-gap: 8px;
  }

  .customer-booking-plate-image {
    width: 132px;
    flex: 0 0 132px;
  }

  .customer-booking-row > span:nth-child(3) {
    padding-right: 6px;
  }

  .customer-booking-row > span:nth-child(4) {
    padding-left: 6px;
  }

  .payment-badge {
    min-height: 27px;
    padding: 0 8px;
    font-size: 0.62rem;
  }

  .booking-status {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.61rem;
  }
}

/* ==========================================================
   IPAD PORTRAIT AND MOBILE
========================================================== */

@media (max-width: 820px) {
  .customer-bookings-table {
    min-width: 1040px;
  }

  .customer-booking-row {
    width: 1040px;
    grid-template-columns:
      126px
      122px
      138px
      144px
      68px
      116px
      92px
      82px
      40px;
  }

  .customer-booking-plate-image {
    width: 126px;
    flex-basis: 126px;
  }
}

/* ==========================================================
   CUSTOMER PAYMENT METHODS TAB
========================================================== */

.customer-payment-methods-card,
.customer-payment-methods-card * {
  box-sizing: border-box;
}

.customer-payment-methods-card {
  width: 100%;
  min-width: 0;
  padding: 22px;
  border: 1px solid #dfe7ef;
  border-radius: 13px;
  background: #fff;
}

.customer-payment-methods-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.customer-payment-methods-header h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
}

.customer-payment-methods-header p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
}

.customer-add-payment-btn,
.customer-add-payment-empty-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #0f8b4c;
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 139, 76, 0.18);
  cursor: pointer;
}

.customer-add-payment-btn:hover,
.customer-add-payment-empty-btn:hover {
  background: #0b7a42;
}

/* Empty state */

.customer-payment-empty-state {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  border: 1px dashed #d8e2ed;
  border-radius: 12px;
  text-align: center;
}

.customer-payment-empty-illustration {
  margin-bottom: 22px;
}

.customer-payment-card-shape {
  position: relative;
  width: 132px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #7c8ca5;
  font-size: 3rem;
}

.customer-payment-card-shape::before,
.customer-payment-card-shape::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 2px solid #d8e2ed;
  border-radius: 50%;
}

.customer-payment-card-shape::before {
  top: 8px;
  left: 12px;
}

.customer-payment-card-shape::after {
  right: 10px;
  bottom: 8px;
}

.customer-payment-card-shape small {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #0f8b4c;
  color: #fff;
  font-size: 0.9rem;
}

.customer-payment-empty-state h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 900;
}

.customer-payment-empty-state p {
  margin: 14px 0 26px;
  color: #607089;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.65;
}

/* Responsive */

@media (max-width: 768px) {
  .customer-payment-methods-header {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-add-payment-btn {
    width: 100%;
  }

  .customer-payment-empty-state {
    min-height: 360px;
    padding: 32px 16px;
  }
}

@media (max-width: 520px) {
  .customer-payment-methods-card {
    padding: 14px;
  }

  .customer-payment-card-shape {
    width: 108px;
    height: 92px;
    font-size: 2.4rem;
  }

  .customer-payment-empty-state h3 {
    font-size: 1.05rem;
  }

  .customer-add-payment-empty-btn {
    width: 100%;
  }
}

/* ==========================================================
   SAVED PAYMENT METHODS TABLE
========================================================== */

.customer-payment-table-scroll {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.customer-payment-table {
  width: 100%;
  min-width: 1050px;
}

.customer-payment-row {
  display: grid;
  grid-template-columns:
    minmax(190px, 1.25fr)
    minmax(170px, 1fr)
    minmax(190px, 1.1fr)
    110px
    110px
    170px
    48px;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 0 16px;
  border-bottom: 1px solid #e7edf3;
}

.customer-payment-head {
  min-height: 46px;
  background: #f8fafc;
  color: #52637d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-payment-row > span {
  min-width: 0;
  color: #263754;
  font-size: 0.75rem;
}

.customer-payment-row strong {
  color: #0f172a;
  font-weight: 900;
}

.customer-payment-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.customer-payment-brand > span:last-child {
  min-width: 0;
}

.customer-payment-brand strong,
.customer-payment-brand small {
  display: block;
}

.customer-payment-brand small {
  width: max-content;
  margin-top: 5px;
  padding: 4px 7px;
  border-radius: 5px;
  background: #eef2f7;
  color: #58677f;
  font-size: 0.66rem;
  font-weight: 700;
}

.payment-logo {
  width: 58px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 8px;

  overflow: hidden;
}

.payment-logo img {
  max-width: 42px;
  max-height: 24px;

  width: auto;
  height: auto;

  object-fit: contain;
  display: block;
}

.customer-payment-number {
  color: #0f172a !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.payment-method-status {
  width: max-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 5px;
  font-size: 0.67rem;
  font-weight: 900;
}

.payment-method-status.active {
  background: #dcfce7;
  color: #15803d;
}

.payment-method-status.expired {
  background: #fee2e2;
  color: #dc2626;
}

.payment-default-btn {
  width: max-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid #d6e0e9;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.payment-default-btn.active {
  border-color: transparent;
  background: transparent;
  color: #0f172a;
}

.payment-default-btn.active i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0f8b4c;
  color: #fff;
}

.customer-payment-actions-cell {
  position: relative;
  display: flex;
  justify-content: center;
}

.customer-payment-more-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}

.customer-payment-more-btn:hover {
  border-color: #d8e2ed;
  background: #f8fafc;
}

.customer-payment-actions-menu {
  position: fixed;
  z-index: 9999;
  width: 190px;
  padding: 7px;
  border: 1px solid #dce4ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.16);
}

.customer-payment-actions-menu.hidden {
  display: none;
}

.customer-payment-actions-menu button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #263754;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.customer-payment-actions-menu button:hover {
  background: #f1f5f9;
}

.customer-payment-actions-menu button.danger {
  color: #dc2626;
}

/* Security message */

.customer-payment-security-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f0fbf5, #f8fcfa);
}

.customer-payment-security-note > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 50%;
  background: #dcfce7;
  color: #0f8b4c;
}

.customer-payment-security-note strong {
  color: #0f8b4c;
  font-size: 0.73rem;
}

.customer-payment-security-note p {
  margin: 5px 0 0;
  color: #52637d;
  font-size: 0.69rem;
  font-weight: 600;
}

/* Responsive */

@media (max-width: 1180px) {
  .customer-payment-table {
    min-width: 980px;
  }

  .customer-payment-row {
    grid-template-columns:
      175px
      155px
      175px
      95px
      95px
      155px
      44px;
    gap: 9px;
  }
}

@media (max-width: 768px) {
  .customer-payment-methods-card {
    padding: 14px;
  }

  .customer-payment-security-note {
    align-items: flex-start;
  }
}

/* ==========================================================
   CUSTOMER ACTIVITY LOG
========================================================== */

.customer-activity-card,
.customer-activity-card * {
  box-sizing: border-box;
}

.customer-activity-card {
  width: 100%;
  min-width: 0;
  border: 1px solid #dfe7ef;
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
}

.customer-activity-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid #e8edf3;
}

.customer-activity-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.customer-activity-search {
  position: relative;
  width: 300px;
  min-width: 0;
}

.customer-activity-search i {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #64748b;
  transform: translateY(-50%);
}

.customer-activity-search input,
.customer-activity-toolbar select {
  width: 100%;
  height: 44px;
  border: 1px solid #d8e2ed;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 0.76rem;
}

.customer-activity-search input {
  padding: 0 42px 0 14px;
}

.customer-activity-toolbar select {
  min-width: 150px;
  padding: 0 12px;
}

.customer-activity-export-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid #d8e2ed;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.customer-activity-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.customer-activity-table {
  width: 100%;
  min-width: 1120px;
}

.customer-activity-row {
  display: grid;
  grid-template-columns:
    minmax(160px, 1fr)
    minmax(210px, 1.45fr)
    minmax(260px, 1.8fr)
    minmax(180px, 1.2fr)
    minmax(130px, 0.9fr)
    minmax(120px, 0.8fr);
  gap: 16px;
  align-items: center;
  min-height: 70px;
  padding: 0 18px;
  border-bottom: 1px solid #edf1f5;
}

.customer-activity-head {
  min-height: 44px;
  background: #f8fafc;
  color: #52637d;
  font-size: 0.67rem;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-activity-row > span {
  min-width: 0;
  color: #263754;
  font-size: 0.74rem;
}

.customer-activity-row strong {
  color: #0f172a;
  font-weight: 900;
}

.customer-activity-row small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.4;
}

.customer-activity-date,
.customer-activity-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.activity-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 50%;
}

.activity-mini-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  border-radius: 7px;
  font-size: 0.67rem;
}

.booking-created {
  background: #e8f1ff;
  color: #2563eb;
}

.payment-added {
  background: #e8f8ee;
  color: #0f8b4c;
}

.booking-completed {
  background: #dcfce7;
  color: #15803d;
}

.booking-cancelled {
  background: #fee2e2;
  color: #dc2626;
}

.profile-updated {
  background: #f3e8ff;
  color: #9333ea;
}

.login {
  background: #e8f1ff;
  color: #2563eb;
}

.password-changed {
  background: #fff4dc;
  color: #d97706;
}

.account-created {
  background: #e8f8ee;
  color: #0f8b4c;
}

.customer-activity-user {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.activity-user-badge {
  width: max-content;
  margin-top: 5px !important;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.61rem !important;
  font-weight: 800 !important;
}

.activity-user-badge.customer {
  background: #dcfce7;
  color: #15803d;
}

.activity-user-badge.system {
  background: #dbeafe;
  color: #2563eb;
}

.customer-activity-channel {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.customer-activity-footer {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 12px 18px;
}

.customer-activity-footer p {
  margin: 0;
  color: #52637d;
  font-size: 0.71rem;
  font-weight: 700;
}

.customer-activity-footer select {
  justify-self: end;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d8e2ed;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 0.71rem;
  font-weight: 800;
}

.customer-activity-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.customer-activity-pagination button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e2ed;
  border-radius: 8px;
  background: #fff;
  color: #263754;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.customer-activity-pagination button.active {
  border-color: #0f8b4c;
  background: #0f8b4c;
  color: #fff;
}

.customer-activity-empty {
  padding: 56px 20px;
  text-align: center;
}

.customer-activity-empty.hidden {
  display: none;
}

.customer-activity-empty i {
  color: #0f8b4c;
  font-size: 2rem;
}

.customer-activity-empty h3 {
  margin: 14px 0 0;
  color: #0f172a;
}

.customer-activity-empty p {
  margin: 8px 0 0;
  color: #64748b;
}

@media (max-width: 1180px) {
  .customer-activity-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-activity-toolbar-left {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .customer-activity-search {
    width: 100%;
  }

  .customer-activity-export-btn {
    align-self: flex-end;
  }
}

@media (max-width: 760px) {
  .customer-activity-toolbar-left {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-activity-export-btn {
    width: 100%;
  }

  .customer-activity-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-activity-footer select {
    justify-self: stretch;
    width: 100%;
  }

  .customer-activity-pagination {
    justify-content: center;
  }
}

/* ==========================================================
   PROFILE AND CUSTOMER OVERVIEW. TOP LAYOUT
========================================================== */

.customer-profile-overview-layout {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(320px, 1fr);
  gap: 12px;
  align-items: stretch;
}

.customer-profile-overview-layout > * {
  min-width: 0;
}

.customer-profile-overview-layout .customer-profile-card,
.customer-profile-overview-layout .customer-top-overview-panel {
  height: 100%;
}

/* Main customer information card */

.customer-profile-overview-layout .customer-profile-card {
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 2fr);
  gap: 28px;
  padding: 24px 26px;
}

/* Overview card */

.customer-top-overview-panel {
  padding: 20px;
}

.customer-top-overview-panel .customer-details-panel-heading {
  margin-bottom: 14px;
  padding-bottom: 0;
  border-bottom: 0;
}

.customer-top-overview-panel .customer-details-panel-heading h3 {
  font-size: 0.9rem;
}

.customer-top-overview-panel .customer-details-panel-heading h3 > i {
  width: 31px;
  height: 31px;
  background: #e4f8ec;
  color: #0f9f5c;
}

.customer-top-overview-panel .customer-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.customer-top-overview-panel .customer-overview-grid > div {
  min-height: 74px;
  padding: 11px;
}

/* Laptop and iPad landscape */

@media (max-width: 1250px) {
  .customer-profile-overview-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-top-overview-panel .customer-overview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* iPad portrait and tablets */

@media (max-width: 900px) {
  .customer-profile-overview-layout .customer-profile-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-profile-overview-layout .customer-profile-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-top-overview-panel .customer-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */

@media (max-width: 600px) {
  .customer-profile-overview-layout {
    gap: 10px;
  }

  .customer-profile-overview-layout .customer-profile-card,
  .customer-top-overview-panel {
    padding: 16px;
  }

  .customer-profile-overview-layout .customer-profile-main {
    align-items: flex-start;
  }

  .customer-profile-overview-layout .customer-profile-info-grid,
  .customer-top-overview-panel .customer-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.customer-profile-overview-layout {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(320px, 1fr);
  gap: 12px;
  align-items: stretch;
}

.customer-profile-overview-layout > * {
  min-width: 0;
}

.customer-profile-overview-layout .customer-profile-card,
.customer-profile-overview-layout .customer-top-overview-panel {
  height: 100%;
}

@media (max-width: 1250px) {
  .customer-profile-overview-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-top-overview-panel .customer-overview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .customer-top-overview-panel .customer-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .customer-top-overview-panel .customer-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================
   CUSTOMER OVERVIEW. FINAL VISUAL RESTORE
========================================================== */

/* Main Overview layout */

.customer-details-content {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(330px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.customer-details-main,
.customer-details-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.customer-details-panel {
  width: 100%;
  min-width: 0;
  padding: 20px;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

/* ==========================================================
   PANEL HEADERS
========================================================== */

.customer-details-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.customer-details-panel-heading h3 {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 900;
}

.customer-details-panel-heading h3 > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #e7f8ee;
  color: #0f9f5c;
  font-size: 0.8rem;
}

.customer-panel-link {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1261d4;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

/* ==========================================================
   REGISTERED VEHICLES
========================================================== */

.customer-registered-vehicle-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.customer-registered-vehicle-item {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

.registered-vehicle-logo {
  width: 86px;
  height: 64px;
  border-radius: 10px;
  background: #f7f9fc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.registered-vehicle-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.customer-registered-vehicle-item > div {
  min-width: 0;
}

.customer-registered-vehicle-item strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 900;
}

.customer-registered-vehicle-item strong small {
  padding: 3px 7px;
  border-radius: 5px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.58rem;
  font-weight: 900;
}

.customer-registered-vehicle-item > div > span,
.customer-registered-vehicle-item em {
  display: block;
  margin-top: 5px;
  color: #52637d;
  font-size: 0.69rem;
  font-style: normal;
  font-weight: 700;
}

.customer-registered-vehicle-item > button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
}

/* ==========================================================
   PAYMENT METHODS. SIDEBAR
========================================================== */

.customer-overview-payment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.customer-overview-payment-item {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 34px;
  gap: 13px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

.overview-payment-logo {
  width: 70px;
  height: 50px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f8fafc;
}

.overview-payment-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 54px;
  max-height: 30px;
  object-fit: contain;
}

.customer-overview-payment-item > div {
  min-width: 0;
}

.customer-overview-payment-item strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 900;
}

.customer-overview-payment-item strong small {
  padding: 3px 7px;
  border-radius: 5px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.58rem;
  font-weight: 900;
}

.customer-overview-payment-item > div > span {
  display: block;
  margin-top: 5px;
  color: #52637d;
  font-size: 0.69rem;
  font-weight: 700;
}

.customer-overview-payment-item > button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
}

/* ==========================================================
   BOOKING SUMMARY
========================================================== */

.customer-booking-summary-panel {
  padding: 20px;
}

.customer-booking-summary-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4px;
}

.customer-booking-summary-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 20px;
  border-right: 1px solid #dce5ee;
}

.customer-booking-summary-item:first-child {
  padding-left: 0;
}

.customer-booking-summary-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.customer-booking-summary-item > div {
  min-width: 0;
}

.customer-booking-summary-item > div > span {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}

.customer-booking-summary-item strong {
  display: block;
  margin-top: 5px;
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 900;
}

.summary-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  border-radius: 50%;
  font-size: 1rem;
}

.summary-icon.blue {
  background: #e8f1ff;
  color: #2563eb;
}

.summary-icon.green {
  background: #dcfce7;
  color: #0f9f5c;
}

.summary-icon.red {
  background: #fee2e2;
  color: #ef4444;
}

/* ==========================================================
   ACTION BUTTONS
========================================================== */

.customer-deactivate-btn {
  width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  background: #fff;
  color: #ef4444;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.customer-export-data-btn {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid #d8e2ed;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1250px) {
  .customer-details-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-details-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .customer-export-data-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .customer-booking-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-booking-summary-item {
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid #dce5ee;
  }

  .customer-booking-summary-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .customer-details-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-export-data-btn {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .customer-booking-summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-booking-summary-item,
  .customer-booking-summary-item:first-child,
  .customer-booking-summary-item:last-child {
    padding: 13px 0;
    border-bottom: 1px solid #dce5ee;
  }

  .customer-booking-summary-item:last-child {
    border-bottom: 0;
  }

  .customer-registered-vehicle-item,
  .customer-overview-payment-item {
    grid-template-columns: 62px minmax(0, 1fr) 32px;
  }

  .registered-vehicle-logo,
  .overview-payment-logo {
    width: 62px;
  }
}
