:root {
  --color-main: #fffc23;
  --color-heavy: #000000;
  --color-light: #f9f9f8;
  --color-soft: #f0ecfb;
  --color-neutral: #ffffff;
  --color-heavy-high: #8f8f8f;

  --color-highlith-success: #48d570;
  --color-highlith-fail: #fe6b72;
  --color-highlith-warn: #ffb885;
  --color-highlith-neutral: #10a6f9;
  
  
  --color-highlith-success__soft: #def8e5;
  --color-highlith-fail__soft: #ffd6d8;
  --color-highlith-warn__soft: #fff1e8;
  --color-highlith-neutral__soft: #d7f0fe;

  --full-width: 1280px;

  --shadow-default: 0 4px 10px rgb(0 0 0 / 10%);
}

*, *::after, *:before {
  box-sizing: border-box;
}

html {
  height: 100%;
  font-family: -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen-Sans,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    sans-serif;
  font-size: 150%;
  line-height: 1.5;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 640px ) {
  html {
    font-size: 100%;
  }
}

@media (min-width: 640px ) and (max-width: 960px) {
  html {
    font-size: 120%;
  }
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--color-heavy);
  background-color: var(--color-neutral);
}

.page-header {
  background-color: var(--color-main);
}

.page-header--inner {
  width: 90%;
  max-width: var(--full-width);
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.page-header--title {
  font-size: 1em;
  margin: 0;
  text-align: center;
}

.page-header--title--link {
  text-decoration: none;
  color: inherit;
}

.search-form {
  background-color: var(--color-neutral);
  border-radius: 1.2rem;
  box-shadow: var(--shadow-default);
  width: 90%;
  max-width: var(--full-width);
  margin: -1.5rem auto 0;
  padding: 1.5rem;
}

.form--input-with-action {
  display: flex;
}

.form--label {
  font-weight: bold;
}

.form--input {
  font: inherit;
  background-color: var(--color-light);
  border: none;
  border-radius: 8px;
  padding: .5rem;
  display: block;
}

.form--input-with-action .form--input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.form--input:hover,
.form--input:focus,
.form--input:active {
  background-color: var(--color-soft);
}

.form--button {
  border: none;
  background-color: var(--color-heavy);
  color: var(--color-main);
  padding: .5em 1em;
  border-radius: 50px;
  font: inherit;
  font-weight: bold;
  transition: all 200ms ease-in-out;
}

.form--input-with-action .form--button {
  border-radius: 8px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.form--button:hover {
  background-color: var(--color-main);
  color: var(--color-heavy);
}

.results {
  width: 90%;
  max-width: var(--full-width);
  margin: 0 auto;
  padding: 1.5rem 0;
}

.results--message {
  width: 100%;
  background-color: var(--color-light);
  margin: 0 auto 1.5rem;
  padding: 1rem;
  border-radius: 1.2rem;
  display: flex;
  align-items: center;
  font-size: .8em;
}

.results--message:before {
  content: '';
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: middle;
  margin-right: .5rem;
  flex-shrink: 0;
}

.results--message p {
  margin: 0;
}

.results--message__warn {
  background-color: var(--color-highlith-warn__soft);
}

.results--message__warn:before {
  background-image: url(/assets/img/warning.svg);
}

.results--message__info {
  background-color: var(--color-highlith-neutral__soft);
}

.results--message__info:before {
  background-image: url(/assets/img/info.svg);
}

.order {
  border-radius: 1.2rem;
  box-shadow: var(--shadow-default);
  margin: 0 auto 3rem;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
}

.order--header {
  background-color: var(--color-soft);
  padding: 1rem 1rem .8rem;
}

.order--header--title {
  margin: 0;
}

.order--header--subtitle {
  margin: 0;
  color: var(--color-heavy-high);
  font-size: .8em;
}

.orders {
  list-style: none;
  padding: .8rem 1rem 1rem;
  margin: 0;
}

.orders--item {
  display: block;
  margin-bottom: 1rem;
  border-bottom: 1px dashed var(--color-heavy-high);
}

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

.orders--item--title {
  display: inline-block;
  margin-bottom: .8rem;
  font-style: italic;
}

.orders--item--label {
  display: block;
  font-size: .5em;
  color: var(--color-heavy-high);
  line-height: 1;
  text-transform: uppercase;
  font-style: normal;
  font-weight: normal;
}

.orders--item--details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.orders--item--details--item:last-child .orders--item--label{
  text-align: right;
}

.order--footer {
  background-color: var(--color-light);
  padding: .8rem 1rem 1rem;
}

.order--footer--inner {
  display: flex;
  justify-content: space-between;
}

.order--footer--label {
  font-weight: bold;
}
