.mbjj-mmaext-card {
  margin-top: 16px;
}

.mbjj-mmaext-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 12px;
}

.mbjj-mmaext-mma-level-wrap {
  margin-top: 10px;
}

.mbjj-mmaext-discipline-list {
  display: grid;
  gap: 10px;
}

.mbjj-mmaext-discipline-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 47, 109, 0.06);
}

.mbjj-mmaext-note {
  margin: 4px 0 0;
}

.moje_bjj_badge,
.mojebjj-badge.is-neutral {
  background: #eef1f6;
  color: #243349;
}

.mojebjj-badge.is-success {
  background: #dff5e4;
  color: #1f6b34;
}

.mojebjj-badge.is-warning {
  background: #fff4d6;
  color: #8a5a00;
}

.mojebjj-badge.is-danger {
  background: #fde3e3;
  color: #8f2222;
}

.mbjj-mmaext-filter-bar {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.mbjj-mmaext-filter-bar__label,
.mbjj-mmaext-schedule-form__label {
  font-size: 12px;
  font-weight: 600;
  color: #5a6473;
}

.mbjj-mmaext-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mbjj-mmaext-filter-button.is-active {
  border-color: #0f2f6d;
  box-shadow: inset 0 0 0 1px #0f2f6d;
}

.mbjj-mmaext-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.mbjj-mmaext-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0f2f6d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.mbjj-mmaext-schedule-form {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15,47,109,.12);
}

.mbjj-mmaext-approval-actions {
  margin-top: 10px;
}

.mbjj-mmaext-registration hr {
  margin: 16px 0;
}

@media (max-width: 640px) {
  .mbjj-mmaext-discipline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .mbjj-mmaext-filter-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.mbjj-mmaext-card--mma-only .mbjj-mmaext-discipline-item.is-primary {
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.mbjj-mmaext-profile-only {
  --mojebjj-profile-accent: #475569;
  --mojebjj-profile-accent-soft: rgba(71, 85, 105, 0.14);
  --mojebjj-profile-accent-line: rgba(71, 85, 105, 0.28);
  --mojebjj-profile-accent-ink: #1f2937;
  --mojebjj-profile-accent-contrast: #111827;
}

.mbjj-mmaext-profile-only .mojebjj-rank-badge,
.mbjj-mmaext-profile-only .mojebjj-profile-tag--belt,
.mbjj-mmaext-profile-only .mojebjj-belt-slot {
  display: none !important;
}

.mbjj-mmaext-profile-only--neutral {
  --mojebjj-profile-accent: #64748b;
  --mojebjj-profile-accent-soft: rgba(100, 116, 139, 0.14);
  --mojebjj-profile-accent-line: rgba(100, 116, 139, 0.3);
  --mojebjj-profile-accent-ink: #1f2937;
}

.mbjj-mmaext-profile-only--dzieci {
  --mojebjj-profile-accent: #f3f4f6;
  --mojebjj-profile-accent-soft: rgba(226, 232, 240, 0.42);
  --mojebjj-profile-accent-line: rgba(148, 163, 184, 0.48);
  --mojebjj-profile-accent-ink: #334155;
}

.mbjj-mmaext-profile-only--mlodziezowa {
  --mojebjj-profile-accent: #2563eb;
  --mojebjj-profile-accent-soft: rgba(37, 99, 235, 0.16);
  --mojebjj-profile-accent-line: rgba(37, 99, 235, 0.34);
  --mojebjj-profile-accent-ink: #1d4ed8;
}

.mbjj-mmaext-profile-only--poczatkujaca {
  --mojebjj-profile-accent: #7e22ce;
  --mojebjj-profile-accent-soft: rgba(126, 34, 206, 0.16);
  --mojebjj-profile-accent-line: rgba(126, 34, 206, 0.34);
  --mojebjj-profile-accent-ink: #6b21a8;
}

.mbjj-mmaext-profile-only--sredniozaawansowana {
  --mojebjj-profile-accent: #8b5e3c;
  --mojebjj-profile-accent-soft: rgba(139, 94, 60, 0.16);
  --mojebjj-profile-accent-line: rgba(139, 94, 60, 0.34);
  --mojebjj-profile-accent-ink: #6f4626;
}

.mbjj-mmaext-profile-only--zaawansowana {
  --mojebjj-profile-accent: #111827;
  --mojebjj-profile-accent-soft: rgba(17, 24, 39, 0.16);
  --mojebjj-profile-accent-line: rgba(17, 24, 39, 0.34);
  --mojebjj-profile-accent-ink: #111827;
}

.mbjj-mmaext-profile-only--zawodnicza {
  --mojebjj-profile-accent: #dc2626;
  --mojebjj-profile-accent-soft: rgba(220, 38, 38, 0.16);
  --mojebjj-profile-accent-line: rgba(220, 38, 38, 0.34);
  --mojebjj-profile-accent-ink: #b91c1c;
}
