.admin-config-container {
  max-width: 700px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 #0001;
  padding: 2.5rem 2.5rem 2rem 2.5rem;
}
.admin-config-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}
.admin-config-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}
.admin-config-section {
  margin-bottom: 2.5rem;
}
.admin-config-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.admin-config-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.admin-config-table th, .admin-config-table td {
  border: 1px solid #e5e7eb;
  padding: 0.7rem 1rem;
  text-align: left;
}
.admin-config-table th {
  background: #f9fafb;
  font-weight: 700;
}
.admin-config-table tr:nth-child(even) {
  background: #f6f6f6;
}
.admin-config-form > div {
  margin-bottom: 1.2rem;
}
.admin-config-form label {
  font-weight: 500;
  margin-bottom: 0.3rem;
  display: block;
}
.admin-config-form input[type="number"] {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}
.admin-config-form input[type="checkbox"] {
  margin-left: 0.5rem;
}
.admin-config-form .btn {
  margin-right: 0.7rem;
}

/* Document requirements table */
.doc-req-table-wrapper {
  overflow-x: auto;
  margin: 0 -0.5rem;
}
.doc-req-table {
  min-width: 700px;
}
.admin-config-table tr.row-inactive {
  opacity: 0.45;
}
.admin-config-table .text-center {
  text-align: center;
}
.admin-config-table .text-muted-small {
  color: #6b7280;
  font-size: 0.85rem;
}
.admin-config-table .desc-cell {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
}
.admin-config-table .actions-cell {
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
}
.code-tag {
  background: #f3f4f6;
  color: #374151;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-family: monospace;
  border: 1px solid #e5e7eb;
  white-space: nowrap;
}
.badge-active {
  background: #dcfce7;
  color: #166534;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-inactive {
  background: #f3f4f6;
  color: #9ca3af;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
/* Small action buttons for doc requirements table */
.btn-doc-action {
  display: inline-block;
  padding: 4px 10px !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.4;
  margin-right: 4px;
}
.btn-outline {
  background: transparent !important;
  border: 1px solid #d1d5db !important;
  color: #374151 !important;
  box-shadow: none !important;
}
.btn-outline:hover {
  background: #f3f4f6 !important;
}
.btn-success-outline {
  background: transparent !important;
  border: 1px solid #16a34a !important;
  color: #16a34a !important;
  box-shadow: none !important;
}
.btn-success-outline:hover {
  background: #f0fdf4 !important;
}
.btn-doc-danger {
  background: #fef2f2 !important;
  border: 1px solid #fca5a5 !important;
  color: #dc2626 !important;
  box-shadow: none !important;
}
.btn-doc-danger:hover {
  background: #fee2e2 !important;
}
.section-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin: -0.5rem 0 1.5rem 0;
}
