@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600|Raleway");

.tracking-header {
  flex-grow: 1;
  font-family: Roboto;
  text-align: center;
}
.tracking-header__heading {
  font-weight: bold;
  font-size: 23px;
  line-height: 27px;
  color: #323643;
}
.tracking-header__sub-heading {
  margin-top: 3px;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #747A87;
}
/*
.tracking-search {
  max-width: 500px;
  margin: 0 auto 100px;
  padding: 31px 32px 35px;
  background: var(--color-content-primary);
  box-shadow: 0 2px 19px rgba(0,0,0,0.25);
}
@media (max-width: 536px) {
  .tracking-search {
    margin-left: -15px;
    margin-right: -15px;
  }
}
.tracking-search__heading {
  margin-bottom: 21px;
  font-weight: bold;
  font-size: 18px;
  line-height: 25px;
  color: #FFFFFF;
  text-align: center;
}
.tracking-search__box {
  position: relative;
  max-width: 320px;
  margin: 0 auto 20px;
}
.tracking-search__input {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  color: #000 !important;
  border-radius: 30px !important;
  min-height: 51px;
  padding-left: 20px !important;
  padding-right: 55px !important;
  font-size: 18px !important;
  line-height: 25px !important;
  outline: none;
}
.tracking-search__input--invalid {
  border-color: red !important;
}
.tracking-search__button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: var(--color-content-primary);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  outline: none;
}
.tracking-search__button svg {
  width: 13px;
  height: 21px;
}
.tracking-search__footer {
  font-size: 15px;
  line-height: 20px;
  text-align: center;
  color: rgba(255,255,255,0.71);
}

*/
.tracking-result {
  max-width: 500px;
  /*margin: 0 auto 100px;*/
}
@media (max-width: 536px) {
  .tracking-result {
    margin-left: -15px;
    margin-right: -15px;
  }
}
.tracking-result__header {
  position: relative;
  padding: 22px 30px 31px;
  background: var(--color-content-primary);
  box-shadow: 0 2px 19px rgba(0,0,0,0.25);
}
.tracking-result__sub-heading {
  font-weight: bold;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.tracking-result__heading {
  margin-bottom: 14px;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.1;
  color: #FFFFFF;
}
.tracking-result__status-bar {
  height: 14px;
  background: rgba(255,255,255,0.38);
  border-radius: 10.5px;
}
.tracking-result__status-bar-line {
  background: #01FF64;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  border-radius: 10.5px;
  height: 100%;
}
.tracking-result__main {
  padding: 29px 23px 15px;
  background: #FFFFFF;
  box-shadow: 0 2px 19px rgba(0,0,0,0.25);
}
.tracking-result__top {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 536px) {
  .tracking-result__top {
    flex-direction: column;
    justify-content: flex-start;
  }
}
.tracking-result__info {
  margin-top: 3px;
  text-align: right;
}
@media (max-width: 536px) {
  .tracking-result__info {
    text-align: left;
    margin-top: 15px;
  }
}
.tracking-result__info-title {
  font-weight: bold;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  color: #747A87;
}
.tracking-result__info-value {
  display: block;
  font-size: 19px;
  line-height: 26px;
  color: var(--color-content-primary);
  margin-bottom: 25px;
}
@media (max-width: 536px) {
  .tracking-result__info-value {
    margin-bottom: 15px;
  }
}
.tracking-result__info-value--date {
  font-size: 23px;
  line-height: 31px;
}
.tracking-result__legend {
  display: flex;
  flex-wrap: wrap;
  background: #EEEEEE;
  border-radius: 3px;
  padding: 10px 11px 12px;
  margin-bottom: 26px;
}
.tracking-result__legend-title {
  flex-grow: 1;
  flex-basis: 100%;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #747A87;
}
.tracking-result__legend-item {
  display: flex;
  margin-right: 20px;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 21px;
  color: #747A87;
}
.tracking-steps__item {
  display: flex;
  align-items: center;
  margin-bottom: 9px;
}
.tracking-steps__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.tracking-steps__icon--check {
  background: var(--color-content-primary);
}
.tracking-steps__icon--check svg {
  width: 13px;
  height: 10px;
}
.tracking-steps__icon--double-arrow {
  background: #FFFFFF;
  border: 2px solid var(--color-content-primary);
  padding-left: 1px;
}
.tracking-steps__icon--double-arrow svg {
  width: 11px;
  height: 10px;
}
.tracking-steps__icon--dots {
  background: #CBCBCB;
}
.tracking-steps__icon--dots svg {
  width: 16px;
  height: 4px;
}
.tracking-steps__title {
  font-size: 15px;
  line-height: 20px;
  color: #747A87;
}
.tracking-steps__item--active .tracking-steps__title {
  font-weight: bold;
  color: var(--color-content-primary);
}
.tracking-product-attrs__title {
  margin-bottom: 2px;
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  color: #323643;
}
.tracking-product-attrs__value {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 20px;
  color: #747A87;
}
.related-tracking-orders-title {
  margin-top: 22px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  color: #323643;
}
.related-tracking-orders__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  line-height: 21px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.related-tracking-orders__item:not(:last-child) {
  border-bottom: 1px solid #D8D8D8;
}
.related-tracking-orders__title {
  margin-right: 10px;
  font-weight: 600;
  color: #000000;
}
.related-tracking-orders__status {
  color: #747A87;
}
.related-tracking-orders__link {
  font-weight: 600;
}
.tracking-error {
  margin: 50px auto;
  text-align: center;
}


.tracking-search {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background:  var(--color-content-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  /*box-shadow: 0 2px 19px rgba(0,0,0,0.10);*/
}



.tracking-search__box {
  flex: 1;
  display: flex;
  align-items: center;
}

.tracking-search__input {
  flex: 1;
  background: #fff;
  border: none;
  border-radius: 30px;
  min-height: 40px;
  padding: 0 16px;
  font-size: 16px;
  color: #323643;
  outline: none;
  box-shadow: none;
}

.tracking-search__input:focus {
  outline: none;
}

.tracking-search__button {
  margin-left: 8px;
  width: 40px;
  height: 40px;
  background: var(--color-content-bg);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(75,166,255,0.15);
  transition: background 0.2s;
}

.tracking-search__button:hover {
  background: var(--color-content-bg-alt);
}

.tracking-search__button svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-content-primary);
  fill: none;
}

.tracking-search__button svg > path {
  stroke: var(--color-content-primary);
}

/* Optional: Fehlerzustand */
.tracking-search__input--invalid {
  border: 2px solid #ff4d4f !important;
}
