/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
	/* Main colors - Professional Enterprise Palette */
	--color-dark-text: #2d3748; /* Professional Dark Gray */
	--color-secondary: #1a365d; /* Professional Dark Blue */
	--color-sidebar-collapsed-text: #1a365d; /* Professional Dark Blue */
	--color-primary: #3182ce; /* Professional Medium Blue */
	--color-primary-hover: #2c5aa0; /* Professional Darker Blue Hover */

	/* Dashboard specific colors - Subtle Professional Tones */
	--color-dashboard-icon-revenue: #38a169; /* Professional Green */
	--color-dashboard-icon-customers: #dd6b20; /* Professional Orange */
	--color-light-text: #718096; /* Professional Light Gray */
	--color-dashboard-text: #4a5568; /* Professional Medium Gray */
	--color-dashboard-activity-label-bg: #f7fafc; /* Clean Light Background */
	--color-dashboard-news-text: #4a5568; /* Professional Medium Gray */

	/* Utility colors - Clean and Professional */
	--color-dropdown-border: rgba(26, 54, 93, 0.15); /* Subtle Professional Border */
	--color-border: #e2e8f0; /* Clean Light Border */
	--color-dropdown-shadow: rgba(0, 0, 0, 0.1); /* Subtle Professional Shadow */
	--color-shadow: rgba(0, 0, 0, 0.05); /* Very Subtle Shadow */
	--color-white: #ffffff; /* Pure White */
	--color-light-background: #f8fafc; /* Clean Background */

	/* Background colors - Consistent Professional Theme */
	--color-dashboard-sales-bg: #f7fafc; /* Clean Light Background */
	--color-dashboard-revenue-bg: #f0fff4; /* Subtle Green Tint */
	--color-dashboard-customers-bg: #fffaf0; /* Subtle Orange Tint */
	--color-dropdown-divider: #cbd5e0; /* Professional Divider */

	/* Additional professional colors for consistent theming */
	--color-muted-text: #a0aec0; /* Muted text color */
	--color-card-footer: #718096; /* Card footer text */
	--color-accordion-text: #4a5568; /* Accordion content text */
	--color-breadcrumb-active: #2d3748; /* Active breadcrumb */
	--color-nav-tabs: #4a5568; /* Navigation tabs */

	/* Typography - Consistent font sizes */
	--font-size-xs: 0.75rem; /* 12px */
	--font-size-sm: 0.875rem; /* 14px */
	--font-size-base: 1rem; /* 16px */
	--font-size-md: 1.125rem; /* 18px */
	--font-size-lg: 1.25rem; /* 20px */
	--font-size-xl: 1.5rem; /* 24px */
	--font-size-2xl: 1.875rem; /* 30px */
	--font-size-3xl: 2.25rem; /* 36px */

	/* Spacing - Consistent spacing units */
	--spacing-xs: 0.25rem; /* 4px */
	--spacing-sm: 0.5rem; /* 8px */
	--spacing-md: 1rem; /* 16px */
	--spacing-lg: 1.5rem; /* 24px */
	--spacing-xl: 2rem; /* 32px */
	--spacing-2xl: 3rem; /* 48px */

	/* Border radius - Consistent rounded corners */
	--border-radius-sm: 4px;
	--border-radius-md: 8px;
	--border-radius-lg: 12px;
	--border-radius-xl: 16px;

	/* Behavior */
	scroll-behavior: smooth;

	/* Theme transition - for smooth theme switching */
	transition: background-color 0.3s ease, color 0.3s ease;
}

/*tabela*/
.e-grid .e-groupdroparea.e-grouped {
	background-color: var(--color-border);
}

body {
	font-family: "Open Sans", sans-serif;
	background: var(--color-light-background);
	color: var(--color-dark-text);
	transition: background-color 0.3s ease, color 0.3s ease;
}

a {
	color: var(--color-primary);
	text-decoration: none;
}

a:hover {
	color: var(--color-primary-hover);
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
	margin-top: 60px;
	padding: 20px 30px;
	transition: all 0.3s;
}

@media (max-width: 1199px) {
	#main {
		padding: 20px;
	}
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
	margin-bottom: 10px;
	border-bottom: none;
}

.pagetitle h1 {
	font-size: var(--font-size-xl);
	margin-bottom: 0;
	font-weight: 600;
	color: var(--color-secondary);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
	position: fixed;
	visibility: hidden;
	opacity: 0;
	right: 15px;
	bottom: 15px;
	z-index: 99999;
	background: var(--color-primary);
	width: 40px;
	height: 40px;
	border-radius: 4px;
	transition: all 0.4s;
}

.back-to-top i {
	font-size: 24px;
	color: var(--color-white);
	line-height: 0;
}

.back-to-top:hover {
	background: var(--color-primary-hover);
	color: var(--color-white);
}

.back-to-top.active {
	visibility: visible;
	opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
	border-radius: 4px;
	padding: 10px 0;
	animation-name: dropdown-animate;
	animation-duration: 0.2s;
	animation-fill-mode: both;
	border: 0;
	box-shadow: 0 5px 30px 0 var(--color-dropdown-shadow);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
	text-align: center;
	font-size: var(--font-size-base);
	padding: var(--spacing-md) var(--spacing-lg);
}

.dropdown-menu .dropdown-footer a {
	color: var(--color-dark-text);
	text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
	text-decoration: none;
}

.dropdown-menu .dropdown-divider {
	color: var(--color-dropdown-divider);
	margin: 0;
}

.dropdown-menu .dropdown-item {
	font-size: var(--font-size-sm);
	padding: var(--spacing-md) var(--spacing-lg);
	transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
	margin-right: 10px;
	font-size: 18px;
	line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
	background-color: var(--color-light-background);
}

/* Dropdown submenu */
.dropdown-submenu {
	position: relative;
}

.dropdown-submenu:hover > .dropdown-submenu-menu {
	display: block;
}

.dropdown-submenu-menu {
	display: none;
	position: absolute;
	left: 100%;
	top: -10px;
	min-width: 200px;
	margin: 0;
	background-color: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 4px;
	box-shadow: 0 5px 30px 0 var(--color-dropdown-shadow);
	padding: 10px 0;
}

.dropdown-submenu-menu .dropdown-item {
	font-size: 13px;
	padding: 8px 15px;
}

@media (min-width: 768px) {
	.dropdown-menu-arrow::before {
		content: "";
		width: 13px;
		height: 13px;
		background: var(--color-white);
		position: absolute;
		top: -7px;
		right: 20px;
		transform: rotate(45deg);
		border-top: 1px solid var(--color-border);
		border-left: 1px solid var(--color-border);
	}
}

@keyframes dropdown-animate {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}

	0% {
		opacity: 0;
	}
}

/* Light Backgrounds - Professional color scheme */
.bg-primary-light {
	background-color: #ebf8ff;
	border-color: #bee3f8;
}

.bg-secondary-light {
	background-color: #f7fafc;
	border-color: #e2e8f0;
}

.bg-success-light {
	background-color: #f0fff4;
	border-color: #c6f6d5;
}

.bg-danger-light {
	background-color: #fed7d7;
	border-color: #feb2b2;
}

.bg-warning-light {
	background-color: #fffbeb;
	border-color: #fde68a;
}

.bg-info-light {
	background-color: #ebf8ff;
	border-color: #bee3f8;
}

.bg-dark-light {
	background-color: #f7fafc;
	border-color: #e2e8f0;
}

/* Card */
.card {
	/*  margin-bottom: 30px;*/
	border: none;
	border-radius: 5px;
	box-shadow: 0px 0 30px var(--color-shadow);
}

.card-header,
.card-footer {
	border-color: var(--color-border);
	background-color: var(--color-white);
	color: var(--color-card-footer);
	padding: 15px;
}

.card-title {
	padding: var(--spacing-lg) 0 var(--spacing-lg) 0;
	font-size: var(--font-size-md);
	font-weight: 500;
	color: var(--color-secondary);
	font-family: "Poppins", sans-serif;
}

.card-title span {
	color: var(--color-light-text);
	font-size: var(--font-size-sm);
	font-weight: 400;
}

.card-body {
	padding: 0 15px 15px 15px;
}

.card-img-overlay {
	background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
	font-weight: 500;
	font-family: "Poppins", sans-serif;
	font-size: 20px;
}

/* Close Button */
.btn-close {
	background-size: 25%;
}

.btn-close:focus {
	outline: 0;
	box-shadow: none;
}

/* Accordion */
.accordion-item {
	border: 1px solid var(--color-border);
}

.accordion-button:focus {
	outline: 0;
	box-shadow: none;
}

.accordion-button:not(.collapsed) {
	color: var(--color-secondary);
	background-color: var(--color-light-background);
}

.accordion-flush .accordion-button {
	padding: 15px 0;
	background: none;
	border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
	box-shadow: none;
	color: var(--color-primary);
}

.accordion-flush .accordion-body {
	padding: 0 0 15px 0;
	color: var(--color-accordion-text);
	font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
	font-size: var(--font-size-sm);
	font-family: "Nunito", sans-serif;
	color: var(--color-light-text);
	font-weight: 600;
}

.breadcrumb a {
	color: var(--color-light-text);
	transition: 0.3s;
}

.breadcrumb a:hover {
	color: var(--color-breadcrumb-active);
}

.breadcrumb .breadcrumb-item::before {
	color: var(--color-light-text);
}

.breadcrumb .active {
	color: var(--color-breadcrumb-active);
	font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
	border-bottom: 2px solid var(--color-border);
}

.nav-tabs-bordered .nav-link {
	margin-bottom: -2px;
	border: none;
	color: var(--color-nav-tabs);
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
	color: var(--color-primary);
}

.nav-tabs-bordered .nav-link.active {
	background-color: var(--color-white);
	color: var(--color-primary);
	border-bottom: 2px solid var(--color-primary);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
	line-height: 1;
}

@media (min-width: 1200px) {
	.logo {
		width: 280px;
	}
}

.logo img {
	max-height: 26px;
	margin-right: 6px;
}

.logo span {
	font-size: var(--font-size-xl);
	font-weight: 700;
	color: var(--color-secondary);
	font-family: "Nunito", sans-serif;
}

.header {
	transition: all 0.5s;
	z-index: 997;
	height: 60px;
	box-shadow: 0px 2px 20px var(--color-shadow);
	background-color: var(--color-white);
	padding-left: 20px;
	/* Toggle Sidebar Button */
	/* Search Bar */
}

.header .toggle-sidebar-btn {
	font-size: 32px;
	padding-left: 10px;
	cursor: pointer;
	color: var(--color-secondary);
}

.header .search-bar {
	min-width: 360px;
	padding: 0 20px;
}

@media (max-width: 1199px) {
	.header .search-bar {
		position: fixed;
		top: 50px;
		left: 0;
		right: 0;
		padding: 20px;
		box-shadow: 0px 0px 15px 0px var(--color-shadow);
		background: white;
		z-index: 9999;
		transition: 0.3s;
		visibility: hidden;
		opacity: 0;
	}

	.header .search-bar-show {
		top: 60px;
		visibility: visible;
		opacity: 1;
	}
}

.header .search-form {
	width: 100%;
}

.header .search-form input {
	border: 0;
	font-size: 14px;
	color: var(--color-secondary);
	border: 1px solid var(--color-dropdown-border);
	padding: 7px 38px 7px 8px;
	border-radius: 3px;
	transition: 0.3s;
	width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
	outline: none;
	box-shadow: 0 0 10px 0 var(--color-dropdown-border);
	border: 1px solid var(--color-dropdown-border);
}

.header .search-form button {
	border: 0;
	padding: 0;
	margin-left: -30px;
	background: none;
}

.header .search-form button i {
	color: var(--color-secondary);
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
	list-style: none;
}

.header-nav > ul {
	margin: 0;
	padding: 0;
}

.header-nav .nav-icon {
	font-size: 22px;
	color: var(--color-secondary);
	margin-right: 25px;
	position: relative;
}

.header-nav .nav-profile {
	color: var(--color-secondary);
}

.header-nav .nav-profile img {
	max-height: 36px;
}

.header-nav .nav-profile span {
	font-size: 14px;
	font-weight: 600;
}

.header-nav .badge-number {
	position: absolute;
	inset: -2px -5px auto auto;
	font-weight: normal;
	font-size: 12px;
	padding: 3px 6px;
}

.header-nav .notifications {
	inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
	display: flex;
	align-items: center;
	padding: 15px 10px;
	transition: 0.3s;
}

.header-nav .notifications .notification-item i {
	margin: 0 20px 0 10px;
	font-size: var(--font-size-xl);
}

.header-nav .notifications .notification-item h4 {
	font-size: var(--font-size-base);
	font-weight: 600;
	margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
	font-size: var(--font-size-xs);
	margin-bottom: 3px;
	color: var(--color-muted-text);
}

.header-nav .notifications .notification-item:hover {
	background-color: var(--color-light-background);
}

.header-nav .messages {
	inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
	padding: 15px 10px;
	transition: 0.3s;
}

.header-nav .messages .message-item a {
	display: flex;
}

.header-nav .messages .message-item img {
	margin: 0 20px 0 10px;
	max-height: 40px;
}

.header-nav .messages .message-item h4 {
	font-size: var(--font-size-base);
	font-weight: 600;
	margin-bottom: 5px;
	color: var(--color-dark-text);
}

.header-nav .messages .message-item p {
	font-size: var(--font-size-xs);
	margin-bottom: 3px;
	color: var(--color-muted-text);
}

.header-nav .messages .message-item:hover {
	background-color: var(--color-light-background);
}

.header-nav .profile {
	min-width: 240px;
	padding-bottom: 0;
	top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
	font-size: var(--font-size-md);
	margin-bottom: 0;
	font-weight: 600;
	color: var(--color-dark-text);
}

.header-nav .profile .dropdown-header span {
	font-size: var(--font-size-sm);
}

.header-nav .profile .dropdown-item {
	font-size: var(--font-size-sm);
	padding: var(--spacing-md) var(--spacing-lg);
	transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
	margin-right: var(--spacing-md);
	font-size: var(--font-size-md);
	line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
	background-color: var(--color-light-background);
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
	position: fixed;
	top: 60px;
	left: 0;
	bottom: 0;
	width: 300px;
	z-index: 996;
	transition: all 0.3s;
	padding: 20px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--color-light-text) transparent;
	box-shadow: 0px 0px 20px var(--color-shadow);
	background-color: var(--color-white);
}

@media (max-width: 1199px) {
	.sidebar {
		left: -300px;
	}
}

.sidebar::-webkit-scrollbar {
	width: 5px;
	height: 8px;
	background-color: var(--color-white);
}

.sidebar::-webkit-scrollbar-thumb {
	background-color: var(--color-light-text);
}

@media (max-width: 1199px) {
	.toggle-sidebar .sidebar {
		left: 0;
	}
}

@media (min-width: 1200px) {
	.toggle-sidebar .sidebar {
		left: -300px;
	}
}

.sidebar-nav {
	padding: 0;
	margin: 0;
	list-style: none;
}

.sidebar-nav li {
	padding: 0;
	margin: 0;
	list-style: none;
}

.sidebar-nav .nav-item {
	margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
	font-size: var(--font-size-xs);
	text-transform: uppercase;
	color: var(--color-light-text);
	font-weight: 600;
	margin: var(--spacing-md) 0 var(--spacing-sm) var(--spacing-lg);
}

.sidebar-nav .nav-link {
	display: flex;
	align-items: center;
	font-size: var(--font-size-base);
	font-weight: 600;
	color: var(--color-primary);
	transition: 0.3;
	background: var(--color-light-background);
	padding: var(--spacing-md) var(--spacing-lg);
	border-radius: var(--border-radius-sm);
}

.sidebar-nav .nav-link i {
	font-size: var(--font-size-base);
	margin-right: var(--spacing-md);
	color: var(--color-primary);
}

.sidebar-nav .nav-link.collapsed {
	color: var(--color-secondary);
	background: var(--color-white);
}

.sidebar-nav .nav-link.collapsed i {
	color: var(--color-light-text);
}

.sidebar-nav .nav-link:hover {
	color: var(--color-primary);
	background: var(--color-light-background);
}

.sidebar-nav .nav-link:hover i {
	color: var(--color-primary);
}

.sidebar-nav .nav-link .bi-chevron-down {
	margin-right: 0;
	transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
	transform: rotate(180deg);
}

.sidebar-nav .nav-content {
	padding: 5px 0 0 0;
	margin: 0;
	list-style: none;
}

.sidebar-nav .nav-content a {
	display: flex;
	align-items: center;
	font-size: var(--font-size-sm);
	font-weight: 600;
	color: var(--color-secondary);
	transition: 0.3;
	padding: var(--spacing-md) 0 var(--spacing-md) 40px;
	transition: 0.3s;
}

.sidebar-nav .nav-content a i {
	font-size: var(--font-size-xs);
	margin-right: var(--spacing-sm);
	line-height: 0;
	border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
	color: var(--color-primary);
}

.sidebar-nav .nav-content a.active i {
	background-color: var(--color-primary);
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
	position: absolute;
	right: 0px;
	top: 15px;
}

.dashboard .filter .icon {
	color: var(--color-light-text);
	padding-right: 20px;
	padding-bottom: 5px;
	transition: 0.3s;
	font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
	color: var(--color-primary);
}

.dashboard .filter .dropdown-header {
	padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	color: var(--color-light-text);
	margin-bottom: 0;
	padding: 0;
}

.dashboard .filter .dropdown-item {
	padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
	padding-bottom: 10px;
}

.dashboard .info-card h6 {
	font-size: 28px;
	color: var(--color-secondary);
	font-weight: 700;
	margin: 0;
	padding: 0;
}

.dashboard .card-icon {
	font-size: 32px;
	line-height: 0;
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	flex-grow: 0;
}

.dashboard .sales-card .card-icon {
	color: var(--color-primary);
	background: var(--color-dashboard-sales-bg);
}

.dashboard .revenue-card .card-icon {
	color: var(--color-dashboard-icon-revenue);
	background: var(--color-dashboard-revenue-bg);
}

.dashboard .customers-card .card-icon {
	color: var(--color-dashboard-icon-customers);
	background: var(--color-dashboard-customers-bg);
}

/* Activity */
.dashboard .activity {
	font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
	color: var(--color-dashboard-text);
	position: relative;
	flex-shrink: 0;
	flex-grow: 0;
	min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
	content: "";
	position: absolute;
	right: -11px;
	width: 4px;
	top: 0;
	bottom: 0;
	background-color: var(--color-dashboard-activity-label-bg);
}

.dashboard .activity .activity-item .activity-badge {
	margin-top: 3px;
	z-index: 1;
	font-size: 11px;
	line-height: 0;
	border-radius: 50%;
	flex-shrink: 0;
	border: 3px solid var(--color-white);
	flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
	padding-left: 10px;
	padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
	top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
	padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item + .post-item {
	margin-top: 15px;
}

.dashboard .news img {
	width: 80px;
	float: left;
	border-radius: 5px;
}

.dashboard .news h4 {
	font-size: 15px;
	margin-left: 95px;
	font-weight: bold;
	margin-bottom: 5px;
}

.dashboard .news h4 a {
	color: var(--color-secondary);
	transition: 0.3s;
}

.dashboard .news h4 a:hover {
	color: var(--color-primary);
}

.dashboard .news p {
	font-size: 14px;
	color: var(--color-dashboard-news-text);
	margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
	font-size: 14px;
}

.dashboard .recent-sales .table thead {
	background: var(--color-dashboard-sales-bg);
}

.dashboard .recent-sales .table thead th {
	border: 0;
}

.dashboard .recent-sales .dataTable-top {
	padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
	padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
	font-size: 14px;
}

.dashboard .top-selling .table thead {
	background: var(--color-dashboard-sales-bg);
}

.dashboard .top-selling .table thead th {
	border: 0;
}

.dashboard .top-selling .table tbody td {
	vertical-align: middle;
}

.dashboard .top-selling img {
	border-radius: 5px;
	max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
	display: grid;
	max-width: 100%;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.25rem;
	padding-top: 15px;
}

.iconslist .icon {
	background-color: var(--color-white);
	border-radius: 0.25rem;
	text-align: center;
	color: var(--color-secondary);
	padding: 15px 0;
}

.iconslist i {
	margin: 0.25rem;
	font-size: 2.5rem;
}

.iconslist .label {
	font-family: var(--bs-font-monospace);
	display: inline-block;
	width: 100%;
	overflow: hidden;
	padding: 0.25rem;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--color-light-text);
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
	max-width: 120px;
}

.profile .profile-card h2 {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-nav-tabs);
	margin: 10px 0 0 0;
}

.profile .profile-card h3 {
	font-size: 18px;
}

.profile .profile-card .social-links a {
	font-size: 20px;
	display: inline-block;
	color: rgba(1, 41, 112, 0.5);
	line-height: 0;
	margin-right: 10px;
	transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
	color: var(--color-secondary);
}

.profile .profile-overview .row {
	margin-bottom: 20px;
	font-size: 15px;
}

.profile .profile-overview .card-title {
	color: var(--color-secondary);
}

.profile .profile-overview .label {
	font-weight: 600;
	color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
	font-weight: 600;
	color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
	max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
	font-size: 18px;
	font-weight: 600;
	color: var(--color-primary);
}

.faq .basic p {
	color: var(--color-light-text);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
	padding: 28px 30px;
}

.contact .info-box i {
	font-size: 38px;
	line-height: 0;
	color: var(--color-primary);
}

.contact .info-box h3 {
	font-size: 20px;
	color: var(--color-secondary);
	font-weight: 700;
	margin: 20px 0 10px 0;
}

.contact .info-box p {
	padding: 0;
	line-height: 24px;
	font-size: 14px;
	margin-bottom: 0;
}

.contact .php-email-form .error-message {
	display: none;
	color: var(--color-white);
	background: #ed3c0d;
	text-align: left;
	padding: 15px;
	margin-bottom: 24px;
	font-weight: 600;
}

.contact .php-email-form .sent-message {
	display: none;
	color: var(--color-white);
	background: #18d26e;
	text-align: center;
	padding: 15px;
	margin-bottom: 24px;
	font-weight: 600;
}

.contact .php-email-form .loading {
	display: none;
	background: var(--color-white);
	text-align: center;
	padding: 15px;
	margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
	content: "";
	display: inline-block;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	margin: 0 10px -6px 0;
	border: 3px solid #18d26e;
	border-top-color: #eee;
	animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
	border-radius: 0;
	box-shadow: none;
	font-size: 14px;
	border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
	border-color: var(--color-primary);
}

.contact .php-email-form input {
	padding: 10px 15px;
}

.contact .php-email-form textarea {
	padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
	background: var(--color-primary);
	border: 0;
	padding: 10px 30px;
	color: var(--color-white);
	transition: 0.4s;
	border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
	background: var(--color-primary-hover);
}

@keyframes animate-loading {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
	padding: 30px;
}

.error-404 h1 {
	font-size: 180px;
	font-weight: 700;
	color: var(--color-primary);
	margin-bottom: 0;
	line-height: 150px;
}

.error-404 h2 {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-secondary);
	margin-bottom: 30px;
}

.error-404 .btn {
	background: var(--color-breadcrumb-active);
	color: var(--color-white);
	padding: 8px 30px;
}

.error-404 .btn:hover {
	background: var(--color-accordion-text);
}

@media (min-width: 992px) {
	.error-404 img {
		max-width: 50%;
	}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
	padding: 20px 0;
	font-size: 14px;
	transition: all 0.3s;
	border-top: 1px solid var(--color-border);
}

.footer .copyright {
	text-align: center;
	color: var(--color-secondary);
}

.footer .credits {
	padding-top: 5px;
	text-align: center;
	font-size: 13px;
	color: var(--color-secondary);
}

/*--------------------------------------------------------------
# Theme Transition
--------------------------------------------------------------*/
.theme-transition,
.theme-transition *,
.theme-transition *:before,
.theme-transition *:after {
	transition: all 0.3s ease !important;
	transition-delay: 0 !important;
}

/* Theme transition class */
.theme-transition {
	transition: background-color 0.3s ease, color 0.3s ease,
		border-color 0.3s ease !important;
}

/* Prevent layout shifts during theme transition */
.theme-transition .e-control,
.theme-transition .e-control * {
	transition: background-color 0.3s ease, color 0.3s ease,
		border-color 0.3s ease !important;
}

/* Force component size consistency regardless of theme */
.e-grid,
.e-dialog,
.e-dropdownlist,
.e-combobox,
.e-toolbar,
.e-diagram,
.e-dashboardlayout,
.e-charts,
.e-accumulationchart {
	width: 100% !important;
	box-sizing: border-box !important;
}

/* Fix for padding and margin inconsistencies */
.e-input-group,
.e-ddl,
.e-multi-select-wrapper,
.e-control .e-content {
	box-sizing: border-box !important;
}

/* Force consistent sizing for Syncfusion components */
.syncfusion-themed-component {
	/* Ensure box-sizing is consistent */
	box-sizing: border-box !important;

	/* Preserve dimensions during theme changes */
	max-width: 100% !important;
	transition: background-color 0.3s ease, color 0.3s ease,
		border-color 0.3s ease !important;
}

/* Ensure grid components maintain dimensions */
.e-grid.e-responsive {
	width: 100% !important;
	min-height: inherit !important;
}

/* Fix for dialog components to maintain dimensions */
.e-dialog {
	max-width: 100% !important;
}

/* Force consistent sizing during theme initialization */
body.theme-initialized .e-control {
	opacity: 0.99; /* Force a repaint without making it fully invisible */
}

/* Override any conflicting styles that could cause size changes */
.dark-theme .e-control,
.light-theme .e-control {
	font-size: inherit !important;
	line-height: inherit !important;
}

/* Ensure profile images maintain consistent size during theme transition */
.theme-transition .header-nav .nav-profile img,
.theme-transition img.rounded-circle {
	transition: all 0.3s ease !important;
	max-height: 36px !important;
	width: 36px !important;
	height: 36px !important;
	object-fit: cover !important;
}

/* Fix for image scaling and border issues in both themes */
.header-nav .nav-profile img,
img.rounded-circle {
	max-height: 36px;
	width: 36px;
	height: 36px;
	object-fit: cover;
	border: 1px solid var(--color-border);
	box-shadow: none;
}

/* Fix for dot next to profile icon */
.header-nav .nav-item.dropdown {
	list-style: none;
	position: relative;
}

/* Remove any pseudo-elements that might be creating the dot */
.header-nav .nav-item.dropdown::before,
.header-nav .nav-item.dropdown::after {
	display: none !important;
	content: none !important;
}

/* Fix for the profile image and ensure no bullet points */
.nav-item.dropdown .nav-link.nav-profile {
	position: relative;
	display: flex;
	align-items: center;
}

/* Ensure proper alignment of profile menu items */
.header-nav ul li {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

/* Additional fixes to remove bullet points from all nav elements */
nav ul,
nav li,
.dropdown ul,
.dropdown li,
.nav-item,
.header-nav * {
	list-style-image: none !important;
	list-style-position: outside !important;
	list-style-type: none !important;
}

/* Reset for navigation pseudo elements that might create dots */
.header-nav *::before,
.header-nav *::after,
.nav-item::before,
.nav-item::after {
	content: none !important;
}

/* Fix for Bootstrap default styles that might add bullets */
.header-nav .dropdown-toggle::after {
	display: none !important;
}

/* Only show the dropdown caret if explicitly added in span */
.header-nav .dropdown-toggle span.caret,
.header-nav .dropdown-toggle span.dropdown-toggle {
	display: inline-block;
}

/*--------------------------------------------------------------
# Syncfusion LinearGauge and CircularGauge Light Mode Overrides
--------------------------------------------------------------*/
.light-theme .e-lineargauge .e-axis-labels text,
.light-theme .e-lineargauge .e-pointer,
.light-theme .e-lineargauge .e-bar,
.light-theme .e-lineargauge .e-range,
.light-theme .e-lineargauge .e-tick,
.light-theme .e-lineargauge .e-axis-line {
	stroke: #23242a !important;
	fill: #23242a !important;
}

.light-theme .e-lineargauge .e-pointer,
.light-theme .e-lineargauge .e-bar,
.light-theme .e-lineargauge .e-range {
	stroke-width: 2px !important;
}

.light-theme .e-lineargauge .e-axis-labels text {
	fill: #23242a !important;
	stroke: none !important;
	font-weight: 700;
	font-size: 1.15em;
	paint-order: stroke fill;
	text-shadow: 0 0 2px #fff, 0 1px 0 #fff;
}

.light-theme .e-lineargauge .e-background,
.light-theme .e-lineargauge .e-gauge-background,
.light-theme .e-lineargauge .e-gauge-panel,
.light-theme .e-lineargauge .e-gauge,
.light-theme .e-lineargauge svg,
.light-theme .e-lineargauge rect,
.light-theme .e-lineargauge .e-border {
	background: transparent !important;
	background-color: transparent !important;
	fill: #fff !important;
}

.light-theme .e-circulargauge .e-axis-labels text,
.light-theme .e-circulargauge .e-pointer,
.light-theme .e-circulargauge .e-bar,
.light-theme .e-circulargauge .e-range,
.light-theme .e-circulargauge .e-tick,
.light-theme .e-circulargauge .e-axis-line {
	stroke: #23242a !important;
	fill: #23242a !important;
}

.light-theme .e-circulargauge .e-pointer,
.light-theme .e-circulargauge .e-bar,
.light-theme .e-circulargauge .e-range {
	stroke-width: 2px !important;
}

.light-theme .e-circulargauge .e-axis-labels text {
	fill: #23242a !important;
	stroke: none !important;
	font-weight: 700;
	font-size: 1.15em;
	paint-order: stroke fill;
	text-shadow: 0 0 2px #fff, 0 1px 0 #fff;
}

.light-theme .e-circulargauge .e-background,
.light-theme .e-circulargauge .e-gauge-background,
.light-theme .e-circulargauge .e-gauge-panel,
.light-theme .e-circulargauge .e-gauge,
.light-theme .e-circulargauge svg,
.light-theme .e-circulargauge rect,
.light-theme .e-circulargauge .e-border {
	background: transparent !important;
	background-color: transparent !important;
	fill: #fff !important;
}

.modal-dialog {
	background-color: var(--color-white);
	color: var(--color-secondary);
	border-color: var(--color-border);
}

/*--------------------------------------------------------------
# Background & Particles
--------------------------------------------------------------*/
body {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	background-attachment: fixed;
	min-height: 100vh;
}

.section.register {
	background: transparent;
	min-height: 100vh;
}

#tsparticles {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0 !important;
}

.section.register .card {
	border: none;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	backdrop-filter: blur(20px);
	background: rgba(255, 255, 255, 0.98);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
}

.section.register .card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.section.register .card-body {
	padding: 1.5rem;
}

.section.register .card-title {
	font-weight: 600;
	color: var(--color-secondary);
	margin-bottom: 0.35rem;
	font-size: 1.1rem;
}

.section.register .pt-4 {
	padding-top: 1rem !important;
}

.section.register .pb-2 {
	padding-bottom: 0.5rem !important;
}

.section.register .pb-0 {
	padding-bottom: 0 !important;
}

.section.register .form-control {
	border-radius: 8px;
	padding: 0.5rem 0.75rem;
	border: 1px solid #e2e8f0;
	transition: all 0.3s ease;
	font-size: 0.875rem;
}

.section.register .form-control:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 0.15rem rgba(49, 130, 206, 0.1);
	transform: none;
}

.section.register .input-group-text {
	border-radius: 8px 0 0 8px;
	background: var(--color-light-background);
	border: 1px solid #e2e8f0;
	border-right: none;
	padding: 0.5rem 0.75rem;
}

.section.register .form-label {
	font-weight: 600;
	color: var(--color-secondary);
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

.section.register .btn-primary {
	border-radius: 8px;
	padding: 0.5rem 1rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0.3px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 6px rgba(49, 130, 206, 0.2);
	font-size: 0.875rem;
}

.section.register .btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(49, 130, 206, 0.3);
}

.section.register .btn-outline-primary {
	border-radius: 8px;
	padding: 0.5rem 1rem;
	font-weight: 500;
	font-size: 0.875rem;
	border-width: 2px;
	transition: all 0.3s ease;
}

.section.register .btn-outline-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(49, 130, 206, 0.2);
}

.section.register .logo {
	transition: transform 0.3s ease;
}

.section.register .logo:hover {
	transform: scale(1.05);
}

.section.register .logo img {
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.section.register a {
	color: var(--color-primary);
	font-weight: 600;
	transition: color 0.2s ease;
}

.section.register a:hover {
	color: var(--color-primary-hover);
	text-decoration: underline;
}

.section.register .e-dropdownbase {
	border-radius: 12px !important;
	border: 2px solid #e2e8f0 !important;
	transition: all 0.3s ease !important;
}

.section.register .e-dropdownbase:focus {
	border-color: var(--color-primary) !important;
	box-shadow: 0 0 0 0.2rem rgba(49, 130, 206, 0.15) !important;
}

/*--------------------------------------------------------------
# User Profile Forms
--------------------------------------------------------------*/
.section.profile .card {
	border: none;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(20px);
}

.section.profile .card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.section.profile .card-body {
	padding: 1.5rem;
}

.section.profile .nav-tabs {
	border: none;
	background: var(--color-light-background);
	border-radius: 10px;
	margin-bottom: 1.5rem;
	padding: 0.35rem;
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.04);
}

.section.profile .nav-tabs .nav-link {
	border: none;
	border-radius: 8px;
	padding: 0.6rem 1rem;
	font-weight: 500;
	color: var(--color-dashboard-text);
	transition: all 0.3s ease;
	position: relative;
	margin: 0 0.2rem;
	font-size: 0.875rem;
}

.section.profile .nav-tabs .nav-link:hover {
	background: rgba(255, 255, 255, 0.8);
	color: var(--color-primary);
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.section.profile .nav-tabs .nav-link.active {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
	color: var(--color-white);
	box-shadow: 0 2px 8px rgba(49, 130, 206, 0.25);
	transform: translateY(-1px);
}

.section.profile .form-label {
	font-weight: 500;
	color: var(--color-secondary);
	margin-bottom: 0.4rem;
	font-size: 0.8rem;
	text-transform: none;
	letter-spacing: 0.3px;
}

.section.profile .form-control,
.section.profile .form-select,
.section.profile textarea.form-control {
	border-radius: 8px;
	padding: 0.5rem 0.75rem;
	border: 1px solid #e2e8f0;
	transition: all 0.3s ease;
	font-size: 0.875rem;
	background: var(--color-white);
}

.section.profile .form-control:focus,
.section.profile .form-select:focus,
.section.profile textarea.form-control:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 0.15rem rgba(49, 130, 206, 0.1);
	transform: none;
	background: #ffffff;
}

.section.profile .form-control:disabled {
	background: var(--color-light-background);
	opacity: 0.65;
	cursor: not-allowed;
}

.section.profile .btn {
	border-radius: 8px;
	padding: 0.5rem 1.25rem;
	font-weight: 500;
	transition: all 0.3s ease;
	text-transform: none;
	letter-spacing: 0.3px;
	font-size: 0.875rem;
	border: none;
}

.section.profile .btn-primary {
	box-shadow: 0 2px 6px rgba(49, 130, 206, 0.2);
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
}

.section.profile .btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(49, 130, 206, 0.3);
}

.section.profile .btn-danger {
	box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2);
	background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.section.profile .btn-danger:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(220, 38, 38, 0.3);
}

.section.profile .btn-secondary {
	background: var(--color-light-background);
	color: var(--color-secondary);
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.section.profile .btn-secondary:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
	background: #ffffff;
}

.section.profile .row {
	margin-bottom: 1rem;
}

.section.profile .profile-overview .row {
	padding: 1rem 1.25rem;
	border-radius: 10px;
	background: #ffffff;
	margin-bottom: 0.35rem;
	transition: all 0.3s ease;
	border: 1px solid #f0f0f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
	position: relative;
	overflow: hidden;
}

.section.profile .profile-overview .row::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--color-primary);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.section.profile .profile-overview .row:hover {
	background: #fafbfc;
	border-color: #e5e7eb;
	transform: translateX(4px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section.profile .profile-overview .row:hover::before {
	opacity: 1;
}

.section.profile .profile-overview label {
	font-weight: 600;
	color: #6b7280;
	text-transform: none;
	font-size: 0.875rem;
	letter-spacing: 0;
	margin-bottom: 0.35rem;
	display: block;
}

.section.profile .profile-overview .col-lg-9,
.section.profile .profile-overview .col-md-8 {
	color: #111827;
	font-weight: 500;
	font-size: 1rem;
	padding-top: 0.25rem;
	line-height: 1.5;
}

.section.profile h5 {
	color: var(--color-secondary);
	font-weight: 700;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 3px solid var(--color-primary);
	display: inline-block;
	font-size: 1.5rem;
	letter-spacing: 0.5px;
}

.section.profile .text-center.mt-4 {
	margin-top: 2.5rem !important;
	padding-top: 2rem;
	border-top: 2px solid #e2e8f0;
}

.section.profile form {
	background: var(--color-light-background);
	padding: var(--spacing-xl);
	border-radius: var(--border-radius-xl);
	margin-top: var(--spacing-md);
}

/*--------------------------------------------------------------
# Header Custom Styles - Professional & Consistent
--------------------------------------------------------------*/
.header-custom {
	background: var(--color-white);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	gap: var(--spacing-xs);
}

.logo-link {
	text-decoration: none;
}

.logo-img {
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
	transition: transform 0.3s ease;
	max-height: 36px;
	flex-shrink: 0;
}

.logo-img:hover {
	transform: scale(1.05);
}

.logo-text {
	font-weight: 700;
	font-size: var(--font-size-md);
	color: var(--color-primary);
	letter-spacing: 0.5px;
}

.theme-switch-container {
	background: rgba(248, 249, 250, 0.6);
	backdrop-filter: blur(8px);
	padding: 2px;
	border-radius: var(--border-radius-lg);
	border: 1px solid rgba(0, 0, 0, 0.04);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	gap: 2px;
	cursor: pointer;
	flex-shrink: 0;
}

.theme-switch-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 3px 4px;
	border-radius: var(--border-radius-md);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-switch-button.active {
	background: white;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.theme-switch-icon {
	font-size: var(--font-size-xs);
}

.theme-switch-text {
	font-size: var(--font-size-xs);
	font-weight: 500;
}

.device-selector-button {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
	color: white;
	border: none;
	padding: var(--spacing-sm) var(--spacing-lg);
	border-radius: var(--border-radius-md);
	font-size: var(--font-size-sm);
	font-weight: 600;
	letter-spacing: 0.3px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(49, 130, 206, 0.25);
	flex-shrink: 0;
	white-space: nowrap;
}

.device-selector-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(49, 130, 206, 0.35);
}

.device-selector-button i {
	font-size: var(--font-size-base);
}

.device-name {
	font-size: var(--font-size-xs);
	font-weight: 500;
	white-space: nowrap;
}

/*--------------------------------------------------------------
# Consistent Spacing & Layout Utilities
--------------------------------------------------------------*/
.p-xs { padding: var(--spacing-xs); }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

.m-xs { margin: var(--spacing-xs); }
.m-sm { margin: var(--spacing-sm); }
.m-md { margin: var(--spacing-md); }
.m-lg { margin: var(--spacing-lg); }
.m-xl { margin: var(--spacing-xl); }

.gap-xs { gap: var(--spacing-xs); }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded-md { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }

/*--------------------------------------------------------------
# Button Consistency
--------------------------------------------------------------*/
.btn-sm, .btn.small, .nav-link.small {
	font-size: var(--font-size-sm);
	padding: var(--spacing-sm) var(--spacing-md);
}

.btn {
	border-radius: var(--border-radius-md);
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-primary {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
	border: none;
	box-shadow: 0 2px 8px rgba(49, 130, 206, 0.25);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(49, 130, 206, 0.35);
}

/*--------------------------------------------------------------
# Card & Form Consistency
--------------------------------------------------------------*/
.card {
	border: none;
	border-radius: var(--border-radius-md);
	box-shadow: 0px 0 30px var(--color-shadow);
}

.card-header {
	border-color: var(--color-border);
	background-color: var(--color-white);
	color: var(--color-card-footer);
	padding: var(--spacing-lg);
	border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.card-body {
	padding: var(--spacing-lg);
}

.card-footer {
	border-color: var(--color-border);
	background-color: var(--color-white);
	color: var(--color-card-footer);
	padding: var(--spacing-lg);
	border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
}

.card-title {
	padding: var(--spacing-lg) 0 var(--spacing-lg) 0;
	font-size: var(--font-size-md);
	font-weight: 500;
	color: var(--color-secondary);
	font-family: "Poppins", sans-serif;
	margin-bottom: 0;
}

.form-control, .form-select {
	border-radius: var(--border-radius-md);
	border: 2px solid var(--color-border);
	transition: all 0.3s ease;
	font-size: var(--font-size-sm);
	padding: var(--spacing-sm) var(--spacing-md);
}

.form-control:focus, .form-select:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 0.25rem rgba(49, 130, 206, 0.15);
}

.form-label {
	font-weight: 600;
	color: var(--color-secondary);
	margin-bottom: var(--spacing-sm);
	font-size: var(--font-size-sm);
}

/*--------------------------------------------------------------
# Settings (MQTT) Page - Compact Styles
--------------------------------------------------------------*/
.section .card {
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section .card .mx-2 {
	font-size: 0.875rem;
	padding: 0.75rem 0.5rem;
}

.section .card .mx-4 {
	font-size: 0.9rem;
	padding: 0.85rem 1rem;
}

.section .card-body {
	padding: 1rem 1.25rem;
}

.section .card-footer {
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
}

.section .pagetitle h1 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.section .pagetitle small {
	font-size: 0.75rem;
	display: block;
	margin-top: 0.25rem;
}

/* Compact card spacing */
.section .card.mt-2 {
	margin-top: 1rem !important;
}

/* Reduce OneByOne component padding */
.section .card .row {
	padding: 0.5rem 0;
}

/* Info card compact styles for Settings page */
.info-card.sales-card {
	margin: 0.5rem !important;
}

.info-card.sales-card .card-body {
	padding: 1rem !important;
}

.info-card.sales-card .card-title {
	font-size: 0.9rem !important;
	padding: 0 0 0.5rem 0 !important;
	margin-bottom: 0 !important;
}

.info-card.sales-card .card-icon {
	width: 48px !important;
	height: 48px !important;
	font-size: 1.5rem !important;
}

/* DataGrid compact styles */
.data-grid-container .table {
	font-size: 0.875rem;
}

.data-grid-container .table th {
	padding: 0.5rem 0.75rem;
	font-size: 0.85rem;
	font-weight: 600;
	background-color: var(--color-light-background);
}

.data-grid-container .table td {
	padding: 0.5rem 0.75rem;
	vertical-align: middle;
}

.data-grid-container .btn-sm {
	font-size: 0.75rem;
	padding: 0.25rem 0.5rem;
}

.data-grid-container .btn-sm i {
	font-size: 0.7rem;
}

.data-grid-container .form-control-sm {
	font-size: 0.8rem;
	padding: 0.35rem 0.5rem;
}

/* Mobile responsive styles for Settings page */
@media (max-width: 768px) {
	/* Settings page adjustments */
	.pagetitle h1 {
		font-size: 1.25rem;
		margin-bottom: 0.5rem;
	}

	.pagetitle small {
		font-size: 0.75rem;
	}

	/* Info cards (OneByOne) mobile layout */
	.info-card.sales-card {
		margin: 0.25rem !important;
	}

	.info-card.sales-card .card-body {
		padding: 0.75rem !important;
	}

	.info-card.sales-card .card-title {
		font-size: 0.8rem !important;
		padding: 0 0 0.25rem 0 !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.info-card.sales-card .card-icon {
		width: 36px !important;
		height: 36px !important;
		font-size: 1.25rem !important;
	}

	.info-card.sales-card .ps-3 {
		font-size: 0.85rem !important;
		padding-left: 0.5rem !important;
	}

	/* DataGrid mobile adjustments */
	.data-grid-container .table {
		font-size: 0.8rem;
	}

	.data-grid-container .table th,
	.data-grid-container .table td {
		padding: 0.4rem 0.5rem;
		font-size: 0.75rem;
	}

	.data-grid-container .btn-sm {
		font-size: 0.7rem;
		padding: 0.2rem 0.4rem;
	}

	.data-grid-container .btn-sm i {
		font-size: 0.65rem;
	}

	/* Card adjustments for mobile */
	.card {
		margin-bottom: 1rem;
	}

	.card-body {
		padding: 0.75rem !important;
	}

	.card-footer {
		padding: 0.5rem !important;
		font-size: 0.75rem !important;
	}

	/* Section padding */
	.section {
		padding: 1rem 0;
	}

	/* Warning/Information components */
	.alert {
		padding: 0.5rem;
		font-size: 0.8rem;
		margin-bottom: 0.5rem;
	}

	/* Modal dialogs on mobile */
	.modal-dialog {
		margin: 0.5rem;
	}

	.modal-header,
	.modal-body,
	.modal-footer {
		padding: 0.75rem !important;
	}

	.modal-title {
		font-size: 0.9rem !important;
	}

	/* Form controls in modals */
	.modal-body .form-label {
		font-size: 0.8rem;
		margin-bottom: 0.25rem;
	}

	.modal-body .form-control {
		font-size: 0.8rem;
		padding: 0.4rem 0.5rem;
	}

	/* Status icons in DataGrid */
	.bi-circle-fill {
		font-size: 0.85rem !important;
	}
}

/* Tablet responsive styles */
@media (min-width: 769px) and (max-width: 1024px) {
	.info-card.sales-card .card-icon {
		width: 42px !important;
		height: 42px !important;
		font-size: 1.35rem !important;
	}

	.info-card.sales-card .card-body {
		padding: 0.85rem !important;
	}

	.pagetitle h1 {
		font-size: 1.5rem;
	}
}
