.hmp-accme-claim-compatibility {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  background: #fff;
  color: #20283a;
  font-size: 14px;
}

.hmp-accme-claim-compatibility--authorization-hidden {
  display: none;
}

.hmp-accme-claim-compatibility h3 {
  margin: 0 0 4px;
  color: #1f315e;
  font-size: 18px;
  line-height: 1.3;
}

.hmp-accme-claim-compatibility > div > p,
.hmp-accme-claim-compatibility > p {
  margin: 0 0 16px;
  color: #5d6574;
  font-size: 13px;
  line-height: 1.5;
}

.hmp-accme-claim-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 16px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e1e5eb;
  border-radius: 6px;
  background: #e1e5eb;
  list-style: none;
}

.hmp-accme-claim-summary li {
  margin: 0;
  padding: 10px 12px;
  background: #f7f8fa;
}

.hmp-accme-claim-summary__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.hmp-accme-claim-summary__item span {
  color: #687184;
  font-size: 12px;
}

.hmp-accme-claim-summary__item strong {
  overflow-wrap: anywhere;
  color: #20283a;
  font-size: 14px;
}

.hmp-accme-claim-summary__item.is-missing strong {
  color: #b42318;
}

.hmp-accme-claim-profile-edit {
  margin: 0 0 16px;
  color: #20283a;
  line-height: 1.5;
}

.hmp-accme-claim-profile-edit__link {
  color: #175cd3;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hmp-accme-credit-profile-modal-link {
  cursor: pointer;
}

.hmp-accme-claim-routes {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.hmp-accme-claim-routes th,
.hmp-accme-claim-routes td {
  padding: 11px 12px;
  border: 1px solid #e1e5eb;
  text-align: left;
  vertical-align: middle;
}

.hmp-accme-claim-routes th {
  background: #f2f4f7;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

#course-content-space .hmp-accme-claim-routes th {
  height: auto;
  padding: 11px 12px;
  background: #f2f4f7;
  color: #475467;
  line-height: 1.4;
}

#course-content-space .hmp-accme-claim-routes td {
  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.4;
}

.hmp-accme-claim-routes tbody tr.is-compatible {
  background: #f1fbf5;
}

.hmp-accme-claim-routes tbody tr.is-incompatible {
  background: #fff7f6;
}

.hmp-accme-claim-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}

.hmp-accme-claim-status > span {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: currentColor;
}

.hmp-accme-claim-status.is-compatible {
  color: #16794b;
}

.hmp-accme-claim-status.is-incompatible {
  color: #b42318;
}

.hmp-accme-claim-status__profile-link {
  color: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hmp-accme-credit-reporting-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  padding: 13px 15px;
  border: 1px solid #b7dec8;
  border-radius: 6px;
  background: #eef8f2;
  color: #25372d;
  font-size: 14px;
  line-height: 1.5;
}

.hmp-accme-credit-reporting-benefit__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #16794b;
  color: #fff;
}

.hmp-accme-credit-reporting-benefit__icon::before {
  content: "\2713";
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hmp-accme-credit-reporting-benefit__authorization {
  margin-bottom: 5px;
}

.hmp-accme-credit-reporting-benefit__link {
  color: #1b2f7f;
  font-weight: 700;
  text-decoration: none;
}

.hmp-accme-credit-reporting-benefit__link:hover,
.hmp-accme-credit-reporting-benefit__link:focus {
  color: #1b2f7f;
  text-decoration: none;
}

.hmp-accme-credit-status {
  margin: 24px 0;
  color: #20283a;
  font-size: 14px;
}

.hmp-accme-credit-status h3 {
  margin: 0 0 10px;
  color: #1f315e;
  font-size: 18px;
  line-height: 1.3;
}

.hmp-accme-credit-status__table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.hmp-accme-credit-status__table th,
.hmp-accme-credit-status__table td,
#course-content-space .hmp-accme-credit-status__table th,
#course-content-space .hmp-accme-credit-status__table td {
  height: auto;
  padding: 11px 12px;
  border: 1px solid #e1e5eb;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  vertical-align: middle;
}

.hmp-accme-credit-status__table th,
#course-content-space .hmp-accme-credit-status__table th {
  background: #f2f4f7;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hmp-accme-credit-status__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  text-transform: capitalize;
}

.hmp-accme-credit-status__badge > span,
a.hmp-accme-credit-status__badge::before {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

a.hmp-accme-credit-status__badge {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hmp-accme-credit-status__badge.is-pending {
  color: #9a6700;
}

.hmp-accme-credit-status__badge.is-processing {
  color: #175cd3;
}

.hmp-accme-credit-status__badge.is-submitted {
  color: #16794b;
}

.hmp-accme-credit-status__badge.is-invalid,
.hmp-accme-credit-status__badge.is-error,
.hmp-accme-credit-status__badge.is-expired {
  color: #b42318;
}

.hmp-accme-credit-status__badge.is-retry {
  color: #b54708;
}

@media (max-width: 700px) {
  .hmp-accme-claim-compatibility {
    padding: 14px;
  }

  .hmp-accme-claim-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hmp-accme-claim-routes,
  .hmp-accme-claim-routes tbody,
  .hmp-accme-claim-routes tr,
  .hmp-accme-claim-routes td {
    display: block;
    width: 100%;
  }

  .hmp-accme-claim-routes thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hmp-accme-claim-routes tr {
    margin-bottom: 10px;
    border: 1px solid #e1e5eb;
    border-radius: 6px;
  }

  .hmp-accme-claim-routes tr:last-child {
    margin-bottom: 0;
  }

  .hmp-accme-claim-routes td {
    border: 0;
  }

  .hmp-accme-claim-routes td + td {
    padding-top: 0;
  }

  .hmp-accme-credit-status__table,
  .hmp-accme-credit-status__table tbody,
  .hmp-accme-credit-status__table tr,
  .hmp-accme-credit-status__table td {
    display: block;
    width: 100%;
  }

  .hmp-accme-credit-status__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hmp-accme-credit-status__table tr {
    margin-bottom: 12px;
    padding: 4px 0;
    border: 1px solid #e1e5eb;
    border-radius: 6px;
  }

  .hmp-accme-credit-status__table td,
  #course-content-space .hmp-accme-credit-status__table td {
    display: grid;
    grid-template-columns: minmax(110px, 38%) minmax(0, 1fr);
    gap: 12px;
    padding: 8px 12px;
    border: 0;
  }

  .hmp-accme-credit-status__table td::before {
    color: #687184;
    content: attr(data-label);
    font-size: 12px;
    font-weight: 700;
  }
}

@media (max-width: 420px) {
  .hmp-accme-claim-summary {
    grid-template-columns: 1fr;
  }
}
