/**
 * @fileoverview Styles for Group Hub modal and comparison layout.
 * @layer ui-runtime
 * @used-by ui/public/assets/app/modules/group-hub/group-hub.js
 * @depends-on ui/public/assets/css/app.css
 */
.group-hub-modal .modal-dialog {
  max-width: 1200px;
}

.group-hub-panel {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1rem;
}

.group-hub-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: #f8f9fb;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.group-hub-controls label {
  font-size: 0.85rem;
  color: #6c757d;
}

.group-hub-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.group-hub-summary-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  min-width: 120px;
}

.group-hub-summary-item span {
  display: block;
  font-size: 0.75rem;
  color: #6c757d;
}

.group-hub-summary-item strong {
  font-size: 1.05rem;
  color: #212529;
}

.group-hub-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.group-hub-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.group-hub-list-header span {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
}

.group-hub-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.group-hub-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.group-hub-item-title {
  font-weight: 600;
}

.group-hub-item-sub {
  font-size: 0.8rem;
  color: #6c757d;
}

.group-hub-empty {
  padding: 1rem;
  text-align: center;
  border-radius: 10px;
  background: #f3f4f6;
  color: #6c757d;
}

.group-hub-runtime-notice {
  font-size: 0.85rem;
  color: #dc3545;
  margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
  .group-hub-panel {
    grid-template-columns: 1fr;
  }
  .group-hub-lists {
    grid-template-columns: 1fr;
  }
}

[data-bs-theme="dark"] .group-hub-controls {
  background: #0f172a;
  border-color: #1f2937;
}

[data-bs-theme="dark"] .group-hub-summary-item,
[data-bs-theme="dark"] .group-hub-list-item {
  background: #111827;
  border-color: #1f2937;
}

[data-bs-theme="dark"] .group-hub-item-sub,
[data-bs-theme="dark"] .group-hub-controls label {
  color: #9ca3af;
}

[data-bs-theme="dark"] .group-hub-empty {
  background: #111827;
  color: #9ca3af;
}
