/* Hide HCP menu item for public/patient users */
#hcp-menu-item[hidden],
#hcp-menu-item.d-none,
.navbar-clone #hcp-menu-item[hidden],
.navbar-clone #hcp-menu-item.d-none {
  display: none !important;
  visibility: hidden !important;
}

/* Force hide for public/patient users using body class */
body.user-type-public #hcp-menu-item,
body.user-type-patient #hcp-menu-item,
body.user-type-public .navbar-clone #hcp-menu-item,
body.user-type-patient .navbar-clone #hcp-menu-item {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* Ensure modal buttons work properly on mobile */
#modal-02 .modal-buttons .btn,
#modal-user-type .modal-buttons .btn {
  white-space: normal !important;
  word-wrap: break-word !important;
  text-align: center !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  min-height: auto !important;
}

/* Ensure modal dialog is properly sized on mobile */
@media (max-width: 767.98px) {
  #modal-02 .modal-dialog,
  #modal-user-type .modal-dialog {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
  
  #modal-02 .modal-body,
  #modal-user-type .modal-body {
    padding: 1.5rem;
  }
}

