.card{border-radius:1rem; overflow:hidden}
.btn{border-radius:.75rem}
.label-box{border:1px dashed #ddd; padding:4px}

/* Sidebar */
.sidebar-sticky{position:sticky; top:0; height:100vh; overflow:auto}
.sidebar .nav-link{color:#333; border-radius:.5rem; margin:.125rem 0}
.sidebar .nav-link.active, .sidebar .nav-link:hover{background:#e9f2ff; color:#0d6efd}
.sidebar .collapse .nav-link{padding-left:1rem}

/* Navbar */
/* Keep primary buttons white text, but make outline buttons visible on white bg */
.navbar .btn.btn-primary{color:#fff}
.navbar .btn.btn-outline-secondary{color:#495057; border-color:#ced4da}
.navbar .btn.btn-outline-secondary:hover{background:rgba(13,110,253,.08); color:#0d6efd; border-color:#0d6efd}
.navbar .search-input{background:#f6f8fb; border-color:#e7edf6}
.navbar{border-bottom:1px solid #eef2f7}
.card-header{border-bottom:1px solid #e9ecef}
.card{border:1px solid #e9ecef}
.navbar-sticky{position:sticky; top:0; z-index:1030}
.subnav-sticky{position:sticky; top:56px; z-index:1029}
.subnav .nav-link{border-radius:.5rem}

/* Dashboard metric cards */
.metric-card .icon{width:40px; height:40px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; color:#fff}
.metric-card.primary .icon{background:#0d6efd}
.metric-card.success .icon{background:#198754}
.metric-card.warning .icon{background:#ffc107; color:#222}
.metric-card.danger .icon{background:#dc3545}
.metric-card .value{font-size:1.75rem; font-weight:700}
.metric-card a{color:inherit; text-decoration:none}

/* Multiselect dropdown stacking above dashboard cards */
.multisel{position:relative}
.multisel .card{position:absolute; top:calc(100% + 4px); left:0; z-index:2000}

/* Mobile tweaks: collapse sidebar height and keep content near top */
@media (max-width: 767.98px){
	.sidebar-sticky{position:static; height:auto; overflow:visible}
	.sidebar-sticky .collapse{margin-bottom:0}
}

/* Thumbnails */
.logo-thumb{width:120px; height:120px; border:1px solid #e5e7eb; border-radius:.5rem; background:#f8fafc; display:inline-flex; align-items:center; justify-content:center; overflow:hidden}
.logo-thumb img{max-width:100%; max-height:100%; object-fit:contain}