/* Customer Agreements list — most styling comes from shared data-table / status-badge.
   Only the bits specific to this page and the snapshot viewer live here. */

.filter-section {
    margin-bottom: 16px;
}

.filter-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
}

/* Snapshot viewer inside the agreement detail modal */
.agreement-snap-h {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin: 18px 0 8px;
}

#agreement-snapshot .data-table {
    margin-bottom: 8px;
}

.agreement-clause {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

/* Derived-state badges. The office list borrows these from contract-list/index.css
   when both are cached; the showcase page loads only this file, so they live here too. */
.status-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status-draft { background: #f3f4f6; color: #4b5563; }
.status-pending { background: #dbeafe; color: #1e40af; }
.status-active { background: #dcfce7; color: #166534; }
.status-expiring { background: #fef3c7; color: #92400e; }
.status-expired { background: #fce4ec; color: #991b1b; }
.status-cancelled { background: #f3f4f6; color: #6b7280; }
