/* Action bar — top of dashboard: org count + "Add more orgs" button.
   Also owns the shared .btn family because the button styles originated here. */
.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.action-summary {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
}

.action-summary strong {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}

.action-summary .icp-tally {
  font-size: 12px;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  background: var(--header-bg);
  color: var(--accent-fg);
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
}

.btn:hover:not(:disabled) {
  background: #100749;
  border-color: var(--accent);
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: default; }

.btn.btn-secondary {
  background: var(--btn-bg);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}
.btn.btn-secondary:hover:not(:disabled) {
  background: var(--btn-hover);
  border-color: var(--card-border);
}

.btn-sublabel {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 8px;
}

@media (max-width: 760px) {
  .action-bar {
    padding: 12px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .action-bar .btn { width: 100%; }
}

@media (max-width: 540px) {
  .btn { font-size: 13px; padding: 10px 16px; min-height: 40px; }
}
