.content-page .form-panel.wide > .checkbox-row,
.content-page .form-panel.wide > .nested-fields,
.content-page .form-panel.wide .profile-medical-status,
.content-page .form-panel.wide .profile-medical-details,
.content-page .form-panel.wide label:has(input[type="checkbox"]),
.profile-medical-status,
.profile-medical-details,
.pharmora-profile-medical-status,
.pharmora-profile-medical-details {
  display: none !important;
}

.profile-medical-status:hover,
.profile-medical-status.status-verified:hover,
.pharmora-profile-medical-status:hover,
.pharmora-profile-medical-status.status-verified:hover {
  border-color: #bbf7d0 !important;
  background: #f0fdf4 !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: none !important;
}

.pharmora-profile-medical-info {
  border-top: 1px solid #dbe3ee;
  padding: 16px 0 4px;
  color: #24364d;
}

.pharmora-profile-medical-info h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
}

.pharmora-profile-medical-info h2 span {
  flex: 0 0 auto;
  border: 1px solid #bdd3ec;
  border-radius: 999px;
  padding: 3px 9px;
  color: #376aa3;
  background: #eaf4ff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pharmora-profile-medical-info p {
  margin: 0;
  color: #66758a;
  font-size: 14px;
  line-height: 1.55;
}

.pharmora-profile-medical-status {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  padding: 12px;
  background: #f8fbff;
}

.pharmora-profile-medical-status strong {
  color: #172033;
  font-size: 14px;
  line-height: 1.3;
}

.pharmora-profile-medical-status span,
.pharmora-profile-medical-status em {
  color: #66758a;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.pharmora-profile-medical-status em {
  border-left: 3px solid #d0daea;
  padding-left: 10px;
}

.pharmora-profile-medical-status.status-pending {
  border-color: #fde68a;
  background: #fffbeb;
}

.pharmora-profile-medical-status.status-rejected {
  border-color: #fecaca;
  background: #fff5f5;
}

.pharmora-profile-medical-status.status-verified {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.pharmora-profile-medical-status-compact {
  max-width: 640px;
  margin: -2px auto 24px;
}

.pharmora-profile-medical-details {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.pharmora-profile-medical-details summary {
  cursor: pointer;
  color: #315481;
  font-weight: 800;
}

.pharmora-profile-medical-details[open] {
  background: #f8fbff;
}

.pharmora-profile-medical-details label {
  margin-top: 8px;
}

.pharmora-profile-hidden {
  display: none !important;
}

.pharmora-profile-email-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.pharmora-profile-newsletter-proxy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cbd7e8;
  border-radius: 999px;
  padding: 5px 9px;
  color: #315481;
  background: #f8fbff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.pharmora-profile-newsletter-proxy b {
  color: #66758a;
  font-weight: 800;
}

.pharmora-profile-newsletter-proxy[data-enabled="true"] {
  border-color: #9fc7b2;
  color: #166534;
  background: #f0fdf4;
}

.pharmora-profile-newsletter-proxy:disabled,
.pharmora-profile-newsletter-proxy[data-saving="true"] {
  cursor: wait;
  opacity: 0.72;
}

.pharmora-profile-newsletter-inline {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  color: #43516a;
  font-size: 13px;
  font-weight: 700;
}

.pharmora-profile-newsletter-inline input,
.pharmora-profile-newsletter-inline button[role="switch"] {
  flex: 0 0 auto;
}

.pharmora-profile-username-hint {
  display: block;
  margin-top: 6px;
  color: #66758a;
  font-size: 13px;
  line-height: 1.45;
}

.pharmora-profile-username-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.pharmora-profile-username-control input {
  min-width: 0;
}

.pharmora-profile-username-control input:focus,
.pharmora-profile-username-control input:focus-visible {
  border-color: #3f66a3 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.pharmora-profile-username-actions {
  display: flex;
  gap: 6px;
}

.pharmora-profile-username-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #cbd7e8;
  border-radius: 8px;
  padding: 0;
  color: #315481;
  background: #f8fbff;
  cursor: pointer;
}

.pharmora-profile-username-action:hover {
  border-color: #9eb2d2;
  background: #eef6ff;
}

.pharmora-profile-username-action.cancel {
  color: #66758a;
  background: #fff;
}

.pharmora-profile-username-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.pharmora-profile-username-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.pharmora-profile-username-control[data-editing="false"] .pharmora-profile-username-action.save,
.pharmora-profile-username-control[data-editing="false"] .pharmora-profile-username-action.cancel,
.pharmora-profile-username-control[data-editing="true"] .pharmora-profile-username-action.edit {
  display: none;
}

@media (max-width: 640px) {
  .pharmora-profile-medical-info {
    padding: 16px;
  }
}
