@import url("https://fonts.googleapis.com/css?family=Raleway&display=swap");

:root {
  --light-grey: #f6f9fc;
  --dark-grey: #aaabab;
  --dark-terminal-color: #0a2540;
  --accent-color: #635bff;
  --radius: 3px;
}

body {
  padding: 20px;
  font-family: "Raleway";
  display: flex;
  justify-content: center;
  font-size: 1.2em;
  color: var(--dark-terminal-color);
  background-color: var(--light-grey);
}

main {
  width: 480px;
}

.footer {
  /* position: fixed;
  bottom: 0; */
  width: 100%;
  height: 50px;
  line-height: 50px;
  /* background-color: #f5f5f5; */
  color: #bab9b9;
  text-align: center;
  font-size: 0.8em;
}
footer {
  display: flex;
  clear: both;
  margin-top: 40px;
  text-align: center;
  font-size: 0.8em;
  color: var(--dark-grey);
}

form > * {
  margin: 10px 0;
}

button {
  background-color: var(--accent-color);
}

button {
  background: var(--accent-color);
  border-radius: var(--radius);
  color: white;
  border: 0;
  padding: 12px 16px;
  margin-top: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
}
button:hover {
  filter: contrast(115%);
}
button:active {
  transform: translateY(0px) scale(0.98);
  filter: brightness(0.9);
}
button:disabled {
  opacity: 0.5;
  cursor: none;
}

input,
select {
  display: block;
  font-size: 1.1em;
  width: 95%;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 10px;
}

label {
  display: block;
}

a {
  color: var(--accent-color);
  font-weight: 900;
}

small {
  font-size: 0.6em;
}

h1 {
  display: block;
  text-align: center;
  color: #cdcdcd;
}

hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--dark-grey);
}

fieldset,
input,
select {
  border: 1px solid var(--accent-color);
  background-color: var(--light-grey);
}

.card-box {
  border: 1px solid var(--accent-color);
  background-color: var(--light-grey);
  padding: 10px;
  margin-bottom: 10px;
}

.page-form {
  border: #f6f9fc solid 1px;
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 30px 50px -20px rgb(50 50 93 / 25%),
    0 30px 60px -30px rgb(0 0 0 / 30%);
  /* background-color: var(--light-grey); */
  background-color: #fff;
}

#messages {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New";
  display: none; /* hide initially, then show once the first message arrives */
  background-color: #0a253c;
  color: #00d924;
  padding: 20px;
  margin: 20px 0;
  border-radius: var(--radius);
  font-size: 0.7em;
}

progress {
  width: 100%;
}

table {
  border-collapse: collapse;
  width: 100%;
  background-color: var(--light-grey);

  border-top: 1px solid var(--dark-grey);
  margin-bottom: 40px;
}

td {
  padding: 10px;
  border-bottom: 1px solid var(--dark-grey);
  font-size: 0.8em;
}

#payment-errors {
  color: red;
  font-weight: 600;
  margin-top: 10px;
}

.error-box {
  border: 1px solid red;
  background-color: #fff;
  padding: 10px;
  margin-bottom: 10px;
  color: red;
  font-weight: 600;
}
