/* User contact-request consent workflow. */
.dc-contact-request-state {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #f1d694;
  border-radius: 12px;
  background: #fff7e5;
  color: #704700;
}

.dc-contact-request-state.is-approved {
  border-color: #a8dec3;
  background: #e9f8f1;
  color: #0b6846;
}

.dc-contact-request-state a {
  color: inherit;
  font-weight: 800;
}

.dc-user-request-heading h2 {
  margin: 0 0 8px;
  color: #0b858b;
}

.dc-user-request-heading > p {
  margin: 0 0 18px;
  color: #667085;
}

.dc-user-request-privacy-notice {
  padding: 18px 20px;
  margin: 0 0 26px;
  border: 1px solid #e3a0a0;
  border-radius: 14px;
  background: #fff1f1;
  color: #a31515;
}

.dc-user-request-privacy-notice strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.dc-user-request-privacy-notice p {
  margin: 0;
  line-height: 1.6;
}

.dc-user-request-section {
  margin-top: 28px;
}

.dc-user-request-section > h3 {
  margin: 0 0 14px;
  color: #131b2b;
}

.dc-user-request-list {
  display: grid;
  gap: 18px;
}

.dc-user-request-card {
  padding: 22px;
  border: 1px solid #dceaea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .055);
}

.dc-user-request-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dc-user-request-card-head h4 {
  margin: 3px 0 0;
  color: #0b858b;
  font-size: 21px;
}

.dc-user-request-label {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.dc-user-request-status {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.dc-user-request-status.is-pending {
  background: #fff1c2;
  color: #775100;
}

.dc-user-request-status.is-approved {
  background: #ddf5e8;
  color: #11643e;
}

.dc-user-request-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0 0 16px;
}

.dc-user-request-summary > div,
.dc-user-request-contact-reveal dl > div {
  padding: 12px;
  border-radius: 10px;
  background: #f4fafa;
}

.dc-user-request-summary dt,
.dc-user-request-contact-reveal dt {
  margin-bottom: 4px;
  color: #667085;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dc-user-request-summary dd,
.dc-user-request-contact-reveal dd {
  margin: 0;
  color: #17212f;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dc-user-request-message {
  padding: 14px 16px;
  margin: 0 0 16px;
  border-left: 4px solid #0b858b;
  border-radius: 8px;
  background: #f7fbfb;
}

.dc-user-request-message strong {
  color: #0b858b;
}

.dc-user-request-message p {
  margin: 5px 0 0;
  line-height: 1.55;
}

.dc-user-request-profile {
  padding: 18px;
  margin: 0 0 16px;
  border: 1px solid #e1eded;
  border-radius: 14px;
  background: #fbfefe;
}

.dc-user-request-profile > h4 {
  margin: 0 0 4px;
  color: #131b2b;
}

.dc-user-request-profile-title {
  margin: 0 0 12px;
  color: #667085;
  font-weight: 700;
}

.dc-user-request-photo {
  float: right;
  margin: 0 0 12px 16px;
}

.dc-user-request-photo img {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
}

.dc-user-request-profile .dc-profile-details {
  clear: both;
}

.dc-user-request-decision {
  padding-top: 16px;
  border-top: 1px solid #e7eeee;
}

.dc-user-request-decision > p {
  margin: 0 0 12px;
  color: #475467;
}

.dc-user-request-decision form {
  margin: 0;
}

.dc-user-request-approved-note {
  padding: 12px 14px !important;
  border-radius: 10px;
  background: #e9f8f1;
  color: #0b6846 !important;
  font-weight: 800;
}

.dc-user-request-waiting-note {
  padding: 13px 15px;
  margin: 0;
  border-radius: 10px;
  background: #fff8df;
  color: #694c00;
  font-weight: 700;
}

.dc-user-request-contact-reveal {
  padding: 18px;
  border: 1px solid #a8dec3;
  border-radius: 14px;
  background: #eefaf4;
}

.dc-user-request-contact-reveal h4 {
  margin: 0 0 5px;
  color: #0b6846;
}

.dc-user-request-contact-reveal > p {
  margin: 0 0 12px;
  color: #376a56;
}

.dc-user-request-contact-reveal dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.dc-user-request-contact-reveal dl > div {
  background: #fff;
}

.dc-user-request-sent {
  padding-top: 26px;
  border-top: 1px solid #dceaea;
}

@media (max-width: 680px) {
  .dc-user-request-card {
    padding: 16px;
  }

  .dc-user-request-card-head {
    display: grid;
  }

  .dc-user-request-status {
    justify-self: start;
  }

  .dc-user-request-summary,
  .dc-user-request-contact-reveal dl {
    grid-template-columns: 1fr;
  }

  .dc-user-request-photo {
    float: none;
    margin: 0 0 12px;
  }

  .dc-user-request-decision .dc-btn {
    width: 100%;
  }
}
