:root {
  --gmao-primary: #0f766e;
  --gmao-primary-dark: #115e59;
  --gmao-primary-soft: #ccfbf1;
	--gmao-primary-rgb: 15, 118, 110;
  --gmao-navy: #172033;
  --gmao-navy-light: #23304a;
  --gmao-bg: #f4f7fb;
  --gmao-surface: #ffffff;
  --gmao-border: #e2e8f0;
  --gmao-text: #1e293b;
  --gmao-muted: #64748b;
  --gmao-success: #16a34a;
  --gmao-warning: #d97706;
  --gmao-danger: #dc2626;
  --gmao-info: #2563eb;
  --gmao-radius: 12px;
  --gmao-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Identité chromatique des modules — mêmes couleurs que le portail d'accueil */
body.module-equipment-theme {
	--gmao-primary: #d97706;
	--gmao-primary-dark: #b45309;
	--gmao-primary-soft: #fef3c7;
	--gmao-primary-rgb: 217, 119, 6;
}
body.module-maintenance-theme {
	--gmao-primary: #dc2626;
	--gmao-primary-dark: #b91c1c;
	--gmao-primary-soft: #fee2e2;
	--gmao-primary-rgb: 220, 38, 38;
}
body.module-fleet-theme {
	--gmao-primary: #2563eb;
	--gmao-primary-dark: #1d4ed8;
	--gmao-primary-soft: #dbeafe;
	--gmao-primary-rgb: 37, 99, 235;
}
body.module-users-theme {
	--gmao-primary: #475569;
	--gmao-primary-dark: #334155;
	--gmao-primary-soft: #e2e8f0;
	--gmao-primary-rgb: 71, 85, 105;
}
body.module-transversal-theme {
	--gmao-primary: #0f766e;
	--gmao-primary-dark: #115e59;
	--gmao-primary-soft: #ccfbf1;
	--gmao-primary-rgb: 15, 118, 110;
}
body.module-theme div.navbar-form.navbar-left::before {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--gmao-primary-soft);
	color: var(--gmao-primary-dark);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .05em;
	text-transform: uppercase;
}
body.module-equipment-theme div.navbar-form.navbar-left::before { content: "Module Équipements"; }
body.module-maintenance-theme div.navbar-form.navbar-left::before { content: "Module Maintenances"; }
body.module-fleet-theme div.navbar-form.navbar-left::before { content: "Module Parc automobile"; }
body.module-users-theme div.navbar-form.navbar-left::before { content: "Module Utilisateurs"; }
body.module-transversal-theme div.navbar-form.navbar-left::before { content: "Espace personnel"; }

body {
  background: var(--gmao-bg);
  color: var(--gmao-text);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Navigation commune */
.navbar.navbar-default.navbar-fixed-top {
  background: var(--gmao-surface) !important;
  border: 0;
  box-shadow: 0 1px 0 var(--gmao-border), 0 5px 18px rgba(15, 23, 42, .04);
}

.navbar .brand {
  background: var(--gmao-navy) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

body.module-theme .navbar .brand {
	background: #fff !important;
	border-right: 1px solid var(--gmao-border);
	border-bottom: 0;
}
body.module-theme .navbar.navbar-default.navbar-fixed-top {
	border-top: 0 !important;
	border-bottom: 3px solid var(--gmao-primary) !important;
	background: #fff !important;
}
body.module-theme .navbar > .container-fluid {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	min-width: 0;
}
body.module-theme .navbar .navbar-btn,
body.module-theme .navbar div.navbar-form.navbar-left,
body.module-theme .navbar form.navbar-form.navbar-left,
body.module-theme .navbar #navbar-menu { float: none; flex: 0 0 auto; }
body.module-theme .navbar div.navbar-form.navbar-left,
body.module-theme .navbar form.navbar-form.navbar-left { margin-top: 0; margin-bottom: 0; }
body.module-theme .navbar #navbar-menu { min-width: 0; margin-left: auto; }
body.module-theme .navbar #navbar-menu > .navbar-nav { display: flex; align-items: center; flex-wrap: nowrap; float: none !important; margin: 0; }
body.module-theme .navbar #navbar-menu > .navbar-nav > li { float: none; flex: 0 0 auto; }
body.module-theme .navbar #navbar-menu > .navbar-nav > li > a { white-space: nowrap; }
body.module-theme .navbar form.navbar-form .input-group { display: flex; align-items: center; white-space: nowrap; }
body.module-theme .navbar form.navbar-form select.form-control { width: 160px !important; }
body.module-theme .navbar form.navbar-form .input-group-btn { width: auto; }
body.module-theme .navbar .profile-switch-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	height: 34px; margin-left: 8px !important; padding: 0 13px !important;
	border: 1px solid var(--gmao-primary) !important; border-radius: 9px !important;
	background: #fff !important; box-shadow: none !important;
	color: var(--gmao-primary) !important; font-size: 12px; font-weight: 700; line-height: 1;
}
body.module-theme .navbar .profile-switch-button:hover,
body.module-theme .navbar .profile-switch-button:focus {
	background: var(--gmao-primary) !important; color: #fff !important; transform: translateY(-1px);
}
body.module-theme .navbar .profile-switch-button i { font-size: 12px; }

/* Mega menu - liste des modules */
body.module-theme .navbar .mega-dropdown { position: static; }
body.module-theme .navbar .mega-dropdown > a {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	font-weight: 700;
}
body.module-theme .navbar .mega-dropdown-menu {
	right: 18px;
	left: auto;
	width: min(680px, calc(100vw - 36px));
	margin-top: 8px !important;
	padding: 0 !important;
	overflow: hidden;
	border: 1px solid var(--gmao-border) !important;
	border-radius: 16px !important;
	background: #fff !important;
	box-shadow: 0 20px 48px rgba(15, 23, 42, .16) !important;
}
body.module-theme .navbar .mega-dropdown-menu::before {
	display: block;
	padding: 18px 20px 4px;
	color: var(--gmao-text);
	content: "Accéder à un module";
	font-size: 16px;
	font-weight: 800;
}
body.module-theme .navbar .mega-dropdown-menu::after {
	display: block;
	position: absolute;
	top: 45px;
	left: 20px;
	color: var(--gmao-muted);
	content: "Sélectionnez votre espace de travail";
	font-size: 11px;
}
body.module-theme .navbar .mega-dropdown-menu > .container-fluid { padding: 40px 20px 20px; }
body.module-theme .navbar .mega-dropdown-menu .nav-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
}
body.module-theme .navbar .mega-dropdown-menu .nav-list > li {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #64748b;
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	text-align: left;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.module-theme .navbar .mega-dropdown-menu .nav-list > li:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
}
body.module-theme .navbar .mega-dropdown-menu .nav-list > li.btn-warning { border-left-color: #d97706; }
body.module-theme .navbar .mega-dropdown-menu .nav-list > li.btn-danger { border-left-color: #dc2626; }
body.module-theme .navbar .mega-dropdown-menu .nav-list > li.btn-blue { border-left-color: #2563eb; }
body.module-theme .navbar .mega-dropdown-menu .nav-list > li.btn-dark { border-left-color: #475569; }
body.module-theme .navbar .mega-dropdown-menu .nav-list > li > a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 66px;
	padding: 12px 14px;
	color: #1e293b !important;
	text-decoration: none;
}
body.module-theme .navbar .mega-dropdown-menu .nav-list > li > a i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #f1f5f9;
	color: #64748b;
	font-size: 18px;
}
body.module-theme .navbar .mega-dropdown-menu .nav-list > li.btn-warning > a i { background: #fff7ed; color: #d97706; }
body.module-theme .navbar .mega-dropdown-menu .nav-list > li.btn-danger > a i { background: #fef2f2; color: #dc2626; }
body.module-theme .navbar .mega-dropdown-menu .nav-list > li.btn-blue > a i { background: #eff6ff; color: #2563eb; }
body.module-theme .navbar .mega-dropdown-menu .nav-list > li.btn-dark > a i { background: #f1f5f9; color: #475569; }
body.module-theme .navbar .mega-dropdown-menu .nav-list > li > a span {
	white-space: normal;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.3;
}
body.module-theme .navbar .navbar-right .dropdown-toggle > span:not(.badge) { display: inline-block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; }

@media (max-width: 1199px) {
	body.module-theme div.navbar-form.navbar-left::before { display: none; }
	body.module-theme .navbar form.navbar-form select.form-control { width: 135px !important; }
	body.module-theme .navbar form.navbar-form .btn { padding-right: 9px; padding-left: 9px; font-size: 11px; }
	body.module-theme .navbar .profile-switch-button span { display: none; }
	body.module-theme .navbar .profile-switch-button { width: 34px; padding: 0 !important; }
	body.module-theme .navbar .mega-dropdown-menu { right: 10px; width: calc(100vw - 20px); }
	body.module-theme .navbar .mega-dropdown-menu .nav-list { grid-template-columns: 1fr; }
	body.module-theme .navbar .mega-dropdown-menu > .container-fluid { max-height: calc(100vh - 150px); overflow-y: auto; }
}
@media (max-width: 900px) {
	body.module-theme .navbar #navbar-menu .mega-dropdown > a { width: 42px; overflow: hidden; font-size: 0; }
	body.module-theme .navbar #navbar-menu .mega-dropdown > a .lnr { font-size: 14px; }
	body.module-theme .navbar .navbar-right .dropdown-toggle > span:not(.badge) { display: none; }
}

.navbar .brand img {
  max-height: 54px;
  object-fit: contain;
}

.navbar-default .navbar-nav > li > a,
.navbar .btn-toggle-fullwidth,
.navbar .dropdown-toggle {
  color: var(--gmao-text) !important;
}

.navbar .badge {
  background: var(--gmao-danger);
}

#sidebar-nav.sidebar {
  background: var(--gmao-navy) !important;
  box-shadow: 4px 0 20px rgba(15, 23, 42, .08);
}

.sidebar .nav > li > a,
.sidebar .nav .nav > li > a {
  color: #cbd5e1 !important;
  border-left: 3px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.sidebar .nav > li > a:hover,
.sidebar .nav > li > a:focus,
.sidebar .nav > li > a.active,
.sidebar .nav > li.active > a,
.sidebar .nav .nav > li > a:hover {
  color: #fff !important;
  background: var(--gmao-navy-light) !important;
	border-left-color: var(--gmao-primary);
}

.sidebar .nav i { color: var(--gmao-primary-soft); }
body.module-theme .sidebar .nav > li > a:hover i,
body.module-theme .sidebar .nav > li > a:focus i,
body.module-theme .sidebar .nav > li > a.active i,
body.module-theme .sidebar .nav > li.active > a i { color: #fff; }
body.module-theme .sidebar .nav > li > a:hover,
body.module-theme .sidebar .nav > li > a:focus,
body.module-theme .sidebar .nav > li > a.active,
body.module-theme .sidebar .nav > li.active > a,
body.module-theme .sidebar .nav .nav > li > a:hover {
	background: var(--gmao-primary-dark) !important;
	border-left-color: var(--gmao-primary) !important;
}

/* Navigation latérale et sous-menus */
body.module-theme #sidebar-nav .sidebar-scroll { padding: 12px 10px 22px; }
body.module-theme #sidebar-nav nav > .nav > li { margin-bottom: 4px; }
body.module-theme #sidebar-nav nav > .nav > li > a {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 12px 14px;
	border: 0 !important;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 650;
}
body.module-theme #sidebar-nav nav > .nav > li > a > i:first-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	margin-right: 10px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .06);
}
body.module-theme #sidebar-nav nav > .nav > li > a > span { top: 0; flex: 1; }
body.module-theme #sidebar-nav nav > .nav > li > a .icon-submenu {
	flex: 0 0 auto;
	margin: 0 0 0 8px;
	color: #94a3b8;
}
body.module-theme #sidebar-nav nav > .nav > li > a:hover,
body.module-theme #sidebar-nav nav > .nav > li > a:focus {
	background: rgba(255, 255, 255, .07) !important;
}
body.module-theme #sidebar-nav nav > .nav > li > a.active,
body.module-theme #sidebar-nav nav > .nav > li.active > a {
	background: var(--gmao-primary-dark) !important;
	box-shadow: inset 3px 0 0 var(--gmao-primary);
}
body.module-theme #sidebar-nav .nav .collapse,
body.module-theme #sidebar-nav .nav .collapsing { margin: 5px 0 8px; }
body.module-theme #sidebar-nav .nav .nav {
	position: relative;
	margin: 0 0 0 20px;
	padding: 6px 6px 6px 14px;
	border: 1px solid rgba(148, 163, 184, .12);
	border-radius: 11px;
	background: rgba(15, 23, 42, .48) !important;
}
body.module-theme #sidebar-nav .nav .nav::before {
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: 9px;
	width: 2px;
	border-radius: 2px;
	background: var(--gmao-primary);
	content: "";
	opacity: .65;
}
body.module-theme #sidebar-nav .nav .nav > li { margin: 2px 0; }
body.module-theme #sidebar-nav .nav .nav > li > a {
	display: flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 10px 8px 16px;
	border: 0 !important;
	border-radius: 8px;
	background: transparent !important;
	color: #b8c4d4 !important;
	font-size: 12px;
	font-weight: 550;
}
body.module-theme #sidebar-nav .nav .nav > li > a i {
	margin-right: 9px;
	color: #94a3b8;
	font-size: 14px;
}
body.module-theme #sidebar-nav .nav .nav > li > a:hover,
body.module-theme #sidebar-nav .nav .nav > li > a:focus,
body.module-theme #sidebar-nav .nav .nav > li > a.active {
	background: rgba(var(--gmao-primary-rgb), .16) !important;
	color: #fff !important;
	transform: translateX(2px);
}
body.module-theme #sidebar-nav .nav .nav > li > a:hover i,
body.module-theme #sidebar-nav .nav .nav > li > a:focus i,
body.module-theme #sidebar-nav .nav .nav > li > a.active i { color: var(--gmao-primary-soft); }

/* Notifications et messagerie de la top bar */
body.module-theme .navbar .icon-menu { position: relative; }
body.module-theme .navbar .icon-menu > .lnr { font-size: 19px; }
body.module-theme .navbar .icon-menu .badge {
	display: inline-flex;
	position: absolute;
	top: 8px;
	right: 7px;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border: 2px solid #fff;
	border-radius: 10px;
	box-shadow: 0 2px 5px rgba(15, 23, 42, .18);
	font-size: 9px;
	font-weight: 800;
}
body.module-theme .navbar ul.dropdown-menu.notifications {
	right: 8px;
	left: auto;
	width: min(390px, calc(100vw - 24px));
	max-height: min(480px, calc(100vh - 100px));
	margin-top: 8px;
	padding: 8px;
	overflow-x: hidden;
	overflow-y: auto;
	border: 1px solid var(--gmao-border);
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 20px 48px rgba(15, 23, 42, .17);
}
body.module-theme .navbar ul.notifications > li {
	display: flex !important;
	align-items: center;
	gap: 6px;
	margin: 2px 0;
	border: 0;
	border-radius: 10px;
	background: #fff;
	transition: background .16s ease, transform .16s ease;
}
body.module-theme .navbar ul.notifications > li:hover { background: #f8fafc; }
body.module-theme .navbar ul.notifications > li > a.notification-item {
	display: flex;
	align-items: flex-start;
	flex: 1 1 auto;
	min-width: 0;
	padding: 11px 10px;
	border-radius: 9px;
	color: #334155 !important;
	font-size: 12px;
	line-height: 1.45;
	white-space: normal;
	word-break: break-word;
}
body.module-theme .navbar ul.notifications .notification-item .dot {
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	margin: 5px 10px 0 0;
	background: var(--gmao-primary) !important;
	box-shadow: 0 0 0 4px rgba(var(--gmao-primary-rgb), .11);
}
body.module-theme .navbar ul.notifications .notification-item .text-danger {
	color: #475569 !important;
	font-weight: 500;
}
body.module-theme .navbar ul.notifications > li > a:last-child:not(.notification-item):not(.more) {
	flex: 0 0 auto;
	margin-right: 7px;
	padding: 6px 9px !important;
	border: 1px solid rgba(var(--gmao-primary-rgb), .28);
	border-radius: 8px;
	background: rgba(var(--gmao-primary-rgb), .08);
	color: var(--gmao-primary) !important;
	font-size: 10px;
	font-weight: 800;
	text-decoration: none;
}
body.module-theme .navbar ul.notifications > li > a:last-child:not(.notification-item):not(.more):hover {
	background: var(--gmao-primary);
	color: #fff !important;
}
body.module-theme .navbar ul.notifications > li > .more {
	width: 100%;
	padding: 11px 14px;
	border-radius: 9px;
	background: #f1f5f9;
	color: var(--gmao-primary) !important;
	font-size: 11px;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}
body.module-theme .navbar ul.notifications > li > .more:hover { background: rgba(var(--gmao-primary-rgb), .10); }

/* Utilisateur connecté dans la top bar */
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child { margin-left: 5px; }
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child > .dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	margin: 6px 8px 6px 0;
	padding: 5px 9px 5px 6px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #f8fafc;
	transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child.open > .dropdown-toggle,
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child > .dropdown-toggle:hover {
	border-color: rgba(var(--gmao-primary-rgb), .35);
	background: rgba(var(--gmao-primary-rgb), .07);
	box-shadow: 0 5px 14px rgba(15, 23, 42, .07);
}
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child > .dropdown-toggle img {
	width: 32px;
	height: 32px;
	margin: 0;
	border: 2px solid #fff;
	border-radius: 10px;
	box-shadow: 0 0 0 2px rgba(var(--gmao-primary-rgb), .22);
	object-fit: cover;
}
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child > .dropdown-toggle > span {
	top: 0;
	max-width: 140px;
	color: #334155;
	font-size: 12px;
	font-weight: 750;
}
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child > .dropdown-toggle .icon-submenu {
	top: 0;
	margin: 0 0 0 2px;
	color: #94a3b8;
	font-size: 9px;
}
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child > .dropdown-menu {
	right: 8px;
	left: auto;
	min-width: 220px;
	margin-top: 7px;
	padding: 7px;
	border: 1px solid var(--gmao-border);
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
}
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child > .dropdown-menu > li > a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 9px 11px;
	border-radius: 8px;
	color: #334155;
	font-size: 12px;
	font-weight: 650;
}
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child > .dropdown-menu > li > a:hover {
	background: rgba(var(--gmao-primary-rgb), .08);
	color: var(--gmao-primary);
}
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child > .dropdown-menu > li > a i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	margin: 0;
	border-radius: 7px;
	background: #f1f5f9;
	color: var(--gmao-primary);
	font-size: 14px;
}
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child > .dropdown-menu > li:last-of-type > a { color: #b91c1c; }
body.module-theme .navbar #navbar-menu > .navbar-right > li.dropdown:last-child > .dropdown-menu > li:last-of-type > a i { background: #fef2f2; color: #dc2626; }

.main-content { padding: 28px 0 42px; }

/* Page d'erreur 403 */
.standalone-error-page { margin: 0; overflow-x: hidden; background: #f8fafc; }
.standalone-error-page .access-denied-page { min-height: 100vh; }
.access-denied-page {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 90px);
	padding: 32px 20px;
	background:
		radial-gradient(circle at 12% 18%, rgba(var(--gmao-primary-rgb), .10), transparent 30%),
		linear-gradient(145deg, #f8fafc 0%, #eef2f7 100%);
}
.access-denied-card {
	display: grid;
	grid-template-columns: minmax(250px, .8fr) minmax(320px, 1.2fr);
	width: min(820px, 100%);
	overflow: hidden;
	border: 1px solid var(--gmao-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
}
.access-denied-visual {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	overflow: hidden;
	background: linear-gradient(145deg, var(--gmao-navy), #1e293b);
}
.access-denied-visual::before,
.access-denied-visual::after {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, .10);
	border-radius: 50%;
	content: "";
}
.access-denied-visual::before { width: 260px; height: 260px; }
.access-denied-visual::after { width: 190px; height: 190px; }
.access-denied-code {
	position: absolute;
	top: 22px;
	left: 24px;
	color: rgba(255, 255, 255, .16);
	font-size: 72px;
	font-weight: 900;
	letter-spacing: -.06em;
}
.access-denied-icon {
	display: inline-flex;
	position: relative;
	z-index: 1;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 28px;
	background: rgba(var(--gmao-primary-rgb), .82);
	box-shadow: 0 20px 38px rgba(0, 0, 0, .22);
	color: #fff;
	font-size: 45px;
}
.access-denied-content { align-self: center; padding: 52px 48px; }
.access-denied-label {
	display: inline-flex;
	margin-bottom: 14px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(var(--gmao-primary-rgb), .10);
	color: var(--gmao-primary);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.access-denied-content h1 {
	margin: 0 0 14px;
	color: var(--gmao-text);
	font-size: clamp(27px, 4vw, 38px);
	font-weight: 850;
	letter-spacing: -.035em;
	line-height: 1.12;
}
.access-denied-content p {
	max-width: 460px;
	margin: 0;
	color: var(--gmao-muted);
	font-size: 14px;
	line-height: 1.7;
}
.access-denied-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.access-denied-actions .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 10px 16px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 750;
}
.access-denied-secondary { border-color: #cbd5e1 !important; background: #fff !important; color: #475569 !important; }
.access-denied-secondary:hover { border-color: #94a3b8 !important; background: #f8fafc !important; color: #1e293b !important; }
@media (max-width: 680px) {
	.access-denied-page { align-items: flex-start; padding: 18px 12px; }
	.access-denied-card { grid-template-columns: 1fr; border-radius: 17px; }
	.access-denied-visual { min-height: 180px; }
	.access-denied-code { top: 12px; left: 18px; font-size: 54px; }
	.access-denied-icon { width: 78px; height: 78px; border-radius: 22px; font-size: 34px; }
	.access-denied-content { padding: 30px 24px; }
	.access-denied-actions { flex-direction: column; }
	.access-denied-actions .btn { width: 100%; }
}

/* Surfaces */
.panel,
.card,
.modal-content {
  background: var(--gmao-surface);
  border: 1px solid var(--gmao-border);
  border-radius: var(--gmao-radius);
  box-shadow: var(--gmao-shadow);
}

.panel { overflow: hidden; }
.panel .panel-heading {
  min-height: 58px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--gmao-border);
}
.panel .panel-title {
  color: var(--gmao-text);
  font-size: 16px;
  font-weight: 700;
}
.panel .panel-body { padding: 22px; }

/* Boutons */
.btn {
  border-radius: 8px;
  font-weight: 600;
  border-width: 1px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: var(--gmao-primary);
  border-color: var(--gmao-primary);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--gmao-primary-dark);
  border-color: var(--gmao-primary-dark);
	box-shadow: 0 5px 12px rgba(var(--gmao-primary-rgb), .2);
}
.btn-success { background: var(--gmao-success); border-color: var(--gmao-success); }
.btn-danger { background: var(--gmao-danger); border-color: var(--gmao-danger); }
.btn-warning { background: var(--gmao-warning); border-color: var(--gmao-warning); color: #fff; }
.btn-info { background: var(--gmao-info); border-color: var(--gmao-info); }
.btn-default { background: #fff; border-color: var(--gmao-border); color: var(--gmao-text); }

/* Formulaires */
.form-control,
.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: none;
}
.form-control:focus,
.select2-container--focus .select2-selection {
  border-color: var(--gmao-primary) !important;
	box-shadow: 0 0 0 3px rgba(var(--gmao-primary-rgb), .12) !important;
}
label { color: #334155; font-weight: 600; }

/* Tableaux et DataTables */
.table-responsive { border: 0; }
.table { color: #334155; }
.table > thead > tr > th,
.table .header-blue > th,
.header-blue > th {
  padding: 13px 12px;
  color: #475569 !important;
  background: #f8fafc !important;
  border-bottom: 1px solid var(--gmao-border) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}
.table > tbody > tr > td {
  padding: 13px 12px;
  vertical-align: middle;
  border-top: 1px solid #eef2f7;
}
.table-striped > tbody > tr:nth-of-type(odd) { background: #fbfdff; }
.table-hover > tbody > tr:hover,
.table > tbody > tr:hover { background: var(--gmao-primary-soft); }
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 7px 10px;
}
.pagination > .active > a,
.pagination > .active > a:hover {
  background: var(--gmao-primary);
  border-color: var(--gmao-primary);
}

/* Badges utilisables dans les vues métier */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-success { color: #15803d; background: #dcfce7; }
.status-warning { color: #b45309; background: #fef3c7; }
.status-danger { color: #b91c1c; background: #fee2e2; }
.status-info { color: #1d4ed8; background: #dbeafe; }
.status-neutral { color: #475569; background: #e2e8f0; }

/* Tableau de bord */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.dashboard-eyebrow { margin: 0 0 4px; color: var(--gmao-primary); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dashboard-title { margin: 0; color: var(--gmao-text); font-size: 26px; font-weight: 750; }
.dashboard-subtitle { margin: 6px 0 0; color: var(--gmao-muted); }
.dashboard-welcome-banner { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 24px; padding: 30px 34px; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%); box-shadow: 0 18px 40px rgba(15, 23, 42, .16); }
.dashboard-welcome-content { min-width: 0; }
.dashboard-welcome-banner .dashboard-eyebrow { color: #99f6e4; }
.dashboard-welcome-banner .dashboard-title { color: #fff; font-size: 29px; }
.dashboard-welcome-banner .dashboard-subtitle { max-width: 700px; color: #cbd5e1; line-height: 1.6; }
.dashboard-welcome-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.dashboard-welcome-actions .btn-primary { border-color: #14b8a6; background: #14b8a6; }
.dashboard-welcome-actions .btn-primary:hover { border-color: #0d9488; background: #0d9488; }
.dashboard-updated { color: #cbd5e1; font-size: 12px; }
.dashboard-updated i { margin-right: 5px; color: #5eead4; }
.dashboard-availability { display: flex; flex: 0 0 205px; align-items: center; flex-direction: column; justify-content: center; min-height: 164px; padding: 18px; border: 1px solid rgba(153, 246, 228, .22); border-radius: 16px; background: rgba(255, 255, 255, .07); text-align: center; }
.dashboard-availability-value { color: #fff; font-size: 40px; font-weight: 850; line-height: 1; }
.dashboard-availability-value small { color: #5eead4; font-size: 18px; }
.dashboard-availability > span:nth-child(2) { margin-top: 9px; color: #fff; font-size: 13px; font-weight: 750; }
.dashboard-availability > small { margin-top: 5px; color: #cbd5e1; font-size: 11px; }
.metric-card {
  position: relative;
  min-height: 164px;
  margin-bottom: 24px;
  padding: 22px;
  overflow: hidden;
  background: var(--gmao-surface);
  border: 1px solid var(--gmao-border);
  border-radius: var(--gmao-radius);
  box-shadow: var(--gmao-shadow);
}
.metric-card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--metric-soft, var(--gmao-primary-soft));
}
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.metric-label { color: var(--gmao-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; }
.metric-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--metric-color, var(--gmao-primary));
  background: var(--metric-soft, var(--gmao-primary-soft));
  border-radius: 11px;
  font-size: 21px;
}
.metric-value { margin: 18px 0 7px; color: var(--gmao-text); font-size: 34px; line-height: 1; font-weight: 800; }
.metric-detail { margin: 0; color: var(--gmao-muted); font-size: 13px; }
.metric-detail strong { color: var(--metric-color, var(--gmao-primary)); }
.metric-teal { --metric-color: #0f766e; --metric-soft: #ccfbf1; }
.metric-blue { --metric-color: #2563eb; --metric-soft: #dbeafe; }
.metric-amber { --metric-color: #d97706; --metric-soft: #fef3c7; }
.metric-red { --metric-color: #dc2626; --metric-soft: #fee2e2; }
.dashboard-legacy-metrics { display: none; }
.chart-panel .panel-body { min-height: 390px; }
.dashboard-chart-panel { overflow: hidden; }
.dashboard-chart-panel > .panel-heading { padding: 18px 22px; border-bottom: 1px solid var(--gmao-border); background: linear-gradient(135deg, #f8fafc, #f0fdfa); }
.dashboard-chart-panel > .panel-heading .panel-title { margin-top: 4px; color: #0f172a; font-size: 17px; font-weight: 850; }
.dashboard-chart-eyebrow { color: var(--gmao-primary); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

/* Liste des interventions */
.intervention-page.panel-headline {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.intervention-page > .panel-heading {
  padding: 0 0 20px;
  border: 0;
}
.intervention-page > .panel-heading .panel-title {
  font-size: 24px;
  font-weight: 800;
}
.intervention-page > .panel-heading .panel-title i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  color: var(--gmao-primary);
  background: var(--gmao-primary-soft);
  border-radius: 10px;
  vertical-align: middle;
}
.intervention-page > .panel-heading .panel-subtitle {
  margin: 8px 0 0 52px;
  color: var(--gmao-muted);
}
.intervention-page > .panel-body { padding: 0; }
.intervention-filter-panel { margin-bottom: 22px; }
.intervention-filter-panel .panel-body { padding: 22px; }
.intervention-filter-panel h4 {
  margin: 0 0 18px;
  color: var(--gmao-text);
  font-size: 16px;
  font-weight: 750;
}
.intervention-filter-panel .form-control { margin-bottom: 7px; }
.intervention-list-panel .panel-heading { overflow: hidden; }
.intervention-list-panel .panel-heading form > .panel-title {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.intervention-list-panel .panel-heading form > .panel-title::before {
  content: "Liste des interventions";
  margin-right: auto;
  color: var(--gmao-text);
  font-size: 16px;
  font-weight: 750;
}
.intervention-list-panel .panel-heading form > .panel-title {
  font-size: 0;
}
.intervention-list-panel .panel-heading .btn { font-size: 13px; }
.intervention-list-panel .panel-body { padding-top: 16px; }
.intervention-list-panel table { min-width: 1120px; }
.intervention-list-panel td:first-child a {
  color: var(--gmao-primary);
  font-weight: 750;
}
.intervention-list-panel td:last-child { white-space: nowrap; }
.intervention-list-panel .dataTables_wrapper { min-width: 1080px; }
.intervention-service-page > .panel-body > .row { margin-right: 0; margin-left: 0; }
.intervention-service-page > .panel-body > .row > .col-md-12 { padding-right: 0; padding-left: 0; }
.intervention-service-list table { min-width: 1040px; }
.intervention-service-list .dataTables_wrapper { min-width: 1000px; }
.intervention-exit-page > .panel-body > .row { margin-right: 0; margin-left: 0; }
.intervention-exit-page > .panel-body > .row > .col-md-12 { padding-right: 0; padding-left: 0; }
.intervention-exit-list .panel-heading form > .panel-title::before { content: "Équipements sortis pour intervention"; }
.intervention-exit-list table { min-width: 980px; }
.intervention-exit-list .dataTables_wrapper { min-width: 940px; }
.intervention-exit-list td:first-child a { white-space: nowrap; }
.intervention-report-page > .panel-body { padding: 0; }
.intervention-report-card { max-width: 920px; margin: 0 auto; }
.intervention-report-card > .panel-heading { padding: 20px 24px; border-bottom: 1px solid var(--gmao-border); background: linear-gradient(135deg, #f8fafc, #eefaf8); }
.intervention-report-card > .panel-heading .panel-title { color: #0f172a; font-size: 18px; font-weight: 800; }
.intervention-report-context { display: flex; gap: 12px; margin-bottom: 18px; }
.intervention-report-context h4 { flex: 1; margin: 0; padding: 13px 15px; border: 1px solid var(--gmao-border); border-radius: 11px; color: #64748b; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.intervention-report-context strong { display: block; margin-top: 5px; color: #0f172a; font-size: 15px; text-transform: none; }
.intervention-report-form textarea { min-height: 120px; resize: vertical; }
.intervention-report-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--gmao-border); }
.technician-stats-page > .panel-body { padding: 0; }
.technician-stats-panel { overflow: hidden; }
.technician-stats-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px !important; border-bottom: 1px solid var(--gmao-border); }
.technician-stats-toolbar .panel-title { margin-bottom: 4px; color: #0f172a; font-size: 17px; font-weight: 800; }
.technician-stats-toolbar p { margin: 0; color: #64748b; font-size: 13px; }
.technician-stats-panel > .panel-body { padding-top: 14px; }
.technician-stats-table { width: 100% !important; min-width: 940px; }
.technician-stats-table th:not(:first-child),
.technician-stats-table td:not(:first-child) { text-align: center; }
.technician-stats-table .technician-name { color: #0f172a; font-weight: 750; text-transform: uppercase; }
.technician-stats-table .stat-positive { color: #047857; font-weight: 800; }
.technician-stats-table .stat-negative { color: #dc2626; font-weight: 800; }

/* Maintenance préventive */
.maintenance-page > .panel-body { padding: 0; }
.maintenance-summary { margin-right: -15px; margin-left: -15px; }
.maintenance-summary .work-summary-card { cursor: default; }
.maintenance-list-panel .panel-heading form > .panel-title::before { content: "Liste des maintenances préventives"; }
.maintenance-list-panel table { min-width: 1000px; }
.maintenance-list-panel .dataTables_wrapper { min-width: 970px; }
.maintenance-list-panel td:first-child a { color: var(--gmao-primary); font-weight: 750; }
.maintenance-filter-panel .form-control { margin-bottom: 7px; }
.maintenance-service-page > .panel-body > .col-md-12 { float: none; width: 100%; padding: 0; }
.maintenance-service-list table { width: 100% !important; }
.preventive-form-page > .panel-body { padding: 0; }
.preventive-form-card .modern-equipment-form > .row { grid-template-columns: 170px minmax(220px, 1fr) 170px minmax(220px, 1fr); }
.preventive-form-card textarea.form-control { min-height: 100px; }
.preventive-form-actions .btn + input.btn { margin-left: 7px; }
.maintenance-detail-page > .panel-body { padding: 0; }
.maintenance-detail-card { overflow: hidden; border: 1px solid var(--gmao-border); border-radius: 16px; }
.maintenance-detail-heading { padding: 20px 24px !important; border-bottom: 1px solid var(--gmao-border); background: linear-gradient(135deg, #f8fafc, #eefaf8); }
.maintenance-detail-heading .panel-title { color: #0f172a; font-size: 19px; font-weight: 800; }
.maintenance-detail-heading .panel-title b { color: var(--gmao-primary); }
.maintenance-detail-card > .panel-body { padding: 24px; }
.maintenance-detail-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }
.maintenance-detail-overview::before,
.maintenance-detail-overview::after { display: none; content: none; }
.maintenance-detail-block { float: none; width: auto; min-width: 0; padding: 20px !important; border: 1px solid var(--gmao-border) !important; border-radius: 13px; }
.maintenance-detail-block > span { line-height: 1.55; }
.maintenance-detail-block > span[style*="font-weight: bold"] { display: block; margin: 16px 0 9px; padding-bottom: 9px; border-bottom: 1px solid #e8eef3; color: #0f172a; font-weight: 800 !important; }
.maintenance-detail-block > span[style*="font-weight: bold"]:first-child { margin-top: 0; }
.maintenance-detail-block .float-right { max-width: 58%; overflow-wrap: anywhere; text-align: right; }
.maintenance-contract-actions-row { margin: 16px 0 0; }
.maintenance-contract-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; float: none; width: 100%; padding: 0; }
.maintenance-contract-actions .btn { margin: 0; }
.maintenance-schedule-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 12px; padding-top: 20px; border-top: 1px solid var(--gmao-border); }
.maintenance-schedule-heading .panel-title { color: #0f172a; font-size: 17px; font-weight: 800; }
.maintenance-schedule-heading span { padding: 5px 10px; border-radius: 999px; background: #e8f7f4; color: var(--gmao-primary); font-size: 12px; font-weight: 800; }
.maintenance-schedule-table table { min-width: 720px; }
.maintenance-history-card .maintenance-schedule-heading h4 { margin: 0; color: #0f172a; font-size: 17px; font-weight: 800; }
.maintenance-history-table td:last-child { white-space: nowrap; }
.maintenance-history-table .btn { margin: 2px; }
.preventive-report-page > .panel-body { padding: 0; }
.preventive-report-overview { margin-bottom: 22px; }
.preventive-report-card > .panel-heading { padding: 20px 24px; border-bottom: 1px solid var(--gmao-border); background: linear-gradient(135deg, #f8fafc, #eefaf8); }
.preventive-report-card > .panel-heading .panel-title { color: #0f172a; font-size: 18px; font-weight: 800; text-transform: none; }
.preventive-report-card > .panel-body { padding: 22px 24px; }
.preventive-report-form fieldset { margin: 0 0 18px !important; padding: 18px 20px !important; border: 1px solid var(--gmao-border) !important; border-radius: 13px; }
.preventive-report-form legend { width: auto; margin: 0 0 12px; padding: 0 8px; border: 0; background: transparent !important; color: var(--gmao-primary) !important; font-size: 14px; font-weight: 800; }
.preventive-report-form fieldset > .row { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 14px; margin: 0; }
.preventive-report-form fieldset > .row::before,
.preventive-report-form fieldset > .row::after { display: none; content: none; }
.preventive-report-form fieldset > .row > [class*="col-md-"] { float: none; width: auto; min-width: 0; margin: 0 !important; padding: 0; }
.preventive-report-form fieldset label { padding-top: 11px; color: #475569; font-size: 12px; line-height: 1.4; }
.preventive-report-form .form-control { width: 100% !important; margin-bottom: 10px !important; }
.preventive-report-form textarea.form-control { min-height: 92px; resize: vertical; }
.preventive-report-actions { padding: 14px 22px; border: 1px solid var(--gmao-border); border-radius: 0 0 14px 14px; background: #f8fafc; }
.consumable-form-page > .panel-body { padding: 0; }
.consumable-form-card { max-width: 880px; margin: 0 auto; }
.consumable-create-form > .row { grid-template-columns: 190px minmax(0, 1fr); }
.consumable-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--gmao-border); }
.consumable-request-page > .panel-body { padding: 0; }
.consumable-request-card > .panel-heading,
.consumable-requests-list-panel > .panel-heading { padding: 20px 22px; border-bottom: 1px solid var(--gmao-border); }
.consumable-request-card > .panel-heading .panel-title,
.consumable-requests-list-panel > .panel-heading .panel-title { color: #0f172a; font-size: 17px; font-weight: 800; }
.consumable-request-selector { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)) auto; align-items: end; gap: 14px; margin: 0; padding: 16px; border: 1px solid var(--gmao-border); border-radius: 12px; background: #f8fafc; }
.consumable-request-selector::before,
.consumable-request-selector::after { display: none; content: none; }
.consumable-request-selector > [class*="col-md-"] { float: none; width: auto; min-width: 0; margin: 0 !important; padding: 0; }
.consumable-request-selector label { display: block; margin-bottom: 7px; color: #475569; font-size: 12px; font-weight: 800; }
.consumable-request-selector .form-control { width: 100% !important; margin: 0; }
.consumable-request-selector .btn { width: 100%; white-space: nowrap; }
.consumable-request-action-label { color: transparent !important; user-select: none; }
.consumable-request-form-row { margin: 18px 0 0; }
.consumable-request-form-row > .col-10 { width: 100%; padding: 0; }
.consumable-request-form-row > .col-1 { display: none; }
.consumable-request-items table { min-width: 620px; }
.consumable-request-items.is-empty { display: none; }
.consumable-request-empty { margin-bottom: 18px; padding: 20px; border: 1px dashed #cbd5e1; border-radius: 12px; background: #f8fafc; color: #64748b; text-align: center; }
.consumable-request-empty i { margin-right: 7px; color: var(--gmao-primary); font-size: 18px; vertical-align: middle; }
.consumable-request-form-row textarea { min-height: 90px; resize: vertical; }
.consumable-request-submit { margin: 14px 0 0; }
.consumable-request-submit .col-md-5 { display: none; }
.consumable-request-submit .col-md-6 { float: none; width: 100%; padding: 0; text-align: right; }
.consumable-request-submit .btn[disabled] { cursor: not-allowed; opacity: .55; }
.consumable-requests-list-panel { margin-top: 22px; }
.consumable-requests-table-row { min-width: 940px; margin: 0; }
.consumable-requests-table { min-width: 940px; margin-bottom: 0; }
.consumable-requests-table > tbody > tr.accordion-toggle { cursor: pointer; }
.consumable-requests-table > tbody > tr > td { vertical-align: middle; }
.consumable-requests-table .accordian-body { overflow-x: auto; border-radius: 10px; }
.consumable-requests-table .materiel-datatable { min-width: 620px; margin: 0; }
.consumable-exits-page > .panel-body { padding: 0; }
.consumable-satisfaction-summary { margin: 0 0 20px; }
.consumable-satisfaction-summary > .col-md-12 { padding: 0; }
.consumable-rate-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--gmao-border); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(15, 23, 42, .05); }
.consumable-rate-card > i { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; font-size: 18px; }
.consumable-rate-card span { display: flex; flex-direction: column; }
.consumable-rate-card strong { color: #0f172a; font-size: 23px; line-height: 1; }
.consumable-rate-card small { margin-top: 5px; color: #64748b; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.consumable-rate-card.rate-low > i { background: #fee2e2; color: #dc2626; }
.consumable-rate-card.rate-medium > i { background: #e0f2fe; color: #0284c7; }
.consumable-rate-card.rate-high > i { background: #d1fae5; color: #047857; }
.consumable-exits-panel { overflow: hidden; }
.consumable-exits-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px !important; border-bottom: 1px solid var(--gmao-border); }
.consumable-exits-toolbar .panel-title { color: #0f172a; font-size: 17px; font-weight: 800; }
.panel .consumable-exits-toolbar > .btn-primary {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid var(--gmao-primary);
  border-radius: 8px;
  background: var(--gmao-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  opacity: 1;
  visibility: visible;
}
.panel .consumable-exits-toolbar > .btn-primary:hover,
.panel .consumable-exits-toolbar > .btn-primary:focus { border-color: #076e68; background: #076e68; color: #fff; }
.consumable-exits-panel > .panel-body { padding-top: 14px; }
.consumable-exits-table { width: 100% !important; min-width: 1040px; }
.consumable-exits-table th:nth-child(2),
.consumable-exits-table td:nth-child(2),
.consumable-exits-table th:nth-child(3),
.consumable-exits-table td:nth-child(3),
.consumable-exits-table th:nth-child(4),
.consumable-exits-table td:nth-child(4) { text-align: center; }
.consumable-processing-heading { padding: 20px 22px !important; border-bottom: 1px solid var(--gmao-border); background: linear-gradient(135deg, #f8fafc, #eefaf8); }
.consumable-processing-heading .panel-title { color: #0f172a; font-size: 19px; font-weight: 800; }
.consumable-processing-heading .panel-title b { color: var(--gmao-primary); }
.consumable-processing-page .request-processing-table { min-width: 720px; background: #fff; }
.consumable-processing-page .request-processing-table-section > span:first-child { display: block; margin: 0 0 16px; color: #0f172a; font-size: 15px; font-weight: 800 !important; }
.consumable-processing-page .request-processing-table-section > br { display: none; }
.consumable-processing-page .request-reception-section > span:first-child { grid-column: 1 / -1; color: #0f172a; font-size: 15px; font-weight: 800 !important; }
.consumable-processing-page .request-reception-section > br { display: none; }
.consumable-discharge-form > .col-md-12 { float: none; width: 100%; margin-top: 18px !important; padding: 20px !important; border: 1px solid var(--gmao-border); border-radius: 12px; background: #f8fafc; }
.consumable-discharge-form > .col-md-12 > span:first-child { display: block; margin-bottom: 14px; color: #0f172a; font-size: 15px; font-weight: 800 !important; }
.consumable-discharge-form > .col-md-12 > br { display: none; }
.consumable-discharge-form .col-md-12 { padding-right: 0; padding-left: 0; }
.consumable-discharge-form label { display: block; margin-bottom: 7px; color: #475569; font-size: 12px; font-weight: 800; }
.consumable-discharge-form .form-control { width: 100% !important; }
.fleet-reference-page.panel-headline { overflow: visible; background: transparent; border: 0; box-shadow: none; }
.fleet-reference-page > .panel-heading { padding: 0 0 20px; border: 0; }
.fleet-reference-page > .panel-heading .panel-title { color: var(--gmao-text); font-size: 24px; font-weight: 800; }
.fleet-reference-page > .panel-heading .panel-subtitle { margin: 8px 0 0 0; color: var(--gmao-muted); }
.fleet-reference-page > .panel-body { padding: 0; }
.garage-list-panel { overflow: hidden; }
.garage-list-heading { padding: 20px 22px !important; border-bottom: 1px solid var(--gmao-border); }
.garage-list-title .col-md-6 { float: none; width: 100%; padding: 0; }
.garage-list-title .panel-title { color: #0f172a; font-size: 17px; font-weight: 800; }
.garage-list-panel > .panel-body { padding-top: 14px; }
.garage-list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.garage-list-toolbar > span { color: #64748b; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.garage-list-toolbar > div { display: flex; gap: 8px; }
.panel .garage-list-toolbar .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; margin: 0; padding: 9px 15px; border-radius: 8px; }
.panel .garage-list-toolbar .btn-primary { border: 1px solid var(--gmao-primary); background: var(--gmao-primary); color: #fff; }
.garage-list-table { width: 100% !important; min-width: 980px; }
.garage-list-table td:nth-child(4),
.garage-list-table td:nth-child(5),
.garage-list-table td:nth-child(6) { max-width: 220px; overflow-wrap: anywhere; }
.garage-list-table td:last-child { white-space: nowrap; }
.supplier-list-table td:nth-child(4),
.supplier-list-table td:nth-child(5),
.supplier-list-table td:nth-child(6) { max-width: 220px; overflow-wrap: anywhere; }
.brand-list-table { width: 100% !important; min-width: 700px; }
.brand-list-table th:nth-child(2),
.brand-list-table td:nth-child(2),
.brand-list-table th:last-child,
.brand-list-table td:last-child { text-align: center; }
.brand-list-table td:first-child { color: #0f172a; font-weight: 750; }
.reference-short-form-card { max-width: 760px; margin: 0 auto; }
.reference-short-form > .row { grid-template-columns: 180px minmax(0, 1fr); }
.model-list-table { width: 100% !important; min-width: 820px; }
.model-list-table th:nth-child(3),
.model-list-table td:nth-child(3) { text-align: center; }
.model-list-table td:first-child { color: #0f172a; font-weight: 750; }
.model-list-actions { white-space: nowrap; text-align: center; }
.model-list-actions .btn { margin: 2px; }
.vehicle-create-page > .panel-body { padding: 0; }
.vehicle-create-card .modern-equipment-form > .row { grid-template-columns: 175px minmax(220px, 1fr) 175px minmax(220px, 1fr); }
.vehicle-create-card input[type="file"].form-control { min-height: 42px; }
.vehicle-create-actions .btn + input.btn { margin-left: 7px; }
.vehicle-detail-page > .panel-body { padding: 0; }
.vehicle-detail-card { overflow: hidden; }
.vehicle-detail-heading { padding: 20px 24px !important; border-bottom: 1px solid var(--gmao-border); background: linear-gradient(135deg, #f8fafc, #eefaf8); }
.vehicle-detail-heading .panel-title { color: #0f172a; font-size: 19px; font-weight: 800; }
.vehicle-detail-heading .panel-title b { color: var(--gmao-primary); }
.vehicle-detail-layout { display: grid; grid-template-columns: minmax(240px, 30%) minmax(0, 1fr); gap: 20px; margin: 0; }
.vehicle-detail-layout::before,
.vehicle-detail-layout::after { display: none; content: none; }
.vehicle-photo-column,
.vehicle-information-column { float: none; width: auto; min-width: 0; padding: 0; }
.vehicle-photo-card { overflow: hidden; height: 100%; min-height: 280px; margin: 0; border: 1px solid var(--gmao-border); border-radius: 14px; }
.vehicle-photo-card .bg-primary { height: 100% !important; min-height: 280px; background-position: center; background-repeat: no-repeat; }
.vehicle-information-card { height: 100%; margin: 0; border: 1px solid var(--gmao-border); border-radius: 14px; box-shadow: none; }
.vehicle-information-card > .panel-body { padding: 20px; }
.vehicle-information-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; }
.vehicle-information-grid::before,
.vehicle-information-grid::after { display: none; content: none; }
.vehicle-info-block { float: none; width: auto; min-width: 0; padding: 18px !important; border: 1px solid var(--gmao-border) !important; border-radius: 12px; background: #f8fafc; }
.vehicle-info-block > span { line-height: 1.55; }
.vehicle-info-block > span[style*="font-weight: bold"] { display: block; margin: 15px 0 8px; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0; color: #0f172a; font-weight: 800 !important; }
.vehicle-info-block > span[style*="font-weight: bold"]:first-child { margin-top: 0; }
.vehicle-info-block .float-right { max-width: 58%; overflow-wrap: anywhere; text-align: right; }
.vehicle-detail-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--gmao-border); }
.vehicle-detail-actions .btn { margin: 0; }
.vehicle-information-card > .panel-body > .btn,
.vehicle-information-card > .panel-body > a.btn { margin: 8px 4px 0 0; }
.fleet-deadline-page > .panel-body { padding: 0; }
.fleet-deadline-summary { margin-right: -15px; margin-left: -15px; }
.fleet-deadline-summary .work-summary-card { min-height: 98px; }
.fleet-deadline-summary .work-summary-card > div { min-width: 0; }
.fleet-deadline-summary .work-summary-card span { line-height: 1.25; }
.fleet-deadline-page > .panel-body > .row { margin: 0; }
.fleet-deadline-panel { overflow: hidden; margin-bottom: 22px; }
.fleet-deadline-toolbar { padding: 18px 22px !important; border-bottom: 1px solid var(--gmao-border); background: linear-gradient(135deg, #f8fafc, #eefaf8); }
.fleet-deadline-toolbar form { width: 100%; }
.fleet-deadline-toolbar .panel-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #0f172a; font-size: 17px; font-weight: 800; }
.fleet-deadline-toolbar .panel-title .btn { flex: 0 0 auto; min-height: 38px; padding: 8px 14px; font-size: 12px; }
.panel .fleet-deadline-toolbar .panel-title > button.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-left: 5px;
  padding: 8px 14px;
  border: 1px solid var(--gmao-primary);
  border-radius: 8px;
  background: var(--gmao-primary);
  color: #fff;
  opacity: 1;
  visibility: visible;
}
.panel .fleet-deadline-toolbar .panel-title > button.btn.btn-primary:hover,
.panel .fleet-deadline-toolbar .panel-title > button.btn.btn-primary:focus {
  border-color: var(--gmao-primary-dark);
  background: var(--gmao-primary-dark);
  color: #fff;
}
.fleet-deadline-panel > .panel-body { padding-top: 14px; }
.fleet-deadline-table { width: 100% !important; min-width: 1120px; }
.fleet-deadline-table th:nth-child(7),
.fleet-deadline-table td:nth-child(7),
.fleet-deadline-table th:nth-child(8),
.fleet-deadline-table td:nth-child(8),
.fleet-deadline-table th:last-child,
.fleet-deadline-table td:last-child { text-align: center; }
.fleet-deadline-table td:last-child { white-space: nowrap; }
.fleet-update-modal .modal-content { overflow: hidden; border: 0; border-radius: 16px; box-shadow: 0 22px 60px rgba(15, 23, 42, .22); }
.fleet-update-modal .modal-header { padding: 19px 22px; border: 0; }
.fleet-update-modal .modal-title { padding-right: 30px; font-size: 17px; font-weight: 850; letter-spacing: .025em; }
.fleet-update-modal .modal-body { padding: 22px; background: #f8fafc; }
.fleet-update-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: start; gap: 0 16px; margin: 0; }
.fleet-update-grid > .col-md-4,
.fleet-update-grid > .col-md-8 { float: none; width: auto; min-height: 58px; margin: 0 !important; padding: 7px 0; }
.fleet-update-grid > .col-md-4 { display: flex; align-items: center; }
.fleet-update-grid label { margin: 0; color: #334155; font-size: 12px; font-weight: 800; letter-spacing: .035em; }
.fleet-update-grid .form-control { width: 100% !important; margin: 0; }
.fleet-update-grid textarea { min-height: 112px; resize: vertical; }
.fleet-update-grid .error-message { display: block; margin-top: 5px; }
.fleet-update-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 15px 22px; border-top: 1px solid var(--gmao-border); }
.fleet-update-actions .btn { margin: 0; }
.vehicle-stock-page > .panel-body { padding: 0; }
.vehicle-stock-summary { margin-right: -15px; margin-left: -15px; }
.vehicle-stock-filter-form { display: flex; flex-wrap: wrap; }
.vehicle-stock-filter-form > [class*="col-md-"] { margin-top: 0 !important; margin-bottom: 12px; }
.vehicle-stock-filter-form label { min-height: 20px; color: #475569; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.vehicle-stock-filter-form .form-control { margin-bottom: 0 !important; }
.vehicle-stock-filter-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 2px !important; }
.vehicle-stock-filter form > .col-md-12 { padding-right: 0; padding-left: 0; }
.vehicle-stock-list .panel-heading form > .panel-title::before { content: "Véhicules non affectés"; }
.vehicle-stock-list .panel-heading form > .panel-title > a.btn { margin-left: 0 !important; }
.vehicle-stock-list .panel-heading form > .panel-title > .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 14px; font-size: 12px; }
.vehicle-stock-list-actions { display: inline-flex; align-items: center; gap: 10px; }
.vehicle-stock-list-actions .btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 7px; margin: 0 !important; color: #fff; }
.vehicle-stock-table { width: 100% !important; min-width: 920px; }
.vehicle-stock-table th:nth-child(6),
.vehicle-stock-table td:nth-child(6),
.vehicle-stock-table th:last-child,
.vehicle-stock-table td:last-child { text-align: center; }
.vehicle-stock-table td:last-child { white-space: nowrap; }
.vehicle-stock-modal .modal-content { overflow: hidden; border: 0; border-radius: 16px; box-shadow: 0 22px 60px rgba(15, 23, 42, .22); }
.vehicle-stock-modal .modal-header { padding: 20px 24px; border: 0; }
.vehicle-stock-modal .modal-title { padding-right: 32px; font-size: 17px; font-weight: 850; letter-spacing: .02em; }
.vehicle-stock-modal .modal-body { padding: 24px; background: #f8fafc; }
.vehicle-stock-modal-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 0 18px; margin: 0; }
.vehicle-stock-modal-grid > .col-md-3,
.vehicle-stock-modal-grid > .col-md-9 { float: none; width: auto; min-height: 54px; margin: 0 !important; padding: 7px 0; }
.vehicle-stock-modal-grid > .col-md-3 { display: flex; align-items: center; }
.vehicle-stock-modal-grid label { margin: 0; color: #334155; font-size: 12px; font-weight: 800; letter-spacing: .035em; }
.vehicle-stock-modal-grid .form-control { width: 100% !important; margin: 0; }
.vehicle-stock-modal-grid .error-message { display: block; margin-top: 5px; }
.vehicle-stock-modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--gmao-border); background: #fff; }
.vehicle-stock-modal-actions .btn { min-width: 130px; margin: 0; }
.vehicle-reformed-page > .panel-body { padding: 0; }
.vehicle-reformed-summary { margin-right: -15px; margin-left: -15px; }
.vehicle-reformed-filter-form { display: flex; flex-wrap: wrap; }
.vehicle-reformed-filter-form > [class*="col-md-"] { margin-top: 0 !important; margin-bottom: 12px; }
.vehicle-reformed-filter-form label { min-height: 20px; color: #475569; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.vehicle-reformed-filter-form .form-control { margin-bottom: 0 !important; }
.vehicle-reformed-filter-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 2px !important; }
.vehicle-reformed-list .panel-heading form > .panel-title::before { content: "Véhicules réformés"; }
.vehicle-reformed-list .panel-heading form > .panel-title > .btn { min-height: 38px; padding: 8px 14px; font-size: 12px; }
.vehicle-reformed-table { width: 100% !important; min-width: 1080px; }
.vehicle-reformed-table th:nth-child(6),
.vehicle-reformed-table td:nth-child(6),
.vehicle-reformed-table th:last-child,
.vehicle-reformed-table td:last-child { text-align: center; }
.vehicle-reformed-table td:nth-child(8) { max-width: 190px; overflow-wrap: anywhere; }
.vehicle-reformed-table td:last-child { white-space: nowrap; }
.vehicle-disposal-page > .panel-body { padding: 0; }
.vehicle-disposal-summary { margin-right: -15px; margin-left: -15px; }
.vehicle-disposal-filter-form { display: flex; flex-wrap: wrap; }
.vehicle-disposal-filter-form > [class*="col-md-"] { margin-top: 0 !important; margin-bottom: 12px; }
.vehicle-disposal-filter-form label { min-height: 20px; color: #475569; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.vehicle-disposal-filter-form .form-control { margin-bottom: 0 !important; }
.vehicle-disposal-filter-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 2px !important; }
.vehicle-disposal-list .panel-heading form > .panel-title::before { content: "Véhicules retirés du parc"; }
.vehicle-disposal-list .panel-heading form > .panel-title > .btn { min-height: 38px; padding: 8px 14px; font-size: 12px; }
.vehicle-disposal-table { width: 100% !important; min-width: 1020px; }
.vehicle-disposal-table th:nth-child(7),
.vehicle-disposal-table td:nth-child(7),
.vehicle-disposal-table th:last-child,
.vehicle-disposal-table td:last-child { text-align: center; }
.vehicle-disposal-table td:last-child { white-space: nowrap; }
.vehicle-distribution-page > .panel-body { padding: 0; }
.vehicle-distribution-groups { margin-bottom: 0; }
.vehicle-distribution-group { overflow: hidden; margin-bottom: 14px !important; border: 1px solid var(--gmao-border) !important; border-radius: 14px !important; }
.vehicle-distribution-group-heading { padding: 0 !important; border: 0 !important; }
.vehicle-distribution-group-heading .panel-title > a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; color: #0f172a; font-weight: 800; text-decoration: none; }
.vehicle-distribution-group-heading .label { margin-left: auto; padding: 6px 10px; border-radius: 999px; }
.vehicle-distribution-group-body { padding: 14px !important; border-top: 1px solid var(--gmao-border); background: #f8fafc; }
.vehicle-distribution-group-body > .panel { margin: 0; }
.vehicle-distribution-group-body > .panel > .panel-heading { padding: 16px 18px; }
.vehicle-distribution-group-body > .panel > .panel-heading .col-md-10 { float: none; width: 100%; padding: 0; }
.vehicle-distribution-table-row { min-width: 1000px; margin: 0; }
.vehicle-distribution-table { width: 100% !important; min-width: 1000px; }
.vehicle-distribution-table th:nth-child(6),
.vehicle-distribution-table td:nth-child(6),
.vehicle-distribution-table th:last-child,
.vehicle-distribution-table td:last-child { text-align: center; }
.vehicle-exits-page > .panel-body { padding: 0; }
.vehicle-exits-summary { margin-right: -15px; margin-left: -15px; }
.vehicle-exits-table { width: 100% !important; min-width: 1320px; }
.vehicle-exits-table th:nth-child(8),
.vehicle-exits-table td:nth-child(8),
.vehicle-exits-table th:last-child,
.vehicle-exits-table td:last-child { text-align: center; }
.vehicle-exits-table td:nth-child(4),
.vehicle-exits-table td:nth-child(5) { max-width: 210px; overflow-wrap: anywhere; }
.vehicle-exits-table td:last-child { white-space: nowrap; }
.vehicle-return-modal .modal-content { overflow: hidden; border: 0; border-radius: 16px; box-shadow: 0 22px 60px rgba(15, 23, 42, .22); }
.vehicle-return-modal .modal-header { padding: 19px 22px; border: 0; }
.vehicle-return-modal .modal-body { padding: 22px; background: #f8fafc; }
.vehicle-return-grid { display: grid; grid-template-columns: 175px minmax(0, 1fr); align-items: start; gap: 0 16px; margin: 0; }
.vehicle-return-grid > .col-md-4,
.vehicle-return-grid > .col-md-8 { float: none; width: auto; min-height: 58px; margin: 0 !important; padding: 7px 0; }
.vehicle-return-grid > .col-md-4 { display: flex; align-items: center; }
.vehicle-return-grid label { margin: 0; color: #334155; font-size: 12px; font-weight: 800; letter-spacing: .035em; }
.vehicle-return-grid .form-control { width: 100% !important; margin: 0; }
.vehicle-return-grid textarea { min-height: 96px; resize: vertical; }
.vehicle-return-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 15px 22px; border-top: 1px solid var(--gmao-border); }
.vehicle-return-actions .btn { margin: 0; }
.vehicle-exit-form-page > .panel-body { padding: 0; }
.vehicle-exit-form-intro { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 15px 17px; border: 1px solid #bae6fd; border-radius: 13px; background: #f0f9ff; }
.vehicle-exit-form-intro-icon { display: inline-flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #dbeafe; color: #2563eb; font-size: 20px; }
.vehicle-exit-form-intro strong,
.vehicle-exit-form-intro small { display: block; }
.vehicle-exit-form-intro strong { margin-bottom: 3px; color: #0f172a; font-size: 14px; }
.vehicle-exit-form-intro small { color: #475569; line-height: 1.45; }
.vehicle-exit-form-card .modern-equipment-form > .row { grid-template-columns: 175px minmax(220px, 1fr) 175px minmax(220px, 1fr); }
.vehicle-exit-form textarea { min-height: 100px; resize: vertical; }
.vehicle-exit-form-actions .btn + .btn { margin-left: 7px; }
.user-create-page > .panel-body { padding: 0; }
.user-create-card { max-width: 920px; margin: 0 auto; }
.user-create-form > .row { grid-template-columns: 190px minmax(0, 1fr); }
.user-create-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--gmao-border); }
.user-readonly-field { cursor: not-allowed; background: #f1f5f9 !important; color: #64748b; }
.form-help-text { display: block; margin: -2px 0 8px; color: #64748b; font-size: 11px; }
.inventory-import-page > .panel-body { padding: 0; }
.inventory-import-card { max-width: 820px; margin: 0 auto; }
.inventory-import-note { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid #fde68a; border-radius: 11px; background: #fffbeb; }
.inventory-import-note > i { color: #d97706; font-size: 22px; }
.inventory-import-note span { display: flex; flex-direction: column; }
.inventory-import-note strong { color: #92400e; font-size: 13px; }
.inventory-import-note small { margin-top: 3px; color: #a16207; }
.inventory-import-form > .row { grid-template-columns: 170px minmax(0, 1fr); }
.inventory-import-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--gmao-border); }
.fleet-form-page > .panel-body { padding: 0; }
.garage-form-card { max-width: 900px; margin: 0 auto; }
.garage-form > .row { grid-template-columns: 190px minmax(0, 1fr); }
.garage-form textarea { min-height: 105px; }
.garage-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--gmao-border); }

/* Centre de travail du technicien */
.technician-workspace.panel-headline {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.technician-workspace > .panel-heading {
  padding: 0 0 20px;
  border: 0;
}
.technician-workspace > .panel-heading .panel-title {
  color: var(--gmao-text);
  font-size: 24px;
  font-weight: 800;
}
.technician-workspace > .panel-heading .panel-title i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  color: var(--gmao-primary);
  background: var(--gmao-primary-soft);
  border-radius: 10px;
  vertical-align: middle;
}
.technician-workspace > .panel-heading .panel-subtitle {
  margin: 8px 0 0 52px;
  color: var(--gmao-muted);
}
.technician-workspace > .panel-body { padding: 0; }
.preventive-technician-summary { margin-right: -15px; margin-left: -15px; }
.preventive-technician-panel { overflow: hidden; margin-bottom: 22px; }
.preventive-technician-panel > .panel-heading { padding: 18px 22px; border-bottom: 1px solid var(--gmao-border); background: linear-gradient(135deg, #f8fafc, #f0fdfa); }
.preventive-technician-panel > .panel-heading .panel-title { color: #0f172a; font-size: 16px; font-weight: 850; }
.preventive-technician-panel > .panel-body { padding: 16px; overflow-x: auto; }
.preventive-technician-table { width: 100% !important; min-width: 720px; margin-bottom: 0; }
.preventive-today-table { min-width: 760px; }
.preventive-technician-table th:first-child,
.preventive-technician-table td:first-child { width: 52px; text-align: center; }
.preventive-technician-table th:nth-child(4),
.preventive-technician-table td:nth-child(4),
.preventive-technician-table th:last-child,
.preventive-technician-table td:last-child { text-align: center; }
.preventive-technician-table td:last-child { white-space: nowrap; }
.preventive-technician-empty { padding: 28px !important; color: #64748b; text-align: center !important; }
.technician-summary { margin-bottom: 8px; }
.work-summary-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 104px;
  margin-bottom: 20px;
  padding: 18px;
  color: var(--gmao-text);
  background: #fff;
  border: 1px solid var(--gmao-border);
  border-radius: var(--gmao-radius);
  box-shadow: var(--gmao-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.work-summary-card:hover,
.work-summary-card:focus {
  color: var(--gmao-text);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
}
.work-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  color: var(--summary-color, var(--gmao-primary));
  background: var(--summary-bg, var(--gmao-primary-soft));
  border-radius: 12px;
  font-size: 23px;
}
.work-summary-card strong { display: block; color: var(--gmao-text); font-size: 28px; line-height: 1.05; }
.work-summary-card small { display: block; margin-top: 5px; color: var(--gmao-muted); font-size: 13px; }
.work-summary-primary { --summary-color: #2563eb; --summary-bg: #dbeafe; }
.work-summary-warning { --summary-color: #d97706; --summary-bg: #fef3c7; }
.work-summary-success { --summary-color: #15803d; --summary-bg: #dcfce7; }
.technician-tables > .panel-body { padding: 22px; }
.work-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  scroll-margin-top: 90px;
  color: var(--gmao-text);
  font-size: 17px !important;
  font-weight: 750 !important;
}
.work-section-title .status-badge { margin-left: auto; }
.work-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--gmao-primary);
  background: var(--gmao-primary-soft);
  border-radius: 9px;
}
.technician-tables table { min-width: 900px; }
.technician-tables td:first-child a { color: var(--gmao-primary); font-weight: 750; }
.technician-tables td:last-child { min-width: 190px; }
.technician-tables td:last-child .btn { margin: 2px; }
.technician-tables hr { border-color: var(--gmao-border); }

/* Fiche équipement */
.equipment-page.panel-headline {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.equipment-page > .panel-heading { padding: 0 0 20px; border: 0; }
.equipment-page > .panel-heading .panel-title { color: var(--gmao-text); font-size: 24px; font-weight: 800; }
.equipment-page > .panel-heading .panel-title i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  color: var(--gmao-primary);
  background: var(--gmao-primary-soft);
  border-radius: 10px;
  vertical-align: middle;
}
.equipment-page > .panel-heading .panel-subtitle { margin: 8px 0 0 52px; color: var(--gmao-muted); }
.equipment-page > .panel-body { padding: 0; }
.equipment-identity-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #172033, #23304a);
  border-radius: 12px;
  color: #fff;
}
.equipment-identity-main { display: flex; align-items: center; gap: 16px; }
.equipment-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  color: #5eead4;
  background: rgba(45, 212, 191, .12);
  border: 1px solid rgba(94, 234, 212, .22);
  border-radius: 14px;
  font-size: 26px;
}
.equipment-code { color: #99f6e4; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.equipment-identity-main h2 { margin: 4px 0; color: #fff; font-size: 24px; font-weight: 800; }
.equipment-identity-main p { margin: 0; color: #cbd5e1; font-size: 13px; }
.equipment-identity-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.equipment-quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.equipment-quick-facts > div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--gmao-border);
  border-radius: 10px;
}
.equipment-quick-facts > div > span:last-child { min-width: 0; }
.quick-fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: var(--gmao-primary);
  background: var(--gmao-primary-soft);
  border-radius: 9px;
  font-size: 17px;
}
.equipment-quick-facts small,
.equipment-quick-facts strong { display: block; }
.equipment-quick-facts small { margin-bottom: 3px; color: var(--gmao-muted); font-size: 11px; text-transform: uppercase; }
.equipment-quick-facts strong {
  overflow-wrap: anywhere;
  color: var(--gmao-text);
  font-size: 14px;
  line-height: 1.35;
  white-space: normal;
}
.equipment-photo-column > .panel { border: 0; box-shadow: none; }
.equipment-photo {
  height: 270px;
  background-color: #e2e8f0 !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 12px;
}
.equipment-information-column > .panel { min-height: 270px; margin-bottom: 20px; box-shadow: none; }
.equipment-information-column .border-left { line-height: 1.9; }
.equipment-information-column .text-info { color: var(--gmao-primary); }
.equipment-history-panel { overflow: hidden; }
.equipment-history-panel > .panel-heading { padding: 18px 22px; border-bottom: 1px solid var(--gmao-border); background: linear-gradient(135deg, #f8fafc, #f0fdfa); }
.equipment-history-panel > .panel-heading .panel-title { color: #0f172a; font-size: 16px; font-weight: 850; }
.equipment-history-panel > .panel-body { padding: 16px; overflow-x: auto; }
.equipment-history-toolbar { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.panel .equipment-history-toolbar > button.btn.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--gmao-primary); border-radius: 8px; background: var(--gmao-primary); color: #fff; }
.equipment-location-table { width: 100% !important; min-width: 900px; margin-bottom: 0; }
.equipment-interventions-table { width: 100% !important; min-width: 1080px; margin-bottom: 0; }
.equipment-maintenance-table { width: 100% !important; min-width: 920px; margin-bottom: 0; }
.equipment-location-table th:nth-child(5),
.equipment-location-table td:nth-child(5),
.equipment-location-table th:nth-child(6),
.equipment-location-table td:nth-child(6) { white-space: nowrap; }
.equipment-interventions-table th:last-child,
.equipment-interventions-table td:last-child { text-align: center; white-space: nowrap; }
.equipment-page > .panel-body > .row > .col-md-12 > .panel:not(:first-child) .panel-heading .panel-title {
  font-size: 16px;
  font-weight: 750;
}
.equipment-page table { min-width: 850px; }
.equipment-page .panel-body:has(> table) { overflow-x: auto; }
.equipment-page #btnExporter { margin-bottom: 14px; }

/* Formulaire d'ajout d'équipement */
.equipment-form-page.panel-headline {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.equipment-form-page > .panel-heading { padding: 0 0 20px; border: 0; }
.equipment-form-page > .panel-heading .panel-title { color: var(--gmao-text); font-size: 24px; font-weight: 800; }
.equipment-form-page > .panel-heading .panel-title i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  color: var(--gmao-primary);
  background: var(--gmao-primary-soft);
  border-radius: 10px;
  vertical-align: middle;
}
.equipment-form-page > .panel-heading .panel-subtitle { margin: 8px 0 0 52px; color: var(--gmao-muted); }
.equipment-form-page > .panel-body { padding: 0; }
.equipment-form-card > .panel-heading { padding: 20px 24px; }
.equipment-form-card > .panel-heading .panel-title { font-size: 18px; font-weight: 800; text-transform: none; }
.equipment-form-card > .panel-body { padding: 8px 24px 24px; }
.modern-equipment-form > .row {
  display: grid;
  grid-template-columns: 155px minmax(220px, 1fr) 155px minmax(220px, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  margin: 0;
}
.modern-equipment-form > .row::before,
.modern-equipment-form > .row::after {
  display: none !important;
  content: none !important;
}
.modern-equipment-form > .row > [class*="col-md-"] {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0;
}
.modern-equipment-form > .row > .col-md-3 {
  display: flex;
  align-items: center;
  min-height: 46px;
}
.modern-equipment-form label {
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .025em;
}
.modern-equipment-form .form-control { width: 100% !important; margin-bottom: 8px; }
.modern-equipment-form textarea.form-control { min-height: 88px; resize: vertical; }
.modern-equipment-form input[type="file"].form-control { height: auto; min-height: 42px; padding: 8px; }
.modern-equipment-form .error-message {
  display: block;
  margin: -4px 0 8px;
  color: var(--gmao-danger);
  font-size: 12px;
}
.form-section-heading {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--gmao-border);
  border-radius: 10px;
}
.form-section-heading:first-child { margin-top: 8px; }
.form-section-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--gmao-primary);
  background: var(--gmao-primary-soft);
  border-radius: 9px;
  font-size: 17px;
}
.form-section-heading strong,
.form-section-heading small { display: block; }
.form-section-heading strong { color: var(--gmao-text); font-size: 14px; }
.form-section-heading small { margin-top: 2px; color: var(--gmao-muted); font-size: 12px; }
.equipment-form-card + .panel-footer {
  position: sticky;
  z-index: 5;
  bottom: 0;
  padding: 14px 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--gmao-border);
  border-radius: 10px;
  box-shadow: 0 -5px 18px rgba(15, 23, 42, .06);
  backdrop-filter: blur(8px);
}
.equipment-form-card .panel-title .text-primary { color: var(--gmao-primary); }
.equipment-form-actions .btn + .btn,
.equipment-form-actions .btn + input.btn { margin-left: 7px; }

/* Stock des équipements */
.equipment-stock-page > .panel-body { padding: 0; }
.equipment-stock-summary { margin-right: -15px; margin-left: -15px; }
.equipment-stock-summary .work-summary-card { cursor: default; }
.equipment-stock-content { padding: 0 !important; }
.equipment-stock-list-panel { overflow: hidden; }
.equipment-stock-toolbar { display: flex; align-items: center; justify-content: space-between; }
.equipment-stock-toolbar .panel-title { font-size: 16px; font-weight: 800; }
.equipment-stock-table-wrap { margin: 0 !important; }
.equipment-stock-table { width: 100%; min-width: 780px; margin: 0; }
.equipment-stock-table > tbody > tr.accordion-toggle { cursor: pointer; }
.equipment-stock-table > tbody > tr.accordion-toggle:hover { background: #f8fafc; }
.equipment-stock-table > tbody > tr.accordion-toggle > td:first-child { width: 44px; text-align: center; }
.equipment-stock-table > tbody > tr.accordion-toggle > td:first-child img { width: 22px; height: 22px; object-fit: contain; }
.equipment-stock-table > tbody > tr.accordion-toggle > td:nth-child(2) { color: var(--gmao-primary); font-weight: 800; }
.equipment-stock-table > tbody > tr.accordion-toggle > td:nth-child(n+3) { font-weight: 800; }
.equipment-stock-details { margin: 0 -8px; padding: 14px; background: #f8fafc; border: 1px solid var(--gmao-border); border-radius: 10px; }
.equipment-stock-details .table { min-width: 760px; margin: 0; background: #fff; }
.equipment-stock-details td:first-child { color: var(--gmao-text); font-weight: 750; }
.equipment-stock-details td:last-child { white-space: nowrap; }
.equipment-stock-alerts { margin-top: 20px; }
.stock-replenishment-panel > .panel-heading { padding: 16px 20px; background: #fff1f2; border-color: #fecdd3; }
.stock-replenishment-panel > .panel-heading a { display: flex; align-items: center; gap: 9px; color: #b91c1c !important; font-weight: 800; text-decoration: none; }
.stock-replenishment-panel > .panel-heading a span { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; margin-left: auto; padding: 0 8px; background: #b91c1c; border-radius: 999px; color: #fff; font-size: 12px; }
.stock-replenishment-actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
.stock-replenishment-panel table { min-width: 720px; }

/* Historique des sorties d'équipements */
.equipment-movements-page > .panel-body { padding: 0; }
.equipment-movements-summary { margin-right: -15px; margin-left: -15px; }
.equipment-movements-summary .work-summary-card { cursor: default; }
.equipment-satisfaction { margin: 0 0 20px; padding: 15px 18px; background: #fff; border: 1px solid var(--gmao-border); border-radius: 12px; box-shadow: var(--gmao-shadow); }
.equipment-satisfaction > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.equipment-satisfaction span { color: var(--gmao-muted); font-size: 13px; font-weight: 700; }
.equipment-satisfaction strong { color: var(--gmao-text); font-size: 20px; }
.equipment-satisfaction-track { height: 8px; margin-top: 11px; overflow: hidden; background: #e2e8f0; border-radius: 999px; }
.equipment-satisfaction-track span { display: block; height: 100%; border-radius: inherit; }
.equipment-satisfaction.is-low .equipment-satisfaction-track span { background: var(--gmao-danger); }
.equipment-satisfaction.is-medium .equipment-satisfaction-track span { background: var(--gmao-warning); }
.equipment-satisfaction.is-high .equipment-satisfaction-track span { background: var(--gmao-success); }
.equipment-movements-list-panel { overflow: hidden; }
.equipment-movements-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.equipment-movements-toolbar .panel-title { font-size: 16px; font-weight: 800; }
.equipment-movements-list-panel table { width: 100% !important; min-width: 780px; }
.equipment-movements-list-panel td:first-child { color: var(--gmao-primary); font-weight: 800; }
.equipment-movements-list-panel th:nth-child(2),
.equipment-movements-list-panel td:nth-child(2) { white-space: nowrap; }
.equipment-movements-list-panel th:nth-child(3),
.equipment-movements-list-panel td:nth-child(3),
.equipment-movements-list-panel th:nth-child(4),
.equipment-movements-list-panel td:nth-child(4) { text-align: right; }

/* Équipements en rebut et au débarras */
.retired-assets-page > .panel-body { padding: 0; }
.retired-assets-filter-panel h4 { margin: 0 0 18px; color: var(--gmao-text); font-size: 15px; font-weight: 800; }
.retired-assets-filter-panel form > .col-md-12 { padding-right: 0; padding-left: 0; }
.retired-assets-list-panel { overflow: hidden; }
.retired-assets-list-panel .panel-heading form > .panel-title::before { content: "Liste des équipements"; }
.discarded-assets-page .retired-assets-list-panel .panel-heading form > .panel-title::before { content: "Équipements en rebut"; }
.disposal-assets-page .retired-assets-list-panel .panel-heading form > .panel-title::before { content: "Équipements au débarras"; }
.retired-assets-list-panel table { min-width: 1120px; }
.retired-assets-list-panel .dataTables_wrapper { min-width: 1090px; }
.retired-assets-list-panel td:nth-child(4) { color: var(--gmao-primary); font-weight: 800; white-space: nowrap; }
.retired-assets-list-panel td:nth-child(5) { font-weight: 750; }
.retired-assets-list-panel td:nth-child(8),
.retired-assets-list-panel td:last-child { white-space: nowrap; }
.retired-assets-list-panel .modal { text-align: left; white-space: normal; }

/* Synthèse administrative des équipements */
.equipment-admin-page > .panel-body { padding: 0; }
.equipment-admin-summary { margin-right: -15px; margin-left: -15px; }
.equipment-admin-summary .work-summary-card { cursor: default; }
.equipment-admin-list-panel { overflow: hidden; }
.equipment-admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.equipment-admin-toolbar .panel-title { font-size: 16px; font-weight: 800; }
.equipment-admin-toolbar > div { display: flex; gap: 8px; }
.equipment-admin-list-panel table { width: 100% !important; min-width: 760px; }
.equipment-admin-list-panel td:first-child { color: var(--gmao-primary); font-weight: 800; }
.equipment-admin-list-panel td:nth-child(n+2) { font-weight: 750; }
.equipment-admin-modal-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-right: 24px; text-transform: none; }
.equipment-admin-modal-title > span { display: flex; gap: 7px; }
.equipment-admin-page + .modal table,
.equipment-admin-page ~ .modal table { min-width: 720px; }

/* Demande d'équipements */
.equipment-request-page > .panel-body { padding: 0; }
.equipment-request-summary { margin-right: -15px; margin-left: -15px; }
.equipment-request-summary .work-summary-card { cursor: default; }
.equipment-request-builder-panel,
.equipment-request-history-panel { overflow: hidden; }
.equipment-request-builder-panel .panel-title,
.equipment-request-history-panel .panel-title { font-size: 16px; font-weight: 800; text-transform: none; }
.equipment-request-help { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 12px 14px; background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 10px; color: #115e59; }
.equipment-request-help i { font-size: 18px; }
.equipment-request-selector { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)) auto; align-items: end; gap: 14px; margin: 0 0 20px !important; padding: 16px; border: 1px solid var(--gmao-border); border-radius: 12px; background: #f8fafc; }
.equipment-request-selector::before,
.equipment-request-selector::after { display: none !important; content: none !important; }
.equipment-request-selector > [class*="col-md-"] { float: none; width: auto; min-width: 0; margin: 0 !important; padding: 0; }
.equipment-request-selector label { display: block; margin: 0 0 7px; color: #475569; font-size: 12px; font-weight: 800; }
.equipment-request-selector .btn { width: 100%; white-space: nowrap; }
.equipment-request-action-label { color: transparent !important; user-select: none; }
.equipment-request-form-row { margin: 0; }
.equipment-request-form-row > .col-10 { width: 100%; padding: 0; }
.equipment-request-form-row > .col-1 { display: none; }
.equipment-request-form { max-width: 980px; margin: 0 auto; }
.equipment-request-items-wrap.is-empty { display: none; }
.equipment-request-empty { margin-bottom: 18px; padding: 20px; border: 1px dashed #cbd5e1; border-radius: 12px; background: #f8fafc; color: #64748b; text-align: center; }
.equipment-request-empty i { margin-right: 7px; color: var(--gmao-primary); font-size: 18px; vertical-align: middle; }
.equipment-request-items { width: 100% !important; min-width: 680px; margin-bottom: 18px; table-layout: fixed; }
.equipment-request-items th,
.equipment-request-items td { vertical-align: middle !important; }
.equipment-request-items th:nth-child(2),
.equipment-request-items td:nth-child(2),
.equipment-request-items th:nth-child(3),
.equipment-request-items td:nth-child(3) { text-align: center; }
.equipment-request-items td:first-child { color: var(--gmao-primary); font-weight: 800; }
.equipment-request-form > label { margin-bottom: 7px; color: #475569; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.equipment-request-form textarea { min-height: 95px; resize: vertical; }
.equipment-request-submit-row { display: flex; justify-content: flex-end; margin: 14px 0 0 !important; }
.equipment-request-submit-row::before,
.equipment-request-submit-row::after { display: none; content: none; }
.equipment-request-submit-row .col-md-5 { display: none; }
.equipment-request-submit-row .col-md-6 { float: none; width: auto; padding: 0; }
.equipment-request-submit-row .btn[disabled] { cursor: not-allowed; opacity: .55; }
.equipment-request-history-panel .panel-body { overflow-x: auto; }
.equipment-request-history-panel .requests-table { width: 100% !important; min-width: 980px; table-layout: fixed; }
.equipment-request-history-panel .requests-table > thead > tr > th,
.equipment-request-history-panel .requests-table > tbody > tr.accordion-toggle > td { vertical-align: middle; }
.equipment-request-history-panel .request-details .table { width: 100% !important; table-layout: fixed; }

/* Traitement d'une demande d'équipement */
.request-processing-page > .panel-body { padding: 0; }
.request-processing-card { overflow: hidden; }
.request-processing-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.request-processing-title > div > span { color: var(--gmao-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.request-processing-title .panel-title { margin-top: 4px; color: var(--gmao-primary); font-size: 21px; font-weight: 850; }
.request-processing-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 22px !important; }
.request-processing-overview::before,
.request-processing-overview::after { display: none; content: none; }
.request-info-block { float: none; width: auto; min-width: 0; padding: 20px !important; background: #f8fafc; border: 1px solid var(--gmao-border); border-radius: 12px; line-height: 1.9; }
.request-info-block > span { overflow-wrap: anywhere; }
.request-info-block > span:first-child { display: block; margin-bottom: 8px; color: var(--gmao-text); font-size: 14px; font-weight: 800 !important; }
.request-info-block .float-right { float: right; max-width: 62%; margin-left: 12px; color: var(--gmao-text); font-style: normal; font-weight: 700; text-align: right; }
.request-processing-form > .col-md-12,
.request-reception-form > .col-md-12,
.request-discharge-form > .col-md-12 { float: none; width: 100%; }
.request-processing-table-section { margin-top: 6px; padding: 20px !important; border: 1px solid var(--gmao-border); border-radius: 12px; }
.request-processing-table-section h4 { margin: 0 0 16px; color: var(--gmao-text); font-size: 15px; font-weight: 800; }
.request-processing-table-section h4 i { margin-right: 7px; color: var(--gmao-primary); }
.request-processing-table { width: 100% !important; min-width: 980px; margin-bottom: 18px; table-layout: fixed; background: #fff; }
.request-processing-table th,
.request-processing-table td { vertical-align: middle !important; }
.request-processing-table td:first-child { color: var(--gmao-primary); font-weight: 800; }
.request-processing-table-section > label { display: block; margin: 5px 0 7px; color: #475569; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.request-processing-table-section textarea { min-height: 90px; resize: vertical; }
.request-processing-actions { display: flex; justify-content: flex-end; padding: 14px 0 0 !important; }
.request-reception-form > .col-md-12,
.request-discharge-form > .col-md-12 { margin-top: 18px !important; padding: 20px !important; background: #f8fafc; border: 1px solid var(--gmao-border); border-radius: 12px; }
.request-reception-form > .request-reception-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  overflow: hidden;
}
.request-reception-section > h4 {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: var(--gmao-text);
  font-size: 16px;
  font-weight: 800;
}
.request-reception-section > h4 i { margin-right: 7px; color: var(--gmao-primary); }
.request-reception-field,
.request-reception-submit {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
.request-reception-field.is-full,
.request-reception-submit { grid-column: 1 / -1; }
.request-reception-field label { display: block; margin: 0 0 7px; color: #475569; font-size: 12px; font-weight: 800; }
.request-reception-field .form-control { width: 100% !important; margin: 0; }
.request-reception-field textarea { min-height: 90px; resize: vertical; }
.request-reception-submit { display: flex; justify-content: flex-end; padding-top: 2px !important; }

/* Création d'une référence de stock */
.stock-setup-help { display: flex; align-items: center; gap: 10px; max-width: 980px; margin: 8px auto 18px; padding: 12px 14px; background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 10px; color: #115e59; }
.stock-setup-help i { flex: 0 0 auto; font-size: 18px; }
.stock-setup-card .partner-form-grid { padding-top: 2px; }

/* Création d'une demande d'intervention */
.intervention-create-shell { width: 100%; }
.intervention-create-page > .panel-body { padding: 0; }
.intervention-create-card .modern-equipment-form > .row { grid-template-columns: 180px minmax(240px, 1fr) 180px minmax(240px, 1fr); }
.intervention-create-card textarea.form-control { min-height: 105px; }
.intervention-create-actions .btn + input.btn { margin-left: 7px; }

/* Catalogue des équipements */
.equipment-catalog-page.panel-headline {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.equipment-catalog-page > .panel-heading { padding: 0 0 20px; border: 0; }
.equipment-catalog-page > .panel-heading .panel-title { color: var(--gmao-text); font-size: 24px; font-weight: 800; }
.equipment-catalog-page > .panel-heading .panel-title i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  color: var(--gmao-primary);
  background: var(--gmao-primary-soft);
  border-radius: 10px;
  vertical-align: middle;
}
.equipment-catalog-page > .panel-heading .panel-subtitle { margin: 8px 0 0 52px; color: var(--gmao-muted); }
.equipment-catalog-page > .panel-body { padding: 0; }
.equipment-groups .equipment-group-card {
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--gmao-border);
  border-radius: var(--gmao-radius) !important;
}
.equipment-groups .equipment-group-card > .panel-heading {
  min-height: 68px;
  padding: 13px 18px;
  background: #fff;
}
.equipment-group-toggle {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gmao-text) !important;
  font-weight: 800;
  text-decoration: none !important;
}
.equipment-group-toggle::after {
  content: "\e874";
  margin-left: auto;
  color: var(--gmao-muted);
  font-family: Linearicons-Free;
  font-size: 15px;
  transition: transform .2s ease;
}
.equipment-group-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.equipment-group-toggle .status-badge { font-size: 11px; }
.equipment-group-toggle .status-badge::before { display: none; }
.equipment-group-card > .panel-collapse > .panel-body { padding: 16px; background: #f8fafc; }
.equipment-group-card > .panel-collapse > .panel-body > .panel {
  width: 100%;
  margin: 0;
  overflow: visible;
  box-shadow: none;
}
.equipment-group-card > .panel-collapse > .panel-body > .panel > .panel-body {
  clear: both;
  width: 100%;
  padding: 10px 16px 16px;
}
.equipment-group-card > .panel-collapse > .panel-body > .panel > .panel-body > .row {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}
.equipment-group-card > .panel-collapse .panel-heading .col-md-4,
.equipment-group-card > .panel-collapse .panel-heading .col-md-5 { padding-left: 0; }
.equipment-list-toolbar {
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 68px;
  overflow: visible;
}
.equipment-list-toolbar > div {
  display: flex;
  align-items: center;
  width: 100%;
}
.equipment-list-toolbar .col-md-4,
.equipment-list-toolbar .col-md-5 {
  float: none;
}
.equipment-list-toolbar .col-md-5 { margin-left: auto; }
.equipment-group-card > .panel-collapse .panel-heading .panel-title { padding-top: 10px; font-weight: 750; }
.equipment-group-card .input-group .form-control { border-radius: 8px 0 0 8px; }
.equipment-group-card .input-group .btn { min-height: 42px; border-radius: 0 8px 8px 0; }
.equipment-type-row { cursor: pointer; }
.equipment-type-row td { font-weight: 650; }
.equipment-type-row td:nth-child(3) span { color: var(--gmao-info) !important; }
.equipment-type-row td:nth-child(4) span { color: var(--gmao-success) !important; }
.equipment-type-row td:nth-child(5) span { color: var(--gmao-warning) !important; }
.equipment-type-row td:nth-child(6) span { color: var(--gmao-danger) !important; }
.equipment-type-row img { width: 22px; height: 22px; opacity: .75; }
.equipment-export-btn { color: var(--gmao-success); }
.equipment-group-card .accordian-body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #f8fafc !important;
  border-left: 3px solid var(--gmao-primary);
  border-radius: 8px;
  scrollbar-color: #94a3b8 #e2e8f0;
  scrollbar-width: thin;
}
.equipment-group-card .accordian-body.collapse:not(.in) { display: none; }
.equipment-group-card .accordian-body.collapse.in { display: block; }
.equipment-group-table-wrap {
  display: block;
  clear: both;
  float: none;
  width: 100%;
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
}
.equipment-group-table-wrap > table.table-condensed {
  display: table;
  width: 100% !important;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  table-layout: fixed;
}
.equipment-summary-table {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}
.equipment-summary-table > thead,
.equipment-summary-table > tbody,
.equipment-summary-table > thead > tr,
.equipment-summary-table > tbody > tr { width: 100%; }
.equipment-group-table-wrap > table.table-condensed > tbody > tr > td[colspan] {
  width: 100%;
  max-width: 0;
  padding: 8px 0;
  overflow: hidden;
}
.equipment-group-card .accordian-body::-webkit-scrollbar { height: 10px; }
.equipment-group-card .accordian-body::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 999px; }
.equipment-group-card .accordian-body::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 999px; }
.equipment-group-card .accordian-body .dataTables_wrapper,
.equipment-group-card .accordian-body table {
  width: 100% !important;
  min-width: 1100px;
  table-layout: auto;
  background: transparent !important;
}
.equipment-group-card .accordian-body th,
.equipment-group-card .accordian-body td { white-space: nowrap; }
.equipment-catalog-page > .panel-footer {
  padding: 12px 0 0;
  background: transparent;
  border: 0;
}

/* Tableau de bord du parc automobile */
.fleet-dashboard .grid-margin { margin-bottom: 22px; }
.fleet-dashboard .card {
  position: relative;
  height: 154px !important;
  overflow: hidden;
  color: var(--gmao-text) !important;
  background: #fff !important;
  border: 1px solid var(--gmao-border);
  border-top: 4px solid var(--fleet-color, var(--gmao-primary));
  border-radius: var(--gmao-radius);
  box-shadow: var(--gmao-shadow);
}
.fleet-dashboard .card::after {
  content: "";
  position: absolute;
  top: -48px;
  right: -42px;
  width: 140px;
  height: 140px;
  background: var(--fleet-soft, var(--gmao-primary-soft));
  border-radius: 50%;
}
.fleet-dashboard .card-body { position: relative; z-index: 1; padding: 22px; }
.fleet-dashboard .card-img-absolute { display: none; }
.fleet-dashboard .card h4 {
  max-width: 78%;
  margin: 0;
  color: var(--gmao-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.45;
  text-transform: uppercase;
}
.fleet-dashboard .card h4 i {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--fleet-color, var(--gmao-primary));
  background: var(--fleet-soft, var(--gmao-primary-soft));
  border-radius: 11px;
}
.fleet-dashboard .card h2 { margin: 24px 0 0; color: var(--gmao-text); font-size: 34px; font-weight: 800; }
.fleet-dashboard .bg-gradient-success { --fleet-color: #15803d; --fleet-soft: #dcfce7; }
.fleet-dashboard .bg-gradient-warning { --fleet-color: #d97706; --fleet-soft: #fef3c7; }
.fleet-dashboard .bg-gradient-danger { --fleet-color: #dc2626; --fleet-soft: #fee2e2; }
.fleet-dashboard .bg-gradient-info { --fleet-color: #2563eb; --fleet-soft: #dbeafe; }
.fleet-dashboard .bg-gradient-secondary { --fleet-color: #7c3aed; --fleet-soft: #ede9fe; }
.fleet-dashboard > .row > .col-md-12 > .alert-info {
  margin: 8px 0 18px;
  padding: 0;
  color: var(--gmao-text);
  background: transparent;
  border: 0;
  font-size: 15px;
  font-weight: 800 !important;
  letter-spacing: .025em;
}
.fleet-dashboard > .row > .col-md-12 > .alert-info::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  margin-right: 9px;
  background: var(--gmao-primary);
  border-radius: 999px;
  vertical-align: -4px;
}
.fleet-dashboard .panel { min-height: 430px; }
.fleet-dashboard .panel-heading .panel-title { font-size: 15px; font-weight: 800; text-transform: none; }
.fleet-dashboard .panel-body { padding: 16px; }
.fleet-dashboard .highcharts-container { margin: 0 auto; }

/* Liste des véhicules */
.vehicle-list-page > .panel-body { padding: 0; }
.vehicle-summary { margin-right: -15px; margin-left: -15px; }
.vehicle-summary .work-summary-card { cursor: default; }
.vehicle-list-panel .panel-heading form > .panel-title::before { content: "Liste des véhicules affectés"; }
.vehicle-list-panel table { min-width: 1250px; }
.vehicle-list-panel .dataTables_wrapper { min-width: 1220px; }
.vehicle-list-panel td:first-child,
.vehicle-list-panel td:nth-child(2) { color: var(--gmao-primary); font-weight: 750; }
.vehicle-list-panel td:last-child { white-space: nowrap; }
.vehicle-filter-panel .form-control { margin-bottom: 7px; }

/* Stock de consommables */
.stock-page > .panel-body { padding: 0; }
.stock-summary { margin-right: -15px; margin-left: -15px; }
.stock-summary .work-summary-card { cursor: default; }
.stock-page > .panel-body > .row > .col-md-12 > .panel-body { padding: 0; }
.stock-catalog-panel { overflow: visible; }
.stock-catalog-panel > .panel-heading { min-height: 64px; }
.stock-catalog-panel > .panel-heading .panel-title { padding-top: 7px; font-size: 16px; font-weight: 800; }
.stock-catalog-panel > .panel-body { padding: 12px 20px 20px; }
.stock-table-row { width: 100%; margin-right: 0; margin-left: 0; overflow: visible; }
.stock-summary-table {
  width: 100% !important;
  min-width: 100%;
  margin: 0;
  table-layout: fixed;
}
.stock-summary-table th:first-child { width: 6%; }
.stock-summary-table th:nth-child(2) { width: 58%; }
.stock-summary-table th:nth-child(3),
.stock-summary-table th:nth-child(4) { width: 18%; }
.stock-summary-table > tbody > .accordion-toggle { cursor: pointer; }
.stock-summary-table > tbody > .accordion-toggle td:nth-child(2) { color: var(--gmao-text); font-weight: 700; }
.stock-summary-table > tbody > .accordion-toggle td:nth-child(3) span { color: var(--gmao-primary) !important; font-weight: 800; }
.stock-summary-table .accordian-body {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  overflow-x: auto;
  background: #f8fafc !important;
  border-left: 3px solid var(--gmao-primary);
  border-radius: 8px;
}
.stock-summary-table .accordian-body table { min-width: 760px; background: transparent !important; }
.stock-alert-section { margin-top: 22px; }
.stock-alert-panel { overflow: hidden; border-color: #fecaca; }
.stock-alert-panel > .panel-heading {
  background: #fef2f2 !important;
  border-bottom: 1px solid #fecaca;
}
.stock-alert-panel > .panel-heading a { display: block; color: #b91c1c !important; text-decoration: none; }
.stock-alert-panel > .panel-heading img { float: right; width: 22px; height: 22px; }
.stock-alert-panel > .panel-collapse > .panel-body { overflow-x: auto; }
.stock-alert-panel table { min-width: 720px; }
.stock-alert-panel #btnExporter,
.stock-alert-panel a.btn { margin-bottom: 14px; }

/* Planning de maintenance */
.maintenance-calendar-page > .panel-body { padding: 0; }
.calendar-summary { margin-bottom: 6px; }
.calendar-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  margin-bottom: 18px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--gmao-border);
  border-radius: var(--gmao-radius);
  box-shadow: var(--gmao-shadow);
}
.calendar-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  font-size: 21px;
}
.calendar-stat-blue { color: #2563eb; background: #dbeafe; }
.calendar-stat-teal { color: #0f766e; background: #ccfbf1; }
.calendar-stat strong,
.calendar-stat small { display: block; }
.calendar-stat strong { color: var(--gmao-text); font-size: 26px; line-height: 1; }
.calendar-stat small { margin-top: 5px; color: var(--gmao-muted); font-size: 13px; }
.maintenance-calendar-panel > .panel-heading .panel-title { font-size: 16px; font-weight: 800; }
.maintenance-calendar-panel > .panel-body { padding: 18px 22px 24px; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; color: var(--gmao-muted); font-size: 12px; font-weight: 700; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.legend-intervention { background: #2563eb; }
.legend-maintenance { background: #0f766e; }
.maintenance-calendar-panel .fc-toolbar h2 { color: var(--gmao-text); font-size: 20px; font-weight: 800; text-transform: capitalize; }
.maintenance-calendar-panel .fc-button {
  min-height: 36px;
  padding: 7px 12px;
  color: #334155;
  background: #fff;
  border: 1px solid var(--gmao-border);
  border-radius: 7px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}
.maintenance-calendar-panel .fc-button:hover,
.maintenance-calendar-panel .fc-button-active {
  color: #fff !important;
  background: var(--gmao-primary) !important;
  border-color: var(--gmao-primary) !important;
}
.maintenance-calendar-panel .fc-head-container,
.maintenance-calendar-panel .fc-day-header { background: #f8fafc; }
.maintenance-calendar-panel .fc-day-header { padding: 10px 5px; color: #475569; font-size: 12px; text-transform: capitalize; }
.maintenance-calendar-panel .fc-day-number { color: #475569; font-weight: 650; }
.maintenance-calendar-panel .fc-today { background: #f0fdfa !important; }
.maintenance-calendar-panel .fc-event { padding: 2px 4px; border-radius: 5px; font-size: 11px; }

/* Messagerie interne */
.messaging-page > .panel-body { padding: 0; }
.messaging-shell {
  display: grid;
  grid-template-columns: minmax(230px, 290px) 1fr;
  min-height: 600px;
  margin: 0;
  overflow: hidden;
}
.messaging-sidebar {
  min-width: 0;
  background: #f8fafc;
  border-right: 1px solid var(--gmao-border);
}
.messaging-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 16px 18px;
  color: var(--gmao-text);
  background: #fff;
  border-bottom: 1px solid var(--gmao-border);
  font-size: 14px;
  font-weight: 800;
}
.messaging-sidebar-header .status-badge::before { display: none; }
.messaging-user-list { max-height: 620px; padding: 10px; overflow-y: auto; }
.messaging-user {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  margin-bottom: 5px;
  padding: 9px 11px;
  color: #334155;
  border-radius: 9px;
  transition: background .16s ease, color .16s ease;
}
.messaging-user:hover,
.messaging-user:focus { color: var(--gmao-primary); background: #ecfdf5; text-decoration: none; }
.messaging-user.active { color: #fff; background: var(--gmao-primary); }
.messaging-user.active .messaging-avatar { color: #fff; background: rgba(255,255,255,.16); }
.messaging-user-name { min-width: 0; flex: 1; overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.messaging-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  color: var(--gmao-primary);
  background: var(--gmao-primary-soft);
  border-radius: 50%;
  font-size: 16px;
}
.messaging-empty-list { padding: 20px 10px; color: var(--gmao-muted); font-size: 13px; text-align: center; }
.messaging-welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  color: var(--gmao-muted);
  text-align: center;
}
.messaging-welcome-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  color: var(--gmao-primary);
  background: var(--gmao-primary-soft);
  border-radius: 22px;
  font-size: 34px;
}
.messaging-welcome h2 { margin: 0 0 8px; color: var(--gmao-text); font-size: 21px; font-weight: 800; }
.messaging-welcome p { max-width: 390px; margin: 0; line-height: 1.6; }
.conversation-panel { display: grid; grid-template-rows: auto minmax(300px, 1fr) auto; min-width: 0; height: 650px; background: #fff; }
.conversation-header { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 20px; border-bottom: 1px solid var(--gmao-border); }
.messaging-avatar-large { width: 44px; height: 44px; flex-basis: 44px; }
.conversation-header h2 { margin: 0 0 3px; color: var(--gmao-text); font-size: 16px; font-weight: 800; }
.conversation-header small { color: var(--gmao-muted); }
.conversation-messages { padding: 22px; overflow-y: auto; background: #f8fafc; }
.message-row { display: flex; margin-bottom: 12px; }
.message-row-sent { justify-content: flex-end; }
.message-bubble { max-width: min(72%, 620px); padding: 11px 14px 8px; border-radius: 13px; box-shadow: 0 2px 6px rgba(15,23,42,.05); }
.message-bubble p { margin: 0; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-bubble time { display: block; margin-top: 6px; font-size: 10px; text-align: right; opacity: .72; }
.message-received { color: #334155; background: #fff; border: 1px solid var(--gmao-border); border-bottom-left-radius: 4px; }
.message-sent { color: #fff; background: var(--gmao-primary); border-bottom-right-radius: 4px; }
.conversation-empty { display: flex; align-items: center; justify-content: center; height: 100%; flex-direction: column; color: var(--gmao-muted); text-align: center; }
.conversation-empty i { margin-bottom: 10px; color: #94a3b8; font-size: 32px; }
.conversation-composer { display: flex; align-items: flex-end; gap: 10px; padding: 14px 18px; background: #fff; border-top: 1px solid var(--gmao-border); }
.conversation-composer textarea { min-height: 44px; max-height: 110px; resize: vertical; }
.conversation-composer .btn { min-height: 44px; padding-right: 18px; padding-left: 18px; }

/* Profil utilisateur */
.modern-profile {
  overflow: hidden;
  border: 1px solid var(--gmao-border);
  border-radius: var(--gmao-radius);
  box-shadow: var(--gmao-shadow);
}
.modern-profile .profile-left { width: 34%; background: #f8fafc; border-right: 1px solid var(--gmao-border); }
.modern-profile .profile-right { width: 66%; padding: 28px 32px; background: #fff; }
.modern-profile .profile-main {
  position: relative;
  padding: 36px 20px 30px;
  background-color: var(--gmao-navy) !important;
  background-blend-mode: soft-light;
}
.modern-profile .profile-main::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(23,32,51,.9), rgba(15,118,110,.72)); }
.modern-profile .profile-main > * { position: relative; z-index: 1; }
.modern-profile .profile-main img { width: 92px; height: 92px; object-fit: cover; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 8px 20px rgba(15,23,42,.22); }
.modern-profile .profile-main .name { margin-top: 14px; color: #fff; font-size: 20px; font-weight: 800; }
.modern-profile .online-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; color: #166534; background: #dcfce7; border-radius: 999px; font-size: 11px; font-weight: 700; }
.modern-profile .profile-detail { padding: 24px; }
.modern-profile .profile-info .heading,
.modern-profile .profile-content-title { color: var(--gmao-text); font-size: 15px; font-weight: 800; }
.modern-profile .list-justify > li { padding: 11px 0; color: var(--gmao-muted); border-bottom: 1px solid var(--gmao-border); }
.modern-profile .list-justify > li span { max-width: 62%; color: var(--gmao-text); font-weight: 700; overflow-wrap: anywhere; text-align: right; }
.modern-profile .profile-detail .btn { margin-top: 18px; }
.modern-profile .custom-tabs-line { margin-top: 26px; }
.modern-profile .custom-tabs-line ul > li.active a { color: var(--gmao-primary); border-bottom-color: var(--gmao-primary); }
.modern-profile .activity-timeline > li { padding: 8px 0 12px 38px; }
.modern-profile .activity-timeline .activity-icon { color: var(--gmao-primary); background: var(--gmao-primary-soft); }
.modern-profile .activity-timeline p { color: #475569; }
.modern-profile .tab-content { min-height: 220px; padding-top: 16px; }
.profile-edit-card > .panel-heading .text-primary { color: var(--gmao-primary); }
.modern-profile-form > .row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 4px 18px;
  margin: 0;
}
.modern-profile-form > .row > [class*="col-md-"] { float: none; width: auto; min-width: 0; margin: 0 !important; padding: 0; }
.modern-profile-form > .row > .col-md-3 { display: flex; align-items: center; min-height: 48px; }
.modern-profile-form label { margin: 0; color: #475569; font-size: 12px; letter-spacing: .025em; }
.modern-profile-form .form-control { width: 100% !important; margin-bottom: 8px !important; }
.modern-profile-form textarea.form-control { min-height: 110px; resize: vertical; }
.modern-profile-form input[type="file"].form-control { height: auto; min-height: 42px; padding: 8px; }
.modern-profile-form .form-control[readonly] { color: #64748b; background: #f1f5f9; cursor: not-allowed; }
.modern-profile-form .error-message { display: block; margin: -4px 0 8px; color: var(--gmao-danger); font-size: 12px; }
.profile-edit-form { max-width: 1080px; margin: 0 auto; }
.profile-edit-form .profile-edit-card { overflow: visible; }
.profile-edit-form .profile-edit-card > .panel-body { padding: 10px 26px 26px; }
.profile-form-section { margin-bottom: 10px; }
.profile-form-section .form-section-heading { margin-top: 18px; }
.profile-form-field {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 7px 4px;
  border-bottom: 1px solid #eef2f7;
}
.profile-form-field:last-child { border-bottom: 0; }
.profile-form-field > label {
  margin: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.profile-field-control { min-width: 0; }
.profile-field-control .form-control { width: 100%; margin: 0; }
.profile-field-control textarea.form-control { min-height: 110px; resize: vertical; }
.profile-field-control input[type="file"].form-control { height: auto; min-height: 42px; padding: 8px; }
.profile-field-control .form-control[readonly],
.profile-field-control .form-control[disabled] { color: #64748b; background: #f1f5f9; cursor: not-allowed; }
.profile-field-control .error-message { display: block; margin-top: 5px; color: var(--gmao-danger); font-size: 12px; }
.profile-form-field-top { align-items: start; }
.profile-form-field-top > label { padding-top: 11px; }
.profile-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 16px 26px;
  background: #f8fafc;
  border-top: 1px solid var(--gmao-border);
  border-radius: 0 0 var(--gmao-radius) var(--gmao-radius);
}

/* Administration des utilisateurs */
.users-admin-page > .panel-body { padding: 0; }
.users-summary { margin-right: -15px; margin-left: -15px; }
.users-summary .work-summary-card { cursor: default; }
.users-list-panel { overflow: hidden; }
.users-list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.users-list-toolbar .panel-title { font-size: 16px; font-weight: 800; }
.users-list-panel table { min-width: 1050px; }
.users-list-panel .dataTables_wrapper { min-width: 1020px; }
.users-list-panel td:first-child { color: var(--gmao-text); font-weight: 750; }
.users-list-panel td:nth-child(2) { color: var(--gmao-primary); }
.users-list-panel td:nth-child(3) { color: #475569; font-weight: 650; }
.users-list-panel td:last-child { min-width: 330px; white-space: nowrap; }
.users-list-panel td:last-child .btn { margin: 2px; }
.users-list-panel .modal { white-space: normal; }

/* Suivi des contrats de maintenance */
.contracts-page > .panel-body { padding: 0; }
.contracts-summary { margin-right: -15px; margin-left: -15px; }
.contracts-summary .work-summary-card { cursor: default; }
.contract-filter-panel h4 {
  margin: 0 0 18px;
  color: var(--gmao-text);
  font-size: 15px;
  font-weight: 800;
}
.contracts-list-panel { overflow: hidden; }
.contracts-list-panel .panel-heading form > .panel-title {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.contracts-list-panel .panel-heading form > .panel-title::before {
  content: "Liste des contrats de maintenance";
  margin-right: auto;
  color: var(--gmao-text);
  font-size: 16px;
  font-weight: 800;
}
.contracts-list-panel table { min-width: 1120px; }
.contracts-list-panel .dataTables_wrapper { min-width: 1090px; }
.contracts-list-panel td:first-child { color: var(--gmao-primary); font-weight: 800; }
.contracts-list-panel th:nth-child(5),
.contracts-list-panel td:nth-child(5) { text-align: right; white-space: nowrap; }
.contracts-list-panel td:nth-child(6),
.contracts-list-panel td:nth-child(8),
.contracts-list-panel td:last-child { white-space: nowrap; }
.contracts-list-panel td:last-child .btn { margin: 2px; }
.contracts-list-panel .modal { text-align: left; white-space: normal; }
.contracts-list-panel .label-success,
.contracts-list-panel .label-danger {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

/* Annuaire des prestataires */
.providers-page > .panel-body { padding: 0; }
.providers-summary { margin-right: -15px; margin-left: -15px; }
.providers-summary .work-summary-card { cursor: default; }
.providers-list-panel { overflow: hidden; }
.providers-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.providers-list-toolbar .panel-title { font-size: 16px; font-weight: 800; }
.providers-search { width: min(100%, 470px); }
.providers-search .input-group-btn .btn { height: 42px; padding-right: 20px; padding-left: 20px; }
.providers-table-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}
.providers-list-panel table { min-width: 1040px; }
.providers-list-panel .dataTables_wrapper { min-width: 1010px; }
.providers-list-panel td:first-child { color: #64748b; font-weight: 750; white-space: nowrap; }
.providers-list-panel td:nth-child(2) { color: var(--gmao-primary); font-weight: 800; }
.providers-list-panel td:nth-child(3),
.providers-list-panel td:nth-child(4) { white-space: nowrap; }
.providers-list-panel td:nth-child(6) { min-width: 220px; white-space: normal; }
.providers-list-panel td:last-child { white-space: nowrap; }
.suppliers-list-panel td:nth-child(5) {
  min-width: 190px;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* Patrimoine immobilier */
.buildings-page > .panel-body { padding: 0; }
.buildings-summary { margin-right: -15px; margin-left: -15px; }
.buildings-summary .work-summary-card { cursor: default; }
.buildings-list-panel { overflow: hidden; }
.buildings-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.buildings-list-toolbar .panel-title { font-size: 16px; font-weight: 800; }
.buildings-list-panel table { width: 100% !important; table-layout: fixed; }
.buildings-list-panel th:first-child { width: 45%; }
.buildings-list-panel th:nth-child(2) { width: 20%; }
.buildings-list-panel th:last-child { width: 35%; }
.buildings-list-panel td:first-child {
  color: var(--gmao-primary);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.buildings-list-panel td:nth-child(2),
.buildings-list-panel td:last-child { white-space: nowrap; }
.buildings-list-panel td:last-child .btn { margin: 2px; }
.buildings-page .modal-title { padding-right: 25px; overflow-wrap: anywhere; text-transform: none; }
.building-rooms-table { width: 100%; table-layout: fixed; }
.building-rooms-table td:first-child { overflow-wrap: anywhere; }

/* Organisation des départements */
.departments-page > .panel-body { padding: 0; }
.departments-summary { margin-right: -15px; margin-left: -15px; }
.departments-summary .work-summary-card { cursor: default; }
.departments-list-panel { overflow: hidden; }
.departments-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.departments-list-toolbar .panel-title { font-size: 16px; font-weight: 800; }
.departments-table-actions {
  display: flex !important;
  visibility: visible !important;
  justify-content: flex-end;
  min-height: 42px;
  margin-bottom: 14px;
}
.departments-table-actions #btnExporter {
  display: inline-flex !important;
  visibility: visible !important;
  align-items: center;
  gap: 7px;
  opacity: 1 !important;
}
.departments-list-panel table { min-width: 920px; }
.departments-list-panel .dataTables_wrapper { min-width: 890px; }
.departments-list-panel th:first-child,
.departments-list-panel td:first-child { width: 54px; color: #94a3b8; text-align: center; }
.departments-list-panel td:nth-child(2) { color: var(--gmao-primary); font-weight: 800; }
.departments-list-panel td:nth-child(3),
.departments-list-panel td:nth-child(4),
.departments-list-panel td:nth-child(5) { overflow-wrap: anywhere; white-space: normal; }
.departments-list-panel td:last-child { min-width: 210px; white-space: nowrap; }
.departments-list-panel td:last-child .btn { margin: 2px; }

/* Demandes d'équipement */
.requests-page > .panel-body { padding: 0; }
.requests-summary { margin-right: -15px; margin-left: -15px; }
.requests-summary .work-summary-card { cursor: default; }
.requests-list-panel { overflow: hidden; }
.requests-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.requests-list-toolbar .panel-title { font-size: 16px; font-weight: 800; }
.requests-list-panel .panel-body { overflow-x: auto; }
.requests-table { min-width: 1050px; }
.requests-list-panel .dataTables_wrapper { min-width: 1020px; }
.requests-table > tbody > tr.accordion-toggle { cursor: pointer; }
.requests-table > tbody > tr.accordion-toggle:hover { background: #f8fafc; }
.requests-table > tbody > tr.accordion-toggle > td:first-child { width: 42px; text-align: center; }
.requests-table > tbody > tr.accordion-toggle > td:first-child img { width: 22px; height: 22px; object-fit: contain; }
.requests-table > tbody > tr.accordion-toggle > td:nth-child(2) { color: var(--gmao-primary); font-weight: 800; }
.requests-table > tbody > tr.accordion-toggle > td:nth-child(3),
.requests-table > tbody > tr.accordion-toggle > td:last-child { white-space: nowrap; }
.request-details { margin: -1px -8px 0; padding: 14px; background: #f8fafc; border: 1px solid var(--gmao-border); border-radius: 10px; }
.request-details .table { margin-bottom: 0; background: #fff; }
.request-details td:first-child { color: var(--gmao-text); font-weight: 700; overflow-wrap: anywhere; }
.consumable-requests-page .request-details table { min-width: 680px; }
.consumable-requests-page .request-details th:first-child,
.consumable-requests-page .request-details td:first-child { width: 50%; }

/* Fiche d'une maintenance planifiée */
.maintenance-detail-page > .panel-body { padding: 0; }
.maintenance-detail-card { overflow: hidden; }
.maintenance-detail-identity { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.maintenance-detail-kicker { display: block; margin-bottom: 4px; color: var(--gmao-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.maintenance-detail-identity .panel-title { color: var(--gmao-primary); font-size: 21px; font-weight: 850; }
.maintenance-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.maintenance-info-section { min-width: 0; padding: 20px; background: #f8fafc; border: 1px solid var(--gmao-border); border-radius: 12px; }
.maintenance-info-section h4 { margin: 0 0 14px; color: var(--gmao-text); font-size: 15px; font-weight: 800; }
.maintenance-info-section h4 i { margin-right: 7px; color: var(--gmao-primary); }
.maintenance-info-list { margin: 0; }
.maintenance-info-list > div { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--gmao-border); }
.maintenance-info-list > div:last-child { border-bottom: 0; }
.maintenance-info-list dt { color: var(--gmao-muted); font-weight: 650; }
.maintenance-info-list dd { margin: 0; color: var(--gmao-text); font-weight: 750; overflow-wrap: anywhere; }
.maintenance-report-card .panel-title { font-size: 16px; font-weight: 800; }
.maintenance-report-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.maintenance-report-actions .btn { margin: 0; }

/* Formulaires des contrats */
.contract-form-page > .panel-body { padding: 0; }
.contract-form-card { overflow: hidden; }
.contract-form-card > .panel-heading .panel-title { font-size: 17px; font-weight: 800; text-transform: none; }
.contract-form-card > .panel-heading .panel-title span { color: var(--gmao-primary); }
.contract-form-card > .panel-body { padding: 10px 26px 22px; }
.contract-form-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; column-gap: 22px; }
.contract-form-grid::before,
.contract-form-grid::after {
  display: none !important;
  content: none !important;
}
.contract-form-grid > .col-md-3,
.contract-form-grid > .col-md-9 { float: none; width: auto; }
.contract-form-grid > .col-md-3 { padding: 12px 0 0; }
.contract-form-grid > .col-md-9 { min-width: 0; padding: 4px 0 8px; }
.contract-form-grid > #societe { display: contents; }
.contract-form-grid label { margin: 0; color: #475569; font-size: 12px; font-weight: 800; }
.contract-form-grid textarea.form-control { min-height: 105px; resize: vertical; }
.contract-form-grid input[type="file"] { height: auto; min-height: 42px; padding: 8px 10px; }
.contract-form-actions { padding: 16px 24px; background: #f8fafc; border-top: 1px solid var(--gmao-border); }
.contract-form-actions .row { display: flex; justify-content: flex-end; }
.contract-form-actions .col-md-6 { float: none; width: auto; }
.contract-form-actions .btn + .btn,
.contract-form-actions .btn + input.btn { margin-left: 7px; }
.partner-form-page .contract-form-card > .panel-body { padding: 22px 28px 26px; }
.partner-form-grid {
  grid-template-columns: 230px minmax(0, 1fr);
  column-gap: 24px;
  width: 100%;
  max-width: 980px;
  margin: 0 auto !important;
}
.partner-form-grid > .col-md-3,
.partner-form-grid > .col-md-9 {
  position: static;
  min-height: 58px;
  margin: 0 !important;
  box-sizing: border-box;
}
.partner-form-grid > .col-md-3 {
  display: flex;
  align-items: flex-start;
  padding: 15px 0 10px !important;
}
.partner-form-grid > .col-md-9 { padding: 7px 0 9px !important; }
.partner-form-grid label {
  width: 100%;
  margin: 0;
  line-height: 1.45;
}
.partner-form-grid .form-control {
  width: 100% !important;
  margin: 0 !important;
}
.partner-form-grid textarea.form-control { min-height: 105px; }
.building-form-page .contract-form-card > .panel-body { padding: 22px 28px 28px; }
.building-main-grid { grid-template-columns: 230px minmax(0, 1fr); max-width: 980px; margin: 0 auto !important; }
.building-main-grid > .col-md-3,
.building-main-grid > .col-md-9 { float: none; width: auto; margin: 0 !important; }
.building-rooms-fieldset { max-width: 980px; margin: 22px auto 0; padding: 18px 20px 10px; border: 1px solid var(--gmao-border); border-radius: 12px; background: #f8fafc; }
.building-rooms-fieldset legend { width: auto; margin: 0 0 12px; padding: 0 8px; border: 0; color: var(--gmao-text); font-size: 14px; font-weight: 800; }
.building-room-row { display: grid; grid-template-columns: 210px minmax(0, 1fr) 44px; align-items: start; gap: 14px; margin: 0 !important; }
.building-room-row::before,
.building-room-row::after { display: none !important; content: none !important; }
.building-room-row > .col-md-3,
.building-room-row > .col-md-8,
.building-room-row > .col-md-1 { float: none; width: auto; min-width: 0; margin: 0 !important; padding: 7px 0 !important; }
.building-room-row label { padding-top: 10px; color: #475569; font-size: 12px; font-weight: 800; }
.building-room-row .form-control { width: 100% !important; margin: 0 !important; }
.building-room-row .btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 42px; padding: 0; }

.intervention-detail-page > .panel-body { padding-top: 6px; }
.intervention-detail-card { overflow: hidden; border: 1px solid var(--gmao-border); border-radius: 16px; box-shadow: 0 10px 28px rgba(15, 23, 42, .06); }
.intervention-detail-heading { padding: 20px 24px !important; border-bottom: 1px solid var(--gmao-border); background: linear-gradient(135deg, #f8fafc 0%, #eefaf8 100%); }
.intervention-detail-heading .panel-title { margin: 0; color: #0f172a; font-size: 19px; font-weight: 800; }
.intervention-detail-heading .panel-title b { color: var(--gmao-primary); }
.intervention-detail-card > .panel-body { padding: 24px; }
.intervention-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }
.intervention-detail-grid::before,
.intervention-detail-grid::after { display: none; content: none; }
.intervention-info-block { float: none; width: auto; min-width: 0; padding: 20px !important; border: 1px solid var(--gmao-border) !important; border-radius: 13px; background: #fff; }
.intervention-info-block > span { line-height: 1.55; }
.intervention-info-block > span[style*="font-weight: bold"] { display: block; margin: 16px 0 9px; padding-bottom: 9px; border-bottom: 1px solid #e8eef3; color: #0f172a; font-size: 14px; font-weight: 800 !important; }
.intervention-info-block > span[style*="font-weight: bold"]:first-child { margin-top: 0; }
.intervention-info-block .float-right { max-width: 58%; overflow-wrap: anywhere; text-align: right; }
.intervention-info-block .label { display: inline-block; padding: 5px 9px; border-radius: 999px; }
.intervention-detail-footer { padding: 16px 24px !important; border-top: 1px solid var(--gmao-border); background: #f8fafc; }
.intervention-detail-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; float: none; width: 100%; padding: 0; }
.intervention-detail-actions > .btn { margin: 0 !important; }
.intervention-detail-actions > form { width: 100%; margin-bottom: 8px; padding: 16px; border: 1px solid var(--gmao-border); border-radius: 12px; background: #fff; text-align: left; }
.intervention-detail-actions > form > .row { display: grid; grid-template-columns: 190px minmax(220px, 1fr) auto; align-items: center; gap: 12px; margin: 0; }
.intervention-detail-actions > form > .row::before,
.intervention-detail-actions > form > .row::after { display: none; content: none; }
.intervention-detail-actions > form > .row > [class*="col-md-"] { float: none; width: auto; min-width: 0; margin: 0 !important; padding: 0; }
.intervention-detail-actions > form > .row .form-control { width: 100% !important; margin: 0; }

@media (max-width: 767px) {
  .intervention-page > .panel-heading .panel-title { font-size: 20px; }
  .intervention-page > .panel-heading .panel-subtitle { margin-left: 0; }
  .intervention-filter-panel .text-right { text-align: left; }
  .intervention-filter-panel .btn { width: 100%; margin: 4px 0; }
  .intervention-detail-grid { grid-template-columns: 1fr; }
  .intervention-detail-card > .panel-body { padding: 14px; }
  .intervention-detail-heading { padding: 17px 18px !important; }
  .intervention-detail-footer { padding: 14px !important; }
  .intervention-detail-actions { align-items: stretch; flex-direction: column; }
  .intervention-detail-actions > .btn { width: 100%; }
  .intervention-detail-actions > form > .row { grid-template-columns: 1fr; }
  .intervention-report-context { flex-direction: column; }
  .intervention-report-actions { align-items: stretch; flex-direction: column-reverse; }
  .intervention-report-actions .btn { width: 100%; }
  .technician-stats-toolbar { align-items: stretch; flex-direction: column; }
  .technician-stats-toolbar .btn { width: 100%; }
  .maintenance-detail-overview { grid-template-columns: 1fr; }
  .maintenance-detail-card > .panel-body { padding: 14px; }
  .maintenance-contract-actions { align-items: stretch; flex-direction: column; }
  .maintenance-contract-actions .btn { width: 100%; }
  .maintenance-schedule-heading { align-items: flex-start; flex-direction: column; }
  .preventive-report-card > .panel-body { padding: 14px; }
  .preventive-report-form fieldset { padding: 14px !important; }
  .preventive-report-form fieldset > .row { grid-template-columns: 1fr; gap: 2px; }
  .preventive-report-form fieldset label { padding-top: 8px; }
  .preventive-report-actions .btn { width: 100%; }
  .consumable-form-actions { align-items: stretch; flex-direction: column-reverse; }
  .consumable-form-actions .btn { width: 100%; }
  .consumable-request-selector { grid-template-columns: 1fr 1fr; }
  .consumable-request-selector > .col-md-3:last-child { grid-column: 1 / -1; }
  .consumable-request-submit .btn { width: 100%; }
  .consumable-exits-toolbar { align-items: stretch; flex-direction: column; }
  .consumable-exits-toolbar .btn { width: 100%; }
  .garage-list-toolbar,
  .garage-list-toolbar > div { align-items: stretch; flex-direction: column; }
  .garage-list-toolbar .btn { width: 100%; }
  .garage-form-actions { align-items: stretch; flex-direction: column-reverse; }
  .garage-form-actions .btn { width: 100%; }
  .vehicle-detail-layout,
  .vehicle-information-grid { grid-template-columns: 1fr; }
  .vehicle-photo-card,
  .vehicle-photo-card .bg-primary { min-height: 220px; }
  .vehicle-detail-actions { align-items: stretch; flex-direction: column; }
  .vehicle-detail-actions .btn,
  .vehicle-information-card > .panel-body > .btn,
  .vehicle-information-card > .panel-body > a.btn { width: 100%; margin: 4px 0; }
  .fleet-deadline-toolbar .panel-title { align-items: stretch; flex-direction: column; }
  .fleet-deadline-toolbar .panel-title .btn { width: 100%; }
  .fleet-deadline-summary { margin-right: -15px; margin-left: -15px; }
  .vehicle-distribution-group-heading .panel-title > a { align-items: flex-start; flex-direction: column; }
  .vehicle-distribution-group-heading .label { margin-left: 0; }
  .user-create-actions { align-items: stretch; flex-direction: column-reverse; }
  .user-create-actions .btn { width: 100%; }
  .inventory-import-actions { align-items: stretch; flex-direction: column-reverse; }
  .inventory-import-actions .btn { width: 100%; }
  .intervention-list-panel .panel-heading form > .panel-title::before { width: 100%; margin-bottom: 8px; }
  .maintenance-summary { margin-right: -15px; margin-left: -15px; }
  .technician-workspace > .panel-heading .panel-title { font-size: 20px; }
  .technician-workspace > .panel-heading .panel-subtitle { margin-left: 0; }
  .preventive-technician-summary { margin-right: -15px; margin-left: -15px; }
  .technician-tables > .panel-body { overflow-x: auto; padding: 16px; }
  .equipment-page > .panel-heading .panel-title { font-size: 20px; }
  .equipment-page > .panel-heading .panel-subtitle { margin-left: 0; }
  .equipment-identity-bar { align-items: flex-start; flex-direction: column; }
  .equipment-history-toolbar { align-items: stretch; }
  .equipment-history-toolbar .btn { width: 100%; }
  .equipment-quick-facts { grid-template-columns: repeat(2, 1fr); }
  .equipment-form-page > .panel-heading .panel-title { font-size: 20px; }
  .equipment-form-page > .panel-heading .panel-subtitle { margin-left: 0; }
  .equipment-form-card > .panel-body { padding: 8px 16px 20px; }
  .equipment-form-card + .panel-footer .btn { width: 100%; margin: 4px 0; }
  .equipment-catalog-page > .panel-heading .panel-title { font-size: 20px; }
  .equipment-catalog-page > .panel-heading .panel-subtitle { margin-left: 0; }
  .equipment-group-toggle { align-items: flex-start; }
  .equipment-group-toggle::after { position: absolute; right: 18px; }
  .equipment-group-card > .panel-collapse .panel-heading .col-md-4,
  .equipment-group-card > .panel-collapse .panel-heading .col-md-5 { width: 100%; padding: 0; }
  .equipment-list-toolbar,
  .equipment-list-toolbar > div { align-items: stretch; flex-direction: column; }
  .equipment-list-toolbar .col-md-5 { margin-top: 10px; margin-left: 0; }
  .equipment-group-card > .panel-collapse .panel-body { overflow-x: auto; }
  .fleet-dashboard-header { align-items: flex-start; }
  .fleet-dashboard .card { height: 142px !important; }
  .vehicle-summary { margin-right: -15px; margin-left: -15px; }
  .stock-summary { margin-right: -15px; margin-left: -15px; }
  .stock-catalog-panel > .panel-body { padding: 10px; }
  .stock-summary-table th:first-child { width: 10%; }
  .stock-summary-table th:nth-child(2) { width: 48%; }
  .stock-summary-table th:nth-child(3),
  .stock-summary-table th:nth-child(4) { width: 21%; }
  .maintenance-calendar-panel > .panel-body { padding: 14px 10px 18px; overflow-x: auto; }
  .maintenance-calendar-panel #calendar { min-width: 720px; }
  .messaging-shell { display: block; min-height: 0; }
  .messaging-sidebar { border-right: 0; border-bottom: 1px solid var(--gmao-border); }
  .messaging-user-list { display: flex; max-height: none; overflow-x: auto; }
  .messaging-user { flex: 0 0 210px; }
  .messaging-welcome { min-height: 360px; }
  .conversation-panel { height: 600px; }
  .message-bubble { max-width: 88%; }
  .modern-profile .profile-left,
  .modern-profile .profile-right { float: none; width: 100%; }
  .modern-profile .profile-left { border-right: 0; border-bottom: 1px solid var(--gmao-border); }
  .modern-profile .profile-right { min-height: 0 !important; padding: 24px 20px; }
  .profile-edit-card + .panel-footer .btn { width: 100%; margin: 4px 0; }
  .profile-edit-form .profile-edit-card > .panel-body { padding: 8px 16px 20px; }
  .profile-form-field { grid-template-columns: 170px minmax(0, 1fr); }
  .users-summary { margin-right: -15px; margin-left: -15px; }
  .users-list-toolbar { align-items: stretch; flex-direction: column; }
  .users-list-toolbar .btn { width: 100%; }
  .contracts-summary { margin-right: -15px; margin-left: -15px; }
  .contracts-list-panel .panel-heading form > .panel-title { align-items: stretch; flex-direction: column; }
  .contracts-list-panel .panel-heading form > .panel-title::before { margin-bottom: 4px; }
  .contracts-list-panel .panel-heading .btn { width: 100%; }
  .providers-summary { margin-right: -15px; margin-left: -15px; }
  .providers-list-toolbar { align-items: stretch; flex-direction: column; }
  .providers-search { width: 100%; }
  .providers-table-actions { align-items: stretch; flex-direction: column; }
  .providers-table-actions .btn { width: 100%; }
  .buildings-summary { margin-right: -15px; margin-left: -15px; }
  .buildings-list-toolbar { align-items: stretch; flex-direction: column; }
  .buildings-list-toolbar .btn { width: 100%; }
  .buildings-list-panel table { min-width: 680px; }
  .departments-summary { margin-right: -15px; margin-left: -15px; }
  .departments-list-toolbar { align-items: stretch; flex-direction: column; }
  .departments-list-toolbar .btn { width: 100%; }
  .departments-table-actions { display: block !important; }
  .departments-table-actions #btnExporter { justify-content: center; width: 100%; }
  .requests-summary { margin-right: -15px; margin-left: -15px; }
  .requests-list-toolbar { align-items: stretch; flex-direction: column; }
  .requests-list-toolbar .btn { width: 100%; }
  .equipment-movements-summary { margin-right: -15px; margin-left: -15px; }
  .equipment-movements-toolbar { align-items: stretch; flex-direction: column; }
  .equipment-movements-toolbar .btn { width: 100%; }
  .equipment-admin-summary { margin-right: -15px; margin-left: -15px; }
  .equipment-admin-toolbar { align-items: stretch; flex-direction: column; }
  .equipment-admin-toolbar > div,
  .equipment-admin-modal-title,
  .equipment-admin-modal-title > span { align-items: stretch; flex-direction: column; }
  .equipment-admin-toolbar .btn,
  .equipment-admin-modal-title .btn { width: 100%; }
  .equipment-request-summary { margin-right: -15px; margin-left: -15px; }
	.equipment-request-selector { grid-template-columns: 1fr 1fr; }
	.equipment-request-selector > .col-md-4:last-child { grid-column: 1 / -1; }
  .request-processing-title { align-items: flex-start; flex-direction: column; }
  .request-processing-overview { grid-template-columns: 1fr; }
  .request-processing-actions .btn { width: 100%; }
  .maintenance-detail-identity { align-items: flex-start; flex-direction: column; }
  .maintenance-detail-grid { grid-template-columns: 1fr; }
  .maintenance-report-actions { align-items: stretch; flex-direction: column; }
  .maintenance-report-actions .btn { width: 100%; }
  .contract-form-card > .panel-body { padding: 8px 16px 20px; }
  .contract-form-grid { grid-template-columns: 170px minmax(0, 1fr); gap: 0 14px; }
  .contract-form-actions .btn { width: 100%; }
  .contract-form-actions .btn + .btn,
  .contract-form-actions .btn + input.btn { margin-top: 8px; margin-left: 0; }
  .partner-form-grid { grid-template-columns: 180px minmax(0, 1fr); column-gap: 16px; }
  .building-main-grid { grid-template-columns: 180px minmax(0, 1fr); }
  .building-room-row { grid-template-columns: 170px minmax(0, 1fr) 44px; gap: 10px; }
}

@media (max-width: 520px) {
  .conversation-composer { align-items: stretch; flex-direction: column; }
  .conversation-composer .btn { width: 100%; }
  .modern-profile-form > .row { display: block; }
  .modern-profile-form > .row > .col-md-3 { min-height: 0; margin-top: 12px !important; margin-bottom: 6px !important; }
  .profile-form-field { display: block; padding: 10px 2px 14px; }
  .profile-form-field > label { display: block; margin-bottom: 7px; padding-top: 0; }
  .profile-form-actions { align-items: stretch; flex-direction: column-reverse; padding: 14px 16px; }
  .profile-form-actions .btn { width: 100%; }
  .maintenance-info-list > div { display: block; }
  .maintenance-info-list dt { margin-bottom: 5px; }
  .contract-form-grid { display: block; }
  .contract-form-grid > .col-md-3 { padding-top: 12px; padding-bottom: 6px; }
  .contract-form-actions .row,
  .contract-form-actions .col-md-6 { display: block; width: 100%; }
  .partner-form-page .contract-form-card > .panel-body { padding: 14px 16px 20px; }
  .partner-form-grid { display: block; }
  .partner-form-grid > .col-md-3,
  .partner-form-grid > .col-md-9 { min-height: 0; }
  .partner-form-grid > .col-md-3 { padding: 13px 0 6px !important; }
  .partner-form-grid > .col-md-9 { padding: 0 0 8px !important; }
  .building-form-page .contract-form-card > .panel-body { padding: 14px 16px 20px; }
  .building-main-grid { display: block; }
  .building-rooms-fieldset { padding: 14px; }
  .building-room-row { grid-template-columns: minmax(0, 1fr) 44px; }
  .building-room-row > .col-md-3 { grid-column: 1 / -1; padding-bottom: 0 !important; }
  .building-room-row label { padding-top: 0; }
  .equipment-request-selector { display: block; }
  .equipment-request-selector > [class*="col-md-"] { margin-bottom: 7px !important; }
  .equipment-request-selector label { display: block; padding-top: 8px; }
	.equipment-request-action-label { display: none !important; }
  .equipment-request-submit-row .col-md-6,
  .equipment-request-form .btn { width: 100%; }
  .request-info-block .float-right { float: none; display: block; max-width: none; margin: 0 0 6px; text-align: left; }
  .request-reception-form > .request-reception-section { grid-template-columns: 1fr; gap: 15px; padding: 16px !important; }
  .request-reception-field.is-full,
  .request-reception-submit,
  .request-reception-section > h4 { grid-column: 1; }
  .request-reception-submit .btn { width: 100%; }
  .consumable-request-selector { grid-template-columns: 1fr; }
  .consumable-request-selector > .col-md-3:last-child { grid-column: 1; }
  .vehicle-stock-modal .modal-body { padding: 16px; }
  .vehicle-stock-modal-grid { display: block; }
  .vehicle-stock-modal-grid > .col-md-3,
  .vehicle-stock-modal-grid > .col-md-9 { min-height: 0; padding: 0; }
  .vehicle-stock-modal-grid > .col-md-3 { margin-top: 12px !important; margin-bottom: 6px !important; }
  .vehicle-stock-modal-grid > .col-md-9 { margin-bottom: 8px !important; }
  .vehicle-stock-modal-actions { align-items: stretch; flex-direction: column-reverse; padding: 14px 16px; }
  .vehicle-stock-modal-actions .btn { width: 100%; }
  .vehicle-return-modal .modal-body { padding: 16px; }
  .vehicle-return-grid { display: block; }
  .vehicle-return-grid > .col-md-4,
  .vehicle-return-grid > .col-md-8 { min-height: 0; padding: 0; }
  .vehicle-return-grid > .col-md-4 { margin-top: 12px !important; margin-bottom: 6px !important; }
  .vehicle-return-grid > .col-md-8 { margin-bottom: 8px !important; }
  .vehicle-return-actions { align-items: stretch; flex-direction: column-reverse; }
  .vehicle-return-actions .btn { width: 100%; }
  .fleet-update-modal .modal-body { padding: 16px; }
  .fleet-update-grid { display: block; }
  .fleet-update-grid > .col-md-4,
  .fleet-update-grid > .col-md-8 { min-height: 0; padding: 0; }
  .fleet-update-grid > .col-md-4 { margin-top: 12px !important; margin-bottom: 6px !important; }
  .fleet-update-grid > .col-md-8 { margin-bottom: 8px !important; }
  .fleet-update-actions { align-items: stretch; flex-direction: column-reverse; }
  .fleet-update-actions .btn { width: 100%; }
}

.satisfaction-results-page > .panel-body { padding: 0; }
.satisfaction-summary { margin-right: -15px; margin-left: -15px; }
.satisfaction-service-groups { margin-top: 8px; margin-bottom: 0; }
.satisfaction-service-card { overflow: hidden; margin-bottom: 14px !important; border: 1px solid var(--gmao-border) !important; border-radius: 14px !important; box-shadow: 0 6px 18px rgba(15, 23, 42, .04); }
.satisfaction-service-heading { padding: 0 !important; border: 0 !important; background: #fff !important; }
.satisfaction-service-heading .panel-title > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; color: #0f172a; font-weight: 800; text-decoration: none; }
.satisfaction-service-heading .panel-title > a:hover,
.satisfaction-service-heading .panel-title > a:focus { background: #f8fafc; color: var(--gmao-primary); }
.satisfaction-score { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 58px; height: 30px; padding: 0 10px; border-radius: 999px; background: #d1fae5; color: #047857; font-size: 13px; font-weight: 850; }
.satisfaction-dt-overview { overflow: hidden; margin: 8px 0 22px !important; border: 1px solid var(--gmao-border) !important; border-radius: 15px !important; box-shadow: 0 8px 24px rgba(15, 23, 42, .05); }
.satisfaction-dt-overview > .panel-heading { padding: 18px 20px !important; border: 0 !important; border-bottom: 1px solid var(--gmao-border) !important; background: linear-gradient(135deg, rgba(var(--gmao-primary-rgb), .10), #fff) !important; }
.satisfaction-dt-overview h4 { margin: 3px 0 5px; color: #0f172a; font-size: 18px; font-weight: 850; }
.satisfaction-dt-overview p { margin: 0; color: var(--gmao-muted); font-size: 12px; }
.satisfaction-overview-eyebrow { color: var(--gmao-primary); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.satisfaction-dt-overview > .panel-body { padding: 0 !important; }
.satisfaction-dt-table { min-width: 620px; }
.satisfaction-dt-table thead th { padding: 12px 15px !important; border-bottom: 1px solid var(--gmao-border) !important; background: #f8fafc; color: #475569; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.satisfaction-dt-table tbody td { padding: 13px 15px !important; vertical-align: middle !important; }
.satisfaction-service-body { padding: 16px !important; border-top: 1px solid var(--gmao-border); background: #f8fafc; }
.satisfaction-service-body .pane,
.satisfaction-service-body .panel-bod { width: 100%; }
.satisfaction-service-body .panel-heading { display: none; }
.satisfaction-table-wrap { min-width: 680px; margin: 0; }
.satisfaction-results-table { width: 100%; min-width: 680px; margin: 0; background: #fff; }
.satisfaction-results-table th:nth-last-child(2),
.satisfaction-results-table th:last-child,
.satisfaction-results-table td:nth-last-child(2),
.satisfaction-results-table td:last-child { text-align: center; }
.satisfaction-results-table tbody td { color: #334155; font-weight: 400; }
.satisfaction-results-table td[rowspan],
.satisfaction-results-table td.align-middle { color: #0f172a; font-weight: 750; vertical-align: middle !important; }
.satisfaction-results-table .table-info td { background: #e8f7f4; color: #065f5b; font-weight: 800; }

@media (max-width: 1199px) {
  .modern-equipment-form > .row { grid-template-columns: 155px minmax(0, 1fr); }
  .vehicle-exit-form-card .modern-equipment-form > .row { grid-template-columns: 165px minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .modern-equipment-form > .row { display: block; }
  .modern-equipment-form > .row > .col-md-3 { min-height: 0; margin-top: 12px !important; margin-bottom: 6px !important; }
  .form-section-heading { margin-top: 22px; }
  .vehicle-exit-form-intro { align-items: flex-start; }
  .vehicle-exit-form-actions .btn { width: 100%; margin: 4px 0 !important; }
}

@media (max-width: 480px) {
  .equipment-quick-facts { grid-template-columns: 1fr; }
  .equipment-identity-main { align-items: flex-start; }
  .equipment-identity-main h2 { font-size: 20px; }
}

@media (max-width: 767px) {
  .main-content { padding-top: 18px; }
  .dashboard-header { align-items: flex-start; flex-direction: column; }
  .dashboard-title { font-size: 22px; }
	.dashboard-welcome-banner { align-items: stretch; flex-direction: column; padding: 24px 20px; }
	.dashboard-welcome-banner .dashboard-title { font-size: 24px; }
	.dashboard-welcome-actions { align-items: stretch; flex-direction: column; }
	.dashboard-welcome-actions .btn { width: 100%; }
	.dashboard-availability { flex-basis: auto; min-height: 140px; }
  .panel .panel-body { padding: 16px; }
  .table > thead > tr > th,
  .table > tbody > tr > td { padding: 10px 8px; }
  .satisfaction-summary { margin-right: -15px; margin-left: -15px; }
  .satisfaction-service-heading .panel-title > a { align-items: flex-start; }
  .satisfaction-service-body { overflow-x: auto; padding: 12px !important; }
  .vehicle-reformed-summary { margin-right: -15px; margin-left: -15px; }
  .vehicle-reformed-filter-actions { align-items: stretch; flex-direction: column-reverse; }
  .vehicle-reformed-filter-actions .btn { width: 100%; }
  .vehicle-disposal-summary { margin-right: -15px; margin-left: -15px; }
  .vehicle-disposal-filter-actions { align-items: stretch; flex-direction: column-reverse; }
  .vehicle-disposal-filter-actions .btn { width: 100%; }
  .vehicle-stock-summary { margin-right: -15px; margin-left: -15px; }
  .vehicle-stock-filter-actions { align-items: stretch; flex-direction: column-reverse; }
  .vehicle-stock-filter-actions .btn { width: 100%; }
  .vehicle-stock-list-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .vehicle-stock-list-actions .btn { width: 100%; }
  .vehicle-exits-summary { margin-right: -15px; margin-left: -15px; }
}
