/* Pantalla 1 - "Order search" */

#order-search {
  color: #323e48 !important;
  height: calc(100vh - 120px);
  min-height: 480px;
  width: 100%;
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}
#order-search h1 {
  max-width: 60%;
  margin: auto;
  margin-top: 20px;
  font-size: 1.7em !important;
  font-weight: 500 !important;
  letter-spacing: 0.01rem !important;
  text-transform: none !important;
}
#order-search p {
  margin-top: 20px !important;
}
#order-search form {
  width: 100%;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
}
#order-search input {
  color: #323e48;
  text-align: center;
  height: 3.5em;
  margin-bottom: 10px !important;
  border: solid 1px #a4a9ad;
  border-radius: 8px;
}
#order-search input::placeholder {
  font-size: 0.8em;
}
#order-search #button {
  color: #ffffff;
  background-color: #ff5102;
  border: solid 1px #ff5102;
}
#order-search #button:hover {
  cursor: pointer;
  opacity: 0.9;
}
.error-message {
   margin: 20px auto;
   font-size: 0.9em;
   padding: 10px;
   color: #d82828;
   font-weight: 500;
}
#order-search .help {
  width: 100%;
  margin-top: 20px;
  border-top: solid 1px #323e48;
}
#order-search .help h2 {
  padding: 0 !important;
  margin-top: 1em !important;
  font-size: 1.3em !important;
  font-weight: 500 !important;
  letter-spacing: 0.01rem !important;
  text-transform: none !important;
}
#order-search .help p {
  margin: 0.7em !important;
  font-size: 0.9em !important;
}
#order-search .help a {
  color: #ff5102 !important;
  font-size: 0.9;
}

/* Pantalla 2 - "Order Cards" */

#order-cards {
  color: #323e48 !important;
  text-align: center;
  top: 120px;
  width: 100%;
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#order-cards span {
  color: #ff5102;
}
#order-cards #cards-background {
  background-color: #f3f3f3;
  width: 100vw;
  padding-bottom: 20px;
}
#order-cards #cards-conteiner {
  background-color: #f3f3f3;
  max-width: 800px;
  margin: auto;
  margin-bottom: 1em;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: flex-start;
  align-content: stretch;
}
#order-cards .order-card {
  background-color: #ffffff;
  width: 100%;
  max-width: 800px;
  margin: 1.2em 1em 0em;
  border-radius: 8px;
  box-shadow: rgba(139, 139, 139, 0.2) 0px 0px 8px 1px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#order-cards .card-topside {
  background-color: #ffffff;
  width: calc(100% - 2em);
  height: 25%;
  margin: 0.8em;
  border-bottom: solid 1px #a5aaac52;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#order-cards .card-topside h2 {
  color: #a5aaac;
  padding-bottom: 0;
  font-size: 0.5em;
  letter-spacing: 0.01em;
}
#order-cards .order {
  text-align: left;
  width: 50%;
}
#order-cards .order p {
  margin: 0 !important;
  padding-bottom: 0.5em;
  font-size: 1.2em;
  font-weight: 700;
}
#order-cards .status {
  color: #4ab346;
}
#order-cards .status-box {
  text-align: right;
  width: 50%;
  padding-bottom: 0.5em;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
#order-cards .status-box p {
  margin: 0 !important;
  font-size: 0.8em;
  font-weight: 400;
}
#order-cards .status-text {
  padding-right: 0.5em;
}
#order-cards .icon-template {
  height: 35px;
  width: 35px;
  background-image: url(https://via.placeholder.com/35);
  background-size: cover;
}
#order-cards .icon-in_preparation {
  height: 35px;
  width: 35px;
  background-image: url(../img/tracking_order/in_preparation.svg);
  background-size: 108%;
  background-position: center center;
}
#order-cards .icon-in_transit {
  height: 35px;
  width: 35px;
  background-image: url(../img/tracking_order/in_transit.svg);
  background-size: 120%;
  background-position: center center;
}
#order-cards .icon-delivered {
  height: 35px;
  width: 35px;
  background-image: url(../img/tracking_order/delivered.svg);
  background-size: 100%;
  background-position: center center;
}
#order-cards .icon-sold {
  height: 35px;
  width: 35px;
  background-image: url(../img/tracking_order/delivered.svg);
  background-size: 100%;
  background-position: center center;
}
#order-cards .icon-canceled {
  height: 35px;
  width: 35px;
  background-image: url(../img/tracking_order/canceled.svg);
  background-size: 150%;
  background-position: center center;
}
#order-cards .icon-delivery_attempt {
  height: 35px;
  width: 35px;
  background-image: url(../img/tracking_order/delivery_attempt.svg);
  background-size: 100%;
  position: relative;
  bottom: 5px;
}
#order-cards .icon-dispatched {
  height: 35px;
  width: 35px;
  background-image: url(../img/tracking_order/dispatched.svg);
  background-size: 140%;
  background-position: center center;
}
#order-cards .icon-in_destination {
  height: 35px;
  width: 35px;
  background-image: url(../img/tracking_order/in_destination.svg);
  background-size: 120%;
  background-position: center center;
}
#order-cards .icon-rescheduled_by_logistics {
  height: 35px;
  width: 35px;
  background-image: url(../img/tracking_order/rescheduled_by_logistics.svg);
  background-size: 150%;
  background-position: center center;
}
#order-cards .icon-undelivered {
  height: 35px;
  width: 35px;
  background-image: url(../img/tracking_order/undelivered.svg);
  background-size: 140%;
  background-position: center center;
}
#order-cards .description {
  text-align: left;
  height: 50%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 8px;
  padding: 0px 20px 10px 20px;
}
#order-cards .image-container {
  height: 90px;
  width: 90px;
}
#order-cards .image-container img {
  height: 90px;
  width: 90px;
  border: solid 1px #bdc3c552;
  object-fit: scale-down;
}
#order-cards .description-container {
  height: 90px;
  font-size: 0.8em;
}
#order-cards .description-container span {
  color: #323e48 !important;
  font-weight: 500;
}
#order-cards .card-bottom {
  width: 100%;
  height: 25%;
  min-height: 25%;
  padding: 0px 20px;
}
#order-cards .card-bottom button {
  background-color: #ffffff;
  font-size: 14px;
  color: #ff5102;
  width: 100%;
  margin-bottom: 10px;
  height: 40px;
  border: 1px solid #ff5102;
  border-radius: 8px;
}
#order-cards .card-bottom button:hover {
  background-color: #ff5102;
  color: #ffffff;
}
#order-cards .help {
  border-top: none;
}
#order-cards .help h2 {
  font-size: 1.3em !important;
  margin-top: 1em !important;
  padding: 0 !important;
  font-weight: 500 !important;
  letter-spacing: 0.01rem !important;
  text-transform: none !important;
}
#order-cards .help p {
  font-size: 0.9em !important;
  margin: 0.7em !important;
}
#order-cards .help a {
  font-size: 0.9;
  color: #ff5102 !important;
}

#order-cards .info-message {
  font-size: 0.7em;
  margin: 20px auto;
  padding: 10px;
  font-weight: 500;
}

.breadcrumbs {
  width: 100vw;
  padding-bottom: 1em;
  margin-top: 0px;
  padding-top: 2em;
  padding-left: 1em;
  color: #bdc3c5;
  text-align: left;
}

.arrow-right {
  display: inline-block;
  height: 1em;
  width: 1em;
  background-image: url(../img/arrow-right-grey.svg);
  background-repeat: no-repeat;
  position: relative;
  top: 7px;
  right: -12px;
  background-size: 25%;
}
.arrow-right-center {
  display: inline-block;
  height: 1em;
  width: 1em;
  background-image: url(../img/arrow-right-grey.svg);
  background-repeat: no-repeat;
  position: relative;
  top: 7px;
  right: -7px;
  background-size: 25%;
}

.card-conteiner__header{
  margin-top: 1.5em;
  font-weight: 300;
}
.card-conteiner__header h1{
  font-size: 1.5em;
  font-weight: inherit;
}
.card-conteiner__header h1 span{
  color: #ff5102;
}
.card-conteiner__header p{
  color: #ff5102;
  margin-bottom: 0;
}
@media (max-aspect-ratio: 9/18) {
  #order-search{
    height: auto;
  }
  .order-search__header {
    margin-bottom: 10%;
  }
  .order-search__header h1 {
    margin-top: 10% !important;
    margin-bottom: 10% !important;
  }
  #order-search form{
    margin-bottom: 5%;
  }
}
.image-disabled{
  filter: grayscale(100%);
}
.card-conteiner__description-error-message {
  font-size: 0.9em;
  font-weight: 500;
  color: #d82828;
}