/* ProDigit Business manager */

.biz-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.biz-picker label {
  display: block;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.biz-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.biz-tabs__btn {
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  border: 1px solid var(--app-border, rgba(255, 255, 255, 0.12));
  background: transparent;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.biz-tabs__btn.is-active {
  background: var(--app-accent, #0074b3);
  border-color: transparent;
  color: #fff;
}

.biz-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.biz-form--inline {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.biz-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 12rem;
}

.biz-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
}

.biz-form__actions {
  margin-top: 0.5rem;
}

.biz-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.biz-create {
  margin-top: 1.25rem;
}

.biz-empty {
  margin-bottom: 1rem;
}

.biz-table-wrap {
  overflow-x: auto;
}

.biz-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.biz-list-item {
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid var(--app-border, rgba(255, 255, 255, 0.12));
}

.biz-list-item p {
  margin: 0.25rem 0 0;
  color: var(--app-text-muted, #94a3b8);
  font-size: 0.875rem;
}

.biz-nfc-assign {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.app-input--small {
  min-width: 8rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.8125rem;
}

.biz-member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
}

.biz-member-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.biz-member-card__name {
  margin: 0;
  font-size: 1.05rem;
}

.biz-member-card__meta {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.35rem 0.75rem;
  margin: 0;
  font-size: 0.875rem;
}

.biz-member-card__meta dt {
  margin: 0;
  color: var(--app-text-muted, #94a3b8);
}

.biz-member-card__meta dd {
  margin: 0;
  word-break: break-word;
}

.biz-member-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--app-border, rgba(255, 255, 255, 0.12));
}

.biz-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.72);
}

.biz-modal[hidden] {
  display: none;
}

.biz-modal__panel {
  width: min(100%, 28rem);
  padding: 1.25rem;
  border-radius: 0.875rem;
  border: 1px solid var(--app-border, rgba(255, 255, 255, 0.12));
  background: var(--app-surface, #0f172a);
}

.biz-modal__panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
}

.biz-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pd-page-stats {
  margin-bottom: 1.25rem;
}

.pd-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pd-action-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.875rem;
  border: 1px solid var(--app-border, rgba(255, 255, 255, 0.12));
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.pd-action-card h3 {
  margin: 0;
  font-size: 1rem;
}

.pd-action-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--app-text-muted, #94a3b8);
  flex: 1;
}

.pd-demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.pd-demo-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.pd-demo-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pd-tab-panel {
  margin-top: 1rem;
}

.biz-snapshot__card--wide {
  flex: 1 1 14rem;
}

.biz-snapshot__performer {
  font-size: 1rem;
  line-height: 1.35;
}

.biz-role-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--app-border, rgba(255, 255, 255, 0.12));
  background: rgba(255, 255, 255, 0.03);
}

.biz-demo-hero {
  margin-bottom: 1.25rem;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: linear-gradient(135deg, rgba(0, 116, 179, 0.12), rgba(15, 23, 42, 0.4));
}

.biz-demo-hero__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.biz-demo-hero__head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.biz-demo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.biz-invite-status {
  margin-bottom: 1rem;
}

.app-store-coming-soon {
  margin-bottom: 1.25rem;
}

.app-store-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.app-store-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
}
