:root {
  --font-display: "Inter", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --color-primary: #2b8cee;
  --color-primary-rgb: 43 140 238;

  --color-background-light: #f6f7f8;
  --color-background-light-rgb: 246 247 248;

  --color-background-dark: #101922;
  --color-background-dark-rgb: 16 25 34;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

.auth-input {
  min-height: 3.5rem;
}

.auth-input--with-leading {
  padding-left: 3.5rem !important;
}

.auth-input--with-trailing {
  padding-right: 3rem !important;
}

.auth-input-icon {
  pointer-events: none;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  color: #94a3b8;
}

.auth-input-action {
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 999px;
}

.app-shell {
  position: relative;
}

.app-sidebar {
  width: 100%;
  transition:
    width 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.app-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
}

.app-sidebar-label,
.app-sidebar-section-title,
.app-sidebar-patient-copy {
  transition:
    opacity 160ms ease,
    max-width 180ms ease,
    margin 180ms ease;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .app-sidebar {
    width: 15rem;
  }

  .app-shell[data-nav-collapsed="true"] .app-sidebar {
    width: 5.5rem;
  }

  .app-shell[data-nav-collapsed="true"] .app-sidebar-label,
  .app-shell[data-nav-collapsed="true"] .app-sidebar-section-title,
  .app-shell[data-nav-collapsed="true"] .app-sidebar-patient-copy {
    opacity: 0;
    max-width: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .app-shell[data-nav-collapsed="true"] .app-nav-item {
    justify-content: center;
  }

  .app-shell[data-nav-collapsed="true"] .app-sidebar-patient-chip {
    justify-content: center;
  }
}
