/* ============================================================
   ReFiNe Website — Compact Filter Layout Stylesheet
   ============================================================ */

/* ---------- Scoped base for replication-targets app ---------- */
.replication-targets-page,
.replication-targets-app {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #2d3748;
  line-height: 1.6;
}

/* ---------- Main content container — centered, max-width ~1160px ---------- */
.replication-targets-app {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 28px;
}

/* ---------- Search bar — now inside filter-panel-container ---------- */
.replication-targets-page #search-container {
  width: 100%;
  position: relative;
  margin-bottom: 16px;
}
.replication-targets-page .search-input {
  width: 100%;
  padding: 14px 48px 14px 18px;
  font-size: 1rem;
  border: 2px solid #cbd5e0;
  border-radius: 10px;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.replication-targets-page .search-input:focus {
  outline: none;
  border-color: #0b6e4f;
  box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.15);
}
.replication-targets-page .clear-search-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #718096;
  cursor: pointer;
  display: none;
}
.replication-targets-page .clear-search-btn:hover { color: #2d3748; }

/* ============================================================
   COMPACT FILTER BUTTONS (replaces vertical list)
   ============================================================ */

/* ============================================================
   FILTER BUTTONS ROW — evenly distributed across container width
   ============================================================ */
.replication-targets-page .filter-buttons-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 0;
}

/* Individual filter button fills its grid cell */
.replication-targets-page .compact-filter-btn {
  width: 100%;
  justify-content: center;
}

.replication-targets-page .compact-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
  background: white;
  border: 1.5px solid #cbd5e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  user-select: none;
}
.replication-targets-page .compact-filter-btn:hover {
  border-color: #0b6e4f;
  color: #0b6e4f;
  background: #f0faf6;
}
.replication-targets-page .compact-filter-btn.active,
.replication-targets-page .compact-filter-btn.open {
  border-color: #0b6e4f;
  background: #0b6e4f;
  color: white;
  box-shadow: 0 2px 6px rgba(11, 110, 79, 0.25);
}
.replication-targets-page .compact-filter-btn .arrow {
  font-size: 0.65rem;
  transition: transform 0.2s;
}
.replication-targets-page .compact-filter-btn.active .arrow {
  transform: rotate(180deg);
}

/* ============================================================
   DROPDOWN PANELS (positioned below buttons)
   ============================================================ */
.replication-targets-page .filter-dropdown-panel {
  display: none;
  position: fixed;
  z-index: 100;
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 10px 12px 12px;
  min-width: 220px;
  max-width: 340px;
  max-height: 70vh;
  overflow-y: auto;
}
.replication-targets-page .filter-dropdown-panel.show { display: block; }

/* Filter chips wrap inside dropdown */
.replication-targets-page .filter-chips-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Individual filter chip input (checkbox label) */
.replication-targets-page .filter-chip-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s;
  font-size: 0.85rem;
  color: #4a5568;
}
.replication-targets-page .filter-chip-input:hover {
  background: #f7fafc;
}
.replication-targets-page .filter-chip-input input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #0b6e4f;
  cursor: pointer;
}

/* ============================================================
    ACTIVE FILTERS BAR — always visible, inherits alignment from filters-compact parent
    ============================================================ */
.replication-targets-page .active-filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  background: #f7fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  width: 100%;
}

.replication-targets-page .active-filters-bar .no-filters-label {
  color: #a0aec0;
  font-style: italic;
  font-size: 0.9rem;
}

.replication-targets-page .active-filters-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1;
}

.replication-targets-page .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #e6ffed;
  color: #0b6e4f;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}
.replication-targets-page .chip-remove {
  background: none;
  border: none;
  color: #0b6e4f;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.12s;
}
.chip-remove:hover {
  background: rgba(11, 110, 79, 0.15);
}

.replication-targets-page .reset-filters-btn,
.replication-targets-page #reset-filters-btn {
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  background: white;
  color: #e07a5f;
  border: 1.5px solid #fde2dc;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.replication-targets-page #reset-filters-btn:hover {
  background: #fef2f0;
  color: #c94a30;
  border-color: #f5b8ab;
}

.replication-targets-page .filter-panel-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b6e4f;
  margin-bottom: 12px;
  padding-left: 4px;
}

.replication-targets-page .filter-panel-container,
.filters-compact .filter-panel-container {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 20px;
}

.replication-targets-page #count,
.replication-targets-app #count {
  font-weight: 700;
  font-size: 0.95rem;
  color: #2d3748;
  margin-bottom: 12px;
}

.replication-targets-page .results-count-bar {
  margin-top: 12px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: #718096;
}

.replication-targets-page .paper-grid,
.paper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.replication-targets-page .card,
.replication-targets-app .card,
.card {
  background: white;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
  border-left: 3px solid #0b6e4f;
  border-top: 1px solid #e8ecf1;
  border-right: 1px solid #e8ecf1;
  border-bottom: 1px solid #e8ecf1;
  margin-bottom: 4px;
}
.replication-targets-page .card:hover,
.replication-targets-app .card:hover,
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.replication-targets-page .card h3,
.replication-targets-app .card h3,
.card h3 {
  font-size: 1.20rem;
  margin-bottom: 9px;
  line-height: 1.4;
  color: #000000;
  font-weight: normal;
}

.replication-targets-page .meta,
.replication-targets-app .meta,
.meta {
  font-size: 0.82rem;
  color: #718096;
  margin-bottom: 4px;
}
.meta a { color: #0b6e4f; text-decoration: none; }
.meta a:hover { text-decoration: underline; }

/* Summary section — gray bg, light green left border */
.replication-targets-page .summary-section,
.replication-targets-app .summary-section,
.summary-section {
  margin-top: 12px;
  padding: 12px;
  background: #f7fafc;
  border-radius: 8px;
  border-left: 3px solid #e6ffed;
}
.replication-targets-page .summary-section h4,
.replication-targets-app .summary-section h4,
.summary-section h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0b6e4f;
  margin-bottom: 6px;
}
.replication-targets-page .summary-section p,
.replication-targets-app .summary-section p,
.summary-section p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #4a5568;
}

.replication-targets-page .replication-requirements,
.replication-targets-app .replication-requirements,
.replication-requirements {
  margin-top: 12px;
}
.replication-targets-page .replication-requirements h4,
.replication-targets-app .replication-requirements h4,
.replication-requirements h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #718096;
  margin-bottom: 6px;
}
.replication-targets-page .req-chips-inline,
.replication-targets-app .req-chips-inline,
.req-chips-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.replication-targets-page .req-chip,
.replication-targets-app .req-chip,
.req-chip {
  padding: 3px 9px;
  background: #edf2f7;
  color: #4a5568;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 500;
}

.replication-targets-page .coverage-line,
.replication-targets-app .coverage-line,
.coverage-line {
  margin-top: 8px;
  font-size: 0.78rem;
  color: #a0aec0;
  font-style: italic;
}

.replication-targets-page .status-badge,
.replication-targets-app .status-badge,
.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 8px;
}
.replication-targets-page .status-available,
.replication-targets-app .status-available,
.status-available { background: #e6ffed; color: #0b6e4f; }
.replication-targets-page .status-selected,
.replication-targets-app .status-selected,
.status-selected { background: #fef3cd; color: #856404; }
.replication-targets-page .status-volunteer-pending,
.replication-targets-app .status-volunteer-pending,
.status-volunteer-pending { background: #d1ecf1; color: #0c5460; }

/* Volunteer button — compact, NOT full-width */
.replication-targets-page .volunteer-btn,
.replication-targets-app .volunteer-btn,
.volunteer-btn {
  display: inline-block;
  width: auto;
  margin-top: 14px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #0b6e4f 0%, #1a9f6f 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s;
}
.replication-targets-page .volunteer-btn:hover,
.replication-targets-app .volunteer-btn:hover,
.volunteer-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 110, 79, 0.3);
}
.replication-targets-page .add-another-btn,
.replication-targets-app .add-another-btn,
.add-another-btn {
  background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
  margin-top: 8px;
}

.replication-targets-page .volunteer-list,
.replication-targets-app .volunteer-list,
.volunteer-list {
  margin-top: 10px;
}
.replication-targets-page .volunteer-list details,
.replication-targets-app .volunteer-list details,
.volunteer-list details {
  font-size: 0.85rem;
}
.replication-targets-page .volunteer-list summary,
.replication-targets-app .volunteer-list summary,
.volunteer-list summary {
  cursor: pointer;
  color: #0b6e4f;
  font-weight: 500;
  padding: 4px 0;
}
.replication-targets-page .volunteer-list-inner,
.replication-targets-app .volunteer-list-inner,
.volunteer-list-inner {
  margin-top: 6px;
  border-left: 2px solid #e2e8f0;
  padding-left: 10px;
}
.replication-targets-page .volunteer-entry,
.replication-targets-app .volunteer-entry,
.volunteer-entry {
  padding: 6px 0 6px 10px;
  font-size: 0.83rem;
}
.replication-targets-page .volunteer-details,
.replication-targets-app .volunteer-details,
.volunteer-details {
  margin-top: 4px;
}
.replication-targets-page .volunteer-details summary,
.replication-targets-app .volunteer-details summary,
.volunteer-details summary {
  font-size: 0.8rem;
  color: #718096;
}
.replication-targets-page .detail-row,
.replication-targets-app .detail-row,
.detail-row {
  padding: 2px 0;
  font-size: 0.8rem;
}
.replication-targets-page .detail-label,
.replication-targets-app .detail-label,
.detail-label {
  font-weight: 600;
  color: #4a5568;
  margin-right: 4px;
}

/* ============================================================
   CLAIMS PANEL (right sidebar) — scoped to replication page
   ============================================================ */
.replication-targets-page .claims-panel,
.replication-targets-app .claims-panel,
.claims-panel {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #e8ecf1;
}
.replication-targets-page .claims-panel h3,
.replication-targets-app .claims-panel h3,
.claims-panel h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #2d3748;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8ecf1;
}

.replication-targets-page .claim-item,
.replication-targets-app .claim-item,
.claim-item {
  padding: 10px 12px;
  background: #f7fafc;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  border-left: 3px solid #0b6e4f;
}
.replication-targets-page .claim-item strong,
.replication-targets-app .claim-item strong,
.claim-item strong { color: #2d3748; }

.replication-targets-page .export-panel,
.replication-targets-page .demo-panel,
.replication-targets-app .export-panel,
.replication-targets-app .demo-panel,
.export-panel,
.demo-panel {
  margin-top: 16px;
  padding: 16px;
  background: #f7fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.replication-targets-page .demo-actions,
.replication-targets-app .demo-actions,
.demo-actions {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}
.replication-targets-page .demo-actions h2,
.replication-targets-app .demo-actions h2,
.demo-actions h2 {
  font-size: 1.1rem;
  color: #2d3748;
  margin-bottom: 6px;
}
.replication-targets-page .demo-note,
.replication-targets-app .demo-note,
.demo-note {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 12px;
}
.replication-targets-page .demo-buttons,
.replication-targets-app .demo-buttons,
.demo-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.replication-targets-page #export-json,
.replication-targets-page #clear-demo,
.replication-targets-app #export-json,
.replication-targets-app #clear-demo,
.replication-targets-page .demo-buttons button,
.replication-targets-app .demo-buttons button,
#export-json,
#clear-demo,
.demo-buttons button {
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.replication-targets-page #export-json,
.replication-targets-app #export-json,
#export-json {
  background: linear-gradient(135deg, #0b6e4f 0%, #1a9f6f 100%);
  color: white;
  border: none;
}
.replication-targets-page #export-json:hover,
.replication-targets-app #export-json:hover,
#export-json:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 110, 79, 0.3);
}

.replication-targets-page #clear-demo,
.replication-targets-app #clear-demo,
#clear-demo {
  background: white;
  color: #e53e3e;
  border: 1.5px solid #fed7d7;
}
.replication-targets-page #clear-demo:hover,
.replication-targets-app #clear-demo:hover,
#clear-demo:hover {
  background: #fff5f5;
  border-color: #fc8181;
}

.replication-targets-page .btn-primary,
.replication-targets-app .btn-primary,
.btn-primary {
  padding: 8px 18px;
  background: linear-gradient(135deg, #0b6e4f 0%, #1a9f6f 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s;
}
.replication-targets-page .btn-primary:hover,
.replication-targets-app .btn-primary:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 110, 79, 0.3);
}

.replication-targets-page .btn-secondary,
.replication-targets-app .btn-secondary,
.btn-secondary {
  padding: 8px 18px;
  background: white;
  color: #718096;
  border: 1.5px solid #cbd5e0;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.replication-targets-page .btn-secondary:hover,
.replication-targets-app .btn-secondary:hover,
.btn-secondary:hover {
  background: #f7fafc;
  border-color: #a0aec0;
  color: #4a5568;
}

.replication-targets-page .close-btn,
.replication-targets-app .close-btn,
.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #718096;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.replication-targets-page .close-btn:hover,
.replication-targets-app .close-btn:hover,
.close-btn:hover {
  background: #f7fafc;
  color: #2d3748;
}

.replication-targets-page .btn-danger,
.replication-targets-app .btn-danger,
.btn-danger {
  padding: 8px 18px;
  background: white;
  color: #e53e3e;
  border: 1.5px solid #fed7d7;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.replication-targets-page .btn-danger:hover,
.replication-targets-app .btn-danger:hover,
.btn-danger:hover {
  background: #fff5f5;
  border-color: #fc8181;
}

.replication-targets-page #export-output,
.replication-targets-app #export-output,
#export-output {
  margin-top: 12px;
  padding: 14px;
  background: #1a202c;
  color: #e2e8f0;
  border-radius: 8px;
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 0.8rem;
  white-space: pre-wrap;
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}

.replication-targets-page .modal-overlay,
.replication-targets-app .modal-overlay,
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.replication-targets-page .modal-overlay.show,
.replication-targets-app .modal-overlay.show,
.modal-overlay.show { display: flex; }

.replication-targets-page .modal-content,
.replication-targets-page .modal,
.replication-targets-app .modal-content,
.replication-targets-app .modal,
.modal-content,
.modal {
  background: white;
  border-radius: 14px;
  padding: 28px;
  max-width: 520px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.replication-targets-page .modal-header,
.replication-targets-app .modal-header,
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.replication-targets-page .modal-header h2,
.replication-targets-app .modal-header h2,
.modal-header h2 {
  margin-bottom: 0;
  color: #2d3748;
}
.replication-targets-page .modal-paper-info,
.replication-targets-app .modal-paper-info,
.modal-paper-info {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #f7fafc;
  border-radius: 6px;
}
.replication-targets-page .modal-disclaimer,
.replication-targets-app .modal-disclaimer,
.modal-disclaimer {
  font-size: 0.8rem;
  color: #a0aec0;
  margin-bottom: 16px;
  font-style: italic;
}
.replication-targets-page .form-actions,
.replication-targets-app .form-actions,
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.replication-targets-page .modal-subtitle,
.replication-targets-app .modal-subtitle,
.modal-subtitle {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 20px;
}

.replication-targets-page .form-group,
.replication-targets-app .form-group,
.form-group {
  margin-bottom: 16px;
}
.replication-targets-page .form-group label,
.replication-targets-app .form-group label,
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 4px;
}
.replication-targets-page .form-group input,
.replication-targets-page .form-group select,
.replication-targets-page .form-group textarea,
.replication-targets-app .form-group input,
.replication-targets-app .form-group select,
.replication-targets-app .form-group textarea,
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.9rem;
  border: 1.5px solid #cbd5e0;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.replication-targets-page .form-group input:focus,
.replication-targets-page .form-group select:focus,
.replication-targets-page .form-group textarea:focus,
.replication-targets-app .form-group input:focus,
.replication-targets-app .form-group select:focus,
.replication-targets-app .form-group textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0b6e4f;
  box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.12);
}

.replication-targets-page .modal-actions,
.replication-targets-app .modal-actions,
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.replication-targets-page .content-layout,
.replication-targets-app .content-layout,
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
}

.replication-targets-page .content-layout,
.replication-targets-app .content-layout,
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
}

@media (min-width: 1024px) {
  .replication-targets-page .content-layout,
  .replication-targets-app .content-layout,
  .content-layout {
    grid-template-columns: 1fr 360px;
  }
}

.replication-targets-page .filters-compact,
.filters-compact {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
}

/* ============================================================
   RESPONSIVE — mobile-first adjustments (scoped)
   ============================================================ */
@media (max-width: 768px) {
  .replication-targets-page .compact-filter-btn,
  .compact-filter-btn {
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  /* Dropdown panels go full-width on small screens */
  .replication-targets-page .filter-dropdown-panel,
  .filter-dropdown-panel {
    left: 8px !important;
    right: 8px !important;
    width: auto;
    max-width: calc(100vw - 16px);
  }

  /* Active filters bar wraps nicely */
  .replication-targets-page .active-filters-bar,
  .active-filters-bar {
    gap: 6px;
    padding: 8px 10px;
  }

  .replication-targets-page .filter-chip,
  .filter-chip {
    font-size: 0.75rem;
    padding: 3px 8px;
  }

  .replication-targets-page #reset-filters-btn,
  #reset-filters-btn {
    font-size: 0.78rem;
    padding: 4px 10px;
  }
}

@media (max-width: 480px) {
  .replication-targets-page .compact-filter-btn,
  .compact-filter-btn {
    padding: 6px 8px;
    font-size: 0.75rem;
  }
  .replication-targets-page .filter-chip-input,
  .filter-chip-input {
    padding: 5px 8px;
    font-size: 0.8rem;
  }
}

/* ============================================================
   SCROLLBAR styling (subtle) — scoped
   ============================================================ */
.replication-targets-page .filter-dropdown-panel::-webkit-scrollbar,
.replication-targets-app .filter-dropdown-panel::-webkit-scrollbar,
.filter-dropdown-panel::-webkit-scrollbar,
.replication-targets-page #export-output::-webkit-scrollbar,
.replication-targets-app #export-output::-webkit-scrollbar,
#export-output::-webkit-scrollbar {
  width: 6px;
}
.replication-targets-page .filter-dropdown-panel::-webkit-scrollbar-thumb,
.replication-targets-app .filter-dropdown-panel::-webkit-scrollbar-thumb,
.filter-dropdown-panel::-webkit-scrollbar-thumb,
.replication-targets-page #export-output::-webkit-scrollbar-thumb,
.replication-targets-app #export-output::-webkit-scrollbar-thumb,
#export-output::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

/* ============================================================
   Registration note — info text below results count (scoped)
   ============================================================ */
.replication-targets-page .registration-note,
.replication-targets-app .registration-note,
.registration-note {
  font-size: 0.875rem;
  color: #4a5568;
  background: #f0faf6;
  border-left: 3px solid #0b6e4f;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* ============================================================
   Register interest link — anchor-style button on paper cards
   ============================================================ */
.replication-targets-page .register-link,
.replication-targets-app .register-link,
.register-link {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(135deg, #0b6e4f 0%, #1a9f6f 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.12s, box-shadow 0.15s;
}
.register-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 110, 79, 0.3);
}