#ost-store-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*text-align: center;*/
}

#ost-grid-container-main{
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}
#errorMessage {
  text-align: center;
  padding-top: 1vh;
}

.search-heading{
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    padding-bottom: 1.75rem;
}
.ost-tracking-input-section {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  width: 33%;
  align-self: center;
  flex-direction: column;
}

.ost-input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  /*width: 100%;*/
  background: transparent;
  flex-grow: 1;
  /*height: 3vh;*/
  /* Make input full width on mobile */
}

.ost-input-order-email {
    padding: 0.5rem;
    margin-top:10px;
    border: 1px solid #ccc;
    width: 100%;
    background: transparent;
    flex-grow: 1;
    /*height: 3vh;*/
    /* Make input full width on mobile */
}

.ost-input:focus-visible {
  outline: none;
  box-shadow: none;
}

.ost-btn {
  padding: 0.5rem 1.5rem;
  margin-left: 8px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  color: var(--btn-primary-bg, #fff);
  background-color: var(--btn-primary-bg, #000);
}

.ost-btn-order-email {
    margin-top: 10px;
    padding: 0.5rem 1.5rem;
    width: 100%;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    color: var(--btn-primary-bg, #fff);
    background-color: var(--btn-primary-bg, #000);
}

#errorMessageContainer{
    display:none;
}
.ost-order-info {
  padding: 20px;
  /*border: 1px solid #ccc;*/
  width: 100%;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-title {
  font-size: 1.5em;
  /*color: black;*/
}

.order-summary {
  font-size: 0.875em;
  color: black;
}

.status-section {
  margin-top: 20px;
}

.status-bar {
  background-color: #f3f3f3;
  height: 12px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.status-bar-inner {
  height: 100%;
  width: 0%;
  /* Set this dynamically through JavaScript */
  transition: width 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
  display: block !important;
}

.status-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 1.1em;
}

.ost-error-message {
  color: red;
  margin-top: 10px;
}

.shipping-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 20px;
  max-width: 525px;
}

/* Header styles */
.shipment-header {
  width: 100%;
  text-align: left;
  font-size: 24px;
  font-weight: 600;
  /*color: #000;*/
  margin-bottom: 20px;
}

/* Delivery date section */
.shipment-delivery-date {
  width: 100%;
  display: flex;
  align-items: end;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}

.date-day {
  font-size: 35px;
  font-weight: bold;
}

.date-month {
  font-size: 20px;
  font-weight: medium;
  margin-left: 5px;
}

/* Tracking status messages */
.shipment-message {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 10px;
}

.shipment-message-date {
  width: 20%;
  text-transform: capitalize;
  font-weight: bold;
}

.shipment-message-container {
  width: 75%;
  font-size: 16px;
}

.no-details {
  text-align: center;
  color: #888;
  padding: 50px 0;
}

/* Parent Container for Flex Layout */
.flex-container {
  display: flex;
  /* Use flexbox */
  justify-content: space-between;
  /* Space items evenly */
  align-items: flex-start;
  /* Align items at the start */
  gap: 40px;
  /* Optional: add space between the sections */
  flex-wrap: wrap;
  /* Allow wrapping if the container is too narrow */
  margin: 40px 0;
  /* Add some space at the top */
}

/* Shipping Container Styles */
.shipping-container,
.order-items {
  padding: 16px;
  /* Same padding as before */
  /*background-color: #f9f9f9;*/
  /* Same background color */
  /*border: 1px solid #e0e0e0;*/
  /* Same border style */
  border-radius: 8px;
  /* Same border radius */
  width: 100%;
  /* Ensure it takes full width */
  max-width: 525px;
  /* Set a max width for each section on large screens */
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}


.shipping-scrollable .order-item {
    display: flex;
}
.order-items .item-details p {
    margin: 0px;
}
#order-tags{
    display:none;
}
.order-items .item-details{
    height: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.order-items .item-details .review_link{
    /*font-weight: 700;*/
    text-decoration: none;
    float: left;
    color: inherit;
    margin: 0px;
}

.order-information{
    margin-top: 1rem;
}
.email-orders-container{
    display: none;
}

.estimated-delivery-date{
    border-bottom: 1px solid #f3f3f3;
    padding: 5px 0;
    align-items: center;
}
.edd-title{
    font-size: 18px;
}
.edd-day {
    font-size: 35px;
    font-weight: 600;
    height: 5rem;
    justify-content: space-around;
    flex-direction: column;
    display: flex;
    text-transform: capitalize;
}
.edd-month{
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: capitalize;
}
.edd-date{
    font-size: 50px;
    font-weight: 600;
}
sup {
    right: 10px;
}
/* Scrollable Area */
.shipping-scrollable {
  max-height: 400px;
  /* Set height as needed */
  overflow-y: auto;
  /* Enable vertical scrolling */
  padding: 10px;
  border-radius: 4px;
  /* Same border radius */
  /*background-color: #fff;*/
  /* Same background for scrollable area */
}

/* Order Items Header */
.shipping-header,.shipping-status-header {
  font-size: 18px;
  /* Same font size as shipping header */
  /*font-weight: bold;*/
  margin-bottom: 10px;
  /*color: #000;*/
  /* Same color */
  margin-top: 10px;
}
.shipping-status-header{
    display:none;
}

/* Order Items List */
.order-items ul {
  list-style-type: none;
  /* Remove default list style */
  padding: 0;
  /* Remove padding */
  margin: 0;
  /* Remove margin */
}

/* Individual Order Item */
.order-items li {
  padding: 10px;
  /* Padding for each item */
  border-bottom: 1px solid #eaeaea;
  /* Divider between items */
}

/* Last Item */
.order-items li:last-child {
  border-bottom: none;
  /* Remove border for the last item */
}

.order-item-image {
  width: 5rem;
  /* Set a fixed width for the thumbnail */
  height: 5rem;
  /* Set a fixed height for the thumbnail */
  object-fit: cover;
  /* Ensure the image covers the area without distortion */
  border-radius: 4px;
  /* Optional: round the corners */
  margin-right: 1.5rem;
  /* Space between image and text */
}

.email-orders-container {
  width: 100%;
  /*max-width: 600px;*/
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.email-orders-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 16px;
}

.email-orders-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
}

.email-orders-item:last-child {
  border-bottom: none;
}

.email-orders-image {
  width: 60px;
  /*height: 60px;*/
  border-radius: 8px;
  margin-right: 16px;
}

.email-orders-details {
  flex: 1;
  display: flex;
  text-align: left;
  flex-direction: column;
}

.email-orders-order-id {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 4px;
}

.email-orders-date {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 2px;
}

.email-orders-status {
  font-size: 0.9em;
  color: #555;
}

.email-orders-track-btn {
  font-size: 0.9em;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
}

.email-orders-track-btn:hover {
  color: #0056b3;
  text-decoration: underline;
}

.email-orders-disabled-btn {
  color: #ccc;
  cursor: not-allowed;
  text-decoration: none;
  pointer-events: none;
}

.ost-input-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.ost-input-column {
    margin: 10px;
}

#loading-spinner{
    justify-content: center;
    padding: 50px;
}

#loading-spinner svg{
    width: 50px;
    height: 50px;
}

.shipment-message-details{
    display: block;
    width: 75%;
}
.shipment-location{
    font-size: 14px;
    margin-top: 5px;
}
.carrier-info{
    display: flex;
    border: 1px solid #e7e6e6;
    border-radius: 7px;
    padding: 10px;
}
.carrier-info-header{
    margin-top: 20px;
    font-size: 18px;
    margin-bottom: 10px;
}
.carrier-info .name{
    font-weight: bold;
}
.carrier-info .tracking-number{
    text-decoration: underline;
}
@media (max-width: 768px) {

  .ost-input-row{
      flex-direction:column;
  }
  #ost-store-info{
      text-align: center;
  }
  .email-orders-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .email-orders-track {
    align-self: flex-end;
    margin-top: 8px;
  }

  .flex-container {
    flex-direction: column;
    /* Stack sections vertically on mobile */
    gap: 20px;
    /* Add space between sections */
  }

  .shipping-container,
  .order-items {
    max-width: 100%;
    /* Allow full width on mobile */
  }

  .ost-tracking-input-section {
    width: 80%;
    flex-direction: column;
    align-self: center;
    /*height: 4vh;*/
  }

  .ost-input {
    width: 100%;
    /*height: 5vh;*/
    /* Full width input on mobile */
  }

  .ost-btn {
    width: 100%;
    /* Full width button on mobile */
    margin-left: 0;
    /* Remove left margin */
    margin-top: 10px;
    /* Add top margin for spacing */
    border: none;
    border-radius: 4px;
    color: var(--btn-primary-bg, #fff);
    background-color: var(--btn-primary-bg, #000);
  }

  .order-header {
    flex-direction: column;
    /* Stack items vertically */
  }

  .order-title {
    font-size: 1.2em;
    /* Slightly smaller title on mobile */
  }

  .status-steps {
    display: none;
  }

  .shipping-status-header{
    display:block;
  }

  .shipment-message {
    flex-direction: column;
    /* Stack messages vertically */
  }

  .shipment-message-date {
    width: auto;
    text-transform: capitalize;
    /* Allow auto width */
  }

  .shipment-message-container {
    width: auto;
    /* Allow auto width */
  }

  .ost-order-info {
    /*margin-top: 10vh;*/
  }

  .message-bar-container {
    margin-top: 10vh;
  }

  #errorMessage {
    padding-top: 3vh;
  }
}
