.forms-admin-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.forms-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.forms-stat-card {
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 4px 14px rgba(15, 41, 66, 0.08);
}

.forms-stat-card.is-amber {
  background: #D97706;
}

.forms-stat-card.is-teal {
  background: #0F766E;
}

.forms-stat-card.is-navy {
  background: #0F2942;
}

.forms-stat-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.forms-stat-val {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.forms-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.forms-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.form-tab-btn {
  padding: 0.42rem 0.92rem;
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  color: var(--navy-900);
  font-size: 0.83rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(15, 41, 66, 0.05);
}

.form-tab-btn.is-active {
  background: var(--navy-900);
  color: #FFFFFF;
}

.forms-table-wrap {
  width: 100%;
  max-width: 100%;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(15, 41, 66, 0.05);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.forms-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

.forms-table th {
  background: var(--bg-page);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.forms-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--navy-900);
  vertical-align: middle;
}

.forms-table tbody tr:last-child td {
  border-bottom: none;
}

.contact-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.contact-status-pill.is-ok {
  background: #16A34A;
  color: #FFFFFF;
}

.contact-status-pill.is-missing {
  background: #DC2626;
  color: #FFFFFF;
}

.forms-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 600px) {
  .forms-stats-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}