/* Variables */
:root {
  --melorraOrange: #f05a00;
  --blueShade1: #2c3e50;
  --blueShade2: #34495e;
  --boxShadowLight1: 0 2rem 5rem rgba(0, 0, 0, 0.06);
  --boxShadowDark1: 0 2rem 6rem rgba(0, 0, 0, 0.3);
}

/* Reset */
*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Header Styles */
h2,
h4,
h6 {
  margin: 0;
  padding: 0;
  display: inline-block;
}

/* Root Container Styles */
.root {
  padding: 3rem 1.5rem;
  border-radius: 5px;
  box-shadow: var(--boxShadowDark1);
}

/* Figure Styles */
figure {
  /* display: flex; */
}

figure img {
  /* width: 8rem;
    height: 8rem;
    border-radius: 50%;
    border: 1px solid var(--melorraOrange);
    margin-right: 1.5rem; */
}

figure figcaption {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

figure h4 {
  font-size: 1.4rem;
  font-weight: 500;
}

figure h6 {
  font-size: 1rem;
  font-weight: 300;
}

figure h2 {
  font-size: 1.6rem;
  font-weight: 500;
}

/* Order Track Styles */
.order-track {
  margin-top: 2rem;
  padding: 0 1rem;
  border-top: 1px dashed var(--blueShade1);
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
}

.order-track-step {
  display: flex;
  height: 7rem;
}

.order-track-step:last-child {
  overflow: hidden;
  height: 5rem;
}

.order-track-step:last-child .order-track-status span:last-of-type {
  display: none;
}

.order-track-status {
  margin-right: 1.5rem;
  position: relative;
}

.order-track-status-dot {
  display: block;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--melorraOrange);
}

.order-track-status-line {
  display: block;
  margin: 0 auto;
  width: 2px;
  height: 7rem;
  background: var(--melorraOrange);
}

.order-track-text-stat {
  font-size: 1.3rem;
  font-weight: 500;
}

/* Better spacing & visual hierarchy */
.card-title {
  margin-bottom: 1rem;
}

/* Tracking Steps */
.order-track {
  border-left: 3px dashed var(--melorraOrange);
  padding-left: 1.5rem;
  position: relative;
}

.order-track-step {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.order-track-status-dot {
  width: 16px;
  height: 16px;
  background-color: var(--melorraOrange);
  border-radius: 50%;
  margin-top: 4px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.order-track-status-line {
  position: absolute;
  left: 7px;
  top: 20px;
  width: 2px;
  height: 100%;
  background-color: var(--melorraOrange);
}

.order-track-text-stat {
  font-size: 1rem;
  font-weight: 500;
}

.order-track-text-sub {
  font-size: 0.85rem;
  color: #777;
}

#map {
  width: 100%;
  height: 20vh;
}

.leaflet-popup-content {
  font-size: 1rem;
  line-height: 1.4;
}
