/* Checkout extras: field hints, validation states, price total, documents.
   Also carries the blog-index list styles. Linked from base.html. */

.co-hint {
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.co-hint:empty { display: none; }
.co-hint.is-error { color: #b3261e; font-weight: 600; }

.co-field input.is-invalid,
.co-field select.is-invalid {
  border-color: #b3261e;
  background: #fdf5f5;
}

/* Optional extra (radiation) */
.co-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  margin: 0 0 1rem;
  cursor: pointer;
}
.co-option:has(input:checked) { border-color: var(--accent); background: var(--panel); }
.co-option input { accent-color: var(--accent); width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; }
.co-option span { display: grid; gap: 0.15rem; }
.co-option small { color: var(--ink-soft); font-size: 0.8rem; line-height: 1.45; }

/* Running total */
.co-total {
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 0.9rem 1rem;
  margin: 0 0 1rem;
}
.co-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--display);
}
.co-total-row span { font-weight: 700; font-size: 0.95rem; }
.co-total-row strong { font-size: 1.6rem; font-weight: 800; }
.co-total-note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* Insurer-confirmed amount on the OTP step */
.co-confirmed {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  margin: 0.9rem 0 0;
  font-family: var(--display);
}
.co-confirmed span { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }
.co-confirmed strong { font-size: 1.35rem; font-weight: 800; }

/* Consent line above the submit button */
.co-consent {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 0.9rem;
  line-height: 1.5;
}

/* Product documents */
.co-docs {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.co-docs h2 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.co-docs ul { list-style: none; padding: 0; margin: 0.8rem 0 0; }
.co-docs li { padding: 0.35rem 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.co-docs li:last-child { border-bottom: 0; }

/* Blog index */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; max-width: 46rem; }
.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.post-card a { text-decoration: none; }
.post-card h2 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  color: var(--ink);
}
.post-card a:hover h2 { color: var(--accent); }
.post-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }
.post-meta {
  margin-top: 0.5rem !important;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
