/* easyprop CRM UI batch 1: profile font, scrollbars, borderless tags and alerts, client logo fit */

/* Profile block in the sidebar: smaller type */
#sidebar .nav-user-name { font-size: 12px; font-weight: 500; }
#sidebar .nav-user-role { font-size: 10px; }

/* Scrollbars: thin, rounded, quiet until hovered */
:root { --sb-thumb: rgba(91, 98, 115, .35); --sb-thumb-hover: rgba(91, 98, 115, .6); }
#sidebar { --sb-thumb: rgba(255, 255, 255, .22); --sb-thumb-hover: rgba(255, 255, 255, .42); }
* { scrollbar-width: thin; scrollbar-color: var(--sb-thumb) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: var(--sb-thumb); border-radius: 8px;
  border: 2px solid transparent; background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover); background-clip: content-box; }
*::-webkit-scrollbar-corner { background: transparent; }

/* Tags and alerts: no borders (colour fill only; layout is unchanged) */
.badge, .badge[class*="badge-"],
.alert, .alert[class*="alert-"],
[style*="--red-border)"], [style*="--blue-border)"], [style*="--amber-border)"],
[style*="--green-border)"], [style*="--purple-border)"] {
  border-color: transparent !important;
}

/* Client logo: fit inside the tile at its own proportions, never stretched or cropped */
#sidebar #nav-logo-img {
  box-sizing: border-box;
  width: auto; height: auto;
  max-width: 100% !important; max-height: 56px !important;
  object-fit: contain;
}
