#sectionMbaPro.section-mbapro {
}

/* ─── DESKTOP: MBA Dashboard ─── */
.mba-dashboard {
  display: flex;
  gap: 16px;
  width: 100%;
}
/* Hide mobile layout on desktop */
.mbaProGroupContent-mobile { display: none; }

.mba-card {
  flex: 1;
  border: 1px solid #000;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.mba-card-group {
  flex: 2;
}

.mba-card-group-inner {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.mba-subcard {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #000;
}
.mba-subcard:last-child { border-right: none; }

.mba-card-or {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #dc2626;
  padding: 0 8px;
  writing-mode: vertical-lr;
  text-transform: uppercase;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  background: #fef2f2;
  flex-shrink: 0;
}

.mba-card-title {
  background: #dbeafe;
  font-size: 10.5px;
  font-weight: 800;
  color: #1e40af;
  padding: 8px 10px;
  border-bottom: 1px solid #000;
  line-height: 1.35;
  text-transform: uppercase;
  min-height: calc(10.5px * 1.35 * 2 + 16px);
  display: flex;
  align-items: center;
}

.mba-dash-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d1d5db;
  padding: 6px 10px;
}
.mba-dash-row:last-child { border-bottom: none; }

.mba-dash-label {
  width: 80px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: #374151;
  text-transform: uppercase;
}

.mba-dash-val {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
}

/* ─── MOBILE: MBA Pro ─── */
@media (max-width: 1023px), (hover: none) and (pointer: coarse) {
  /* Ẩn dashboard trên mobile */
  .mba-dashboard { display: none !important; }

  /* Group Danh hiệu: full-width label-value list */
  .mbaProGroupContent .info-item-modern,
  .info-group:not(.collapsed) .mbaProGroupContent .info-item-modern {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .mbaProGroupContent .info-value {
    text-align: right;
  }

  /* Ẩn row desktop của tracking groups (chỉ row có class mba-desktop-row) */
  .mba-desktop-row {
    display: none !important;
  }
  /* Tracking mobile layout */
  .mbaProGroupContent-mobile {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .mba-criterion-box {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
  }
  .mba-criterion-box .mba-criterion-header {
    font-size: 13px;
    font-weight: 800;
    color: #374151;
    line-height: 1.25;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
  }
  .mba-criterion-box .mba-criterion-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }
  .mba-criterion-cell {
    font-size: 12px;
    text-align: center;
  }
  .mba-criterion-cell .mba-cell-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 2px;
  }
  .mba-criterion-cell .mba-cell-value {
    font-size: 13px;
    font-weight: 900;
  }

  /* Box lớn gom 2 tiêu chí ĐLM */
  .mba-criterion-group {
    border: 2px solid #d1d5db;
    border-radius: 10px;
    padding: 10px;
    background: #f9fafb;
  }
  .mba-criterion-or {
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    color: #ea580c;
    padding: 8px 0;
    text-transform: uppercase;
  }
  /* Trong group, các box con bỏ border riêng */
  .mba-criterion-group .mba-criterion-box {
    border: 1px solid #e5e7eb;
  }
}
