* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #149cff;
  --blue-dark: #0878c9;
  --black: #080b0e;
  --dark: #10151a;
  --dark-light: #171d23;
  --border: #29313a;
  --white: #ffffff;
  --muted: #a9b2bc;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top right,
      rgba(20, 156, 255, 0.12),
      transparent 35%
    ),
    var(--black);

  color: var(--white);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}


/* =====================================================
   HEADER
   ===================================================== */

.account-header {
  width: 100%;
  min-height: 86px;

  padding: 16px 5%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  background: rgba(8, 11, 14, 0.96);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.08);

  position: sticky;
  top: 0;
  z-index: 100;
}

.account-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.account-brand-name {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 1px;
}

.account-brand-name span {
  color: var(--blue);
}

.account-nav {
  display: flex;
  align-items: center;
  gap: 28px;

  font-size: 14px;
  font-weight: 700;
}

.account-nav a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.account-nav a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}


/* =====================================================
   MAIN PAGE
   ===================================================== */

.account-page {
  width: min(1180px, 92%);
  margin: 0 auto;

  flex: 1;

  padding:
    70px 0 90px;
}

.hidden {
  display: none !important;
}


/* =====================================================
   LOADING
   ===================================================== */

.account-loading {
  min-height: 350px;

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

  color: var(--muted);

  font-size: 18px;
  font-weight: 700;
}


/* =====================================================
   TITLE
   ===================================================== */

.account-title {
  margin-bottom: 38px;
}

.small-heading {
  color: var(--blue);

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;

  margin-bottom: 10px;
}

.account-title h1,
.signed-out-card h1 {
  font-size: clamp(38px, 6vw, 68px);

  line-height: 0.95;

  font-weight: 900;
  letter-spacing: -2px;

  margin-bottom: 18px;
}

.account-title h1 span,
.signed-out-card h1 span {
  color: var(--blue);
}

.account-title p {
  color: var(--muted);

  font-size: 17px;
  line-height: 1.6;
}


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

.profile-card {
  width: 100%;

  display: flex;
  align-items: center;
  gap: 22px;

  padding: 28px;

  margin-bottom: 28px;

  background:
    linear-gradient(
      135deg,
      rgba(20, 156, 255, 0.14),
      rgba(255, 255, 255, 0.025)
    );

  border: 1px solid var(--border);
  border-radius: 18px;
}

.profile-icon {
  width: 72px;
  height: 72px;

  flex-shrink: 0;

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

  border-radius: 50%;

  background: var(--blue);

  color: #00111f;

  font-size: 30px;
  font-weight: 900;
}

.profile-label {
  color: var(--blue);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.6px;

  margin-bottom: 5px;
}

.profile-info h2 {
  font-size: 25px;
  margin-bottom: 6px;
}

.profile-info p {
  color: var(--muted);
  word-break: break-word;
}


/* =====================================================
   ACCOUNT ACTION GRID
   ===================================================== */

.account-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.account-action-card {
  min-height: 210px;

  padding: 26px;

  display: flex;
  align-items: flex-start;
  gap: 20px;

  text-align: left;

  color: var(--white);

  background: var(--dark);

  border: 1px solid var(--border);
  border-radius: 16px;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.account-action-card:hover {
  transform: translateY(-4px);

  border-color:
    rgba(20, 156, 255, 0.75);

  background: var(--dark-light);
}

.action-number {
  min-width: 42px;

  color: var(--blue);

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}

.action-content h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.action-content p {
  color: var(--muted);

  line-height: 1.6;

  margin-bottom: 24px;
}

.action-link {
  color: var(--blue);

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

.logout-card {
  width: 100%;
}


/* =====================================================
   SIGNED OUT
   ===================================================== */

.signed-out-card {
  max-width: 720px;

  margin: 60px auto;

  padding: 48px;

  text-align: center;

  background: var(--dark);

  border: 1px solid var(--border);
  border-radius: 18px;
}

.signed-out-card p {
  max-width: 560px;

  margin:
    0 auto 30px;

  color: var(--muted);

  font-size: 17px;
  line-height: 1.7;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding: 0 26px;

  background: var(--blue);

  color: #00111f;

  border-radius: 8px;

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.8px;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.primary-button:hover {
  background: #4db4ff;
  transform: translateY(-2px);
}


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

.account-footer {
  min-height: 90px;

  padding: 25px 5%;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;

  flex-wrap: wrap;

  background: #050709;

  border-top:
    1px solid rgba(255, 255, 255, 0.08);

  color: var(--muted);

  font-size: 12px;
}

.account-footer strong {
  color: var(--white);

  font-size: 16px;
  letter-spacing: 1px;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 850px) {

  .account-grid {
    grid-template-columns: 1fr;
  }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 560px) {

  .account-header {
    padding:
      14px 20px;
  }

  .account-brand img {
    width: 46px;
    height: 46px;
  }

  .account-brand-name {
    font-size: 21px;
  }

  .account-page {
    width: calc(100% - 32px);

    padding:
      45px 0 65px;
  }

  .account-title h1,
  .signed-out-card h1 {
    font-size: 42px;
  }

  .profile-card {
    align-items: flex-start;

    padding: 22px;
  }

  .profile-icon {
    width: 58px;
    height: 58px;

    font-size: 24px;
  }

  .profile-info h2 {
    font-size: 20px;
  }

  .account-action-card {
    min-height: auto;

    padding: 22px;

    gap: 14px;
  }

  .action-content h3 {
    font-size: 21px;
  }

  .signed-out-card {
    padding:
      38px 22px;
  }

  .account-footer {
    flex-direction: column;

    gap: 8px;

    text-align: center;
  }

}

/* =====================================================
   CURRENT ORDER PAGE
   ===================================================== */

.order-panel {
  width: 100%;
  margin-bottom: 28px;
  padding: 30px;

  background: var(--dark);

  border: 1px solid var(--border);
  border-radius: 18px;
}


/* =====================================================
   ORDER PANEL HEADING
   ===================================================== */

.order-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 32px;
}

.order-panel-heading h2 {
  font-size: 28px;
}

.order-number {
  color: var(--muted);

  font-size: 13px;
  font-weight: 700;

  text-align: right;
}


/* =====================================================
   STATUS TIMELINE
   ===================================================== */

.status-timeline {
  display: flex;
  flex-direction: column;
}

.status-step {
  position: relative;

  display: flex;
  align-items: flex-start;
  gap: 20px;

  min-height: 100px;

  opacity: 0.38;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}


/* Vertical connecting line */

.status-step:not(:last-child)::after {
  content: "";

  position: absolute;

  left: 21px;
  top: 44px;

  width: 2px;
  height: calc(100% - 12px);

  background: var(--border);

  transition:
    background 0.25s ease;
}


/* =====================================================
   STATUS DOT
   ===================================================== */

.status-dot {
  position: relative;
  z-index: 2;

  width: 44px;
  height: 44px;

  flex-shrink: 0;

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

  border-radius: 50%;

  background: #1d242b;

  border: 2px solid #3a444e;

  color: var(--muted);

  font-size: 14px;
  font-weight: 900;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}


/* =====================================================
   STATUS TEXT
   ===================================================== */

.status-step strong {
  display: block;

  margin-top: 3px;
  margin-bottom: 7px;

  color: var(--white);

  font-size: 18px;
}

.status-step span {
  display: block;

  max-width: 620px;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.5;
}


/* =====================================================
   COMPLETED STATUS
   ===================================================== */

.status-step.completed {
  opacity: 1;
}

.status-step.completed .status-dot {
  background: var(--blue);

  border-color: var(--blue);

  color: #00111f;
}

.status-step.completed:not(:last-child)::after {
  background: var(--blue);
}


/* =====================================================
   CURRENT STATUS
   ===================================================== */

.status-step.current {
  opacity: 1;

  transform: translateX(4px);
}

.status-step.current .status-dot {
  background: var(--blue);

  border-color: #74c9ff;

  color: #00111f;

  box-shadow:
    0 0 0 6px rgba(20, 156, 255, 0.12),
    0 0 22px rgba(20, 156, 255, 0.35);
}

.status-step.current strong {
  color: var(--blue);
}


/* =====================================================
   ORDER DETAILS
   ===================================================== */

.order-details-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.order-detail-card {
  min-height: 155px;

  padding: 24px;

  background: var(--dark);

  border: 1px solid var(--border);
  border-radius: 16px;
}

.detail-label {
  margin-bottom: 10px;

  color: var(--blue);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.order-detail-card h3 {
  margin-bottom: 9px;

  color: var(--white);

  font-size: 20px;
  line-height: 1.3;
}

.order-detail-card p {
  color: var(--muted);

  font-size: 14px;
  line-height: 1.6;

  word-break: break-word;
}


/* =====================================================
   CURRENT ORDER MOBILE
   ===================================================== */

@media (max-width: 700px) {

  .order-panel {
    padding: 22px;
  }

  .order-panel-heading {
    flex-direction: column;
  }

  .order-number {
    text-align: left;
  }

  .order-details-grid {
    grid-template-columns: 1fr;
  }

  .status-step {
    gap: 15px;

    min-height: 105px;
  }

  .status-step strong {
    font-size: 16px;
  }

  .status-step span {
    font-size: 13px;
  }

}

/* =====================================================
   ORDER HISTORY PAGE
   ===================================================== */

.history-list {
  width: 100%;

  display: flex;
  flex-direction: column;

  gap: 18px;
}


/* =====================================================
   HISTORY ORDER CARD
   ===================================================== */

.history-order-card {
  width: 100%;

  padding: 28px;

  background: var(--dark);

  border: 1px solid var(--border);
  border-radius: 18px;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.history-order-card:hover {
  transform: translateY(-2px);

  border-color:
    rgba(20, 156, 255, 0.65);

  background: var(--dark-light);
}


/* =====================================================
   HISTORY CARD HEADER
   ===================================================== */

.history-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;

  padding-bottom: 20px;
  margin-bottom: 22px;

  border-bottom:
    1px solid var(--border);
}

.history-card-title {
  min-width: 0;
}

.history-card-title .detail-label {
  margin-bottom: 7px;
}

.history-card-title h2 {
  color: var(--white);

  font-size: 24px;
  line-height: 1.25;

  word-break: break-word;
}

.history-status {
  flex-shrink: 0;

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

  min-height: 34px;

  padding: 0 14px;

  background:
    rgba(20, 156, 255, 0.12);

  border:
    1px solid rgba(20, 156, 255, 0.45);

  border-radius: 999px;

  color: var(--blue);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}


/* =====================================================
   HISTORY INFORMATION
   ===================================================== */

.history-info-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.history-info-item {
  min-width: 0;
}

.history-info-label {
  margin-bottom: 6px;

  color: var(--muted);

  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.history-info-value {
  color: var(--white);

  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;

  word-break: break-word;
}


/* =====================================================
   HISTORY TOTALS
   ===================================================== */

.history-totals {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-top: 24px;
  padding-top: 20px;

  border-top:
    1px solid var(--border);
}

.history-total-group {
  display: flex;
  align-items: center;

  gap: 28px;
}

.history-total-item span {
  display: block;

  margin-bottom: 5px;

  color: var(--muted);

  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

.history-total-item strong {
  display: block;

  color: var(--white);

  font-size: 18px;
}

.history-total-item.grand-total strong {
  color: var(--blue);

  font-size: 22px;
}


/* =====================================================
   ORDER DATE
   ===================================================== */

.history-order-date {
  color: var(--muted);

  font-size: 12px;
  line-height: 1.5;

  text-align: right;
}


/* =====================================================
   ORDER ID
   ===================================================== */

.history-order-id {
  margin-top: 18px;

  color: #6f7a84;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;

  word-break: break-all;
}


/* =====================================================
   HISTORY MOBILE
   ===================================================== */

@media (max-width: 700px) {

  .history-order-card {
    padding: 22px;
  }

  .history-card-header {
    flex-direction: column;
  }

  .history-info-grid {
    grid-template-columns: 1fr;
  }

  .history-totals {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-total-group {
    width: 100%;

    justify-content: space-between;

    gap: 15px;
  }

  .history-order-date {
    text-align: left;
  }

}

/* =====================================================
   MULTIPLE ACTIVE ORDERS
   ===================================================== */

.active-orders-list {
  width: 100%;

  display: flex;
  flex-direction: column;

  gap: 40px;
}


/* =====================================================
   INDIVIDUAL ACTIVE ORDER
   ===================================================== */

.active-order-card {
  width: 100%;

  padding: 28px;

  background:
    rgba(8, 18, 26, 0.55);

  border:
    1px solid rgba(255, 255, 255, 0.10);

  border-radius: 22px;
}


/* =====================================================
   ACTIVE ORDER HEADING
   ===================================================== */

.active-order-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 22px;
  padding-bottom: 20px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.10);
}

.active-order-heading .small-heading {
  margin-bottom: 7px;
}

.active-order-heading h2 {
  margin: 0;

  color: var(--white);

  font-size: 28px;
  line-height: 1.25;

  word-break: break-word;
}


/* =====================================================
   STATUS CARD INSIDE ACTIVE ORDER
   ===================================================== */

.active-order-status-card {
  margin-bottom: 22px;
}


/* =====================================================
   ORDER PANELS INSIDE ACTIVE ORDER
   ===================================================== */

.active-order-card .order-panel {
  margin-bottom: 22px;
}

.active-order-card .order-details-grid {
  margin-bottom: 0;
}


/* =====================================================
   MULTIPLE ACTIVE ORDERS MOBILE
   ===================================================== */

@media (max-width: 700px) {

  .active-orders-list {
    gap: 28px;
  }

  .active-order-card {
    padding: 18px;
    border-radius: 18px;
  }

  .active-order-heading {
    align-items: flex-start;
    flex-direction: column;

    gap: 12px;
  }

  .active-order-heading h2 {
    font-size: 23px;
  }

  .active-order-heading .order-number {
    width: 100%;

    text-align: left;
  }

}

/* =====================================================
   ACTIVE NAVIGATION PAGE
   ===================================================== */

.account-nav a.active-nav {
  padding: 11px 17px;

  color: #d7faff;

  background:
    rgba(0, 229, 255, 0.06);

  border:
    1px solid #00e5ff;

  border-radius: 10px;
}


/* =====================================================
   ACCOUNT PAGE MOBILE MENU BUTTON
   ===================================================== */

.account-header .mobile-menu-button {
  display: none;
}


/* =====================================================
   ACCOUNT PAGES - PHONE NAVIGATION
   ===================================================== */

@media screen and (max-width: 700px) {

  .account-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    min-height: 74px;

    padding: 10px 16px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;

    gap: 12px;
  }

  .account-brand {
    min-width: 0;
    flex: 1 1 auto;

    display: flex;
    align-items: center;

    gap: 9px;
  }

  .account-brand img {
    width: 46px;
    height: 46px;

    flex-shrink: 0;
  }

  .account-brand-name {
    font-size: 20px;
    white-space: nowrap;
  }

  .account-header .mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 40px;

    flex: 0 0 auto;

    padding: 0;
    margin: 0;

    color: #ffffff;
    background: transparent;

    border: 1px solid rgba(0, 229, 255, 0.55);
    border-radius: 9px;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;
  }

  .account-header .account-nav {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    width: 100%;

    margin: 0;
    padding: 14px 16px 18px;

    background: #00151c;

    border-top: 1px solid rgba(0, 229, 255, 0.20);
    border-bottom: 1px solid rgba(0, 229, 255, 0.30);

    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);

    overflow: visible;
    white-space: normal;

    z-index: 9999;
  }

  .account-header .account-nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 5px;
  }

  .account-header .account-nav a {
    display: block;

    width: 100%;

    margin: 0;
    padding: 12px 14px;

    color: #d7faff;

    text-align: left;
    white-space: normal;
    line-height: 1.3;

    border: 1px solid transparent;
    border-radius: 9px;

    transform: none;
  }

  .account-header .account-nav a:hover {
    color: #00e5ff;
    transform: none;
  }

  .account-header .account-nav a.active-nav {
    padding: 12px 14px;

    color: #d7faff;

    background: rgba(0, 229, 255, 0.08);

    border: 1px solid #00e5ff;
    border-radius: 9px;
  }

}

/* =====================================================
   PERSONAL MY ACCOUNT PAGE
   ===================================================== */


/* -----------------------------------------------------
   WELCOME AREA
   ----------------------------------------------------- */

.account-content .account-title {
  max-width: 900px;
  margin-bottom: 38px;
}

.account-content .account-title h1 {
  line-height: 1.02;
}

#welcome-name {
  color: var(--blue);
}


/* -----------------------------------------------------
   PERSONAL PROFILE CARD
   ----------------------------------------------------- */

.account-content .profile-card {
  position: relative;

  display: flex;
  align-items: center;

  gap: 24px;

  padding: 30px;

  margin-bottom: 46px;

  background:
    radial-gradient(
      circle at top right,
      rgba(20, 156, 255, 0.18),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      rgba(20, 156, 255, 0.10),
      rgba(255, 255, 255, 0.025)
    );

  border:
    1px solid rgba(20, 156, 255, 0.28);

  border-radius: 20px;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.20);
}


.account-content .profile-icon {
  width: 82px;
  height: 82px;

  flex-shrink: 0;

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

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      #42b7ff,
      var(--blue)
    );

  color: #00111f;

  font-size: 32px;
  font-weight: 900;

  box-shadow:
    0 0 0 7px rgba(20, 156, 255, 0.08),
    0 0 30px rgba(20, 156, 255, 0.16);
}


.account-content .profile-info {
  min-width: 0;
  flex: 1;
}


.account-content .profile-label {
  margin-bottom: 6px;

  color: var(--blue);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.7px;
}


.account-content .profile-info h2 {
  margin-bottom: 5px;

  color: var(--white);

  font-size: 27px;
}


.account-content .profile-info > p {
  color: var(--muted);

  font-size: 14px;

  word-break: break-word;
}


/* -----------------------------------------------------
   SAVED ADDRESS
   ----------------------------------------------------- */

.profile-address {
  display: flex;
  flex-direction: column;

  gap: 5px;

  margin-top: 18px;
  padding-top: 16px;

  border-top:
    1px solid rgba(255, 255, 255, 0.08);
}


.profile-address-label {
  color: var(--blue);

  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
}


#customer-address {
  color: var(--muted);

  font-size: 14px;
  line-height: 1.5;
}


/* -----------------------------------------------------
   EDIT PROFILE BUTTON
   ----------------------------------------------------- */

.profile-edit-button {
  flex-shrink: 0;

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

  min-height: 48px;

  padding: 0 20px;

  color: var(--blue);

  background:
    rgba(20, 156, 255, 0.07);

  border:
    1px solid rgba(20, 156, 255, 0.45);

  border-radius: 10px;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


.profile-edit-button:hover {
  background:
    rgba(20, 156, 255, 0.14);

  border-color: var(--blue);

  transform: translateY(-2px);
}


/* -----------------------------------------------------
   QUICK ACTION HEADING
   ----------------------------------------------------- */

.account-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 20px;
}


.account-section-heading .small-heading {
  margin-bottom: 7px;
}


.account-section-heading h2 {
  color: var(--white);

  font-size: 26px;
  line-height: 1.2;
}


/* -----------------------------------------------------
   FRIENDLIER ACTION CARDS
   ----------------------------------------------------- */

.account-content .account-grid {
  gap: 20px;
}


.account-content .account-action-card {
  position: relative;

  min-height: 220px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(23, 29, 35, 0.96),
      rgba(12, 17, 22, 0.96)
    );

  border:
    1px solid rgba(255, 255, 255, 0.10);

  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.16);
}


.account-content .account-action-card::after {
  content: "";

  position: absolute;

  width: 130px;
  height: 130px;

  right: -65px;
  bottom: -65px;

  border-radius: 50%;

  background:
    rgba(20, 156, 255, 0.05);

  pointer-events: none;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}


.account-content .account-action-card:hover {
  transform: translateY(-4px);

  border-color:
    rgba(20, 156, 255, 0.65);

  background:
    linear-gradient(
      145deg,
      rgba(25, 35, 44, 0.98),
      rgba(13, 20, 26, 0.98)
    );
}


.account-content .account-action-card:hover::after {
  transform: scale(1.35);

  background:
    rgba(20, 156, 255, 0.09);
}


.account-content .action-number {
  position: relative;
  z-index: 2;

  min-width: 42px;
}


.account-content .action-content {
  position: relative;
  z-index: 2;
}


.account-content .action-content h3 {
  margin-bottom: 12px;

  font-size: 23px;
  line-height: 1.25;
}


.account-content .action-content p {
  max-width: 430px;

  margin-bottom: 25px;
}


/* -----------------------------------------------------
   LOG OUT AREA
   ----------------------------------------------------- */

.account-logout-area {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 16px;

  margin-top: 30px;
  padding-top: 24px;

  border-top:
    1px solid rgba(255, 255, 255, 0.08);
}


.account-logout-area p {
  color: var(--muted);

  font-size: 13px;
}


.logout-button {
  min-height: 42px;

  padding: 0 20px;

  color: #d8e0e7;

  background: transparent;

  border:
    1px solid rgba(255, 255, 255, 0.18);

  border-radius: 9px;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;

  cursor: pointer;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}


.logout-button:hover {
  color: var(--white);

  border-color:
    rgba(255, 255, 255, 0.38);

  background:
    rgba(255, 255, 255, 0.05);
}


/* =====================================================
   PERSONAL ACCOUNT - TABLET
   ===================================================== */

@media screen and (max-width: 850px) {

  .account-content .profile-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }


  .profile-edit-button {
    margin-left: 106px;
  }

}


/* =====================================================
   PERSONAL ACCOUNT - PHONE
   ===================================================== */

@media screen and (max-width: 560px) {

  .account-content .account-title {
    margin-bottom: 28px;
  }


  .account-content .account-title h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }


  .account-content .profile-card {
    display: grid;

    grid-template-columns:
      62px minmax(0, 1fr);

    gap: 16px;

    padding: 22px;

    margin-bottom: 36px;
  }


  .account-content .profile-icon {
    width: 62px;
    height: 62px;

    font-size: 25px;
  }


  .account-content .profile-info h2 {
    font-size: 21px;
  }


  .profile-address {
    margin-top: 14px;
    padding-top: 13px;
  }


  .profile-edit-button {
    grid-column: 1 / -1;

    width: 100%;

    margin-left: 0;
    margin-top: 4px;
  }


  .account-section-heading {
    align-items: flex-start;
    flex-direction: column;

    gap: 4px;
  }


  .account-section-heading h2 {
    font-size: 22px;
  }


  .account-content .account-action-card {
    min-height: auto;
  }


  .account-content .action-content h3 {
    font-size: 20px;
  }


  .account-logout-area {
    align-items: stretch;
    flex-direction: column;

    text-align: center;
  }


  .logout-button {
    width: 100%;
  }

}

/* =====================================================
   EDIT PROFILE PAGE
   ===================================================== */

.edit-profile-form {
  width: 100%;
}


/* -----------------------------------------------------
   PROFILE CARDS
   ----------------------------------------------------- */

.edit-profile-card {
  margin-bottom: 24px;
  padding: 30px;

  background:
    radial-gradient(
      circle at top right,
      rgba(20, 156, 255, 0.10),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(23, 29, 35, 0.98),
      rgba(12, 17, 22, 0.98)
    );

  border:
    1px solid rgba(255, 255, 255, 0.10);

  border-radius: 20px;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.18);
}


/* -----------------------------------------------------
   CARD HEADING
   ----------------------------------------------------- */

.edit-profile-card-heading {
  display: flex;
  align-items: center;

  gap: 18px;

  margin-bottom: 28px;
}


.edit-profile-card-icon {
  width: 58px;
  height: 58px;

  flex-shrink: 0;

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

  background:
    rgba(20, 156, 255, 0.10);

  border:
    1px solid rgba(20, 156, 255, 0.32);

  border-radius: 50%;

  font-size: 25px;
}


.edit-profile-card-heading .small-heading {
  margin-bottom: 4px;
}


.edit-profile-card-heading h2 {
  margin-bottom: 4px;

  color: var(--white);

  font-size: 23px;
}


.edit-profile-card-heading p {
  color: var(--muted);

  font-size: 13px;
  line-height: 1.5;
}


/* -----------------------------------------------------
   FORM GRID
   ----------------------------------------------------- */

.edit-profile-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}


/* -----------------------------------------------------
   FORM FIELDS
   ----------------------------------------------------- */

.edit-profile-field {
  display: flex;
  flex-direction: column;

  gap: 8px;
}


.edit-profile-field label {
  color: #dce5ec;

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 0.5px;
}


.edit-profile-field input {
  width: 100%;
  min-height: 52px;

  padding: 0 16px;

  color: var(--white);

  background:
    rgba(3, 8, 12, 0.72);

  border:
    1px solid rgba(255, 255, 255, 0.13);

  border-radius: 11px;

  outline: none;

  font-family: inherit;
  font-size: 15px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


.edit-profile-field input:hover {
  border-color:
    rgba(255, 255, 255, 0.22);
}


.edit-profile-field input:focus {
  background:
    rgba(5, 12, 17, 0.92);

  border-color:
    var(--blue);

  box-shadow:
    0 0 0 3px
    rgba(20, 156, 255, 0.10);
}


.edit-profile-field input:disabled {
  color: #7e8a93;

  background:
    rgba(255, 255, 255, 0.025);

  cursor: not-allowed;
}


.edit-profile-field input::placeholder {
  color: #5e6972;
}


.edit-profile-field-note {
  color: #71808b;

  font-size: 11px;
  line-height: 1.45;
}


/* -----------------------------------------------------
   ADDRESS STATUS
   ----------------------------------------------------- */

.profile-address-status {
  margin-top: 13px;
  padding: 11px 14px;

  border-radius: 9px;

  font-size: 12px;
  font-weight: 700;
}


.profile-address-status.success {
  color: #73e6bd;

  background:
    rgba(50, 190, 140, 0.08);

  border:
    1px solid rgba(50, 190, 140, 0.24);
}


.profile-address-status.warning {
  color: #ffd36a;

  background:
    rgba(255, 190, 50, 0.07);

  border:
    1px solid rgba(255, 190, 50, 0.22);
}


/* -----------------------------------------------------
   SAVE MESSAGE
   ----------------------------------------------------- */

.profile-form-message {
  margin-bottom: 20px;
  padding: 14px 17px;

  border-radius: 10px;

  font-size: 13px;
  font-weight: 800;
}


.profile-form-message.success {
  color: #73e6bd;

  background:
    rgba(50, 190, 140, 0.08);

  border:
    1px solid rgba(50, 190, 140, 0.25);
}


.profile-form-message.error {
  color: #ff8d8d;

  background:
    rgba(255, 70, 70, 0.08);

  border:
    1px solid rgba(255, 70, 70, 0.24);
}


/* -----------------------------------------------------
   ACTION BUTTONS
   ----------------------------------------------------- */

.edit-profile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  margin-top: 8px;
}


.edit-profile-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;

  padding: 0 20px;

  color: #a9b4bc;

  border:
    1px solid rgba(255, 255, 255, 0.15);

  border-radius: 10px;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}


.edit-profile-cancel:hover {
  color: var(--white);

  background:
    rgba(255, 255, 255, 0.04);

  border-color:
    rgba(255, 255, 255, 0.30);
}


.edit-profile-save {
  min-width: 190px;
  min-height: 52px;

  padding: 0 25px;

  color: #00111f;

  background:
    linear-gradient(
      135deg,
      #42b7ff,
      var(--blue)
    );

  border: none;
  border-radius: 10px;

  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;

  cursor: pointer;

  box-shadow:
    0 10px 28px
    rgba(20, 156, 255, 0.16);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


.edit-profile-save:hover:not(:disabled) {
  transform: translateY(-2px);

  box-shadow:
    0 14px 34px
    rgba(20, 156, 255, 0.24);
}


.edit-profile-save:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}


/* =====================================================
   EDIT PROFILE - PHONE
   ===================================================== */

@media screen and (max-width: 650px) {

  .edit-profile-card {
    padding: 22px;
  }


  .edit-profile-card-heading {
    align-items: flex-start;

    gap: 14px;
  }


  .edit-profile-card-icon {
    width: 48px;
    height: 48px;

    font-size: 21px;
  }


  .edit-profile-card-heading h2 {
    font-size: 20px;
  }


  .edit-profile-grid {
    grid-template-columns: 1fr;

    gap: 16px;
  }


  .edit-profile-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }


  .edit-profile-cancel,
  .edit-profile-save {
    width: 100%;
  }

}

/* =====================================================
   EDIT PROFILE - ADDRESS SEARCH
   ===================================================== */


/* -----------------------------------------------------
   ADDRESS INPUT + CLEAR BUTTON
   ----------------------------------------------------- */

.profile-address-search-wrap {
  position: relative;
  width: 100%;
}


.profile-address-search-wrap input {
  padding-right: 48px;
}


.profile-address-clear {
  position: absolute;

  top: 50%;
  right: 10px;

  width: 32px;
  height: 32px;

  transform: translateY(-50%);

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

  padding: 0;

  color: #9ca8b1;

  background:
    rgba(255, 255, 255, 0.05);

  border:
    1px solid rgba(255, 255, 255, 0.12);

  border-radius: 8px;

  font-size: 14px;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}


.profile-address-clear:hover {
  color: #ffffff;

  background:
    rgba(255, 255, 255, 0.10);

  border-color:
    rgba(255, 255, 255, 0.25);
}


.profile-address-clear:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}


/* -----------------------------------------------------
   SEARCH STATUS
   ----------------------------------------------------- */

.profile-address-search-status {
  margin-top: 10px;

  color: #8e9aa4;

  font-size: 12px;
  font-weight: 700;
}


/* -----------------------------------------------------
   SEARCH ERROR
   ----------------------------------------------------- */

.profile-address-search-error {
  margin-top: 10px;
  padding: 10px 13px;

  color: #ff9696;

  background:
    rgba(255, 70, 70, 0.07);

  border:
    1px solid rgba(255, 70, 70, 0.20);

  border-radius: 8px;

  font-size: 12px;
  font-weight: 700;
}


/* -----------------------------------------------------
   ADDRESS SUGGESTIONS
   ----------------------------------------------------- */

.profile-address-suggestions {
  width: 100%;

  margin-top: 8px;

  overflow: hidden;

  background:
    #0c1217;

  border:
    1px solid rgba(255, 255, 255, 0.14);

  border-radius: 11px;

  box-shadow:
    0 16px 35px
    rgba(0, 0, 0, 0.35);
}


.profile-address-suggestion {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 3px;

  padding: 13px 15px;

  color: #ffffff;

  background:
    transparent;

  border: none;
  border-bottom:
    1px solid rgba(255, 255, 255, 0.07);

  text-align: left;

  cursor: pointer;

  transition:
    background 0.15s ease;
}


.profile-address-suggestion:last-child {
  border-bottom: none;
}


.profile-address-suggestion:hover {
  background:
    rgba(20, 156, 255, 0.10);
}


.profile-address-suggestion-main {
  color: #ffffff;

  font-size: 14px;
  font-weight: 800;
}


.profile-address-suggestion-secondary {
  color: #7f8d97;

  font-size: 11px;
  line-height: 1.4;
}


/* -----------------------------------------------------
   SELECTED / VERIFIED ADDRESS
   ----------------------------------------------------- */

.profile-selected-address {
  display: flex;
  align-items: center;

  gap: 14px;

  margin-top: 20px;
  padding: 16px;

  background:
    rgba(20, 156, 255, 0.06);

  border:
    1px solid rgba(20, 156, 255, 0.25);

  border-radius: 11px;
}


.profile-selected-address-icon {
  width: 38px;
  height: 38px;

  flex-shrink: 0;

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

  color: #06151f;

  background:
    #42b7ff;

  border-radius: 50%;

  font-size: 18px;
  font-weight: 900;
}


.profile-selected-address-label {
  margin-bottom: 3px;

  color: #42b7ff;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: 1px;
}


.profile-selected-address-street {
  color: #ffffff;

  font-size: 15px;
  font-weight: 900;
}


.profile-selected-address-details {
  margin-top: 2px;

  color: #8d9aa4;

  font-size: 12px;
}


/* -----------------------------------------------------
   HIDDEN ELEMENTS
   ----------------------------------------------------- */

.profile-address-clear.hidden,
.profile-address-search-status.hidden,
.profile-address-search-error.hidden,
.profile-address-suggestions.hidden,
.profile-selected-address.hidden {
  display: none;
}

/* =====================================================
   SPECIAL DELIVERY - CUSTOM QUOTE
   ===================================================== */

.special-quote-card {
  margin-top: 24px;
  padding: 30px;

  background: var(--dark);

  border: 1px solid var(--border);
  border-radius: 18px;
}

.special-quote-card .detail-label {
  margin-bottom: 14px;
}

.special-quote-card h3 {
  margin: 0 0 12px;

  color: var(--white);

  font-size: 28px;
  line-height: 1.2;
}

.special-quote-card p {
  margin: 0 0 22px;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.6;
}

.special-quote-card .primary-button {
  margin-top: 2px;
}


/* =====================================================
   SPECIAL DELIVERY QUOTE - PHONE
   ===================================================== */

@media screen and (max-width: 700px) {

  .special-quote-card {
    margin-top: 18px;
    padding: 22px;
  }

  .special-quote-card h3 {
    font-size: 24px;
  }

}

/* =====================================================
   SPECIAL DELIVERY — DECLINE QUOTE BUTTON
   ===================================================== */

.special-quote-decline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 14px 24px;

  border: 1px solid #dc3545;
  border-radius: 12px;

  background: #dc3545;
  color: #ffffff;

  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.special-quote-decline-button:hover {
  background: #b02a37;
  border-color: #b02a37;
  transform: translateY(-1px);
}

.special-quote-decline-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* =====================================================
   SPECIAL DELIVERY — DRIVER TIP NOTICE
   ===================================================== */

.special-delivery-tip-notice {
  margin-top: 18px;
  padding: 16px 18px;

  background: rgba(18, 212, 216, 0.07);

  border: 1px solid rgba(18, 212, 216, 0.3);
  border-radius: 14px;
}

.special-delivery-tip-notice strong {
  display: block;

  margin-bottom: 7px;

  color: #12d4d8;

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.special-delivery-tip-notice p {
  margin: 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 14px;
  line-height: 1.55;
}

/* =====================================================
   CURRENT ORDER — LIVE DRIVER TRACKING
   ===================================================== */

.live-tracking-panel {
  width: 100%;
  margin: 0 0 22px;
  padding: 20px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(12, 23, 31, 0.98),
      rgba(7, 13, 18, 0.98)
    );

  border: 1px solid rgba(20, 156, 255, 0.34);
  border-radius: 18px;

  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.20);
}

.live-tracking-message {
  position: relative;

  margin-bottom: 14px;
  padding-left: 20px;

  color: #dce8ef;

  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.live-tracking-message::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0.42em;

  width: 9px;
  height: 9px;

  background: #12d4d8;

  border-radius: 50%;

  box-shadow:
    0 0 0 5px rgba(18, 212, 216, 0.10),
    0 0 16px rgba(18, 212, 216, 0.45);
}

.live-tracking-map {
  position: relative;

  width: 100%;
  height: 360px;
  min-height: 280px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at center,
      rgba(20, 156, 255, 0.10),
      rgba(5, 10, 14, 0.98) 68%
    );

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 15px;

  isolation: isolate;
}

.live-tracking-map-placeholder {
  position: absolute;
  inset: 0;

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

  padding: 24px;

  color: var(--muted);

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  line-height: 1.5;
  text-align: center;
}

.live-tracking-map .gm-style {
  border-radius: inherit;
}

.live-tracking-map .gm-style-mtc,
.live-tracking-map .gm-fullscreen-control {
  margin: 8px !important;
}

/* =====================================================
   LIVE DRIVER TRACKING — PHONE
   ===================================================== */

@media screen and (max-width: 700px) {

  .live-tracking-panel {
    margin-bottom: 18px;
    padding: 14px;

    border-radius: 15px;
  }

  .live-tracking-message {
    margin-bottom: 12px;

    font-size: 12px;
  }

  .live-tracking-map {
    height: 300px;
    min-height: 300px;

    border-radius: 13px;
  }

}

@media screen and (max-width: 420px) {

  .live-tracking-panel {
    padding: 12px;
  }

  .live-tracking-map {
    height: 280px;
    min-height: 280px;
  }

}

/* =====================================================
   FETCHPASS GOLD — CUSTOMER ACCOUNT
   ===================================================== */

.fetchpass-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 46px;
  padding: 30px;
  background: linear-gradient(145deg, rgba(30,25,12,.98), rgba(12,14,16,.98) 62%);
  border: 1px solid rgba(255,205,76,.58);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28), 0 0 28px rgba(255,190,40,.08);
}
.fetchpass-glow { position:absolute; width:260px; height:260px; right:-90px; top:-120px; border-radius:50%; background:rgba(255,190,40,.12); filter:blur(28px); pointer-events:none; }
.fetchpass-topline { position:relative; display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
.fetchpass-eyebrow { margin-bottom:8px; color:#ffd35c; font-size:12px; font-weight:900; letter-spacing:2px; }
.fetchpass-card h2 { margin:0; color:#fff; font-size:clamp(27px,4vw,40px); line-height:1; letter-spacing:-1px; }
.fetchpass-price { flex-shrink:0; text-align:right; color:#ffd35c; }
.fetchpass-price strong { display:block; font-size:30px; line-height:1; }
.fetchpass-price span { display:block; margin-top:5px; color:#bcae84; font-size:10px; font-weight:900; letter-spacing:1.3px; }
.fetchpass-intro { position:relative; max-width:690px; margin:16px 0 24px; color:#c9c4b6; font-size:15px; line-height:1.6; }
.fetchpass-perks { position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.fetchpass-perk { min-height:108px; padding:18px; background:rgba(255,205,76,.055); border:1px solid rgba(255,205,76,.18); border-radius:14px; }
.fetchpass-perk span { display:block; margin-bottom:8px; color:#ffd35c; font-size:24px; font-weight:900; }
.fetchpass-perk strong { color:#eee7d4; font-size:10px; line-height:1.45; letter-spacing:.8px; }
.fetchpass-bottom { position:relative; display:flex; align-items:center; gap:14px; margin-top:22px; padding-top:20px; border-top:1px solid rgba(255,205,76,.15); }
.fetchpass-status-wrap { min-width:0; flex:1; }
.fetchpass-status { color:#ffd35c; font-size:13px; font-weight:900; letter-spacing:.7px; }
.fetchpass-message { margin-top:5px; color:#bcb6a6; font-size:12px; line-height:1.45; }
.fetchpass-button { min-height:48px; padding:0 20px; color:#161106; background:linear-gradient(135deg,#ffe083,#eeb72f); border:0; border-radius:10px; font-size:11px; font-weight:900; letter-spacing:.8px; cursor:pointer; box-shadow:0 8px 22px rgba(238,183,47,.16); }
.fetchpass-button:hover { transform:translateY(-2px); }
.fetchpass-button-secondary { color:#ffd35c; background:rgba(255,205,76,.07); border:1px solid rgba(255,205,76,.42); box-shadow:none; }
.fetchpass-card.fetchpass-active { border-color:#ffd35c; box-shadow:0 18px 50px rgba(0,0,0,.28),0 0 34px rgba(255,190,40,.15); }
.profile-card.fetchpass-gold-member { border-color:rgba(255,205,76,.48); background:radial-gradient(circle at top right,rgba(255,205,76,.12),transparent 38%),linear-gradient(135deg,rgba(20,156,255,.08),rgba(255,255,255,.025)); }
.profile-card.fetchpass-gold-member .profile-icon { position:relative; color:#1a1200; background:linear-gradient(135deg,#ffe68e,#e9ad24); box-shadow:0 0 0 7px rgba(255,205,76,.08),0 0 30px rgba(255,190,40,.18); }
.profile-card.fetchpass-gold-member .profile-icon::before { content:"♛"; position:absolute; top:-20px; left:50%; transform:translateX(-50%); color:#ffd35c; font-size:25px; text-shadow:0 2px 10px rgba(255,190,40,.45); }
.profile-card.fetchpass-gold-member .profile-label { color:#ffd35c; }
@media screen and (max-width:700px) {
  .fetchpass-card { padding:22px; margin-bottom:36px; }
  .fetchpass-topline { flex-direction:column; gap:12px; }
  .fetchpass-price { text-align:left; }
  .fetchpass-perks { grid-template-columns:1fr; }
  .fetchpass-perk { min-height:auto; }
  .fetchpass-bottom { align-items:stretch; flex-direction:column; }
  .fetchpass-button { width:100%; }
}


/* =====================================================
   FETCHPASS GOLD — BAAM MEMBER EXPERIENCE
   ===================================================== */
.fetchpass-card.fetchpass-baam {
  margin: 0 0 28px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.fetchpass-baam .fetchpass-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 150px minmax(280px, 1.45fr) minmax(250px, .95fr) 135px;
  align-items: center;
  gap: 20px;
  min-height: 245px;
  padding: 24px 26px;
  overflow: hidden;
  background: radial-gradient(circle at 22% 45%, rgba(255,205,0,.18), transparent 30%), linear-gradient(115deg,#080a08 0%,#171306 46%,#080b0d 100%);
  border: 2px solid #ffd400;
  border-radius: 18px;
  box-shadow: 0 0 10px rgba(255,216,0,.85), 0 0 30px rgba(255,196,0,.38), inset 0 0 32px rgba(255,204,0,.07);
}
.fetchpass-baam .fetchpass-glow-one { width:330px; height:330px; left:-70px; top:-70px; right:auto; background:rgba(255,210,0,.18); filter:blur(42px); }
.fetchpass-baam .fetchpass-glow-two { width:260px; height:260px; right:-60px; bottom:-90px; top:auto; background:rgba(0,229,255,.07); filter:blur(44px); }
.fetchpass-crown-block { position:relative; height:150px; display:flex; align-items:center; justify-content:center; transform:rotate(-5deg); filter:drop-shadow(0 0 12px rgba(255,211,0,.7)); }
.fetchpass-crown { position:absolute; color:#ffd51e; font-size:145px; line-height:1; text-shadow:0 3px 0 #8d6400,0 0 18px rgba(255,221,50,.9); }
.fetchpass-crown-qf { position:relative; z-index:2; margin-top:30px; color:#171000; font-size:30px; font-weight:1000; letter-spacing:-2px; transform:rotate(-3deg); }
.fetchpass-main-copy { min-width:0; }
.fetchpass-baam .fetchpass-eyebrow { margin:0 0 5px; color:#ffe12e; font-size:11px; letter-spacing:1.8px; }
.fetchpass-baam .fetchpass-main-copy h2 { margin:0; font-size:clamp(32px,4vw,55px); line-height:.95; letter-spacing:-2px; white-space:nowrap; text-shadow:0 0 18px rgba(255,255,255,.12); }
.fetchpass-baam .fetchpass-main-copy h2 span { color:#fff; }
.fetchpass-baam .fetchpass-main-copy h2 em { color:#ffd21a; font-style:normal; text-shadow:0 0 14px rgba(255,211,0,.5); }
.fetchpass-tagline { margin-top:10px; color:#fff; font-size:clamp(18px,2vw,28px); font-weight:900; font-style:italic; letter-spacing:-.8px; transform:rotate(-1deg); }
.fetchpass-fineprint { margin-top:16px; color:#e7dfc5; font-size:11px; line-height:1.5; }
.fetchpass-member-badge { display:none; width:max-content; max-width:100%; margin-top:13px; padding:8px 18px; color:#151000; background:#ffdc24; border-radius:999px; font-size:11px; font-weight:1000; letter-spacing:.5px; box-shadow:0 0 18px rgba(255,216,0,.4); }
.fetchpass-active .fetchpass-member-badge { display:block; }
.fetchpass-benefits { display:flex; flex-direction:column; gap:10px; padding-left:18px; border-left:1px solid rgba(255,215,0,.35); }
.fetchpass-benefit { display:flex; align-items:center; gap:11px; min-width:0; }
.fetchpass-benefit-icon { width:38px; height:38px; flex:0 0 38px; display:flex; align-items:center; justify-content:center; color:#001820; border:2px solid #00e5ff; border-radius:50%; background:#00d9ed; font-size:19px; font-weight:1000; box-shadow:0 0 10px rgba(0,229,255,.22); }
.fetchpass-benefit-icon.heart { color:#fff; background:#ed3c8e; border-color:#ff5da7; }
.fetchpass-benefit strong { display:block; color:#fff; font-size:12px; line-height:1.1; }
.fetchpass-benefit small { display:block; margin-top:3px; color:#cfc9b7; font-size:10px; line-height:1.25; }
.fetchpass-side-message { color:#ffe21d; font-size:23px; font-weight:1000; font-style:italic; line-height:.95; transform:rotate(-5deg); text-align:center; text-shadow:0 0 10px rgba(255,215,0,.35); }
.fetchpass-side-message span { display:block; margin-top:8px; font-size:22px; }
.fetchpass-member-strip { position:relative; z-index:2; display:grid; grid-template-columns:minmax(250px,1.35fr) .75fr .85fr auto; align-items:center; gap:0; margin-top:10px; padding:12px 18px; background:linear-gradient(90deg,#151200,#090c0d 62%); border:1px solid #d9b900; border-radius:14px; box-shadow:0 0 14px rgba(255,211,0,.18); }
.fetchpass-member-copy { min-width:0; padding-right:20px; }
.fetchpass-member-copy > span { display:block; margin-bottom:4px; color:#ffe12b; font-size:9px; font-weight:1000; letter-spacing:1.2px; }
.fetchpass-member-copy strong { display:block; color:#ffd824; font-size:15px; font-weight:1000; }
.fetchpass-member-copy small { display:block; margin-top:3px; color:#bdb7a5; font-size:10px; line-height:1.3; }
.fetchpass-strip-stat { min-height:48px; padding:2px 18px; border-left:1px solid rgba(255,214,0,.2); }
.fetchpass-strip-stat span { display:block; color:#ffd824; font-size:22px; font-weight:1000; line-height:1; }
.fetchpass-strip-stat small { display:block; margin-top:5px; color:#c7c1ae; font-size:9px; line-height:1.2; }
.fetchpass-baam .fetchpass-button { min-height:46px; margin-left:12px; padding:0 17px; color:#171100; background:#ffda1f; border:1px solid #ffe65e; border-radius:9px; font-size:9px; font-weight:1000; letter-spacing:.7px; box-shadow:0 0 14px rgba(255,213,0,.22); }
.fetchpass-baam .fetchpass-button-secondary { color:#ffe02a; background:#171405; border-color:#b99b00; }
.profile-card.fetchpass-gold-member .profile-icon { border-radius:22px 22px 45% 45%; overflow:visible; }
.profile-card.fetchpass-gold-member .profile-icon::before { content:"♛"; top:-27px; font-size:34px; }
@media (max-width:1000px) {
  .fetchpass-baam .fetchpass-hero-grid { grid-template-columns:110px minmax(250px,1fr) minmax(230px,.9fr); }
  .fetchpass-side-message { display:none; }
  .fetchpass-crown { font-size:110px; }
  .fetchpass-crown-qf { font-size:24px; }
  .fetchpass-member-strip { grid-template-columns:1fr 1fr 1fr; }
  .fetchpass-member-strip .fetchpass-button { grid-column:1/-1; width:100%; margin:10px 0 0; }
}
@media (max-width:700px) {
  .fetchpass-baam .fetchpass-hero-grid { grid-template-columns:82px 1fr; gap:14px; padding:20px 16px; }
  .fetchpass-crown-block { height:95px; }
  .fetchpass-crown { font-size:88px; }
  .fetchpass-crown-qf { margin-top:20px; font-size:19px; }
  .fetchpass-baam .fetchpass-main-copy h2 { white-space:normal; font-size:34px; }
  .fetchpass-tagline { font-size:18px; }
  .fetchpass-benefits { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; padding:15px 0 0; border-left:0; border-top:1px solid rgba(255,215,0,.3); }
  .fetchpass-member-strip { grid-template-columns:1fr; gap:10px; padding:14px; }
  .fetchpass-member-copy { padding:0; }
  .fetchpass-strip-stat { padding:8px 0; border-left:0; border-top:1px solid rgba(255,214,0,.16); }
  .fetchpass-member-strip .fetchpass-button { grid-column:auto; margin:0; }
}

/* =====================================================
   FETCHPASS GOLD — FINAL ART PASS
   Uses the real QuinteFetch logo + truck assets already
   present in /images. Membership behaviour is untouched.
   ===================================================== */

.account-brand img {
  width: 210px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.account-title-with-truck {
  position: relative;
  min-height: 155px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none !important;
  overflow: visible;
}

.account-welcome-copy {
  position: relative;
  z-index: 2;
  flex: 1 1 56%;
  min-width: 0;
}

.account-truck-hero {
  position: relative;
  z-index: 1;
  flex: 0 1 520px;
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-right: -20px;
}

.account-truck-hero::before {
  content: "";
  position: absolute;
  inset: 20px -15px -8px 10%;
  background: radial-gradient(ellipse at center, rgba(0,229,255,.14), transparent 67%);
  filter: blur(10px);
  pointer-events: none;
}

.account-truck-hero img {
  position: relative;
  z-index: 2;
  width: min(390px, 76%);
  max-height: 148px;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 9px 15px rgba(0,0,0,.55));
}

.account-truck-slogan {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 10px;
  width: 190px;
  color: #fff;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 25px;
  font-weight: 900;
  font-style: italic;
  line-height: .98;
  letter-spacing: -1.2px;
  transform: rotate(-5deg);
  text-shadow: 0 0 12px rgba(0,229,255,.28), 2px 2px 0 #00171c;
}

.account-truck-slogan span,
.account-truck-slogan strong { display:block; }
.account-truck-slogan strong { color:#00e5ef; margin-left:22px; margin-top:5px; }

/* Crown-shaped active member profile badge. */
.profile-card.fetchpass-gold-member .profile-icon {
  width: 86px;
  height: 82px;
  border-radius: 0;
  clip-path: polygon(3% 19%, 20% 35%, 30% 7%, 45% 34%, 57% 2%, 69% 34%, 82% 8%, 96% 20%, 86% 88%, 15% 88%);
  background: linear-gradient(145deg,#fff2a3 0%,#ffd22b 36%,#eaa900 72%,#fff07b 100%);
  box-shadow: none;
  filter: drop-shadow(0 0 9px rgba(255,216,0,.75));
  color:#171000;
  padding-top: 10px;
  font-size: 28px;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}

.profile-card.fetchpass-gold-member .profile-icon::before { content:none; }

/* Large real crown silhouette — replaces the chess-piece glyph. */
.fetchpass-crown-block {
  height: 160px;
  filter: drop-shadow(0 0 13px rgba(255,211,0,.8));
}

.fetchpass-crown {
  position:absolute;
  width: 132px;
  height: 122px;
  background: linear-gradient(145deg,#fff28c 0%,#ffd20a 38%,#e5a600 75%,#ffea5a 100%);
  clip-path: polygon(2% 14%,20% 38%,30% 3%,45% 36%,57% 0,69% 36%,82% 4%,98% 17%,88% 88%,12% 88%);
  transform: rotate(-5deg);
  box-shadow:none;
}

.fetchpass-crown::after {
  content:"";
  position:absolute;
  left:13%; right:10%; bottom:15%; height:10px;
  background:#b47c00;
  border-top:3px solid #fff06a;
  transform:skewX(-8deg);
}

.fetchpass-crown-qf {
  z-index:4;
  margin-top:35px;
  font-size:30px;
  font-weight:1000;
  transform:rotate(-7deg);
}

.fetchpass-tagline,
.fetchpass-side-message {
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-weight: 900;
}

.fetchpass-tagline {
  position:relative;
  display:inline-block;
  margin-top:8px;
  font-size:clamp(18px,2vw,29px);
  letter-spacing:-1.5px;
  transform:rotate(-2deg);
}

.fetchpass-tagline::after {
  content:"";
  position:absolute;
  left:0; right:-12px; bottom:-7px;
  height:4px;
  border-radius:50%;
  background:#ffd51a;
  transform:rotate(-1deg);
  box-shadow:0 0 8px rgba(255,213,26,.5);
}

.fetchpass-side-message {
  font-size:25px;
  line-height:.92;
  letter-spacing:-1.2px;
}

@media (max-width: 1050px) {
  .account-brand img { width:175px; height:54px; }
  .account-truck-hero { flex-basis:420px; }
  .account-truck-slogan { font-size:21px; width:155px; }
  .account-truck-hero img { width:min(330px,76%); }
}

@media (max-width: 820px) {
  .account-brand img { width:150px; height:48px; }
  .account-title-with-truck { display:block; min-height:0; }
  .account-truck-hero { height:125px; margin:18px 0 0; width:100%; }
  .account-truck-hero img { width:min(330px,72%); max-height:122px; }
  .account-truck-slogan { left:4%; top:10px; font-size:20px; width:150px; }
  .profile-card.fetchpass-gold-member .profile-icon { width:76px; height:74px; }
}

@media (max-width: 560px) {
  .account-truck-hero { height:108px; }
  .account-truck-hero img { width:72%; max-height:105px; }
  .account-truck-slogan { left:0; font-size:16px; width:120px; }
  .fetchpass-crown { width:86px; height:82px; }
  .fetchpass-crown-block { height:96px; }
}


/* ============================================================
   STEP 414 — REAL FETCHPASS GOLD CROWN ASSETS
   Uses /images/crown.png and /images/member-crown.png.
   Membership/Stripe behavior is untouched.
   ============================================================ */

/* Active member badge: real blank crown with the customer's live initial over it. */
.profile-card.fetchpass-gold-member .profile-icon {
  position: relative;
  width: 94px;
  height: 88px;
  flex: 0 0 94px;
  padding: 0;
  border: 0;
  border-radius: 0;
  clip-path: none;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 10px rgba(255, 211, 0, .62));
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-card.fetchpass-gold-member .member-crown-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.profile-card.fetchpass-gold-member #profile-initial {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 9px;
  color: #151005;
  font-size: 28px;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(255,255,255,.45);
}

/* Keep the image harmless for non-Gold/inactive accounts. */
.profile-icon .member-crown-image { display: none; }
.profile-card.fetchpass-gold-member .profile-icon .member-crown-image { display: block; }

/* Main FetchPass card: use the real QF crown artwork instead of CSS geometry. */
.fetchpass-crown-block {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  filter: none;
}

.fetchpass-crown-image {
  display: block;
  width: 155px;
  max-width: 100%;
  height: 150px;
  object-fit: contain;
  transform: rotate(-5deg);
  filter: drop-shadow(0 0 9px rgba(255, 211, 0, .70));
  pointer-events: none;
  user-select: none;
}

/* Retire the old CSS crown if stale markup is ever cached. */
.fetchpass-crown,
.fetchpass-crown-qf { display: none !important; }

@media (max-width: 820px) {
  .profile-card.fetchpass-gold-member .profile-icon {
    width: 82px;
    height: 78px;
    flex-basis: 82px;
  }
  .profile-card.fetchpass-gold-member #profile-initial {
    width: 38px;
    height: 38px;
    margin-top: 8px;
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .fetchpass-crown-block { height: 100px; }
  .fetchpass-crown-image { width: 96px; height: 94px; }
}

/* =====================================================
   CURRENT ORDER — ASSIGNED DRIVER PROFILE CARD
   ===================================================== */

.driver-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(50, 232, 220, .34);
  background:
    radial-gradient(circle at 10% 0%, rgba(50, 232, 220, .12), transparent 34%),
    rgba(7, 17, 26, .92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24), inset 0 0 0 1px rgba(255,255,255,.025);
  overflow: hidden;
}

.driver-profile-card-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.driver-profile-photo {
  display: block;
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid #32e8dc;
  background: #07111a;
  box-shadow: 0 0 0 5px rgba(50, 232, 220, .09), 0 0 28px rgba(50, 232, 220, .22);
}

.driver-profile-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #32e8dc;
  font-size: 26px;
  font-weight: 1000;
  letter-spacing: -.04em;
}

.driver-profile-card-copy {
  min-width: 0;
}

.driver-profile-card-copy .small-heading {
  margin-bottom: 5px;
}

.driver-profile-card-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.driver-profile-vehicle {
  margin: 8px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.driver-profile-view-button {
  appearance: none;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 12px 17px;
  border: 1px solid rgba(50, 232, 220, .62);
  border-radius: 12px;
  background: rgba(50, 232, 220, .08);
  color: #32e8dc;
  font: inherit;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .075em;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.driver-profile-view-button:hover,
.driver-profile-view-button:focus-visible {
  transform: translateY(-1px);
  border-color: #32e8dc;
  background: rgba(50, 232, 220, .14);
  box-shadow: 0 0 22px rgba(50, 232, 220, .14);
  outline: none;
}

.driver-profile-view-button:active {
  transform: translateY(0);
}

.driver-profile-loading {
  display: block;
}

.driver-profile-loading h2 {
  margin: 5px 0 6px;
}

.driver-profile-loading p {
  margin: 0;
  color: rgba(255,255,255,.68);
}

@media (max-width: 700px) {
  .driver-profile-card {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
  }

  .driver-profile-card-main {
    gap: 15px;
  }

  .driver-profile-photo {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .driver-profile-card-copy h2 {
    font-size: 25px;
  }

  .driver-profile-view-button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .driver-profile-card-main {
    align-items: flex-start;
  }

  .driver-profile-photo {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .driver-profile-card-copy h2 {
    font-size: 22px;
  }

  .driver-profile-vehicle {
    font-size: 14px;
  }
}


/* =========================================================
   DRIVER RATING MODAL
   ========================================================= */

body.driver-rating-open {
  overflow: hidden;
}

.driver-rating-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.driver-rating-modal.hidden {
  display: none;
}

.driver-rating-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 8, 14, 0.82);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.driver-rating-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 34px 34px 30px;
  border: 1px solid rgba(34, 178, 255, 0.55);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(0, 153, 255, 0.16), transparent 42%),
    linear-gradient(180deg, #0b1b25 0%, #071219 100%);
  box-shadow:
    0 0 0 1px rgba(0, 225, 214, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.58),
    0 0 38px rgba(0, 157, 255, 0.12);
  text-align: center;
}

.driver-rating-kicker {
  margin-bottom: 8px;
  color: #19aaff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.driver-rating-dialog h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.driver-rating-description {
  margin: 12px auto 22px;
  max-width: 420px;
  color: #b9cedb;
  font-size: 16px;
  line-height: 1.5;
}

.driver-rating-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 8px;
}

.driver-rating-star {
  appearance: none;
  -webkit-appearance: none;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(63, 181, 255, 0.35);
  border-radius: 14px;
  background: rgba(3, 19, 29, 0.9);
  color: #5b7180;
  font: inherit;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.driver-rating-star:hover,
.driver-rating-star:focus-visible {
  transform: translateY(-2px);
  border-color: #24b6ff;
  outline: none;
}

.driver-rating-star.is-selected,
.driver-rating-star[aria-checked="true"] {
  border-color: #22b5ff;
  background: rgba(0, 143, 230, 0.18);
  color: #2eb7ff;
  box-shadow: 0 0 18px rgba(0, 170, 255, 0.2);
}

.driver-rating-selection {
  min-height: 22px;
  margin-bottom: 24px;
  color: #8fa9b9;
  font-size: 14px;
  font-weight: 800;
}

.driver-rating-comment-label {
  display: block;
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-align: left;
}

.driver-rating-comment-label span {
  color: #6f8b9c;
  font-weight: 700;
}

.driver-rating-comment {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 104px;
  resize: vertical;
  padding: 14px 15px;
  border: 1px solid rgba(75, 156, 199, 0.42);
  border-radius: 13px;
  outline: none;
  background: #041018;
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.driver-rating-comment::placeholder {
  color: #66808f;
}

.driver-rating-comment:focus {
  border-color: #20b5ff;
  box-shadow: 0 0 0 3px rgba(32, 181, 255, 0.1);
}

.driver-rating-comment-count {
  margin: 6px 2px 18px;
  color: #6f8b9c;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.driver-rating-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 93, 93, 0.35);
  border-radius: 10px;
  background: rgba(255, 70, 70, 0.08);
  color: #ff9b9b;
  font-size: 14px;
  font-weight: 800;
}

.driver-rating-submit,
.driver-rating-later {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  border-radius: 13px;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.7px;
  cursor: pointer;
}

.driver-rating-submit {
  border: 1px solid #24b8ff;
  background: linear-gradient(135deg, #11c8d4 0%, #1597ff 100%);
  color: #001018;
  box-shadow: 0 10px 28px rgba(0, 158, 255, 0.2);
}

.driver-rating-submit:disabled {
  border-color: #294451;
  background: #142833;
  color: #607985;
  box-shadow: none;
  cursor: not-allowed;
}

.driver-rating-later {
  margin-top: 10px;
  border: 1px solid rgba(93, 153, 184, 0.35);
  background: transparent;
  color: #b8d0dc;
}

.driver-rating-later:hover,
.driver-rating-later:focus-visible {
  border-color: #20b5ff;
  color: #ffffff;
  outline: none;
}

.driver-rating-success-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 2px auto 18px;
  place-items: center;
  border: 1px solid #22b5ff;
  border-radius: 50%;
  background: rgba(0, 157, 255, 0.13);
  color: #2eb7ff;
  font-size: 38px;
  box-shadow: 0 0 28px rgba(0, 170, 255, 0.18);
}

@media (max-width: 600px) {
  .driver-rating-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .driver-rating-dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 28px 20px 22px;
    border-radius: 22px;
  }

  .driver-rating-dialog h2 {
    font-size: 32px;
  }

  .driver-rating-description {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .driver-rating-stars {
    gap: 6px;
  }

  .driver-rating-star {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 30px;
  }
}

@media (max-width: 360px) {
  .driver-rating-dialog {
    padding-right: 14px;
    padding-left: 14px;
  }

  .driver-rating-stars {
    gap: 4px;
  }

  .driver-rating-star {
    width: 44px;
    height: 44px;
    font-size: 27px;
  }
}

/* =====================================================
   FETCHPASS GOLD — ON-SITE STRIPE PAYMENT
   ===================================================== */

body.fetchpass-payment-open { overflow: hidden; }

.fetchpass-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.fetchpass-payment-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(8px);
}

.fetchpass-payment-dialog {
  position: relative;
  z-index: 1;
  width: min(590px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 210, 0, .12), transparent 35%),
    linear-gradient(145deg, #11150f, #07131b 62%);
  border: 1px solid rgba(255, 216, 36, .65);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .68), 0 0 34px rgba(255, 205, 0, .12);
}

.fetchpass-payment-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #d8d4c7;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  cursor: pointer;
}

.fetchpass-payment-eyebrow {
  margin-bottom: 8px;
  color: #ffe12b;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 1.6px;
}

.fetchpass-payment-dialog h2 {
  margin: 0 44px 8px 0;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1;
  letter-spacing: -1.4px;
}

.fetchpass-payment-copy {
  max-width: 490px;
  margin: 12px 0 18px;
  color: #c8c4b8;
  font-size: 13px;
  line-height: 1.55;
}

.fetchpass-payment-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 216, 36, .18);
}

.fetchpass-payment-price strong {
  color: #ffe12b;
  font-size: 34px;
  line-height: 1;
}

.fetchpass-payment-price span {
  color: #aaa491;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.1px;
}

.fetchpass-payment-element {
  min-height: 110px;
  margin-bottom: 18px;
}

.fetchpass-payment-error {
  margin: 0 0 14px;
  padding: 11px 13px;
  color: #ff9c9c;
  background: rgba(255, 70, 70, .08);
  border: 1px solid rgba(255, 90, 90, .28);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.fetchpass-payment-submit,
.fetchpass-payment-cancel {
  width: 100%;
  min-height: 50px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .7px;
  cursor: pointer;
}

.fetchpass-payment-submit {
  color: #161106;
  background: linear-gradient(135deg, #ffe86c, #f1bc21);
  border: 1px solid #ffea79;
  box-shadow: 0 8px 24px rgba(238, 183, 47, .16);
}

.fetchpass-payment-submit:disabled { opacity: .55; cursor: wait; }

.fetchpass-payment-cancel {
  margin-top: 10px;
  color: #c7c3b7;
  background: transparent;
  border: 1px solid rgba(255,255,255,.14);
}

.fetchpass-payment-note {
  margin: 14px 0 0;
  color: #817e75;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 560px) {
  .fetchpass-payment-modal { padding: 12px; }
  .fetchpass-payment-dialog {
    max-height: calc(100vh - 24px);
    padding: 24px 18px 20px;
    border-radius: 16px;
  }
  .fetchpass-payment-dialog h2 { font-size: 30px; }
}
