/* Century Law Firm - Settlement Disbursement Fee Opt-Out (Static) */
:root{
  --bg:#f6f8fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#4b5563;
  --border:#e5e7eb;
  --primary:#5b6df6;
  --primary-dark:#4657ea;
  --shadow:0 14px 40px rgba(17,24,39,.12);
  --radius:18px;
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}
a{ color:var(--primary); text-decoration:none; }
a:hover{ text-decoration: none; }
.page{
  min-height:100%;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:48px 18px;
}
.card{
  width:min(920px, 100%);
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:34px 36px 30px;

  display:flex;
  flex-direction:column;
}
.brand{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}
.brand img{
  height:36px;
  max-width:280px;
  object-fit:contain;
}
h1{
  margin:0 0 10px;
  font-size:44px;
  line-height:1.1;
  letter-spacing:-0.02em;
  color:var(--text);
  text-align:left;
}
.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size:17px;
  line-height:1.5;
}
.rule{
  height:1px;
  background:var(--border);
  border:0;
  margin:22px 0;
}
.section-title{
  font-size:18px;
  font-weight:700;
  margin:0 0 12px;
}
ul{ margin:0; padding-left:22px; }
li{ margin:10px 0; color:var(--text); line-height:1.5; }
li b{ font-weight:700; }
.sublist{
  margin-top:8px;
  padding-left:18px;
  list-style:circle;
}
.sublist li{ margin:6px 0; }
.ack{
  margin-top:18px;
  border-top:1px solid var(--border);
  padding-top:22px;
}
.ack-title{
  font-weight:700;
  margin:0 0 10px;
}
.ack-box{
  background:#f3f4f6;
  border:1px solid var(--border);
  border-radius:12px;
  padding:16px 16px 14px;
}
.check-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:12px;
}
.check-row input{ margin-top:4px; }
.actions{
  display:flex;
  gap:14px;
  align-items:center;
  margin-top:18px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 18px;
  border-radius:10px;
  border:1px solid transparent;
  background:var(--primary);
  color:#fff;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  transition:transform .02s ease, background .15s ease, opacity .15s ease;
  user-select:none;
}
.btn:hover{ background:var(--primary-dark); }
.btn:active{ transform:translateY(1px); }
.btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.btn-secondary{
  background:transparent;
  color:var(--text);
  border-color:var(--border);
}
.btn-secondary:hover{
  background:#f3f4f6;
}
.center-actions{
  justify-content:center;
}
.muted{
  color:var(--muted);
}
.small{
  font-size:13px;
}
.footer-note{
  margin-top:18px;
  font-size:13px;
  color:var(--muted);

  text-align: center;
  width: 100%;
}
.error-inline{
  margin-top:14px;
  color:#b42318;
  font-size:13px;
}
.spinner{
  width:18px; height:18px;
  border:3px solid rgba(255,255,255,.45);
  border-top-color:#fff;
  border-radius:50%;
  animation:spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg);} }
.success-mark{
  display:none;
  margin-top:16px;
  text-align:center;
}
.success-mark .check{
  width:54px; height:54px;
  border-radius:50%;
  border:4px solid #16a34a;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-bottom:10px;
}
.success-mark .check svg{
  width:30px; height:30px;
  stroke:#16a34a;
  stroke-width:4;
  fill:none;
}
@media (max-width:720px){
  .card{ padding:26px 20px; }
  h1{ font-size:34px; }
}

/* --------------------------------------------------
   Page-specific alignment tweaks
   -------------------------------------------------- */

/* Index (disclosure) page: center just the headline + intro */
body.page-index h1,
body.page-index .lead {
  text-align: center;
}

/* Success page: center headline + supporting copy */
body.page-success h1,
body.page-success .lead,
body.page-success .muted,
body.page-success .footer-note {
  text-align: center;
}

/* Success page: center headline + text + footer */
body.page-success h1,
body.page-success .lead,
body.page-success .muted,
body.page-success .footer-note {
  text-align: center;
}

/* Redline emphasis */
.redline { color: var(--text); font-weight: inherit; text-decoration: none; }
