/* CT Foreclosure Sales — page-specific styles (site-wide styles live in /assets/site.css) */
[hidden] { display: none !important; }
.fc-bar { display:flex; flex-wrap:wrap; gap:.75rem 1rem; align-items:center; justify-content:space-between; margin-bottom:1rem; }
.fc-bar p { margin:0; color:var(--text-muted); }
.fc-actions { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; }
.fc-copied { color:var(--gold-dim); font-weight:600; min-width:6rem; }

.fc-error, .fc-warn { border-radius:var(--radius); padding:.9rem 1.1rem; margin-bottom:1rem; }
.fc-error { background:#fbeaea; border:1px solid #e3b4b4; color:#7a1f1f; }
.fc-warn  { background:var(--parchment); border:1px solid var(--cream-dark); border-left:4px solid var(--gold); color:var(--text-body); }

.fc-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:1rem; margin-bottom:1.25rem; }
.fc-stat { background:var(--navy); color:var(--cream); border-radius:var(--radius-lg); padding:1rem 1.1rem; text-align:center; }
.fc-stat b { display:block; font-size:1.9rem; color:var(--gold-light); line-height:1.1; }
.fc-stat span { font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:var(--cream-dark); }

.fc-filters { display:flex; flex-wrap:wrap; gap:.75rem 1rem; align-items:flex-end; background:var(--parchment); border:1px solid var(--cream-dark); border-radius:var(--radius-lg); padding:1rem 1.1rem; margin-bottom:1.25rem; }
.fc-field { display:flex; flex-direction:column; gap:.3rem; min-width:150px; }
.fc-grow { flex:1 1 240px; }
.fc-field label { font-size:.78rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--text-muted); }
.fc-field input, .fc-field select { font:inherit; padding:.55rem .7rem; border:1px solid var(--cream-dark); border-radius:var(--radius); background:var(--white); color:var(--text-body); }
.fc-field input:focus-visible, .fc-field select:focus-visible, .fc-table th button:focus-visible, .btn:focus-visible { outline:3px solid var(--gold); outline-offset:2px; }

.fc-table-wrap { overflow-x:auto; border:1px solid var(--cream-dark); border-radius:var(--radius-lg); background:var(--white); }
.fc-table { width:100%; border-collapse:collapse; font-size:.92rem; }
.fc-table th, .fc-table td { padding:.65rem .8rem; text-align:left; vertical-align:top; border-bottom:1px solid var(--cream-dark); }
.fc-table thead th { background:var(--navy); color:var(--cream); white-space:nowrap; padding:0; }
.fc-table th button { all:unset; box-sizing:border-box; display:block; width:100%; padding:.65rem .8rem; cursor:pointer; font-weight:700; }
.fc-table th button:hover { color:var(--gold-light); }
.fc-table th[aria-sort="ascending"] button::after  { content:" \25B2"; font-size:.7em; }
.fc-table th[aria-sort="descending"] button::after { content:" \25BC"; font-size:.7em; }
.fc-table tbody tr:nth-child(even) { background:#faf8f3; }
.fc-table tbody tr:hover { background:var(--parchment); }
.fc-date { white-space:nowrap; font-weight:600; }
.fc-time { display:block; font-weight:400; color:var(--text-muted); font-size:.82rem; }
.fc-sub { display:block; color:var(--text-muted); font-size:.82rem; }
.fc-badge { display:inline-block; padding:.12rem .5rem; border-radius:999px; font-size:.72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; background:#e6efe4; color:#2f5a2b; }
.fc-badge.is-cancelled { background:#fbeaea; color:#7a1f1f; }
.fc-badge.is-postponed { background:#fdf1d8; color:#7a5a12; }
tr.is-cancelled td:not(:last-child) { color:var(--text-muted); text-decoration:line-through; text-decoration-color:#c9a0a0; }
.fc-empty { text-align:center; padding:2rem 1rem; color:var(--text-muted); }
.fc-note { margin-top:1.5rem; font-size:.85rem; color:var(--text-muted); max-width:820px; }

@media (max-width:640px) {
  .fc-field { flex:1 1 100%; }
  .fc-actions .btn { flex:1 1 auto; }
}
@media (prefers-reduced-motion:reduce) { .btn { transition:none; } }
