input:-webkit-autofill {
    background-color: white !important;
    color: #000 !important;
    box-shadow: 0 0 0px 1000px white inset !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    box-shadow: 0 0 0px 1000px white inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.sidebar-custom-block {
  background: #18202b;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  box-sizing: border-box;
}

.sidebar-custom-block a {
  background: #232f40;
  border-radius: 4px;
  color: #bec9d9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  height: 100px;
  transition: all 0.3s ease-in-out;
}

.sidebar-custom-block a i {
  font-size: 1.6rem;
  margin-bottom: 5px;
  color: #bec9d9;
}

.sidebar-custom-block a:hover {
  background-color: #36455b;
}

.sidebar-custom-block a.active {
  background: #5a6981;
  color: #ffffff;
}

.sidebar-custom-block a.active i {
  color: #ffffff;
}

.sidebar-patient-summary {
  background: #18202b;
  color: #ffffff;
  padding: 15px;
  box-sizing: border-box;
  border-bottom: 1px solid #36455b;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.sidebar-patient-summary .patient-subinfo {
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: #bec9d9;
}

.sidebar-patient-summary .patient-name {
  font-weight: bold;
  margin-bottom: 2px;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-patient-summary .patient-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.sidebar-patient-summary .patient-actions a {
  background: #232f40;
  color: #bec9d9;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease-in-out;
}

.sidebar-patient-summary .patient-actions a:hover {
  background: #5a6981;
  color: #ffffff;
}

.sidebar-patient-summary .no-patient-selected {
  height: 20px;
}

.header-profile a.user-settings span.user-name {
  flex: 0 0 auto;
  min-width: 180px;
}

.table-responsive {
    display: contents !important;
}

.dropdown-wide {
    min-width: 600px; /* or whatever width you want */
    max-width: 100%;
    padding: 1.5rem; /* larger padding for breathing room */
}