.convert-page {
  background: #ffffff;
}

.convert-header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  min-height: 48px;
}

.convert-header h1 {
  margin: 0;
  text-align: center;
  font-size: 22px;
}

.convert-hero {
  margin: 20px 0 18px;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(31, 122, 22, 0.14), transparent 52%),
    #f6f6f6;
}

.convert-hero span,
.convert-hero p {
  color: #777777;
}

.convert-hero strong {
  display: block;
  margin: 8px 0;
  font-size: 26px;
  line-height: 1.25;
}

.convert-hero p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.convert-form {
  display: grid;
  gap: 12px;
}

.convert-box,
.quote-summary {
  padding: 16px;
  border-radius: 18px;
  background: #f7f7f7;
}

.box-head,
.quote-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.box-head {
  margin-bottom: 14px;
}

.box-head span {
  font-weight: 900;
}

.box-head small,
.quote-summary span {
  color: #777777;
  font-size: 12px;
}

.amount-row {
  display: grid;
  grid-template-columns: 1fr 98px;
  gap: 10px;
}

.amount-row-wide {
  grid-template-columns: 1fr auto 98px;
}

.amount-row input {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  color: #111111;
  padding: 0 14px;
  font-weight: 900;
}

.amount-row input {
  font-size: 24px;
}

.swap-button {
  display: none;
}

.quote-summary {
  display: grid;
  gap: 12px;
}

.quote-summary strong {
  font-size: 14px;
}

.wide-button {
  width: 100%;
  margin-top: 6px;
}

.convert-status {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.convert-status[data-type="error"] {
  color: #e84d5b;
}

.convert-status[data-type="success"] {
  color: var(--green);
}
