
/***** Delivery Tracking components *****/

.dt-wrapper {
  padding-bottom:30px;
}

.dt-heading {
  font-weight: 600;
  font-size: 34px;
  color: #435051;
}

.dt-subheading {
  margin-bottom: 9px;
  margin-top: 6px;
  padding-left: 1px;
}

.dt-subheading b {
  font-weight: 600;
}

.dt-search-box {
  display: flex;
  border: 1px solid #506B68;
  padding: 40px 56px;
  border-radius: 6px;
  align-items: flex-end;
  margin-top: 16px;
  gap: 24px; /* Optional: Adds space between columns */
}

.dt-search-box-col {
  
}

.dt-search-box-col--input {
}

.dt-search-box-col--button {
  box-sizing: border-box;
}
.dt-search-box-col--button button {
  font-weight:bold;
}

.dt-search-box-col--button button:disabled {
  background-color: #ccc; /* Light grey background */
  color: #333;            /* Darker grey text */
  cursor: not-allowed;    /* Change cursor to indicate disabled state */
  opacity: 0.6;           /* Optional: Make the button slightly transparent */
  border: 1px solid #999; /* Optional: Adjust border color if needed */
}

.dt-label {
  font-weight: 500;
  font-size: 18px;
  color: #2E3536;
  margin-bottom: 10px;
}

.dt-input {
  
}

.dt-input input {
  color: #455143;
  background-color: #F5FAF9;
  border: 1px solid #506B68;
  padding: 18px 24px;
  font-size: 18px;
  border-radius: 2px;
  font-weight: 500;
  width: 100%;
  outline:0;
}

.dt-input input:focus {
  border-color: #4C8272; /* Consistent border color change */
}


.dt-input input.dt-input--error {
  color: #455143;
  background-color: #F6E2E2;
  border-color: #D43C3C;
}

.dt-button button {
  color: white;
  background: #4C8272; /* Initial green color */
  border:1px solid #4C8272;
  border: 0;
  padding: 21px 24px;
  text-align: center;
  border-radius: 2px;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease; /* Smooth background and push effect */
}

.dt-button button:not(:disabled):active {
  background: grey;             /* Change to grey when clicked */
  transform: translateY(2px);   /* Push effect */
}

.dt-error-box {
  margin: 24px 0px;
  display: none;
  align-items: center;
  max-width: 660px;
}

.dt-error-box--on {
  display: flex;
}

.dt-error-box__icon {
  padding: 10px;
  padding-top:18px;
}

.dt-error-box__label {
  padding: 0px 10px;
  padding-right: 10px;
}

.dt-info-box {
  margin: 24px 0px;
  display: flex;
  align-items: center;
  max-width: 660px;
}

.dt-info-box__icon {
  padding: 10px;
  padding-top: 18px;
}

.dt-info-box__label {
  padding: 0px 10px;
  padding-right: 10px;
  color: #435051;
}

.dt-delivery-section {
  position: relative;  
  margin-top: 80px;
}

.dt-delivery-subheading {
  
}

.dt-delivery-box {
  border: 1px solid #B6B6B6;
  border-radius: 6px;
  margin-top: 30px; 
  padding: 42px 54px;
}

.dt-delivery-box__title {
  font-weight: bold;
  font-size: 24px;
  color: #435051;
}

.dt-delivery-box__info {
  padding:15px 0px;
  max-width:540px;
}

.dt-delivery-box__eta-title {
  margin-top: 32px;
  font-size: 18px;
  color: #435051;
}

.dt-delivery-box__eta-time {
  margin-top: 6px;
  color: #4C8272;
  font-weight: 900;
  font-size: 46px;
}

.dt-eta-time--missed {
  color:#E74444 !important;
}

.dt-delivery-box__stops-container {
  margin-top: 20px;
  background-color: #F5FAF9;
}

.dt-delivery-box__stops-container div {
  color: #4C8272; /* corrected to a single colon if needed */
}

.dt-delivery-box__stops-graph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  padding: 50px 80px;
  padding-bottom: 30px;
  box-sizing: border-box;
}

.dt-delivery-box__stops-graph-dot {
  width: 20px;
  height: 20px;
  background-color: #BACBC7;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.dt-delivery-box__stops-graph-dot.large {
  width: 30px;
  height: 30px;
}

.dt-delivery-box__stops-graph-line {
  height: 3px;
  background-color: #BACBC7;
  flex-grow: 1;
  margin: 0 8px; /* Spacing between dots and lines */
}

.dt-delivery-box__stops-graph-line.active, .dt-delivery-box__stops-graph-dot.active {
  background-color: #13664D;
}

.dt-delivery-box__stops-labels {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.dt-delivery-box__stops-labels-item {
  padding: 0px 50px;
}

.dt-delivery-box__stops-labels-item--left {
  text-align: left;
}

.dt-delivery-box__stops-labels-item--right {
  text-align: right;
  padding-right: 70px;
}

.dt-delivery-box__stops-label {
  padding-bottom: 6px;
  text-align: center;
}

.dt-delivery-box__stops-label--bold {
  font-weight: 600;
}

.dt-delivery-box__stops-label--greyed {
  color: #8C9192;
}

.dt-delivery-updates-info {
  display: flex;
  position: absolute;
  top: 150px;
  right: 65px;
  align-items: center;
  color: #435051;
  font-size: 12px;
}

.dt-delivery-updates-info__icon {
  padding-right: 10px;
  padding-top: 6px;
}
.dt-delivery-updates-info__icon svg {
  height: 18px;
  width: 18px;
}

.dt-delivery-box {
  border-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.dt-delivery-contents {
  border: 1px solid #B6B6B6; 
  border-top: none;
  padding: 0px 54px;
  padding-bottom: 54px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.dt-delivery-contents__tabs {
  display: flex;
  flex-direction: column; /* Stacks rows vertically */
  padding-top: 80px;
  gap: 16px; /* Adds space between each row */
}

.dt-delivery-contents__tabs__row {
  display: flex;
}

.dt-delivery-contents__tabs__tab {
 flex: 0 0 auto; /* Prevents the tab from growing or shrinking */
  padding: 14px 65px; /* Retains existing padding */
  background: #F5FAF9;
  border: 1px solid #4C8272;
  border-left: none;
  font-weight: 600;
  color: #435051;
  font-size: 18px;
  display: block; /* Ensure tabs behave correctly within the flex container */
}

.dt-delivery-contents__tabs__tab:link,
.dt-delivery-contents__tabs__tab:visited,
.dt-delivery-contents__tabs__tab:hover,
.dt-delivery-contents__tabs__tab:focus,
.dt-delivery-contents__tabs__tab:active {
  text-decoration: none;
}

.dt-delivery-contents__tabs__tab:active, .dt-delivery-contents__tabs__tab:visited {
  color: #435051;
}

.dt-delivery-contents__tabs__tab--active:active, .dt-delivery-contents__tabs__tab--active:visited {
  color: white;
}

.dt-delivery-contents__tabs__tab:first-child {
  border-left: 1px solid #4C8272;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

.dt-delivery-contents__tabs__tab:last-child {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.dt-delivery-contents__tabs__tab--active {
  background: #4C8272;
  color: white;
}

.dt-delivery-contents__headings {
  padding-top: 32px;
}
.dt-delivery-contents__headings__title {
  font-weight: 600;
  font-size: 24px;
  color: #435051;
}

.dt-delivery-contents__headings__sub-title {
  line-height:150%;
  margin-top: 6px;
}

.dt-delivery-contents__table {
  border-spacing: 0px;
  margin-top: 42px;
  width: 100%;
}

.dt-delivery-contents__table th {
}

.dt-delivery-contents__table th {
  color: #8B9596;
  font-weight: normal;
  text-align: left;
}
.dt-delivery-contents__table th:last-child, .dt-delivery-contents__table td:last-child {
  text-align: right;
}

.dt-delivery-contents__table td, .dt-delivery-contents__table th {
  padding-left: 10px;
}

.dt-delivery-contents__table td {
  vertical-align: top;
  padding-top: 16px;
  font-size: 16px;
}

.dt-delivery-contents__table td:first-child, .dt-delivery-contents__table th:first-child {
  padding-left: 0px;
}

@media (max-width: 768px) {
	.dt-delivery-contents__headings__title {
    font-size: 20px;
  }
  
  .dt-search-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border:none;
    gap: 16px; /* Optional: Adds space between stacked elements */
  }
  
  .dt-heading {
    font-size: 28px;
  }
  
  .dt-delivery-section {
    margin-top:40px;
  }

  .dt-search-box-col {
    width: 100% !important;
    padding-left: 0 !important;
    margin-bottom: 16px;
  }

  .dt-search-box-col--button {
    margin-top: 10px;
  }

  .dt-delivery-box {
    padding: 24px 20px;
    padding-bottom: 0;
  }
  
  .dt-delivery-box__eta-title {
    margin-top: 16px;
  }
  
  .dt-delivery-box__eta-time {
    font-size:36px;
    margin-top: 0px;
  }  
  
  .dt-delivery-box__stops-container {
    background: white;
  }
  
  .dt-delivery-box__stops-graph {
    padding: 15px 0px;
  }
  
  .dt-delivery-box__stops-labels-item {
    padding: 0;
    width: 100%; /* Adjusted for better stacking */
  }
  
  .dt-delivery-updates-info {
    display: flex;
    background: #EDF1F1;
    padding: 14px 25px;
    border: 1px solid #B6B6B6;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-top: 0;
    position: static;
    font-size: 14px;
  }
  
  .dt-delivery-updates-info__icon svg {
    height: 24px;
    width: 24px;
  }

  .dt-delivery-contents {
    padding: 0;
    border-color: white;
  }
  
  .dt-delivery-contents__tabs {
    display: flex;
    width: 100%;
    padding-top:50px;
  }

  .dt-delivery-contents__tabs__tab {
    flex: 1; 
    box-sizing: border-box;
    text-align: center;
    padding: 14px 0px;
    font-size: 16px;
  }
  
  .dt-delivery-contents__headings__sub-title {
    margin-top: 4px;
  }
  
  .dt-delivery-contents__table {
    margin-top: 24px;
  }
  
  .dt-delivery-contents__table td {
    padding-top: 10px;
    font-size: 14px;
  }
}


/* HTML: <div class="loader"></div> */
.loader {
  width: 60px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side, #4C8272 90%, #0000);
  background: 
    var(--_g) 0%   50%,
    var(--_g) 50%  50%,
    var(--_g) 100% 50%;
  background-size: calc(100% / 3) 50%;
  animation: l3 1s infinite linear;
}

@keyframes l3 {
  20% {
    background-position: 0% 0%, 50% 50%, 100% 50%;
  }
  40% {
    background-position: 0% 100%, 50% 0%, 100% 50%;
  }
  60% {
    background-position: 0% 50%, 50% 100%, 100% 0%;
  }
  80% {
    background-position: 0% 50%, 50% 50%, 100% 100%;
  }
}

  .grecaptcha-badge { 
      bottom: 110px !important;
  }