/* ===== MBT_ACCOUNT_PROFILE_CSS_V0_9_5D_START ===== */

#mbt-user-shell-v090e .mbt-account-profile-panel.is-hidden {
  display: none !important;
}

#mbt-user-shell-v090e .mbt-user-settings-grid.mbt-account-profile-open > .mbt-user-settings-card {
  display: none !important;
}

#mbt-user-shell-v090e .mbt-user-settings-card[data-mbt-account-profile-card="true"] {
  cursor: pointer;
}

#mbt-user-shell-v090e .mbt-user-settings-card[data-mbt-account-profile-card="true"]:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(14, 165, 233, 0.08);
}

#mbt-user-shell-v090e .mbt-account-profile-panel {
  grid-column: 1 / -1;
  margin-top: 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.08), transparent 42%),
    rgba(2, 10, 22, 0.42);
}

#mbt-user-shell-v090e .mbt-account-profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

#mbt-user-shell-v090e .mbt-account-profile-head h3 {
  margin: 0 0 6px;
  color: #e8f4ff;
  font-size: 17px;
}

#mbt-user-shell-v090e .mbt-account-profile-head p {
  margin: 0;
  max-width: 780px;
  color: #91a9c1;
  font-size: 13px;
  line-height: 1.45;
}

#mbt-user-shell-v090e .mbt-account-profile-type {
  display: inline-flex;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.15);
  background: rgba(2, 10, 22, 0.35);
}

#mbt-user-shell-v090e .mbt-account-profile-type button {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #8fa8bf;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

#mbt-user-shell-v090e .mbt-account-profile-type button.is-active {
  border-color: rgba(56, 189, 248, 0.36);
  background: rgba(14, 165, 233, 0.13);
  color: #dff7ff;
}

#mbt-user-shell-v090e .mbt-account-profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

#mbt-user-shell-v090e .mbt-account-profile-section {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(96, 165, 250, 0.12);
}

#mbt-user-shell-v090e .mbt-account-profile-section h4 {
  margin: 0;
  color: #e8f4ff;
  font-size: 14px;
}

#mbt-user-shell-v090e .mbt-account-profile-field {
  display: grid;
  gap: 6px;
}

#mbt-user-shell-v090e .mbt-account-profile-field label {
  color: #9eb4cc;
  font-size: 12px;
  font-weight: 700;
}

#mbt-user-shell-v090e .mbt-account-profile-field input,
#mbt-user-shell-v090e .mbt-account-profile-field select,
#mbt-user-shell-v090e .mbt-account-profile-field textarea {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  outline: none;
  background: rgba(2, 10, 22, 0.62);
  color: #e8f4ff;
  font-size: 13px;
}

#mbt-user-shell-v090e .mbt-account-profile-field textarea {
  min-height: 82px;
  padding-top: 10px;
  resize: vertical;
}

#mbt-user-shell-v090e .mbt-account-profile-company-only.is-hidden {
  display: none !important;
}

#mbt-user-shell-v090e .mbt-account-profile-wide {
  grid-column: 1 / -1;
}

#mbt-user-shell-v090e .mbt-account-profile-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

#mbt-user-shell-v090e .mbt-account-profile-actions button {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 11px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(14, 165, 233, 0.15);
  color: #dff7ff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

#mbt-user-shell-v090e .mbt-account-profile-actions button.secondary {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.08);
  color: #adc1d4;
}

#mbt-user-shell-v090e .mbt-account-profile-status {
  color: #91a9c1;
  font-size: 13px;
}

#mbt-user-shell-v090e .mbt-account-profile-status.is-ok {
  color: #22c55e;
}

#mbt-user-shell-v090e .mbt-account-profile-status.is-error {
  color: #fb7185;
}

@media (max-width: 900px) {
  #mbt-user-shell-v090e .mbt-account-profile-head {
    display: grid;
  }

  #mbt-user-shell-v090e .mbt-account-profile-form {
    grid-template-columns: 1fr;
  }
}

/* ===== MBT_ACCOUNT_PROFILE_CSS_V0_9_5D_END ===== */

/* ===== MBT_ACCOUNT_PROFILE_TYPE_SWITCH_CLEANUP_V0_9_5H_START ===== */

/*
  Keep only one account type control: the form select.
  Hide duplicated Individual / Company pills in the top-right corner.
*/

#mbt-user-shell-v090e .mbt-account-profile-type {
  display: none !important;
}

/* ===== MBT_ACCOUNT_PROFILE_TYPE_SWITCH_CLEANUP_V0_9_5H_END ===== */
