﻿
.min-h-100 {
    min-height: 100px;
}

/* Left sidebar hidden (MENU_LEFT_SIDEBAR_HIDE or users without roles) */
body.no-left-sidebar .content-page {
	margin-left: 0;
	width: 100%;
}

body.no-left-sidebar .footer {
	left: 0;
}

@media (min-width: 992px) {
	body.no-left-sidebar[data-layout-mode=detached] #wrapper {
		max-width: 100%;
	}

	body.no-left-sidebar[data-layout-mode=detached] .navbar-custom .container-fluid {
		max-width: 100%;
	}
}

.min-h-150 {
    min-height: 150px;
}

.min-h-200 {
    min-height: 200px;
}

.min-h-300 {
    min-height: 300px;
}

.min-h-400 {
    min-height: 400px;
}

.min-h-500 {
    min-height: 500px;
}

/* Topbar notifications dropdown */
@media (min-width: 600px) {
	.notification-dropdown-menu.dropdown-lg {
		width: 420px;
	}
}

.notification-dropdown-menu {
	overflow: hidden;
}

.notification-dropdown-menu .noti-scroll {
	max-height: 320px;
	overflow-x: hidden;
	overflow-y: auto;
}

.notification-dropdown-menu .notify-item:not(.notify-all) {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	overflow: hidden;
	white-space: normal;
}

.notification-dropdown-menu .notify-item:not(.notify-all) .notify-icon {
	float: none;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	margin-right: 0;
	overflow: hidden;
	padding: 0;
}

.notification-dropdown-menu .notify-item:not(.notify-all) .notify-icon img {
	width: 36px !important;
	height: 36px !important;
	max-width: 36px !important;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.notification-dropdown-menu .notify-item:not(.notify-all) .notify-body {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.notification-dropdown-menu .notify-item:not(.notify-all) .notify-details,
.notification-dropdown-menu .notify-item:not(.notify-all) .user-msg {
	margin-left: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.notification-dropdown-menu .notify-all {
	position: relative;
	z-index: 1;
	background-color: var(--ct-dropdown-bg, #fff);
	border-top: 1px solid var(--ct-border-color, #e3eaef);
}

/* Unread vs read prominence */
.notification-dropdown-menu .notify-item.notification-unread {
	background-color: rgba(39, 103, 185, 0.12);
	border-left: 3px solid #2767b9;
	font-weight: 600;
}

.notification-dropdown-menu .notify-item.notification-unread .notify-details {
	color: #1e293b;
	font-weight: 700;
}

.notification-dropdown-menu .notify-item.notification-unread .user-msg {
	color: #334155;
}

.notification-dropdown-menu .notify-item.notification-read {
	background-color: transparent;
	opacity: 0.72;
}

.notification-dropdown-menu .notify-item.notification-read .notify-details {
	font-weight: 500;
	color: #6c757d;
}

.notification-list-page .notification-unread {
	background-color: rgba(39, 103, 185, 0.1) !important;
	border-left: 3px solid #2767b9;
}

.notification-list-page .notification-unread h5 {
	font-weight: 700;
	color: #1e293b;
}

.notification-list-page .notification-read {
	opacity: 0.75;
}

.notification-list-page .notification-read h5 {
	font-weight: 500;
	color: #6c757d;
}

.notification-item-actions {
	flex: 0 0 auto;
	display: flex;
	align-items: flex-start;
	padding-top: 2px;
}

.notification-mark-unread {
	color: #6c757d !important;
	line-height: 1;
}

.notification-mark-unread:hover {
	color: #2767b9 !important;
}

.notification-unread-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 6px 4px 0;
	border-radius: 50%;
	background-color: #2767b9;
}

.dt-column-picker {
	display: inline-block;
	margin-right: 0.75rem;
	text-align: left;
	vertical-align: middle;
}

.dt-column-picker-menu {
	display: none;
	position: fixed;
	z-index: 2060;
	min-width: 13rem;
	max-height: 18rem;
	overflow-y: auto;
	margin: 0;
	padding: 0.35rem;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 0.35rem;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

.dt-column-picker-menu.is-open {
	display: block;
}

.dt-col-picker-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0.35rem 0.5rem;
	border-radius: 0.25rem;
	cursor: pointer;
}

.dt-col-picker-item:hover {
	background: rgba(0, 0, 0, 0.04);
}

.dt-col-picker-sep {
	height: 0;
	margin: 0.3rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.dt-col-reset {
	display: block;
	width: 100%;
	border: 0;
	background: transparent;
	text-align: left;
	padding: 0.4rem 0.5rem;
	border-radius: 0.25rem;
	color: inherit;
}

.dt-col-reset:hover {
	background: rgba(0, 0, 0, 0.04);
}

.visitor-source-icon {
	font-size: 1.35rem;
	line-height: 1;
	cursor: default;
	vertical-align: middle;
}

.visitor-source-walkin { color: #495057; }
.visitor-source-website { color: #0d6efd; }
.visitor-source-referral { color: #6f42c1; }
.visitor-source-socialmedia { color: #20c997; }
.visitor-source-advertisement { color: #fd7e14; }
.visitor-source-phonecall { color: #198754; }
.visitor-source-other { color: #6c757d; }
.visitor-source-facebook { color: #1877F2; }
.visitor-source-instagram { color: #E4405F; }
