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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.2;
  text-rendering: optimizeSpeed;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  line-height: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button, [role=button] {
  cursor: pointer;
  background-color: transparent;
  -webkit-tap-highlight-color: transparent;
}
button:focus, [role=button]:focus {
  outline: 0;
}

a {
  cursor: pointer;
  text-decoration: underline;
  -webkit-tap-highlight-color: transparent;
}

ol, ul {
  list-style: none;
}

[type=date],
[type=datetime],
[type=datetime-local],
[type=email],
[type=month],
[type=number],
[type=password],
[type=search],
[type=tel],
[type=text],
[type=time],
[type=url],
[type=week],
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
}
[type=date]:focus,
[type=datetime]:focus,
[type=datetime-local]:focus,
[type=email]:focus,
[type=month]:focus,
[type=number]:focus,
[type=password]:focus,
[type=search]:focus,
[type=tel]:focus,
[type=text]:focus,
[type=time]:focus,
[type=url]:focus,
[type=week]:focus,
textarea:focus,
select:focus {
  outline: 0;
}

::-moz-placeholder {
  opacity: 1;
}

textarea {
  vertical-align: top;
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
[type=checkbox]:focus,
[type=radio]:focus {
  outline: 0;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
sub, sup {
  position: relative;
  font-size: 0.75em;
}

sub {
  bottom: -0.25em;
  left: 0.25em;
}

sup {
  top: -0.5em;
  left: 0.25em;
}

pre, code {
  font-family: var(--font-mono);
}

[type=date],
[type=datetime],
[type=datetime-local],
[type=email],
[type=month],
[type=number],
[type=password],
[type=search],
[type=tel],
[type=text],
[type=time],
[type=url],
[type=week],
textarea,
select {
  padding: 0.5em 0.75em;
  font-size: 1rem;
  line-height: 1.5;
}

[type=checkbox],
[type=radio] {
  width: 1em;
  height: 1em;
}
[type=checkbox]:checked,
[type=radio]:checked {
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

[type=checkbox]:checked {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

[type=radio] {
  border-radius: 9999px;
}
[type=radio]:checked {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='white'/%3e%3c/svg%3e");
}

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 16px 12px;
}

fieldset {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border-color: #ccc;
}

input[type=text],
input[type=number],
input[type=email],
textarea {
  font-family: inherit;
  font-size: inherit;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  max-width: 100%;
}

input {
  height: 40px;
}

select {
  font-family: inherit;
  font-size: inherit;
  padding: 5px 30px 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 40px;
}

body {
  background-color: #e6e6e6;
  font-family: "Assistant", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 18px;
  font-style: normal;
  padding: 50px;
  margin: 0;
}

button {
  display: inline-block;
  background-color: #000;
  border: none;
  border-radius: 5px;
  color: #fff;
  padding: 10px 20px;
  font-size: inherit;
  cursor: pointer;
  font-family: inherit;
  height: 40px;
}
button:hover {
  background-color: #007566;
}

a {
  text-decoration: underline;
  color: #000;
  font-weight: 600;
}
a:hover {
  color: #007566;
}

.top {
  display: flex;
  align-items: center;
  gap: 30px;
}
.top h1 {
  flex-shrink: 0;
}
.top select {
  width: auto;
  padding-right: 50px;
  font-size: 14px;
  height: 30px;
  transform: translateY(2px);
}

span.label {
  font-weight: 600;
  font-size: 14px;
  padding: 5px 10px;
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.prompt {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.info {
  display: flex;
  gap: 20px;
  position: sticky;
  top: 0;
  padding: 20px 0 30px 0;
  background-color: #e6e6e6;
  border-bottom: 1px solid #ccc;
  box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}
.info .source {
  flex-grow: 1;
}
.info .source a {
  font-weight: normal;
  text-decoration: none;
}
.info .source a:hover {
  text-decoration: underline;
}
.info .spend .txt,
.info .source .txt {
  height: 40px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.info .spend .txt i,
.info .source .txt i {
  color: #ccc;
  font-size: 14px;
}

.response {
  display: flex;
  flex-direction: column;
  padding: 50px 10px 150px 10px;
}
.response .item {
  padding: 50px 0;
  border-top: 1px solid #ccc;
}
.response .item:first-of-type {
  border-top: none;
}
.response .loader {
  width: 60px;
  height: 30px;
  background: url("/assets/images/loader.svg") no-repeat;
  background-size: contain;
  margin: 0 0 0 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.2s;
}
.response .loader.show {
  opacity: 1;
  transform: translateY(0);
}

.input-form {
  position: fixed;
  bottom: 40px;
  width: calc(100% - 100px);
  padding: 25px;
  border-radius: 10px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background-color: #eee;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
}
