.sds-user-profile-wrapper .dx-popup-content {
  padding: 24px !important;
}

.sds-user-profile-wrapper .dx-placeholder::before {
  padding: 6px 12px !important;
}

.sds-user-profile-wrapper .version-text {
  margin-bottom: 8px !important;
  font-size: 12px !important;
  color: var(--sds-grey-700, #5A6161) !important;

  display: flex;
  gap: 4px;
  font-weight: 500 !important;
}

.sds-user-profile-wrapper .version-text .v-msg {
  font-weight: 400 !important;
  overflow: hidden !important;
  word-wrap: break-word !important;
}

.sds-user-profile-wrapper .user-profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sds-user-profile-wrapper .user-profile-identity {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-family: var(--sds-font-family, 'Inter', Arial, Helvetica, sans-serif);
}

.sds-user-profile-wrapper .user-profile-logon {
  color: var(--sds-black);
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.sds-user-profile-wrapper .user-profile-last-connection {
  color: var(--sds-grey-700);
  font-size: 12px;
}

.sds-user-profile-wrapper .user-profile-header-role {
  margin-left: auto;
}

.sds-user-profile-wrapper .user-profile-role-badge {
  display: inline-flex;
  background-color: var(--sds-primary-100);
  color: var(--sds-primary-700);
  white-space: nowrap;
}

.sds-user-profile-wrapper .user-profile-groups-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
  color: var(--sds-grey-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sds-user-profile-wrapper .user-profile-groups-count {
  padding: 0 6px;
  border-radius: 8px;
  background-color: var(--sds-grey-300);
  color: var(--sds-grey-800);
  font-weight: 500;
}

.sds-user-profile-wrapper .user-profile-groups {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sds-user-profile-wrapper .user-profile-groups th {
  padding: 6px 8px;
  background-color: var(--sds-grey-300);
  color: var(--sds-grey-700);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

.sds-user-profile-wrapper .user-profile-groups td {
  padding: 8px;
  border-bottom: 1px solid var(--sds-grey-400);
  color: var(--sds-grey-900);
  vertical-align: middle;
}

.sds-user-profile-wrapper .user-profile-group-name {
  overflow-wrap: anywhere;
}

.sds-user-profile-wrapper .user-profile-group-title {
  display: block;
  font-weight: 600;
}

.sds-user-profile-wrapper .user-profile-group-details {
  display: block;
  color: var(--sds-grey-700);
  font-size: 12px;
}

.sds-user-profile-wrapper .user-profile-no-groups,
.sds-user-profile-wrapper .user-profile-note {
  margin: 8px 0 0;
  color: var(--sds-grey-700);
  font-size: 12px;
}

.portal-userInfo-menu-wrapper .portal-user-information .portal-userLogout i svg {
  margin-top: -1px !important;
}

.sds-user-profile-wrapper .dx-form .dx-form-group .dx-box-flex {
  flex-direction: row !important;
  gap: 16px !important
}

.sds-user-profile-wrapper .dx-form .dx-form-group .dx-box-item {
  flex: 1 !important
}

.sds-user-profile-wrapper .dx-form .dx-form-group .dx-box-flex .dx-field-item:not(.dx-first-row) {
  padding-top: 0px !important;
}

.sds-user-profile-wrapper .dx-form .dx-form-group .dx-box-flex .dx-box-item-content {
  padding-bottom: 0px !important;
}

.sds-user-profile-wrapper .dx-dropdowneditor.dx-state-active .dx-dropdowneditor-icon {
  background-color: unset !important;
}

.sds-user-profile-wrapper .dx-placeholder::before {
  padding: 6px 12px !important;
}

.dx-dropdownlist-popup-wrapper.dx-popup-wrapper .dx-popup-content {
  padding: 0px !important;
  margin-top: 4px !important;
}

.dx-overlay-wrapper.dx-popup-wrapper.dx-dropdowneditor-overlay.dx-dropdownlist-popup-wrapper.dx-selectbox-popup-wrapper .dx-overlay-content .dx-item-content.dx-list-item-content {
    padding: 0.5rem var(--2xs, 0.5rem) !important;
}

@media (max-width: 768px) {
  .sds-user-profile-wrapper {
    max-width: 96% !important;
  }

  .sds-user-profile-wrapper .user-profile-groups thead {
    display: none;
  }

  .sds-user-profile-wrapper .user-profile-groups tr,
  .sds-user-profile-wrapper .user-profile-groups td {
    display: block;
  }

  .sds-user-profile-wrapper .user-profile-groups tr {
    padding: 8px 0;
    border-bottom: 1px solid var(--sds-grey-400);
  }

  .sds-user-profile-wrapper .user-profile-groups td {
    padding: 2px 0;
    border-bottom: none;
  }

  .sds-user-profile-wrapper .user-profile-groups td:not(.user-profile-group-name)::before {
    content: attr(data-label) " : ";
    color: var(--sds-grey-700);
    font-size: 12px;
  }
}