.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-form {
  margin-top: 18px;
}

.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);
}

/* 2026 UI refresh */
.convert-page {
  background: transparent;
}

.convert-hero {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 16%, rgba(37, 99, 235, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(15, 143, 111, 0.12), rgba(245, 158, 11, 0.09)),
    #ffffff;
  box-shadow: var(--shadow);
}

.convert-hero span,
.convert-hero p,
.box-head small,
.quote-summary span {
  color: var(--muted);
}

.convert-box,
.quote-summary {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.amount-row input {
  border: 1px solid #e8edf4;
  background: #f8fafc;
  color: var(--text);
}

/* Tech blue refinement */
.convert-hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(84, 184, 255, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(36, 124, 255, 0.1), rgba(172, 221, 255, 0.18)),
    #ffffff;
}

.amount-row input {
  border-color: #d7e6f7;
  background: #f7fbff;
}

/* Oh bits convert mockup */
.convert-page {
  padding-bottom: calc(36px + env(safe-area-inset-bottom));
}

.convert-header {
  min-height: 58px;
}

.convert-header h1 {
  color: var(--text);
  font-size: 26px;
}

.convert-intro-card,
.convert-box,
.quote-summary {
  border: 1px solid rgba(247, 167, 7, 0.34);
  background: linear-gradient(180deg, rgba(17, 24, 33, 0.96), rgba(10, 15, 21, 0.98));
  box-shadow: var(--shadow-soft);
}

.convert-intro-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 90px;
  margin: 22px 0;
  padding: 18px;
  border-radius: 22px;
}

.convert-intro-card i {
  box-sizing: content-box;
  width: 26px;
  height: 26px;
  padding: 14px;
  border: 1px solid rgba(247, 167, 7, 0.35);
  border-radius: 18px;
  color: var(--brand);
}

.convert-intro-card strong,
.convert-intro-card span {
  display: block;
}

.convert-intro-card strong {
  color: var(--text);
  font-size: 18px;
}

.convert-intro-card span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.convert-form {
  position: relative;
  gap: 22px;
}

.convert-box {
  min-height: 174px;
  padding: 24px 18px;
  border-radius: 22px;
}

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

.box-head span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.box-head small {
  color: var(--muted);
  font-size: 13px;
}

.box-head small b {
  color: var(--text);
  font-weight: 700;
}

.amount-row,
.amount-row-wide {
  grid-template-columns: minmax(0, 1fr) 136px;
  align-items: center;
}

.amount-row input {
  min-height: 66px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  font-size: clamp(40px, 12vw, 52px);
  font-weight: 800;
}

.amount-row .select-trigger {
  min-height: 58px;
  border-color: #39404a;
  border-radius: 14px;
  background: #0d1219;
  font-size: 18px;
}

.convert-swap-float {
  position: absolute;
  left: 50%;
  top: 292px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid #080b10;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffbe1a, #f7a707);
  color: #080b10;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px var(--brand), 0 12px 24px rgba(0, 0, 0, 0.34);
}

.quote-summary {
  gap: 0;
  padding: 22px 18px;
  border-color: #303741;
  border-radius: 18px;
}

.quote-summary div {
  min-height: 54px;
  border-bottom: 1px solid #252b33;
}

.quote-summary div:last-child {
  border-bottom: 0;
}

.quote-summary span {
  color: var(--muted);
  font-size: 16px;
}

.quote-summary strong {
  color: var(--text);
  font-size: 16px;
}

.quote-summary div:last-child strong {
  color: var(--green-2);
}

.convert-page .wide-button {
  min-height: 62px;
  border-radius: 12px;
  font-size: 19px;
}

body[data-page="convert"] .bottom-nav {
  display: none;
}
