/* DXT profile and account settings. */

#config[page="profile"] ~ .page-wrapper #cmsPageViewMainSection > .row {
  width: 95%;
  margin-right: auto;
  margin-left: auto;
}

#config[page="profile"] ~ .page-wrapper .dxt-profile-hero-avatar {
  display: inline-flex;
  width: 104px;
  height: 104px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 6px solid #fff;
  border-radius: 50%;
  background: #edf5fb;
  color: #1266a5;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.04em;
  box-shadow: 0 0 0 1px #d8e3eb, 0 10px 26px rgba(27, 58, 81, .10);
}

#config[page="profile"] ~ .page-wrapper .dxt-profile-hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#config[page="profile"] ~ .page-wrapper #cmsPageViewMainSection > .row > div:first-child > .card {
  overflow: hidden;
  border: 1px solid #dfe6ec;
  border-radius: 14px !important;
  background: #fff;
  box-shadow: 0 7px 22px rgba(25, 50, 70, .06);
}

#config[page="profile"] ~ .page-wrapper #cmsPageViewMainSection > .row > div:first-child .btn-primary {
  min-height: 38px;
  padding: 8px 14px;
  border-color: #1c75bc;
  border-radius: 8px;
  background: #1c75bc;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
}

#config[page="profile"] ~ .page-wrapper #panel-15 {
  overflow: hidden;
  border: 1px solid #dfe6ec;
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(25, 50, 70, .055);
}

.dxt-profile-editor-modal .modal-dialog {
  width: calc(100% - 40px) !important;
  max-width: 1060px !important;
  margin: 28px auto !important;
}

.dxt-profile-editor-modal .modal-content {
  overflow: hidden;
  border: 1px solid #dce4ea !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(19, 38, 54, .20) !important;
}

.dxt-profile-editor-modal .modal-header {
  min-height: 76px;
  padding: 18px 22px !important;
  align-items: center;
  border-bottom: 1px solid #e4e9ee !important;
  background: #fff !important;
}

.dxt-profile-editor-modal .modal-title {
  margin: 0;
  color: #1d2f3e !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -.015em;
  line-height: 1.25;
}

.dxt-profile-editor-modal .modal-title::after {
  display: block;
  margin-top: 3px;
  color: #758390;
  content: "Keep your identity and contact information up to date.";
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}

.dxt-profile-editor-modal .modal-header .close {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe5ea !important;
  border-radius: 50% !important;
  background: #f7f9fa !important;
  color: #52616d !important;
  font-size: 18px !important;
  opacity: 1 !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.dxt-profile-editor-modal .modal-header .close:hover {
  border-color: #cfd9e1 !important;
  background: #eef3f6 !important;
  color: #143f60 !important;
  transform: rotate(4deg);
}

.dxt-profile-editor-modal .modal-body {
  max-height: calc(100vh - 150px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 !important;
  background: #f7f9fb;
}

.dxt-profile-editor-modal #usersForm > .row {
  display: grid;
  margin: 0 !important;
  padding: 22px;
  grid-template-columns: 220px repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 14px 16px;
}

.dxt-profile-editor-modal #usersForm > .row > .alertBlock {
  grid-column: 1 / -1;
}

.dxt-profile-editor-modal #usersForm > .row > [class*="form_field_"] {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  flex: none !important;
}

.dxt-profile-editor-modal .form_field_file_photo {
  grid-column: 1;
  grid-row: 2 / span 7;
}

.dxt-profile-editor-modal .dxt-profile-editor-section-overview,
.dxt-profile-editor-modal .form_field_textarea_about,
.dxt-profile-editor-modal .dxt-profile-editor-section-contact,
.dxt-profile-editor-modal .dxt-profile-editor-section-social {
  grid-column: 2 / 4;
}

.dxt-profile-editor-modal .form_field_email_email,
.dxt-profile-editor-modal .form_field_text_facebook,
.dxt-profile-editor-modal .form_field_text_youtube {
  grid-column: 2;
}

.dxt-profile-editor-modal .form_field_number_whatsApp,
.dxt-profile-editor-modal .form_field_text_instagram,
.dxt-profile-editor-modal .form_field_text_weblink {
  grid-column: 3;
}

.dxt-profile-editor-modal .form_field_body_body {
  grid-column: 1 / -1;
}

.dxt-profile-editor-modal .dxt-profile-editor-section {
  display: flex;
  min-width: 0;
  margin-top: 2px;
  padding-bottom: 8px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #e2e8ed;
}

.dxt-profile-editor-modal .dxt-profile-editor-section:first-of-type {
  margin-top: 0;
}

.dxt-profile-editor-modal .dxt-profile-editor-section > i {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eaf3fa;
  color: #176fae;
  font-size: 16px;
}

.dxt-profile-editor-modal .dxt-profile-editor-section > span {
  display: flex;
  min-width: 0;
  color: #253847;
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.dxt-profile-editor-modal .dxt-profile-editor-section small {
  margin-top: 2px;
  color: #84919c;
  font-size: 10px;
  font-weight: 400;
}

.dxt-profile-editor-modal .form-group {
  margin: 0 !important;
}

.dxt-profile-editor-modal .form-label {
  margin-bottom: 6px !important;
  color: #4c5d69 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  letter-spacing: .01em;
  text-transform: none !important;
}

.dxt-profile-editor-modal :is(input.form-control, textarea.form-control) {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #d6dfe6 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #243744 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.dxt-profile-editor-modal textarea.form-control {
  min-height: 76px;
  resize: vertical;
}

.dxt-profile-editor-modal :is(input.form-control, textarea.form-control)::placeholder {
  color: #a1acb5 !important;
  opacity: 1;
}

.dxt-profile-editor-modal :is(input.form-control, textarea.form-control):focus {
  border-color: #65a6d6 !important;
  box-shadow: 0 0 0 3px rgba(28, 117, 188, .10) !important;
}

.dxt-profile-editor-modal .form_field_file_photo > .form-group {
  height: 100%;
  padding: 18px;
  border: 1px solid #e0e7ec;
  border-radius: 12px;
  background: #fff;
}

.dxt-profile-editor-modal .file_input_section {
  height: 100%;
  margin: 0 !important;
  align-content: flex-start;
  align-items: center;
  flex-direction: column;
}

.dxt-profile-editor-modal .file_input_section > [class*="col-md-"] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  flex: none !important;
}

.dxt-profile-editor-modal .file_input_section > .col-md-8 {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  text-align: center;
}

.dxt-profile-editor-modal .file_input_section .form-label {
  margin: 14px 0 4px !important;
  color: #263b4a !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.dxt-profile-editor-modal .file_input_section .form-label::after {
  display: block;
  margin-top: 4px;
  color: #87939d;
  content: "JPG or PNG · Up to 5 MB";
  font-size: 9px;
  font-weight: 400;
}

.dxt-profile-editor-modal .file_input_section .priview {
  position: relative;
  display: flex;
  width: 120px !important;
  height: 120px;
  order: -1;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #eaf3fa;
  box-shadow: 0 0 0 1px #d3e0e9, 0 10px 26px rgba(25, 59, 84, .12);
}

.dxt-profile-editor-modal .file_input_section .priview::after {
  display: none;
  color: #176fae;
  content: attr(data-initials);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.dxt-profile-editor-modal .file_input_section .priview.is-empty::after {
  display: block;
}

.dxt-profile-editor-modal .file_input_section .priview:has(img[src$="/null"])::after,
.dxt-profile-editor-modal .file_input_section .priview:has(img[src$="/null/"])::after {
  display: block;
}

.dxt-profile-editor-modal .file_input_section .priview.is-empty img,
.dxt-profile-editor-modal .file_input_section .priview img[src$="/null"],
.dxt-profile-editor-modal .file_input_section .priview img[src$="/null/"] {
  display: none !important;
}

.dxt-profile-editor-modal .file_input_section img.thumbnail {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  object-fit: cover;
}

.dxt-profile-editor-modal #photo.form-control {
  min-height: 0 !important;
  margin-top: 10px;
  padding: 8px !important;
  border: 1px dashed #bed0dc !important;
  border-radius: 9px !important;
  background: #f8fafb !important;
  color: #6d7c87 !important;
  font-size: 10px !important;
  cursor: pointer;
}

.dxt-profile-editor-modal #photo::file-selector-button {
  margin-right: 9px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: #e5f0f8;
  color: #145f94;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.dxt-profile-editor-modal .form_field_body_body .note-editor,
.dxt-profile-editor-modal .form_field_body_body .js-summernote {
  overflow: hidden;
  min-height: 74px;
  border: 1px solid #d6dfe6 !important;
  border-radius: 8px !important;
  background: #fff;
  box-shadow: none !important;
}

.dxt-profile-editor-modal #usersForm > br,
.dxt-profile-editor-modal #usersForm > hr {
  display: none;
}

.dxt-profile-editor-modal #usersForm > .text-center {
  display: flex;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 14px 22px !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #e2e8ed;
  background: #fff;
}

.dxt-profile-editor-modal #usersForm > .text-center .btn {
  float: none !important;
  min-width: 104px;
  min-height: 40px;
  margin: 0 !important;
  padding: 9px 15px;
  border-radius: 8px !important;
  font-size: 11px;
  font-weight: 650;
  box-shadow: none !important;
}

.dxt-profile-editor-modal #usersForm > .text-center .bg-grey {
  order: 1;
  border: 1px solid #d7e0e6 !important;
  background: #f6f8fa !important;
  color: #4e5f6b !important;
}

.dxt-profile-editor-modal #usersForm > .text-center #formSubmitButton {
  order: 2;
  border: 1px solid #1c75bc !important;
  background: #1c75bc !important;
  color: #fff !important;
}

.dxt-profile-editor-modal #usersForm > .text-center #formSubmitButton:hover {
  border-color: #155f99 !important;
  background: #155f99 !important;
}

@media (max-width: 900px) {
  .dxt-profile-editor-modal .modal-dialog {
    width: calc(100% - 24px) !important;
    margin: 12px auto !important;
  }

  .dxt-profile-editor-modal .modal-body {
    max-height: calc(100vh - 110px);
  }

  .dxt-profile-editor-modal #usersForm > .row {
    grid-template-columns: 190px repeat(2, minmax(0, 1fr));
    padding: 18px;
    gap: 12px;
  }
}

@media (max-width: 767.98px) {
  .dxt-profile-editor-modal .modal-header {
    min-height: 68px;
    padding: 14px 16px !important;
  }

  .dxt-profile-editor-modal #usersForm > .row {
    display: flex;
    padding: 16px;
    flex-direction: column;
  }

  .dxt-profile-editor-modal #usersForm > .row > [class*="form_field_"],
  .dxt-profile-editor-modal #usersForm > .row > .dxt-profile-editor-section {
    width: 100% !important;
  }

  .dxt-profile-editor-modal .form_field_file_photo {
    order: -2;
  }

  .dxt-profile-editor-modal .dxt-profile-editor-section-overview {
    order: -1;
  }

  .dxt-profile-editor-modal #usersForm > .text-center {
    padding: 12px 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dxt-profile-editor-modal *,
  .dxt-profile-editor-modal *::before,
  .dxt-profile-editor-modal *::after {
    transition: none !important;
  }
}

/* Secure password dialog. */
.dxt-password-modal .modal-dialog {
  width: calc(100% - 32px);
  max-width: 530px !important;
  margin: 32px auto;
}

.dxt-password-modal .modal-content {
  overflow: hidden;
  border: 1px solid #dce4ea !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(19, 38, 54, .20) !important;
}

.dxt-password-modal .modal-header {
  display: flex;
  min-height: 82px;
  padding: 18px 20px !important;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e4e9ee !important;
  background: #fff !important;
}

.dxt-password-modal .dxt-password-header-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #eaf3fa;
  color: #176fae;
  font-size: 21px;
}

.dxt-password-modal .modal-title {
  display: flex;
  min-width: 0;
  margin: 0;
  color: #1d2f3e !important;
  flex-direction: column;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.dxt-password-modal .modal-title small {
  display: block;
  margin-top: 3px !important;
  color: #778590 !important;
  font-size: 10px !important;
  font-weight: 400 !important;
}

.dxt-password-modal .modal-header .close {
  display: inline-flex !important;
  width: 36px;
  height: 36px;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe5ea !important;
  border-radius: 50% !important;
  background: #f7f9fa !important;
  color: #52616d !important;
  font-size: 17px !important;
  opacity: 1 !important;
}

.dxt-password-modal .modal-header .close:hover {
  border-color: #cfd9e1 !important;
  background: #eef3f6 !important;
  color: #143f60 !important;
}

.dxt-password-modal .modal-body {
  padding: 20px 22px 0 !important;
  background: #f7f9fb !important;
}

.dxt-password-modal .dxt-password-security-note {
  display: flex;
  margin-bottom: 18px;
  padding: 12px 13px;
  align-items: center;
  gap: 10px;
  border: 1px solid #d6e6f1;
  border-radius: 10px;
  background: #edf6fc;
}

.dxt-password-modal .dxt-password-security-note > i {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  color: #176fae;
  font-size: 17px;
  box-shadow: 0 1px 3px rgba(23, 64, 94, .08);
}

.dxt-password-modal .dxt-password-security-note > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.dxt-password-modal .dxt-password-security-note strong {
  color: #254055;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.dxt-password-modal .dxt-password-security-note small {
  margin-top: 2px;
  color: #71828f;
  font-size: 9.5px;
  line-height: 1.35;
}

.dxt-password-modal form > .row {
  margin: 0 !important;
}

.dxt-password-modal form > .row > [class*="form_field_"] {
  padding: 0 !important;
}

.dxt-password-modal .form-group {
  margin-bottom: 14px !important;
}

.dxt-password-modal .form-label {
  margin-bottom: 6px !important;
  color: #405462 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.dxt-password-modal .dxt-password-input-wrap {
  position: relative;
}

.dxt-password-modal .dxt-password-input-wrap .form-control {
  width: 100%;
  min-height: 44px;
  padding: 9px 44px 9px 12px !important;
  border: 1px solid #d5dfe6 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #243744 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.dxt-password-modal .dxt-password-input-wrap .form-control::placeholder {
  color: #9eaab3 !important;
  opacity: 1;
}

.dxt-password-modal .dxt-password-input-wrap .form-control:focus {
  border-color: #65a6d6 !important;
  box-shadow: 0 0 0 3px rgba(28, 117, 188, .10) !important;
}

.dxt-password-modal .dxt-password-visibility {
  position: absolute;
  top: 50%;
  right: 7px;
  display: inline-flex;
  width: 31px;
  height: 31px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #768591;
  font-size: 16px;
  transform: translateY(-50%);
  cursor: pointer;
}

.dxt-password-modal .dxt-password-visibility:hover,
.dxt-password-modal .dxt-password-visibility:focus-visible {
  outline: 0;
  background: #edf3f7;
  color: #176fae;
}

.dxt-password-modal .dxt-password-strength {
  width: 100%;
  margin: -2px 0 19px;
  padding: 12px;
  border: 1px solid #e0e7ec;
  border-radius: 9px;
  background: #fff;
}

.dxt-password-modal .dxt-password-strength-bars {
  display: grid;
  margin-bottom: 8px;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.dxt-password-modal .dxt-password-strength-bars span {
  height: 3px;
  border-radius: 3px;
  background: #e4e9ed;
  transition: background-color .18s ease;
}

.dxt-password-modal .dxt-password-strength[data-score="1"] .dxt-password-strength-bars .is-active {
  background: #c84b4b;
}

.dxt-password-modal .dxt-password-strength[data-score="2"] .dxt-password-strength-bars .is-active {
  background: #c98a25;
}

.dxt-password-modal .dxt-password-strength[data-score="3"] .dxt-password-strength-bars .is-active {
  background: #1c75bc;
}

.dxt-password-modal .dxt-password-strength[data-score="4"] .dxt-password-strength-bars .is-active {
  background: #1a9970;
}

.dxt-password-modal .dxt-password-strength-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #51616d;
  font-size: 10px;
}

.dxt-password-modal .dxt-password-strength-copy strong {
  color: #42525f;
  font-size: 10px;
  font-weight: 700;
}

.dxt-password-modal .dxt-password-strength > small {
  display: block;
  margin-top: 5px;
  color: #87939c;
  font-size: 9px;
  line-height: 1.4;
}

.dxt-password-modal form > br,
.dxt-password-modal form > hr {
  display: none;
}

.dxt-password-modal form > .text-center {
  display: flex;
  width: calc(100% + 44px) !important;
  max-width: none !important;
  margin: 0 -22px !important;
  padding: 14px 22px !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #e2e8ed;
  background: #fff;
}

.dxt-password-modal form > .text-center .btn {
  float: none !important;
  min-width: 112px;
  min-height: 40px;
  margin: 0 !important;
  padding: 9px 14px;
  border-radius: 8px !important;
  font-size: 11px;
  font-weight: 650;
  box-shadow: none !important;
}

.dxt-password-modal form > .text-center .bg-grey {
  order: 1;
  border: 1px solid #d7e0e6 !important;
  background: #f6f8fa !important;
  color: #4e5f6b !important;
}

.dxt-password-modal form > .text-center #formSubmitButton {
  order: 2;
  border: 1px solid #1c75bc !important;
  background: #1c75bc !important;
  color: #fff !important;
}

.dxt-password-modal form > .text-center #formSubmitButton:hover {
  border-color: #155f99 !important;
  background: #155f99 !important;
}

@media (max-width: 575.98px) {
  .dxt-password-modal .modal-dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  .dxt-password-modal .modal-header {
    padding: 15px 16px !important;
  }

  .dxt-password-modal .modal-body {
    padding: 16px 16px 0 !important;
  }

  .dxt-password-modal form > .text-center {
    width: calc(100% + 32px) !important;
    margin-right: -16px !important;
    margin-left: -16px !important;
    padding: 12px 16px !important;
  }
}
