/* Fonts */
@font-face {
  font-family: estedad;
  src: url(../../fonts/font/Estedad-SemiBold.woff2);
}
@font-face {
  font-family: titr;
  src: url(../../fonts/font/BTITRBD.woff2);
}
@font-face {
  font-family: nazanin;
  src: url(../../fonts/font/BNaznnBd.woff2);
}
@font-face {
  font-family: vazir;
  src: url(../../fonts/font/Vazir-Bold.woff2);
}

/* Body */
body {
  background: #f8f9fa;
  font-family: estedad, vazir, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
}

/* Card */
.card {
  border-radius: 15px !important;
  margin-bottom: 20px;
}
.card-header {
  background-color: #f0f0f0;
  color: #333;
  font-weight: 700;
  border-radius: 15px !important;
}

/* Table */
.table {
  margin-bottom: 0;
}
.table-striped > tbody > tr:nth-of-type(odd) {
  --bs-table-striped-bg: #fcfcfc !important;
}
.table th {
  width: 35%;
  font-weight: 600;
  background: #f9f9f9;
}
.table td a.btn {
  margin-right: 4px;
}

/* Bottom Sheet + Map */
.bottom-sheet {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.25);
  max-height: 88vh;
  overflow: hidden;
  transition: bottom 0.35s ease;
  z-index: 5000;
}
.bottom-sheet.show {
  bottom: 0;
}
#mapSheet {
  width: 95%;
  height: calc(88vh - 140px);
  border-radius: 22px 22px 0 0;
}

/* ETA Box */
#etaBox {
  width: 100%;
  text-align: center;
  background: #004aad;
  color: #fff;
  padding: 5px;
  font-weight: 700;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-sizing: border-box;
}

/* Driver Info Box */
.driver-info-box {
  padding: 12px 16px;
  background: #f8fbff;
  border-top: 1px solid #eef5ff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Stepper */
.stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
}
.step .circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background 0.3s, color 0.3s;
}
.step .label {
  font-size: 12px;
  text-align: center;
  color: #444;
}
.step.pending .circle {
  background: #e6eaf2;
  color: #666;
}
.step.active .circle {
  background: #0b84ff;
  color: #fff;
}
.step.done .circle {
  background: #1bb67a;
  color: #fff;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9001;
}
.close-btn i {
  font-size: 18px;
  color: #111;
}

/* Responsive */
@media (max-width: 992px) {
  #mapSheet {
    height: calc(85vh - 160px);
  }
}
@media (max-width: 768px) {
  #mapSheet {
    height: calc(90vh - 160px);
  }
}
