/* Registration and confirmation fixes added in v1.3.17. */
.dc-qualification-head,
.dc-qualification-row {
  grid-template-columns: 1fr 1.3fr .65fr !important;
}

.dc-qualification-row input:last-child {
  border-right: 0 !important;
}

.dc-thank-you {
  max-width: 760px;
  margin: 64px auto;
  padding: 44px 34px;
  text-align: center;
  background: #fff;
  border: 1px solid #dceceb;
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(16, 24, 40, .1);
}

.dc-thank-you-icon {
  display: flex;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f8f3;
  color: #087a60;
  font-size: 38px;
  font-weight: 900;
}

.dc-thank-you h1 {
  margin: 0 0 12px;
  color: #0b858b;
  font-size: 36px;
  line-height: 1.15;
}

.dc-thank-you > p {
  max-width: 590px;
  margin: 0 auto 24px;
  color: #475467;
  font-size: 17px;
  line-height: 1.65;
}

.dc-review-message {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 26px;
  padding: 20px;
  border: 1px solid #f1d18b;
  border-radius: 14px;
  background: #fff8e8;
  color: #694b0b;
}

.dc-review-message strong {
  font-size: 18px;
}

.dc-review-message span {
  line-height: 1.55;
}

.dc-matrimony-designed .dc-matrimony-upload-grid {
  grid-template-columns: 1fr !important;
}

.dc-matrimony-designed .dc-matrimony-upload-card {
  width: 100% !important;
}

.dc-upload-block h3 small {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.dc-other-service-field {
  grid-column: 1 / -1;
}

.dc-other-service-field[hidden] {
  display: none !important;
}

@media (max-width: 680px) {
  .dc-qualification-head {
    display: none !important;
  }

  .dc-qualification-row {
    grid-template-columns: 1fr !important;
  }

  .dc-qualification-row input {
    display: block !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e5eef2 !important;
  }

  .dc-qualification-row input:last-child {
    border-bottom: 0 !important;
  }

  .dc-thank-you {
    margin: 28px 12px;
    padding: 30px 20px;
  }

  .dc-thank-you h1 {
    font-size: 29px;
  }
}

/* Account security, upload feedback and profile-management fixes in v1.4.0. */
.dc-password-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.dc-password-wrap input {
  padding-right: 68px !important;
}

.dc-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 2;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  padding: 6px 9px;
  background: #fff;
  color: #0b858b;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.dc-login-help {
  margin: -4px 0 12px;
  font-size: 14px;
}

.dc-verification-resend {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e3eeee;
}

.dc-verification-resend summary {
  color: #0b858b;
  font-weight: 800;
  cursor: pointer;
}

.dc-verification-resend .dc-form {
  margin-top: 14px;
}

.dc-file-status {
  display: block;
  width: 100%;
  margin-top: 7px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.dc-upload-card .dc-file-status {
  grid-column: 2 / 4;
}

.dc-file-status.is-success {
  color: #087a60;
}

.dc-file-status.is-error {
  color: #b42318;
}

.dc-form-live-status {
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid #cfe2e6;
  border-radius: 6px;
  background: #f5fbfc;
  color: #244653;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.dc-form-live-status.is-success {
  border-color: #b8dfd2;
  background: #effaf6;
  color: #087a60;
}

.dc-form-live-status.is-error {
  border-color: #f0c7c3;
  background: #fff5f4;
  color: #b42318;
}

.dc-form-live-status.is-busy {
  border-color: #b7dfe4;
  background: #eef9fb;
  color: #086d78;
}

.dc-form.is-submitting button[type="submit"] {
  cursor: wait;
  opacity: .72;
}

.dc-qualification-row {
  position: relative;
}

.dc-qualification-row input:last-of-type {
  padding-right: 34px !important;
}

.dc-remove-qualification {
  position: absolute;
  top: 50%;
  right: 5px;
  z-index: 3;
  width: 25px;
  height: 25px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: #fff0f0;
  color: #b42318;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.dc-career-directory-section + .dc-career-directory-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e1eeee;
}

.dc-profile-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 18px 0 0;
}

.dc-profile-details > div {
  min-width: 0;
  padding: 12px;
  border-radius: 10px;
  background: #f7fbfb;
}

.dc-profile-details dt {
  margin-bottom: 4px;
  color: #667085;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dc-profile-details dd {
  margin: 0;
  color: #1d2939;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.dc-full-profile {
  margin-top: 14px;
}

.dc-full-profile summary {
  color: #0b858b;
  font-weight: 900;
  cursor: pointer;
}

.dc-marriage-photo {
  width: 150px;
  min-width: 150px;
}

.dc-marriage-photo img {
  display: block;
  width: 150px;
  height: 180px;
  border-radius: 14px;
  object-fit: cover;
}

.dc-marriage-photo > span {
  display: flex;
  width: 150px;
  height: 180px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff0f7;
  color: #c22682;
  font-size: 42px;
}

.dc-account-preview,
.dc-account-editor {
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid #dcebea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.dc-account-tool-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.dc-account-tool-head h2,
.dc-account-tool-head p {
  margin: 0 0 8px;
}

.dc-account-preview-photo img,
.dc-account-current-photo img {
  display: block;
  width: 150px;
  height: 150px;
  margin-bottom: 16px;
  border-radius: 14px;
  object-fit: cover;
}

.dc-account-items {
  display: grid;
  gap: 12px;
}

.dc-account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 !important;
}

.dc-account-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.dc-account-delete-form {
  margin: 0;
}

.dc-btn-danger {
  background: #b42318;
  color: #fff;
}

@media (max-width: 760px) {
  .dc-profile-details {
    grid-template-columns: 1fr;
  }

  .dc-marriage-profile-card {
    display: block;
  }

  .dc-marriage-photo,
  .dc-marriage-photo img,
  .dc-marriage-photo > span {
    width: 100%;
  }

  .dc-account-tool-head,
  .dc-account-item {
    align-items: stretch;
    flex-direction: column;
  }

  .dc-account-item-actions .dc-btn,
  .dc-account-delete-form,
  .dc-account-delete-form .dc-btn {
    width: 100%;
  }

  .dc-upload-card .dc-file-status {
    grid-column: 1 / -1;
  }
}
