/* src/styles.css */
:root {
  font-family: system-ui, sans-serif;
  color: #152e3b;
  background: #f3f6f7;
  line-height: 1.5;
}
body {
  margin: 0;
}
header {
  background: #153c4a;
  color: white;
  padding: 1.5rem 3rem;
}
h1,
h2,
p {
  margin-top: 0;
}
header p:last-child {
  margin-bottom: 0;
}
main {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  gap: 2rem;
  max-width: 78rem;
  margin: 2rem auto;
  padding: 0 2rem;
}
aside,
article {
  background: white;
  border: 1px solid #d6e1e5;
  border-radius: .6rem;
  padding: 1.5rem;
}
button,
input,
select {
  font: inherit;
  padding: .65rem;
  border-radius: .3rem;
  border: 1px solid #8099a5;
}
button {
  background: #126071;
  color: white;
  cursor: pointer;
}
button:disabled {
  background: #e1e6e8;
  color: #53616a;
  cursor: default;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #df8c1f;
  outline-offset: 2px;
}
label {
  display: grid;
  gap: .3rem;
  margin: .7rem 0;
}
fieldset {
  border: 0;
  padding: 0;
}
legend {
  font-weight: 600;
}
ul {
  list-style: none;
  padding: 0;
}
li {
  margin: .7rem 0;
}
li button {
  width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
}
.material {
  background: #eff7f7;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid #126071;
}
.amount {
  font-size: 2rem;
  font-weight: 700;
}
dl {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: .3rem;
}
dd {
  margin: 0;
}
.hash {
  overflow-wrap: anywhere;
}
footer {
  border-top: 1px solid #d6e1e5;
  margin-top: 1.5rem;
  padding-top: 1rem;
}
[role=alert] {
  color: #9b260d;
}
[role=status] {
  font-weight: 600;
}
@media (max-width: 750px) {
  main {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  header {
    padding: 1.5rem;
  }
  dl {
    grid-template-columns: 1fr;
  }
}
textarea {
  display: block;
  width: 100%;
  min-height: 5rem;
  font: inherit;
}
textarea:focus {
  outline: 2px solid #167b75;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
th,
td {
  text-align: left;
  padding: .5rem;
  border-bottom: 1px solid #ccc;
  overflow-wrap: anywhere;
}
.reason {
  white-space: pre-wrap;
}
