/* SJG Rate Alerts — matches the rate page (refresh.css section 16) */
.sjra {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 18px 32px;
  align-items: center;
  margin: 0 0 40px;
  padding: 26px 28px;
  border-radius: 20px;
  background: #fdf8ec;
  border: 1px solid #eee5d3;
  font-family: var(--fu, system-ui, sans-serif);
}
.sjra-title { font-family: var(--fh, Georgia, serif); font-size: 1.45rem; line-height: 1.25; color: #0b2a66; margin: 0 0 8px; }
.sjra-lead { margin: 0; font-size: 1rem; line-height: 1.55; color: #374151; }
.sjra-label { display: block; font-size: .9rem; font-weight: 600; color: #0b2a66; margin: 0 0 8px; }
.sjra-row { display: flex; gap: 10px; }
.sjra-input {
  flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 16px;
  border: 1px solid #d9cdb0; border-radius: 999px; background: #fff;
  font: inherit; font-size: 1rem; color: #0d1117;
}
.sjra-input:focus { outline: 2px solid #c9a84c; outline-offset: 1px; border-color: #c9a84c; }
.sjra-input--code { letter-spacing: .4em; font-variant-numeric: tabular-nums; font-weight: 700; max-width: 220px; }
.sjra-btn { border-radius: 999px; min-height: 48px; padding: 0 22px; flex: 0 0 auto; }
.sjra-btn:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.sjra-aside { margin: 10px 0 0; font-size: .86rem; color: #6b7280; }
.sjra-link { background: none; border: 0; padding: 0; font: inherit; color: #074ea2; font-weight: 600; text-decoration: underline; cursor: pointer; }
.sjra-ok { margin: 0; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid #bfe3cb; color: #14532d; font-size: 1rem; }
.sjra-msg { grid-column: 2; margin: -6px 0 0; min-height: 1.3em; font-size: .9rem; color: #374151; }
.sjra-msg:empty { display: none; }
.sjra-msg.is-bad { color: #b91c1c; }
.sjra-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sjra [hidden] { display: none !important; }

@media (max-width: 768px) {
  .sjra { grid-template-columns: 1fr; padding: 20px; gap: 14px; }
  .sjra-msg { grid-column: 1; }
  .sjra-row { flex-direction: column; }
  .sjra-btn { width: 100%; }
  .sjra-input--code { max-width: none; }
}

/* Unsubscribe page */
.sjra-page { background: #fbf8f2; padding: 56px 0 72px; }
.sjra-card { max-width: 560px; margin: 0 auto; padding: 30px; background: #fff; border: 1px solid #eee5d3; border-radius: 20px; font-family: var(--fu, system-ui, sans-serif); font-size: 1rem; line-height: 1.55; color: #374151; }
.sjra-card p { margin: 0 0 14px; }
.sjra-card a { color: #074ea2; font-weight: 600; }
.sjra-card .SB { border-radius: 999px; min-height: 48px; padding: 0 22px; margin-top: 6px; }
