/* Customer claims in My account ▸ My warranties and the guest lookup (claims-customer.php). */
.nx-warranties tr.nx-warranties__row--has-claims td { border-bottom: 0; }
.nx-warranties tr.nx-warranties__claims > td { padding: 0 0 16px; white-space: normal; text-align: left; }
/* One column that never grows past its cell (a textarea's default width would). */
.nx-cc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.nx-cc__claim { padding: 12px 14px; border: 1px solid #e2e2e2; border-left: 4px solid #9aa5b1; border-radius: 6px; background: #fafafa; overflow-wrap: anywhere; }
.nx-cc__claim.is-open { border-left-color: #1a4f8a; background: #f5f8fc; }
.nx-cc__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 6px; }
.nx-cc__dates { color: #555; font-size: 0.9em; }
.nx-cc__st { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 0.8em; font-weight: 700; line-height: 1.5; background: #e7f0fb; color: #1a4f8a; }
.nx-cc__st--repaired, .nx-cc__st--replaced, .nx-cc__st--returned { background: #e6f4ea; color: #1e6b39; }
.nx-cc__st--rejected { background: #efefef; color: #555; }
.nx-cc__problem, .nx-cc__next { margin: 0 0 6px; }
.nx-cc__next { color: #333; font-size: 0.95em; }
.nx-cc__history { margin: 0 0 4px 1.2em; padding: 0; font-size: 0.95em; }
.nx-cc__history li { margin: 0 0 6px; }
.nx-cc__when { color: #555; }
.nx-cc__text { display: block; white-space: pre-line; }
.nx-cc__from-us { padding: 4px 8px; border-left: 3px solid #1a4f8a; background: #fff; }
.nx-cc__photos { color: #555; font-size: 0.9em; }
.nx-cc__form { margin-top: 8px; }
.nx-cc__form > summary { display: inline-block; cursor: pointer; color: #1a4f8a; font-weight: 600; }
.nx-cc__new > summary { padding: 8px 14px; border: 1px solid #1a4f8a; border-radius: 4px; }
.nx-cc__form[open] > summary { margin-bottom: 10px; }
.nx-cc__form form { max-width: 560px; }
.nx-cc__field { display: block; margin: 0 0 12px; padding: 0; border: 0; min-width: 0; }
.nx-cc__field > label, .nx-cc__field > legend { display: block; margin-bottom: 4px; padding: 0; font-weight: 600; }
/* The theme's legend is wider than a phone's card: keep it inside its box. */
.nx-cc__field > legend { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; box-sizing: border-box; border: 0; font-size: inherit; white-space: normal; }
.nx-cc__field textarea { width: 100%; box-sizing: border-box; }
.nx-cc__field input[type="file"] { display: block; max-width: 100%; }
.nx-cc__hint { display: block; color: #555; font-size: 0.85em; }
.nx-cc__radio { display: block; margin: 2px 0; font-weight: 400; overflow-wrap: anywhere; }
.nx-cc__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nx-cc__closed { margin: 0; color: #555; }
.nx-warranty-lookup__message--ok { border-left-color: #1e6b39; background: #e6f4ea; color: #1e4d2c; }
@media (max-width: 768px) {
	/* The cards are blocks: a table would size itself to the widest form field and scroll. */
	table.nx-warranties, table.nx-warranties > tbody { display: block; width: 100%; }
	/* Each line is a card on phones: the claims join the card above. */
	.nx-warranties tr.nx-warranties__row--has-claims { margin-bottom: 0; border-bottom: 0; border-radius: 6px 6px 0 0; }
	.nx-warranties tr.nx-warranties__claims { margin-top: 0; padding-top: 0; border-top: 0; border-radius: 0 0 6px 6px; }
	table.nx-warranties.nx-warranties tbody tr.nx-warranties__claims > td { display: block; padding: 0 0 12px; text-align: left; }
	.nx-cc__claim { padding: 10px; }
}
