.janazah-page .identity-verification-card {
  margin-top: 15px;
  padding: 13px;
  background: linear-gradient(180deg, #fffaf0, #f7efdb);
  border: 1px solid #d9bd75;
  border-radius: 13px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 7px 18px rgba(65, 49, 24, .06);
}

.janazah-page .identity-verification-card.verified {
  background: linear-gradient(180deg, #eef7ef, #e4f1e7);
  border-color: #8bb69a;
}

.janazah-page .identity-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.janazah-page .identity-heading > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.janazah-page .identity-heading strong {
  color: #043d35;
  font-size: 12px;
}

.janazah-page .identity-heading small {
  color: #6e776f;
  font-size: 9px;
}

.janazah-page .identity-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: #075548;
  background: #fffdf7;
  border: 1px solid #dfc982;
  border-radius: 50%;
}

.janazah-page .identity-icon mat-icon {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.janazah-page .identity-copy {
  margin: 10px 0 0;
  color: #637068;
  font-size: 9px;
  line-height: 1.55;
}

.janazah-page .identity-warning {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 9px;
  color: #725c2d;
  background: #fff6dc;
  border: 1px solid #e3ca84;
  border-radius: 9px;
  font-size: 9px;
  line-height: 1.45;
}

.janazah-page .identity-warning mat-icon {
  width: 17px;
  height: 17px;
  font-size: 17px;
}

.janazah-page .identity-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 7px;
  align-items: flex-start;
  margin-top: 11px;
  color: #53635c;
  font-size: 9px;
  line-height: 1.45;
}

.janazah-page .identity-consent input {
  margin-top: 1px;
  accent-color: #075548;
}

.janazah-page .identity-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  color: #fffaf0;
  background: linear-gradient(180deg, #0a725e, #075548);
  border: 1px solid #c89b42;
  border-radius: 9px;
  font-weight: 750;
  font-size: 10px;
}

.janazah-page .identity-action.secondary {
  color: #075548;
  background: #fffdf7;
}

.janazah-page .identity-action:disabled {
  opacity: .55;
}

.janazah-page .identity-action mat-icon {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.janazah-page .verified-name-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid #c6ddcb;
  border-radius: 9px;
}

.janazah-page .verified-name-row > mat-icon {
  color: #075548;
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.janazah-page .verified-name-row > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.janazah-page .verified-name-row small {
  color: #7c877f;
  font-size: 8px;
}

.janazah-page .verified-name-row strong {
  color: #043d35;
  font-size: 11px;
}

.janazah-page .verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 7px;
  color: #0b684f;
  background: #e7f4e9;
  border: 1px solid #99c4a6;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.janazah-page .verified-badge mat-icon {
  width: 13px;
  height: 13px;
  font-size: 13px;
}

.janazah-page .identity-pending {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding: 9px;
  background: #f7f2e5;
  border: 1px solid #dfcfa9;
  border-radius: 9px;
}

.janazah-page .identity-pending > mat-icon {
  color: #9c7b37;
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.janazah-page .identity-pending > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.janazah-page .identity-pending strong {
  color: #043d35;
  font-size: 10px;
}

.janazah-page .identity-pending small {
  color: #6d766f;
  font-size: 8px;
  line-height: 1.4;
}

.janazah-page .requester-identity-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 9px;
  background: #f7f2e5;
  border: 1px solid #e1d2ad;
  border-radius: 10px;
}

.janaz-page .requester-avatar,
.janazah-page .requester-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #075548;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.janazah-page .requester-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.janazah-page .requester-copy small {
  color: #818a83;
  font-size: 8px;
}

.janazah-page .requester-copy strong {
  overflow: hidden;
  color: #043d35;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.janazah-page .compact-badge {
  padding: 4px 6px;
  font-size: 7px;
}

@media (max-width: 420px) {
  .janazah-page .verified-name-row,
  .janazah-page .requester-identity-row {
    grid-template-columns: 34px 1fr;
  }

  .janazah-page .verified-name-row .verified-badge,
  .janazah-page .requester-identity-row .verified-badge {
    grid-column: 2;
    justify-self: start;
  }
}
