/*
 * MGW v9 — Style Override v1 (corrected): "Aqua Glass Pro — Light"
 * ==================================================================
 * Include AFTER your main CSS:
 *   <link rel="stylesheet" href="mgw-v1-glass-pro.css">
 *
 * All themes: primary, success, warning, danger, info,
 *             pink, purple, inverse, dark, deepOrange
 */

/* ============================================================
   FONT
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap");

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
	--mgw-font: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--glass-blur: blur(14px) saturate(155%);
	--border-card: rgba(255, 255, 255, 0.55);
	--border-ui: rgba(210, 224, 242, 0.82);
	--bg-card: rgba(255, 255, 255, 0.76);
	--bg-card-dense: rgba(255, 255, 255, 0.86);
	--bg-header: rgba(255, 255, 255, 0.52);
	--bg-footer: rgba(242, 247, 255, 0.68);
	--bg-sidebar: rgba(255, 255, 255, 0.9);
	--shadow-xs: 0 1px 3px rgba(18, 50, 110, 0.07);
	--shadow-sm: 0 2px 8px rgba(18, 50, 110, 0.09), 0 1px 3px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 20px rgba(18, 50, 110, 0.12), 0 1.5px 6px rgba(0, 0, 0, 0.07);
	--shadow-lg: 0 10px 40px rgba(18, 50, 110, 0.16), 0 3px 12px rgba(0, 0, 0, 0.09);
	--shadow-card: 0 2px 14px rgba(18, 50, 110, 0.1), 0 1px 4px rgba(0, 0, 0, 0.05);
	--r-xs: 6px;
	--r-sm: 10px;
	--r-md: 14px;
	--r-lg: 18px;
	--r-pill: 100px;
	--text-h: #111827;
	--text-body: #1f2937;
	--text-soft: #6b7280;
	--text-hint: #9ca3af;
	--accent: #188ae2;
	--accent-dark: #1168b8;
	--accent-light: rgba(24, 138, 226, 0.1);
	--tx: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

	/* Globe scene tokens  */
	--globe-water: rgba(24, 138, 226, 0.08);
	--globe-grid: rgba(24, 138, 226, 0.22);
	--globe-land: #1a78c8;
	--globe-outline: rgba(24, 138, 226, 0.45);
	--sky-bg-from: #cbe5fa;
	--sky-bg-to: transparent;
	--sky-cloud: #ffffff;
	--sky-sun: #ffd770;
	--plane-fill: #1f2937;
	--plane-stroke: rgba(255, 255, 255, 0.6);
}

/* Per-theme accent overrides */
.theme-primary {
	--accent: #188ae2;
	--accent-dark: #1168b8;
	--accent-light: rgba(24, 138, 226, 0.1);
}
.theme-success {
	--accent: #10c469;
	--accent-dark: #0ca358;
	--accent-light: rgba(16, 196, 105, 0.1);
}
.theme-warning {
	--accent: #d4900a;
	--accent-dark: #aa7200;
	--accent-light: rgba(212, 144, 10, 0.1);
}
.theme-danger {
	--accent: #ff5b5b;
	--accent-dark: #e03030;
	--accent-light: rgba(255, 91, 91, 0.1);
}
.theme-info {
	--accent: #35b8e0;
	--accent-dark: #1a9dc4;
	--accent-light: rgba(53, 184, 224, 0.1);
}
.theme-pink {
	--accent: #e060b0;
	--accent-dark: #c040a0;
	--accent-light: rgba(224, 96, 176, 0.1);
}
.theme-purple {
	--accent: #5b69bc;
	--accent-dark: #4250a2;
	--accent-light: rgba(91, 105, 188, 0.1);
}
.theme-inverse {
	--accent: #3b3e47;
	--accent-dark: #24262b;
	--accent-light: rgba(59, 62, 71, 0.09);
}
.theme-dark {
	--accent: #444;
	--accent-dark: #222;
	--accent-light: rgba(68, 68, 68, 0.09);
}
.theme-deepOrange {
	--accent: #ff5722;
	--accent-dark: #e03800;
	--accent-light: rgba(255, 87, 34, 0.1);
}

/* ============================================================
   BASE
   ============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	height: 100%;
}

body {
	font-family: var(--mgw-font) !important;
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-body) !important;
	background: linear-gradient(135deg, #d8e4f4 0%, #eaf0fa 45%, #d4e2f3 100%) fixed !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: var(--mgw-font) !important;
	font-weight: 600;
	color: var(--text-h);
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.widget-title,
.panel-title,
.modal-title,
.page-title {
	font-family: var(--mgw-font) !important;
	font-weight: 600;
	letter-spacing: -0.01em;
}

p,
td,
th,
li,
.btn,
.label,
.badge {
	font-family: var(--mgw-font) !important;
}

label {
	font-family: var(--mgw-font) !important;
	font-weight: 500;
	color: var(--text-soft);
	font-size: 13px;
	margin-bottom: 5px;
}

small,
.small {
	color: var(--text-soft);
	font-weight: 400;
}
.text-muted {
	color: var(--text-hint) !important;
	opacity: 1 !important;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
	border: none !important;
	min-height: 60px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12) !important;
}

.navbar-inverse {
	background: linear-gradient(130deg, #1c92ea 0%, #1470d0 100%) !important;
}
.theme-primary .navbar-inverse {
	background: linear-gradient(130deg, #1c92ea 0%, #1470d0 100%) !important;
}
.theme-success .navbar-inverse {
	background: linear-gradient(130deg, #14dc76 0%, #0ec066 100%) !important;
}
.theme-warning .navbar-inverse {
	background: linear-gradient(130deg, #fdd060 0%, #f2bc22 100%) !important;
}
.theme-danger .navbar-inverse {
	background: linear-gradient(130deg, #ff6868 0%, #f23232 100%) !important;
}
.theme-info .navbar-inverse {
	background: linear-gradient(130deg, #40c4ec 0%, #20aad8 100%) !important;
}
.theme-pink .navbar-inverse {
	background: linear-gradient(130deg, #ff96d4 0%, #f06ec0 100%) !important;
}
.theme-purple .navbar-inverse {
	background: linear-gradient(130deg, #6878cc 0%, #4e5cb6 100%) !important;
}
.theme-inverse .navbar-inverse {
	background: linear-gradient(130deg, #4c5060 0%, #32353f 100%) !important;
}
.theme-dark .navbar-inverse {
	background: linear-gradient(130deg, #3e3e3e 0%, #202020 100%) !important;
}
.theme-deepOrange .navbar-inverse {
	background: linear-gradient(130deg, #ff6838 0%, #ea4414 100%) !important;
}

.navbar-brand {
	font-weight: 700 !important;
	letter-spacing: -0.03em;
	font-size: 18px !important;
}

.navbar-toolbar > li > a {
	transition: var(--tx);
	border-radius: var(--r-xs) !important;
	margin: 9px 2px !important;
	height: 42px !important;
	padding: 11px 14px !important;
	font-weight: 500;
	font-size: 13.5px;
}
.navbar-toolbar > li > a:hover,
.navbar-toolbar > .open > a,
.navbar-toolbar > .open > a:focus,
.navbar-toolbar > .open > a:hover {
	background: rgba(255, 255, 255, 0.18) !important;
}

/* ============================================================
   SIDEBAR / MENUBAR
   ============================================================ */
.menubar.light {
	background: var(--bg-sidebar) !important;
	backdrop-filter: var(--glass-blur) !important;
	-webkit-backdrop-filter: var(--glass-blur) !important;
	border-right: 1px solid rgba(200, 218, 240, 0.45) !important;
	box-shadow: 2px 0 24px rgba(18, 50, 110, 0.08) !important;
}

.menubar.dark,
body.menubar-left.menubar-dark .navbar-header {
	background: rgba(30, 36, 50, 0.95) !important;
	backdrop-filter: var(--glass-blur) !important;
	-webkit-backdrop-filter: var(--glass-blur) !important;
	box-shadow: 2px 0 24px rgba(0, 0, 0, 0.28) !important;
}

.app-menu a {
	font-family: var(--mgw-font) !important;
	font-weight: 500;
	font-size: 13.5px;
	border-radius: var(--r-xs) !important;
	margin: 1px 8px !important;
	padding: 9px 10px !important;
	transition: var(--tx);
}

.menubar.light .app-menu a {
	color: var(--text-soft);
}
.menubar.light .app-menu li.active > a,
.menubar.light .app-menu li.open > a {
	background: var(--accent-light) !important;
	color: var(--accent) !important;
	font-weight: 600;
}
.menubar.light .app-menu li:hover > a {
	background: rgba(0, 0, 0, 0.04) !important;
	color: var(--accent) !important;
}

.menubar.dark .app-menu a {
	color: #b8c4d8;
}
.menubar.dark .app-menu li.active > a,
.menubar.dark .app-menu li.open > a {
	background: var(--accent-light) !important;
	color: /*var(--accent) !important;*/ #fff !important;
	font-weight: 600;
}
.menubar.dark .app-menu li:hover > a {
	background: rgba(255, 255, 255, 0.07) !important;
	color: #fff !important;
}

body.menubar-left .app-menu > li.active,
body.menubar-left .app-menu > li.open {
	border-left-color: var(--accent) !important;
}

body.menubar-fold .menubar.light .app-menu > li > .submenu,
body.menubar-top .menubar.light .app-menu .submenu {
	background: rgba(255, 255, 255, 0.97) !important;
	backdrop-filter: var(--glass-blur) !important;
	border-radius: var(--r-md) !important;
	box-shadow: var(--shadow-lg) !important;
	border: 1px solid rgba(218, 232, 250, 0.6) !important;
}

body.menubar-fold .menubar.dark .app-menu > li > .submenu,
body.menubar-top .menubar.dark .app-menu .submenu {
	background: rgba(30, 36, 50, 0.98) !important;
	border-radius: var(--r-md) !important;
	box-shadow: var(--shadow-lg) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ============================================================
   PANELS
   ============================================================ */
.panel {
	position: relative; /* needed for ::before */
	background: var(--bg-card) !important;
	/* backdrop-filter moved to ::before — applying it here creates a stacking
     context that traps child modals (z-index scoped inside panel, loses to
     .modal-backdrop at root level) and clips dropdowns visually. */
	border: 1px solid var(--border-card) !important;
	border-radius: var(--r-md) !important;
	box-shadow: var(--shadow-card) !important;
	transition: box-shadow 0.22s ease;
	margin-bottom: 22px;
	padding: 14px !important;
}
/* Blur lives on ::before so the panel itself stays stacking-context-free */
.panel::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--r-md);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	z-index: -1;
	pointer-events: none;
}
.panel:hover {
	box-shadow: var(--shadow-md) !important;
}

.panel-heading {
	background: var(--bg-header) !important;
	border-bottom: 1px solid rgba(210, 225, 245, 0.5) !important;
	border-radius: var(--r-md) var(--r-md) 0 0 !important;
	padding: 14px 18px !important;
}
.panel-title {
	font-size: 14.5px !important;
	font-weight: 600 !important;
	letter-spacing: -0.01em;
	color: var(--text-h) !important;
}

.panel-body {
	padding: 16px 20px !important;
}
.panel-body p {
	color: var(--text-soft) !important;
	line-height: 1.75;
}
.panel-footer {
	background: var(--bg-footer);
	border-top: 1px solid rgba(210, 225, 245, 0.5) !important;
	border-radius: 0 0 var(--r-md) var(--r-md) !important;
	padding: 11px 20px !important;
}

/* Coloured headings */
.panel-primary,
.panel-success,
.panel-info,
.panel-warning,
.panel-danger,
.panel-pink,
.panel-purple,
.panel-dark,
.panel-inverse {
	padding: 0 !important; /* because header needs to stick on top and sides */
}
.panel-primary .panel-body,
.panel-success .panel-body,
.panel-info .panel-body,
.panel-warning .panel-body,
.panel-danger .panel-body,
.panel-pink .panel-body,
.panel-purple .panel-body,
.panel-dark .panel-body,
.panel-inverse .panel-body {
	padding: 16px 20px !important;
}

.panel-primary > .panel-heading,
.panel-primary .panel-title {
	background: linear-gradient(130deg, #1c92ea, #1470d0) !important;
	color: #fff !important;
	border: none !important;
}
.panel-success > .panel-heading {
	background: linear-gradient(130deg, #14dc76, #0ec066) !important;
	color: #fff !important;
	border: none !important;
}
.panel-info > .panel-heading {
	background: linear-gradient(130deg, #40c4ec, #20aad8) !important;
	color: #fff !important;
	border: none !important;
}
.panel-warning > .panel-heading {
	background: linear-gradient(130deg, #fdd060, #f2bc22) !important;
	color: #6b4400 !important;
	border: none !important;
}
.panel-danger > .panel-heading {
	background: linear-gradient(130deg, #ff6868, #f23232) !important;
	color: #fff !important;
	border: none !important;
}
.panel-pink > .panel-heading {
	background: linear-gradient(130deg, #ff96d4, #f06ec0) !important;
	color: #fff !important;
	border: none !important;
}
.panel-purple > .panel-heading,
.panel-purple .panel-title {
	background: linear-gradient(130deg, #6878cc, #4e5cb6) !important;
	color: #fff !important;
	border: none !important;
}
.panel-inverse > .panel-heading,
.panel-inverse .panel-title {
	background: linear-gradient(130deg, #4c5060, #32353f) !important;
	color: #fff !important;
	border: none !important;
}
.panel-dark > .panel-heading,
.panel-dark .panel-title {
	background: linear-gradient(130deg, #3e3e3e, #202020) !important;
	color: #fff !important;
	border: none !important;
}

/* ============================================================
   WIDGETS
   ============================================================ */
.widget,
.box {
	position: relative; /* needed for ::before */
	background: var(--bg-card) !important;
	/* backdrop-filter on ::before — same fix as .panel */
	border: 1px solid var(--border-card) !important;
	border-radius: var(--r-md) !important;
	box-shadow: var(--shadow-card) !important;
	transition: box-shadow 0.22s ease;
	margin-bottom: 22px;
}
.widget::before,
.box::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--r-md);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	z-index: -1;
	pointer-events: none;
}
.widget:hover,
.box:hover {
	box-shadow: var(--shadow-md) !important;
}

.widget-header {
	background: var(--bg-header) !important;
	border-bottom: 1px solid rgba(210, 225, 245, 0.5) !important;
	border-radius: var(--r-md) var(--r-md) 0 0 !important;
	padding: 13px 18px !important;
}
.widget-title {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--text-h) !important;
	letter-spacing: -0.01em;
}
.widget-body {
	padding: 16px 18px !important;
}
.widget-footer {
	background: var(--bg-footer);
	border-top: 1px solid rgba(210, 225, 245, 0.5) !important;
	border-radius: 0 0 var(--r-md) var(--r-md) !important;
	padding: 10px 18px !important;
}
.widget-separator {
	border-color: rgba(210, 225, 245, 0.6) !important;
}

/*
 * COLORED WIDGETS FIX
 * When .widget also has .bg-primary/.bg-info/etc., the generic
 * .widget-header and .widget-footer rules above would stamp
 * an opaque white/gray surface over the colored widget bg.
 * Solution: make header/footer transparent so the widget's
 * own gradient background shows through cleanly.
 */
.widget.bg-primary .widget-header,
.widget.bg-success .widget-header,
.widget.bg-danger .widget-header,
.widget.bg-info .widget-header,
.widget.bg-pink .widget-header,
.widget.bg-purple .widget-header,
.widget.bg-inverse .widget-header,
.widget.bg-dark .widget-header,
.widget.bg-deepOrange .widget-header,
.widget.primary .widget-header,
.widget.success .widget-header,
.widget.danger .widget-header,
.widget.info .widget-header,
.widget.pink .widget-header,
.widget.purple .widget-header,
.widget.inverse .widget-header,
.widget.dark .widget-header {
	background: rgba(0, 0, 0, 0.06) !important;
	border-bottom-color: rgba(255, 255, 255, 0.18) !important;
}
.widget.bg-warning .widget-header,
.widget.warning .widget-header {
	background: rgba(0, 0, 0, 0.06) !important;
	border-bottom-color: rgba(0, 0, 0, 0.12) !important;
}

.widget.bg-primary .widget-footer,
.widget.bg-success .widget-footer,
.widget.bg-danger .widget-footer,
.widget.bg-info .widget-footer,
.widget.bg-pink .widget-footer,
.widget.bg-purple .widget-footer,
.widget.bg-inverse .widget-footer,
.widget.bg-dark .widget-footer,
.widget.bg-deepOrange .widget-footer,
.widget.primary .widget-footer,
.widget.success .widget-footer,
.widget.danger .widget-footer,
.widget.info .widget-footer,
.widget.pink .widget-footer,
.widget.purple .widget-footer,
.widget.inverse .widget-footer,
.widget.dark .widget-footer {
	background: rgba(0, 0, 0, 0.08) !important;
	border-top-color: rgba(255, 255, 255, 0.18) !important;
}
.widget.bg-warning .widget-footer,
.widget.warning .widget-footer {
	background: rgba(0, 0, 0, 0.08) !important;
	border-top-color: rgba(0, 0, 0, 0.12) !important;
}

/* Colored widget gradients */
.widget.bg-primary {
	background: linear-gradient(130deg, #1c92ea, #1470d0) !important;
	border: none !important;
}
.widget.bg-success {
	background: linear-gradient(130deg, #14dc76, #0ec066) !important;
	border: none !important;
}
.widget.bg-info {
	background: linear-gradient(130deg, #40c4ec, #20aad8) !important;
	border: none !important;
}
.widget.bg-warning {
	background: linear-gradient(130deg, #fdd060, #f2bc22) !important;
	border: none !important;
}
.widget.bg-danger {
	background: linear-gradient(130deg, #ff6868, #f23232) !important;
	border: none !important;
}
.widget.bg-pink {
	background: linear-gradient(130deg, #ff96d4, #f06ec0) !important;
	border: none !important;
}
.widget.bg-purple {
	background: linear-gradient(130deg, #6878cc, #4e5cb6) !important;
	border: none !important;
}
.widget.bg-inverse {
	background: linear-gradient(130deg, #4c5060, #32353f) !important;
	border: none !important;
}
.widget.bg-dark {
	background: linear-gradient(130deg, #3e3e3e, #202020) !important;
	border: none !important;
}

.widget.bg-primary .widget-title,
.widget.bg-success .widget-title,
.widget.bg-info .widget-title,
.widget.bg-danger .widget-title,
.widget.bg-pink .widget-title,
.widget.bg-purple .widget-title,
.widget.bg-inverse .widget-title,
.widget.bg-dark .widget-title {
	color: #fff !important;
}
.widget.bg-warning .widget-title {
	color: #5a3800 !important;
}

.stats-widget .widget-footer small {
	color: rgba(255, 255, 255, 0.92) !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
	font-family: var(--mgw-font) !important;
	font-weight: 500 !important;
	font-size: 13px !important;
	border-radius: var(--r-pill) !important;
	padding: 8px 20px !important;
	border: none !important;
	transition: var(--tx) !important;
	letter-spacing: 0.01em;
	box-shadow: var(--shadow-xs) !important;
}
.btn:hover {
	box-shadow: var(--shadow-md) !important;
	filter: brightness(1.05);
}
.btn:active {
	box-shadow: var(--shadow-xs) !important;
	filter: brightness(0.96);
}
.btn:focus {
	outline: none !important;
	box-shadow: 0 0 0 3px var(--accent-light) !important;
}

.btn-sm {
	padding: 6px 16px !important;
	font-size: 12px !important;
}
.btn-xs {
	padding: 3px 10px !important;
	font-size: 11px !important;
}
.btn-lg {
	padding: 11px 28px !important;
	font-size: 15px !important;
}

.btn-default {
	background: rgba(255, 255, 255, 0.88) !important;
	color: var(--text-body) !important;
	border: 1px solid rgba(200, 218, 240, 0.75) !important;
	box-shadow: var(--shadow-xs) !important;
}
.btn-default:hover {
	background: #fff !important;
	color: var(--text-h) !important;
}

.btn-primary {
	background: linear-gradient(130deg, #1c92ea, #1470d0) !important;
	color: #fff !important;
}
.btn-success {
	background: linear-gradient(130deg, #14dc76, #0ec066) !important;
	color: #fff !important;
}
.btn-warning {
	background: linear-gradient(130deg, #fdd060, #f2bc22) !important;
	color: #5a3800 !important;
}
.btn-danger {
	background: linear-gradient(130deg, #ff6868, #f23232) !important;
	color: #fff !important;
}
.btn-info {
	background: linear-gradient(130deg, #40c4ec, #20aad8) !important;
	color: #fff !important;
}
.btn-pink {
	background: linear-gradient(130deg, #ff96d4, #f06ec0) !important;
	color: #fff !important;
}
.btn-purple {
	background: linear-gradient(130deg, #6878cc, #4e5cb6) !important;
	color: #fff !important;
}
.btn-inverse {
	background: linear-gradient(130deg, #4c5060, #32353f) !important;
	color: #fff !important;
}
.btn-dark {
	background: linear-gradient(130deg, #3e3e3e, #202020) !important;
	color: #fff !important;
}
.btn-deepOrange {
	background: linear-gradient(130deg, #ff6838, #ea4414) !important;
	color: #fff !important;
}

.btn-link {
	background: transparent !important;
	box-shadow: none !important;
	color: var(--accent) !important;
	border-radius: var(--r-xs) !important;
}
.btn-link:hover {
	color: var(--accent-dark) !important;
	background: var(--accent-light) !important;
}

.btn.btn-outline {
	background: transparent !important;
	border: 1.5px solid currentColor !important;
	box-shadow: none !important;
}
.btn-outline.btn-primary {
	color: #188ae2 !important;
}
.btn-outline.btn-success {
	color: #10c469 !important;
}
.btn-outline.btn-warning {
	color: #c48000 !important;
	border-color: #d4900a !important;
}
.btn-outline.btn-danger {
	color: #ff5b5b !important;
}
.btn-outline.btn-info {
	color: #1a9dc4 !important;
	border-color: #35b8e0 !important;
}
.btn-outline.btn-pink {
	color: #e060b0 !important;
	border-color: #ff8acc !important;
}
.btn-outline.btn-purple {
	color: #4250a2 !important;
	border-color: #5b69bc !important;
}
.btn-outline.btn-inverse {
	color: #3b3e47 !important;
}
.btn-outline.btn-dark {
	color: #282828 !important;
}
.btn-outline.btn-deepOrange {
	color: #e03800 !important;
	border-color: #ff5722 !important;
}
.btn-outline:hover {
	opacity: 0.82;
}

/* Btn-group: pill on outer edges, flat on inner */
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	border-top-left-radius: var(--r-pill) !important;
	border-bottom-left-radius: var(--r-pill) !important;
}
.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	border-top-right-radius: var(--r-pill) !important;
	border-bottom-right-radius: var(--r-pill) !important;
}
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
	border-radius: 0 !important;
}

/* ============================================================
   FORM CONTROLS
   ============================================================ */
.form-control {
	font-family: var(--mgw-font) !important;
	border-radius: var(--r-sm) !important;
	border: 1.5px solid var(--border-ui) !important;
	background: rgba(255, 255, 255, 0.9) !important;
	color: var(--text-body) !important;
	height: 40px !important;
	padding: 8px 14px !important;
	font-size: 13.5px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
	transition: var(--tx) !important;
}
.form-control:focus {
	border-color: var(--accent) !important;
	background: #fff !important;
	box-shadow:
		0 0 0 3px var(--accent-light),
		0 1px 4px rgba(0, 0, 0, 0.05) !important;
	outline: none !important;
}
.form-control::placeholder {
	color: var(--text-hint) !important;
}

/* Do NOT force height on multi-line / multi-select controls */
textarea.form-control,
select[multiple].form-control,
select[size].form-control {
	height: auto !important;
}

textarea.form-control {
	min-height: 90px;
	resize: vertical;
	border-radius: var(--r-sm) !important;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
	background: rgba(245, 248, 252, 0.75) !important;
	opacity: 0.7;
	cursor: not-allowed;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-content {
	border-radius: var(--r-lg) !important;
	background: rgba(255, 255, 255, 0.97) !important;
	/*backdrop-filter: var(--glass-blur) !important;
	-webkit-backdrop-filter: var(--glass-blur) !important;*/
	border: 1px solid rgba(220, 235, 255, 0.6) !important;
	box-shadow:
		0 24px 80px rgba(18, 50, 110, 0.22),
		0 4px 20px rgba(0, 0, 0, 0.1) !important;
	/*overflow: hidden;*/
}
.modal-header {
	background: rgba(242, 247, 255, 0.8) !important;
	border-bottom: 1px solid rgba(210, 225, 245, 0.5) !important;
	border-radius: var(--r-lg) var(--r-lg) 0 0 !important;
	padding: 18px 24px !important;
}
.modal-title {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--text-h) !important;
	letter-spacing: -0.02em;
}
.modal-body {
	padding: 20px 24px !important;
}
.modal-footer {
	background: rgba(242, 247, 255, 0.8) !important;
	border-top: 1px solid rgba(210, 225, 245, 0.5) !important;
	border-radius: 0 0 var(--r-lg) var(--r-lg) !important;
	padding: 14px 24px !important;
}
.modal-backdrop.in {
	opacity: 0.55 !important;
	background: rgba(8, 15, 35, 1) !important;
}
.modal-content .form-control {
	border-radius: var(--r-sm) !important;
	height: 40px !important;
}
.modal-content textarea.form-control,
.modal-content select[multiple].form-control {
	height: auto !important;
}

/* ============================================================
   INPUT GROUPS — complete radius + border flow
   Works for any combination of:
     .input-group-addon (span)  |  .input-group-btn (btn)  |  .form-control
   ============================================================ */

/* Step 1 — zero out all radii inside the group */
.input-group .form-control,
.input-group .input-group-addon,
.input-group-btn > .btn {
	border-radius: 0 !important;
}

/* Step 2 — restore left edge */
.input-group > .input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group > .form-control:first-child {
	border-top-left-radius: var(--r-sm) !important;
	border-bottom-left-radius: var(--r-sm) !important;
}

/* Step 3 — restore right edge */
.input-group > .input-group-addon:last-child,
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group > .btn,
.input-group-btn:last-child > .dropdown-toggle,
.input-group > .form-control:last-child {
	border-top-right-radius: var(--r-sm) !important;
	border-bottom-right-radius: var(--r-sm) !important;
}

/* Step 4 — collapse shared borders so there's no double line */
.input-group > .input-group-addon:not(:last-child),
.input-group-btn:not(:last-child) > .btn,
.input-group-btn:not(:last-child) > .dropdown-toggle {
	border-right: none !important;
}

.input-group > .input-group-addon:not(:first-child),
.input-group-btn:not(:first-child) > .btn {
	border-left: none !important;
}

/* Addon (span) base style */
.input-group-addon {
	border: 1.5px solid var(--border-ui) !important;
	background: rgba(235, 242, 252, 0.85);
	color: var(--text-soft) !important;
	font-family: var(--mgw-font) !important;
	font-size: 14px;
	line-height: 1;
	white-space: nowrap;
}

/* Buttons in input-group — match form-control height */
.input-group .input-group-btn > .btn {
	height: 40px;
	border: 1.5px solid var(--border-ui) !important;
}

/* ============================================================
   SELECT2
   ============================================================ */
.select2-container--default .select2-selection--single {
	border-radius: var(--r-sm) !important;
	border: 1.5px solid var(--border-ui) !important;
	background: rgba(255, 255, 255, 0.9);
	height: 40px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 40px !important;
	padding-left: 14px !important;
	color: var(--text-body) !important;
	font-family: var(--mgw-font) !important;
	font-size: 13.5px;
}
.select2-container--default .select2-selection--multiple {
	border-radius: var(--r-sm) !important;
	border: 1.5px solid var(--border-ui) !important;
	background: rgba(255, 255, 255, 0.9) !important;
}
.select2-dropdown {
	border-radius: var(--r-md) !important;
	border: 1px solid rgba(210, 225, 245, 0.7) !important;
	background: rgba(255, 255, 255, 0.97) !important;
	backdrop-filter: var(--glass-blur) !important;
	box-shadow: var(--shadow-lg) !important;
}
.select2-results__option {
	font-family: var(--mgw-font) !important;
	font-size: 13.5px;
}
.select2-results__option--highlighted {
	background: var(--accent-light) !important;
	color: var(--accent) !important;
}

/* Bootstrap-tagsinput */
.bootstrap-tagsinput {
	border-radius: var(--r-sm) !important;
	border: 1.5px solid var(--border-ui) !important;
	background: rgba(255, 255, 255, 0.9) !important;
	box-shadow: none !important;
	min-height: 40px;
	padding: 4px 8px !important;
}

/* ============================================================
   TABLES
   ============================================================ */
.table {
	font-family: var(--mgw-font) !important;
}
table.panel,
table.widget {
	border-radius: inherit;
	overflow: clip;
	border-collapse: separate;
	padding: 0 !important;
}

.table > thead > tr > th {
	background: rgba(226, 236, 252, 0.55) !important;
	color: var(--text-soft);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-bottom: 2px solid rgba(200, 218, 240, 0.6) !important;
	border-top: none !important;
	padding: 12px 14px !important;
}
.table > tbody > tr > td {
	padding: 11px 14px !important;
	color: var(--text-body);
	border-top: 1px solid rgba(210, 225, 245, 0.45) !important;
	font-size: 13.5px;
	/* vertical-align intentionally NOT set — keep Bootstrap default per-table */
}
.table-hover > tbody > tr:hover > td {
	background: rgba(24, 138, 226, 0.04) !important;
}
.table-striped > tbody > tr:nth-of-type(odd) {
	background: rgba(226, 236, 252, 0.8) !important;
}
.panel .table td,
.panel .table th {
	border-bottom: 1px solid rgba(210, 225, 245, 0.45) !important;
	padding: 11px 14px !important;
}
.panel-custom {
	padding: 14px !important;
}

div.dataTables_wrapper div.dataTables_length select,
div.dataTables_wrapper div.dataTables_filter input {
	border-radius: var(--r-sm) !important;
	border: 1.5px solid var(--border-ui) !important;
	background: rgba(255, 255, 255, 0.9) !important;
}

/* ============================================================
   DROPDOWN MENUS
   ============================================================ */
.dropdown-menu {
	border-radius: var(--r-md) !important;
	border: 1px solid rgba(210, 225, 245, 0.6) !important;
	background: rgba(255, 255, 255, 0.4) !important;
	backdrop-filter: var(--glass-blur) !important;
	-webkit-backdrop-filter: var(--glass-blur) !important;
	box-shadow: var(--shadow-lg) !important;
	padding: 6px !important;
}
.dropdown-menu > li > a {
	border-radius: var(--r-xs) !important;
	padding: 8px 14px !important;
	font-size: 13.5px;
	color: var(--text-body) !important;
	font-weight: 500;
	transition: var(--tx);
	font-family: var(--mgw-font) !important;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
	background: var(--accent-light) !important;
	color: var(--accent) !important;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover {
	background: var(--accent-light) !important;
	color: var(--accent) !important;
}
.dropdown-menu .divider {
	background: rgba(210, 225, 245, 0.55) !important;
	margin: 4px 0 !important;
}
.dropdown-header {
	color: var(--text-hint) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 6px 14px !important;
	font-family: var(--mgw-font) !important;
}

/* ============================================================
   BADGES & LABELS
   ============================================================ */
.badge {
	border-radius: var(--r-pill) !important;
	font-size: 10.5px !important;
	font-weight: 600 !important;
	padding: 3px 9px !important;
}
.label {
	border-radius: var(--r-xs) !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	padding: 3px 8px !important;
}

.label-primary {
	background: linear-gradient(130deg, #1c92ea, #1470d0) !important;
	color: #fff !important;
}
.label-success {
	background: linear-gradient(130deg, #14dc76, #0ec066) !important;
	color: #fff !important;
}
.label-warning {
	background: linear-gradient(130deg, #fdd060, #f2bc22) !important;
	color: #5a3800 !important;
}
.label-danger {
	background: linear-gradient(130deg, #ff6868, #f23232) !important;
	color: #fff !important;
}
.label-info {
	background: linear-gradient(130deg, #40c4ec, #20aad8) !important;
	color: #fff !important;
}
.label-pink {
	background: linear-gradient(130deg, #ff96d4, #f06ec0) !important;
	color: #fff !important;
}
.label-purple {
	background: linear-gradient(130deg, #6878cc, #4e5cb6) !important;
	color: #fff !important;
}
.label-default {
	background: rgba(175, 190, 215, 0.82) !important;
	color: var(--text-body) !important;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
	border-radius: var(--r-md) !important;
	border-left-width: 4px !important;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	backdrop-filter: blur(8px);
	box-shadow: var(--shadow-xs) !important;
	font-size: 13.5px;
	font-family: var(--mgw-font) !important;
	padding: 13px 18px !important;
}
.alert-success {
	background: rgba(215, 248, 232, 0.85) !important;
	border-color: #10c469 !important;
	color: #074d28 !important;
}
.alert-info {
	background: rgba(212, 240, 252, 0.85) !important;
	border-color: #35b8e0 !important;
	color: #0d5e7a !important;
}
.alert-warning {
	background: rgba(255, 248, 215, 0.85) !important;
	border-color: #f9c851 !important;
	color: #6e4600 !important;
}
.alert-danger {
	background: rgba(255, 228, 228, 0.85) !important;
	border-color: #ff5b5b !important;
	color: #720000 !important;
}

/* ============================================================
   TABS
   ============================================================ */
.nav-tabs {
	border-bottom: 2px solid rgba(210, 225, 245, 0.5) !important;
}
.nav-tabs > li > a {
	border-radius: var(--r-sm) var(--r-sm) 0 0 !important;
	color: var(--text-soft) !important;
	font-weight: 500;
	font-size: 13.5px;
	padding: 12px 18px !important;
	border: none !important;
	border-bottom: 2px solid transparent !important;
	transition: var(--tx);
	font-family: var(--mgw-font) !important;
}
.nav-tabs > li > a:hover {
	background: rgba(24, 138, 226, 0.05) !important;
	color: var(--accent) !important;
	border-bottom-color: rgba(24, 138, 226, 0.35) !important;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
	color: var(--accent) !important;
	font-weight: 600;
	border-bottom: 2px solid var(--accent) !important;
	background: transparent !important;
}

/* ============================================================
   LIST GROUPS
   ============================================================ */
.list-group-item {
	background: rgba(255, 255, 255, 0.72) !important;
	border: 1px solid rgba(210, 225, 245, 0.5) !important;
	font-size: 13.5px;
	transition: var(--tx);
	font-family: var(--mgw-font) !important;
}
.list-group-item:first-child {
	border-radius: var(--r-sm) var(--r-sm) 0 0 !important;
}
.list-group-item:last-child {
	border-radius: 0 0 var(--r-sm) var(--r-sm) !important;
}
a.list-group-item:hover,
button.list-group-item:hover {
	background: rgba(24, 138, 226, 0.05) !important;
	color: var(--accent) !important;
}
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
	background: linear-gradient(130deg, #1c92ea, #1470d0) !important;
	border-color: transparent !important;
	color: #fff !important;
}

/* ============================================================
   PROGRESS
   ============================================================ */
.progress {
	border-radius: var(--r-pill) !important;
	background: rgba(210, 225, 245, 0.45) !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06) !important;
	overflow: visible;
}
.progress-bar {
	border-radius: var(--r-pill) !important;
	background: linear-gradient(90deg, #1c92ea, #1470d0) !important;
	box-shadow: 0 2px 6px rgba(20, 112, 208, 0.35) !important;
}
.progress-bar-success {
	background: linear-gradient(90deg, #14dc76, #0ec066) !important;
	box-shadow: 0 2px 6px rgba(16, 196, 105, 0.35) !important;
}
.progress-bar-warning {
	background: linear-gradient(90deg, #fdd060, #f2bc22) !important;
	box-shadow: 0 2px 6px rgba(242, 188, 34, 0.35) !important;
}
.progress-bar-danger {
	background: linear-gradient(90deg, #ff6868, #f23232) !important;
	box-shadow: 0 2px 6px rgba(255, 91, 91, 0.35) !important;
}
.progress-bar-info {
	background: linear-gradient(90deg, #40c4ec, #20aad8) !important;
	box-shadow: 0 2px 6px rgba(53, 184, 224, 0.35) !important;
}
.progress-bar-pink {
	background: linear-gradient(90deg, #ff96d4, #f06ec0) !important;
	box-shadow: 0 2px 6px rgba(255, 138, 204, 0.35) !important;
}
.progress-bar-purple {
	background: linear-gradient(90deg, #6878cc, #4e5cb6) !important;
	box-shadow: 0 2px 6px rgba(91, 105, 188, 0.35) !important;
}
.progress-xs {
	height: 6px !important;
}
.progress-sm {
	height: 8px !important;
}
.progress-md {
	height: 12px !important;
}
.progress-lg {
	height: 20px !important;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination > li > a,
.pagination > li > span {
	border-color: rgba(210, 225, 245, 0.7) !important;
	color: var(--accent) !important;
	font-weight: 500;
	font-size: 13px;
	transition: var(--tx);
	font-family: var(--mgw-font) !important;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
	border-radius: var(--r-sm) 0 0 var(--r-sm) !important;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
	border-radius: 0 var(--r-sm) var(--r-sm) 0 !important;
}
.pagination > li > a:hover {
	background: var(--accent-light) !important;
	border-color: var(--accent) !important;
}
.pagination > .active > a,
.pagination > .active > span {
	background: linear-gradient(130deg, #1c92ea, #1470d0) !important;
	border-color: #1470d0 !important;
	color: #fff !important;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
	background: rgba(255, 255, 255, 0.65) !important;
	backdrop-filter: blur(10px) !important;
	border-radius: var(--r-pill) !important;
	border: 1px solid rgba(210, 225, 245, 0.55) !important;
	padding: 8px 18px !important;
	font-size: 12.5px;
	box-shadow: var(--shadow-xs) !important;
	font-family: var(--mgw-font) !important;
}
.breadcrumb > .active {
	color: var(--text-soft) !important;
	font-weight: 500;
}

/* ============================================================
   TOOLTIPS & POPOVERS
   ============================================================ */
.tooltip-inner {
	background: rgba(17, 24, 39, 0.94) !important;
	border-radius: var(--r-xs) !important;
	font-family: var(--mgw-font) !important;
	font-size: 12px;
	padding: 5px 10px !important;
	color: #f9fafb !important;
}
.popover {
	border-radius: var(--r-md) !important;
	border: 1px solid rgba(210, 225, 245, 0.6) !important;
	background: rgba(255, 255, 255, 0.97) !important;
	backdrop-filter: var(--glass-blur) !important;
	-webkit-backdrop-filter: var(--glass-blur) !important;
	box-shadow: var(--shadow-lg) !important;
	font-family: var(--mgw-font) !important;
}
.popover-title {
	border-radius: var(--r-md) var(--r-md) 0 0 !important;
	background: rgba(230, 238, 252, 0.8) !important;
	font-weight: 600;
	font-size: 13px;
	color: var(--text-h);
	border-bottom: 1px solid rgba(210, 225, 245, 0.5) !important;
	padding: 9px 14px !important;
}
.popover-content {
	font-size: 13px;
	color: var(--text-body);
	padding: 10px 14px !important;
}

/* ============================================================
   CODE — inline ONLY; Prism.js handles <pre><code> entirely
   ============================================================ */
:not(pre) > code {
	border-radius: var(--r-xs) !important;
	background: rgba(232, 248, 255, 0.9) !important;
	border: 1px solid rgba(53, 184, 224, 0.25) !important;
	color: #0e587a !important;
	font-size: 12.5px;
	padding: 2px 7px !important;
}
/* pre left completely untouched */

/* ============================================================
   THUMBNAILS / WELL / MISC SURFACES
   ============================================================ */
.thumbnail {
	border-radius: var(--r-md) !important;
	border: 1px solid var(--border-card) !important;
	background: var(--bg-card) !important;
	backdrop-filter: var(--glass-blur) !important;
	box-shadow: var(--shadow-card) !important;
	transition: box-shadow 0.22s ease;
}
.thumbnail:hover {
	box-shadow: var(--shadow-md) !important;
}

.well {
	background: rgba(240, 246, 255, 0.72) !important;
	border: 1px solid rgba(210, 225, 245, 0.55) !important;
	border-radius: var(--r-md) !important;
	box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.04) !important;
}

.img-thumbnail {
	border-radius: var(--r-md) !important;
	background: var(--bg-card) !important;
	border: 1px solid var(--border-card) !important;
}

/* ============================================================
   SIDE PANEL / CUSTOMIZER / SEARCH
   ============================================================ */
.side-panel {
	background: rgba(255, 255, 255, 0.94) !important;
	backdrop-filter: var(--glass-blur) !important;
	-webkit-backdrop-filter: var(--glass-blur) !important;
	border-left: 1px solid rgba(210, 225, 245, 0.55) !important;
	box-shadow: -6px 0 40px rgba(18, 50, 110, 0.12) !important;
}
.side-panel .panel-header {
	background: rgba(242, 247, 255, 0.8) !important;
	border-bottom: 1px solid rgba(210, 225, 245, 0.5) !important;
}

.app-customizer {
	border-radius: var(--r-md) 0 0 var(--r-md) !important;
	border: 1px solid rgba(210, 225, 245, 0.6) !important;
	background: rgba(255, 255, 255, 0.97) !important;
	backdrop-filter: var(--glass-blur) !important;
	box-shadow: var(--shadow-lg) !important;
}

.navbar-search {
	background: rgba(255, 255, 255, 0.97) !important;
	backdrop-filter: blur(18px) saturate(180%) !important;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1) !important;
}

/* ============================================================
   MAIL / CALENDAR
   ============================================================ */
.mail-item {
	border-radius: var(--r-md) !important;
	background: rgba(255, 255, 255, 0.8) !important;
	backdrop-filter: blur(8px) !important;
	border: 1px solid rgba(210, 225, 245, 0.5) !important;
	box-shadow: var(--shadow-xs) !important;
	margin-bottom: 10px;
	transition: box-shadow 0.22s ease;
}
.mail-item:hover {
	box-shadow: var(--shadow-md) !important;
}

#fullcalendar,
.fullcalendar {
	background: var(--bg-card) !important;
	backdrop-filter: var(--glass-blur) !important;
	border-radius: var(--r-md) !important;
	border: 1px solid var(--border-card) !important;
	box-shadow: var(--shadow-card) !important;
}
.fc th.fc-day-header {
	background: rgba(228, 238, 252, 0.55) !important;
	border-color: rgba(255, 255, 255, 0.8) !important;
}

/* ============================================================
   CHECKBOXES / RADIOS
   ============================================================ */
.checkbox label::before,
.radio label::before {
	border-color: rgba(180, 200, 228, 0.85) !important;
	transition: var(--tx);
}
.checkbox-primary input[type="checkbox"]:checked + label::before,
.checkbox-primary input[type="radio"]:checked + label::before {
	background: var(--accent) !important;
	border-color: var(--accent) !important;
}
.checkbox-success input[type="checkbox"]:checked + label::before {
	background: #10c469 !important;
	border-color: #10c469 !important;
}
.checkbox-danger input[type="checkbox"]:checked + label::before {
	background: #ff5b5b !important;
	border-color: #ff5b5b !important;
}
.checkbox-warning input[type="checkbox"]:checked + label::before {
	background: #f9c851 !important;
	border-color: #f9c851 !important;
}
.checkbox-info input[type="checkbox"]:checked + label::before {
	background: #35b8e0 !important;
	border-color: #35b8e0 !important;
}

/* ============================================================
   APP FOOTER
   ============================================================ */
.app-footer {
	border-top: 1px solid rgba(210, 225, 245, 0.55) !important;
	background: rgba(240, 246, 255, 0.6) !important;
	backdrop-filter: blur(10px) !important;
}
.app-footer .copyright {
	color: var(--text-hint) !important;
}
.app-footer ul > li > a {
	color: var(--text-hint) !important;
}
.app-footer ul > li > a:hover {
	color: var(--accent) !important;
}

/* ============================================================
   SCROLLBARS
   ============================================================ */
::-webkit-scrollbar {
	width: 5px;
	height: 5px;
}
::-webkit-scrollbar-track {
	background: rgba(210, 225, 245, 0.3);
	border-radius: 10px;
}
::-webkit-scrollbar-thumb {
	background: rgba(140, 170, 210, 0.45);
	border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
	background: rgba(100, 140, 200, 0.65);
}

/* ============================================================
   MISC
   ============================================================ */
.close {
	font-weight: 300;
	font-size: 24px;
	opacity: 0.42;
	transition: var(--tx);
}
.close:hover {
	opacity: 0.75;
}
.page-header {
	border-bottom: 2px solid rgba(210, 225, 245, 0.55) !important;
	margin-bottom: 20px;
}
.avatar img {
	border-radius: 10px;
}
.avatar-circle img {
	border-radius: 50% !important;
}
.nav-pills > li > a {
	border-radius: var(--r-sm) !important;
	color: var(--text-soft);
	font-weight: 500;
	font-family: var(--mgw-font) !important;
	transition: var(--tx);
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover {
	background: linear-gradient(130deg, #1c92ea, #1470d0) !important;
	color: #fff !important;
}
/* ============================================================
   AQUAMORPHIC BREADCRUMBS — LIGHT MODE
   ------------------------------------------------------------
   Geometry: each <li> is shaped via clip-path into a chevron.
   Home: flat left, arrow right.
   Middle: notch left, arrow right.
   Last: notch left, flat right.
   Hover/active highlights the entire shape (arrow included)
   because the arrow IS the li, not a pseudo-element overlay.
   ============================================================ */

/* Tune these together. ARROW = horizontal depth of the point/notch. */
:root {
	--bc-arrow: 14px;
	--bc-height: 38px;
	--bc-radius: 12px;
	--bc-overlap: 14px; /* must equal --bc-arrow for seamless joins */
}

#breadcrumbs-one {
	display: flex;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 6px;
	list-style: none;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;

	/* Frosted container */
	border-radius: 0 0 14px 14px;
	border: 1px solid rgba(255, 255, 255, 0.75);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(235, 245, 250, 0.45));
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	box-shadow:
		0 10px 30px rgba(40, 90, 120, 0.12),
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 -1px 0 rgba(180, 210, 225, 0.25) inset;
}

#breadcrumbs-one li {
	position: relative;
	list-style: none;
	display: flex;
}

/* Overlap each non-first li onto its neighbour so the previous arrow
   tucks into this li's left notch with no seam. */
#breadcrumbs-one li + li {
	margin-left: calc(var(--bc-overlap) * -1);
}

/* Raise the hovered/active segment so its arrow sits ON TOP of the next
   segment's notch — this is what makes hover highlight the full shape. */
#breadcrumbs-one li {
	z-index: 1;
}
#breadcrumbs-one li:hover,
#breadcrumbs-one li:has(.current) {
	z-index: 5;
}
/* Last item should never lift — keeps stacking consistent on the right. */
#breadcrumbs-one li:last-child {
	z-index: 2;
}

#breadcrumbs-one a {
	position: relative;
	display: flex;
	align-items: center;
	height: var(--bc-height);
	line-height: 1;
	padding: 0 calc(var(--bc-arrow) + 14px) 0 calc(var(--bc-arrow) + 12px);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	color: rgba(20, 40, 55, 0.82);

	/* Glassy fill with a subtle vertical sheen — the "water" feel */
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(225, 240, 248, 0.48) 50%, rgba(200, 225, 240, 0.42) 100%);
	backdrop-filter: blur(10px) saturate(130%);
	-webkit-backdrop-filter: blur(10px) saturate(130%);

	/* Soft inset rim — top highlight + bottom shadow = wet glass */
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		inset 0 -1px 0 rgba(150, 185, 205, 0.28),
		inset 1px 0 0 rgba(255, 255, 255, 0.5);

	transition:
		background 0.22s ease,
		color 0.22s ease,
		box-shadow 0.22s ease,
		filter 0.22s ease;
}

/* ------------------------------------------------------------
   CLIP-PATH CHEVRONS
   The clip-path follows the OUTSIDE of the shape clockwise from
   top-left. We use calc() against --bc-arrow so geometry stays
   in sync if you retune sizes.
   ------------------------------------------------------------ */

/* Default (middle items): notch on left, arrow on right */
#breadcrumbs-one li a {
	clip-path: polygon(0 0, calc(100% - var(--bc-arrow)) 0, 100% 50%, calc(100% - var(--bc-arrow)) 100%, 0 100%, var(--bc-arrow) 50%);
}

/* First item (Home): flat left edge, arrow right */
#breadcrumbs-one li:first-child a {
	clip-path: polygon(0 0, calc(100% - var(--bc-arrow)) 0, 100% 50%, calc(100% - var(--bc-arrow)) 100%, 0 100%);
	border-radius: var(--bc-radius) 0 0 var(--bc-radius);
}

/* Last item: notch left, flat right edge */
#breadcrumbs-one li:last-child a {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--bc-arrow) 50%);
	padding-right: 16px;
	border-radius: 0 var(--bc-radius) var(--bc-radius) 0;
}

/* Single-item (defensive): flat both ends */
#breadcrumbs-one li:first-child:last-child a {
	clip-path: none;
	border-radius: var(--bc-radius);
}

/* ------------------------------------------------------------
   HOVER — the whole li (arrow included) brightens because the
   arrow is part of the clipped <a>, not a separate pseudo.
   ------------------------------------------------------------ */
#breadcrumbs-one li:hover > a {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(220, 240, 250, 0.78) 50%, rgba(195, 225, 240, 0.7) 100%);
	color: rgba(0, 30, 50, 0.95);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 1),
		inset 0 -1px 0 rgba(120, 170, 200, 0.35),
		inset 1px 0 0 rgba(255, 255, 255, 0.7);
}

/* Icon (Home FontAwesome) */
#breadcrumbs-one a > i,
#breadcrumbs-one a > .fa {
	font-size: 14px;
	line-height: 1;
}

/* ------------------------------------------------------------
   CURRENT / ACTIVE — aqua tint
   ------------------------------------------------------------ */
#breadcrumbs-one .current,
#breadcrumbs-one .current:hover,
#breadcrumbs-one li:hover > a.current {
	color: rgba(8, 50, 75, 0.98);
	background: linear-gradient(180deg, rgba(150, 225, 245, 0.85) 0%, rgba(95, 195, 230, 0.7) 50%, rgba(70, 175, 215, 0.65) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		inset 0 -1px 0 rgba(35, 130, 170, 0.4),
		inset 1px 0 0 rgba(255, 255, 255, 0.55),
		0 0 0 1px rgba(70, 180, 215, 0.25);
	font-weight: 700;
}

/* Focus ring for keyboard users — clip-path eats outlines so we
   simulate one with an inner shadow. */
#breadcrumbs-one a:focus-visible {
	outline: none;
	box-shadow:
		inset 0 0 0 2px rgba(40, 160, 200, 0.7),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.disabledBox {
	position: relative;
	cursor: not-allowed;
}

/* glass overlay */
.disabledBox::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 50;

	/* lighter overlay */
	background: rgba(255, 255, 255, 0.18);

	/* reduced blur */
	backdrop-filter: blur(4px) saturate(120%);
	-webkit-backdrop-filter: blur(4px) saturate(120%);

	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: inherit;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		inset 0 -1px 0 rgba(0, 0, 0, 0.06);

	pointer-events: all;
	cursor: not-allowed;
}

/* message badge */
.disabledBox[data-disabled-msg]:not([data-disabled-msg=""])::after {
	content: attr(data-disabled-msg);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 60;

	padding: 12px 22px;
	text-align: center;
	font-weight: 600;
	color: rgba(20, 20, 20, 0.85);

	/* glassy badge instead of solid white */
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);

	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.35);

	box-shadow:
		0 10px 25px rgba(0, 0, 0, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
pre {
	border: none !important;
	backdrop-filter: var(--glass-blur) !important;
	color: var(--text-body);
}
.smpp-card {
	background: none !important;
	border: none !important;
}
.smpp-card p {
	color: var(--text-body) !important;
}
.smpp-card .table > thead > tr > th {
	background: none !important;
	border: none !important;
	color: var(--text-body) !important;
}
.smpp-card .table > tbody > tr > td {
	background: none !important;
	border: none !important;
	color: var(--text-body) !important;
}
.val-pill {
	background: rgba(0, 0, 0, 0.04) !important;
	color: var(--text-body) !important;
}
.accounts-panel {
	background: none !important;
}
.accounts-panel-body .table > thead > tr > th {
	background: rgba(226, 236, 252, 0.55) !important;
	color: var(--text-soft) !important;
}
.accounts-panel-body .table > tbody > tr > td {
	color: var(--text-body) !important;
	border-top: 1px solid rgba(210, 225, 245, 0.45) !important;
}
.dp-classic {
	border-radius: 100px !important;
}
.mgw-ls-panel {
	background: rgba(255, 255, 255, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.7);
	box-shadow:
		0 20px 50px rgba(18, 50, 110, 0.18),
		0 4px 12px rgba(18, 50, 110, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.mgw-ls-panel::before {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, transparent 30%) !important;
}
.mgw-ls-panel-header {
	border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
.mgw-ls-search {
	background: rgba(255, 255, 255, 0.6) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}
.mgw-ls-list::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.18) !important;
}
.mgw-ls-item:hover {
	background: rgba(255, 255, 255, 0.55) !important;
}
.mgw-ls-item.is-selected {
	background: rgba(24, 138, 226, 0.14) !important;
}
.mgw-ls-loader {
	background: rgba(8, 20, 36, 0.32) !important;
}
.mgw-ls-loader-card {
	background: linear-gradient(to bottom, #b5c9dd 0%, #b6cbe0 5%, #fff 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.7) !important;
	box-shadow:
		0 24px 60px rgba(18, 50, 110, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}
.mgw-ls-loader-globe .night-sky {
	display: none;
}
.mgw-ls-loader-globe .sky-stop-from {
	stop-color: #cbe5fa;
	stop-opacity: 1;
}
.mgw-ls-loader-globe .sky-stop-to {
	stop-color: #cbe5fa;
	stop-opacity: 0;
}
.mgw-ls-loader-globe .sun {
	fill: var(--sky-sun);
}
.mgw-ls-loader-globe .sun-ring {
	fill: none;
	stroke: var(--sky-sun);
	stroke-width: 1.5;
	opacity: 0.45;
}
.mgw-ls-loader-globe .cloud {
	opacity: 0.85;
}
.mgw-ls-loader-globe .day-cloud {
	fill: var(--sky-cloud);
}
.mgw-ls-loader-globe .day-cloud {
	fill: #ffffff;
}
.panel-noblur {
	background: rgba(255, 255, 255, 0.94) !important;
}
/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 767px) {
	.navbar-inverse .navbar-collapse {
		background: rgba(255, 255, 255, 0.98) !important;
		backdrop-filter: var(--glass-blur) !important;
		border-top: 1px solid rgba(210, 225, 245, 0.5) !important;
	}
	.navbar-toolbar > li > a {
		color: var(--text-soft) !important;
	}
	.panel:hover,
	.widget:hover,
	.box:hover,
	.mail-item:hover {
		box-shadow: var(--shadow-card) !important;
	}
}
