/* ------------------------------------------------------------------------------
 *
 *  # Custom CPanel styles
 *
 * ---------------------------------------------------------------------------- */

:root,
[data-color-theme=light]{
	--primary: #E5A000;
	--primary-rgb: 229, 160, 0;
	--primary-hover: #CC8F00;
	--bs-primary: #E5A000;
	--alpha-primary: #fef9ee;
	--body-bg: #f8f6f1;
	--border-color: #e8e4dc;
	--body-font-size-lg: 1rem;
	--body-font-size-sm: 0.75rem;
	--body-font-size-xs: 0.625rem;
	--body-line-height-computed: calc(1375rem / 1000);
	--body-line-height-lg: 1.375;
	--body-line-height-sm: 1.8334;
	--body-line-height-xs: 2.2;
	--spacer-1: 0.3125rem;
	--spacer-2: 0.625rem;
	--spacer: 1.25rem;
	--spacer-4: 1.875rem;
	--spacer-5: 3.75rem;
	--icon-font-family: Phosphor;
	--icon-font-size: 1.25rem;
	--icon-font-size-lg: 1.5rem;
	--icon-font-size-sm: 1rem;
	--transition-base-timer: 0.15s;
	--transition-collapse-timer: 0.3s;
	--font-sans-serif: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	--body-font-family: var(--font-sans-serif);
	--body-font-size: 0.875rem;
	--body-font-weight: 400;
	--body-line-height: 1.5715;
	--border-width: 1px;
	--border-style: solid;
	--border-radius: 0.5rem;
	--border-radius-sm: 0.5rem;
	--border-radius-lg: 0.5rem;
	--border-radius-xl: 1rem;
	--border-radius-2xl: 2rem;
	--border-radius-pill: 50rem;
	--highlight-bg: rgba(0, 0, 0, 0.15);
}

.btn-primary{
	--btn-bg:var(--primary);
	--btn-border-color:var(--primary);
	--btn-disabled-bg:var(--primary);
	--btn-disabled-border-color:var(--primary);
	--btn-hover-bg:var(--primary-hover);
	--btn-hover-border-color:var(--primary-hover);
	--btn-active-bg:var(--primary-hover);
	--btn-active-border-color:var(--primary-hover);
	--btn-focus-shadow-rgb:var(--primary-rgb);
}
.btn-outline-primary{
	--btn-color:var(--primary);
	--btn-border-color:var(--primary);
	--btn-hover-bg:var(--primary);
	--btn-hover-border-color:var(--primary);
	--btn-focus-shadow-rgb:var(--primary-rgb);
	--btn-active-bg:var(--primary-hover);
	--btn-active-border-color:var(--primary);
	--btn-disabled-color:var(--primary);
}
.btn-outline-primary:active{
	--btn-color:#fff;
}
.card{
	--card-border-radius:var(--border-radius-xl);
	--card-inner-border-radius:calc(var(--card-border-radius) - var(--border-width));
}

/* General */
#alert-container {
    display: none;
    left: 10%;
    position: fixed;
    top: 60px;
    width: 80%;
    z-index: 2000;
}
#alert-container .alert {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.sortable-placeholder + .panel.mb-10{
	margin-top:10px;
}

/* sidebar */
.sidebar-main .sidebar-logo a{
	color:var(--body-color);
}
.nav-sidebar{
	--nav-link-active-color:var(--body-color);
}

/* navbar */

/* cards */
[data-card-action=collapse] svg {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
  transition: -webkit-transform ease-in-out var(--transition-collapse-timer);
  transition: transform ease-in-out var(--transition-collapse-timer);
  transition: transform ease-in-out var(--transition-collapse-timer), -webkit-transform ease-in-out var(--transition-collapse-timer);
}
@media (prefers-reduced-motion: reduce) {
  [data-card-action=collapse] svg {
    transition: none;
  }
}
.card-collapsed [data-card-action=collapse] svg {
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}

/* light color whitout opacity */
.alpha-indigo{
	background-color:var(--alpha-indigo) !important;
}
.alpha-purple{
	background-color:var(--alpha-purple) !important;
}
.alpha-pink{
	background-color:var(--alpha-pink) !important;
}
.alpha-teal{
	background-color:var(--alpha-teal) !important;
}
.alpha-yellow{
	background-color:var(--alpha-yellow) !important;
}
.alpha-primary{
	background-color:var(--alpha-primary) !important;
}
.alpha-secondary{
	background-color:var(--alpha-secondary) !important;
}
.alpha-success{
	background-color:var(--alpha-success) !important;
}
.alpha-info{
	background-color:var(--alpha-info) !important;
}
.alpha-warning{
	background-color:var(--alpha-warning) !important;
}
.alpha-danger{
	background-color:var(--alpha-danger) !important;
}
.alpha-black{
	background-color:var(--alpha-black) !important;
}
.alpha-white{
	background-color:var(--alpha-white) !important;
}

/* grid system */
.grid-cols-2{
	grid-template-columns:repeat(2,1fr);
}
.grid-cols-3{
	grid-template-columns:repeat(3,1fr);
}
.grid-cols-4{
	grid-template-columns:repeat(4,1fr);
}
.grid-cols-5{
	grid-template-columns:repeat(5,1fr);
}
.grid-cols-6{
	grid-template-columns:repeat(6,1fr);
}
.grid-cols-8{
	grid-template-columns:repeat(8,1fr);
}
.grid-cols-10{
	grid-template-columns:repeat(10,1fr);
}
.grid-cols-12{
	grid-template-columns:repeat(12,1fr);
}
@media (min-width: 576px) {
	.grid-sm-cols-2{
		grid-template-columns:repeat(2,1fr);
	}
	.grid-sm-cols-3{
		grid-template-columns:repeat(3,1fr);
	}
	.grid-sm-cols-4{
		grid-template-columns:repeat(4,1fr);
	}
	.grid-sm-cols-5{
		grid-template-columns:repeat(5,1fr);
	}
	.grid-sm-cols-6{
		grid-template-columns:repeat(6,1fr);
	}
	.grid-sm-cols-8{
		grid-template-columns:repeat(8,1fr);
	}
	.grid-sm-cols-10{
		grid-template-columns:repeat(10,1fr);
	}
	.grid-sm-cols-12{
		grid-template-columns:repeat(12,1fr);
	}
}
@media (min-width: 768px) {
	.grid-md-cols-2{
		grid-template-columns:repeat(2,1fr);
	}
	.grid-md-cols-3{
		grid-template-columns:repeat(3,1fr);
	}
	.grid-md-cols-4{
		grid-template-columns:repeat(4,1fr);
	}
	.grid-md-cols-5{
		grid-template-columns:repeat(5,1fr);
	}
	.grid-md-cols-6{
		grid-template-columns:repeat(6,1fr);
	}
	.grid-md-cols-8{
		grid-template-columns:repeat(8,1fr);
	}
	.grid-md-cols-10{
		grid-template-columns:repeat(10,1fr);
	}
	.grid-md-cols-12{
		grid-template-columns:repeat(12,1fr);
	}
}
@media (min-width: 992px) {
	.grid-lg-cols-2{
		grid-template-columns:repeat(2,1fr);
	}
	.grid-lg-cols-3{
		grid-template-columns:repeat(3,1fr);
	}
	.grid-lg-cols-4{
		grid-template-columns:repeat(4,1fr);
	}
	.grid-lg-cols-5{
		grid-template-columns:repeat(5,1fr);
	}
	.grid-lg-cols-6{
		grid-template-columns:repeat(6,1fr);
	}
	.grid-lg-cols-8{
		grid-template-columns:repeat(8,1fr);
	}
	.grid-lg-cols-10{
		grid-template-columns:repeat(10,1fr);
	}
	.grid-lg-cols-12{
		grid-template-columns:repeat(12,1fr);
	}
}
@media (min-width: 1200px) {
	.grid-xl-cols-2{
		grid-template-columns:repeat(2,1fr);
	}
	.grid-xl-cols-3{
		grid-template-columns:repeat(3,1fr);
	}
	.grid-xl-cols-4{
		grid-template-columns:repeat(4,1fr);
	}
	.grid-xl-cols-5{
		grid-template-columns:repeat(5,1fr);
	}
	.grid-xl-cols-6{
		grid-template-columns:repeat(6,1fr);
	}
	.grid-xl-cols-8{
		grid-template-columns:repeat(8,1fr);
	}
	.grid-xl-cols-10{
		grid-template-columns:repeat(10,1fr);
	}
	.grid-xl-cols-12{
		grid-template-columns:repeat(12,1fr);
	}
}
@media (min-width: 1400px) {
	.grid-xxl-cols-2{
		grid-template-columns:repeat(2,1fr);
	}
	.grid-xxl-cols-3{
		grid-template-columns:repeat(3,1fr);
	}
	.grid-xxl-cols-4{
		grid-template-columns:repeat(4,1fr);
	}
	.grid-xxl-cols-5{
		grid-template-columns:repeat(5,1fr);
	}
	.grid-xxl-cols-6{
		grid-template-columns:repeat(6,1fr);
	}
	.grid-xxl-cols-8{
		grid-template-columns:repeat(8,1fr);
	}
	.grid-xxl-cols-10{
		grid-template-columns:repeat(10,1fr);
	}
	.grid-xxl-cols-12{
		grid-template-columns:repeat(12,1fr);
	}
}

/* tables */
.table-sm{
	--table-cell-padding-x: 1rem;
}
.table-xs{
	--table-cell-padding-x: 0.625rem;
}
.table-xxs{
	--table-cell-padding-y: 0.375rem;
	--table-cell-padding-x: 0.5rem;
}
/* Datatable */
.datatable-header .dataTables_filter{
	margin-left:0;
}
.datatable-toolbar{
	display:flex;
	align-items:center;
	justify-content:space-between;
	flex-wrap:wrap;
	width:100%;
	column-gap:0.625rem;
}
.datatable-toolbar .dataTables_length{
	margin-left:auto;
}
.dataTables_wrapper .table-sm{
	--dt-spacer-x:1rem;
	--dt-spacer-y:1rem;
}
.dataTables_wrapper .table-xs{
	--dt-spacer-x:0.625rem;
	--dt-spacer-y:0.625rem;
}
.dataTables_wrapper .table-xxs{
	--dt-spacer-x:0.5rem;
	--dt-spacer-y:0.5rem;
}
.dataTable thead .sorting:before,
.dataTable thead .sorting:after,
.dataTable thead .sorting_asc_disabled:before,
.dataTable thead .sorting_desc_disabled:after{
	right:calc(var(--dt-spacer-y) - 5px);
}
.dataTable tr > .dtfc-fixed-left{
	position:sticky;
	left:0;
	z-index:4;
	box-shadow:1px 0 0 var(--border-color);
}
.dataTable tr > .dtfc-fixed-right{
	position:sticky;
	right:0;
	z-index:4;
	box-shadow:-1px 0 0 var(--border-color);
}
.dataTable thead tr > .dtfc-fixed-left,
.dataTable thead tr > .dtfc-fixed-right{
	z-index:5;
}
.dataTables_scrollBody .table thead tr,
.dataTables_scrollBody .table thead th,
.dataTables_scrollBody .table thead td{
	border-bottom-width:0 !important;
}

/* users thumbnails */
.user-thumbnail{
	width:3.75rem;
	height:3.75rem;
	font-size:1.5rem;
	display:inline-flex;
	justify-content:center;
	align-items:center;
	background-color:#d6d1ff;
	color:#4e39fe;
	border-radius:50%;
	overflow:hidden;
	cursor:pointer;
}
.user-thumbnail span.img-alt{
	display:none;
}
.user-thumbnail img{
	width:100%;
	height:100%;
}
.user-thumbnail img[src=""]{
	display:none;
}
.user-thumbnail img[src=""]+span.img-alt{
	display:inline-block;
}
.user-thumbnail[data-color="1"]{
	background-color:#caf4c3;
	color:#4b9e3c;
}
.user-thumbnail[data-color="2"]{
	background-color:#f6e6b8;
	color:#a48834;
}
.user-thumbnail[data-color="3"]{
	background-color:#efb0b0;
	color:#993333;
}
.user-thumbnail[data-color="4"]{
	background-color:#f2cef1;
	color:#a442a3;
}
.header-thumbnail,
.table-thumbnail{
	width:2rem;
	height:2rem;
	font-size:1rem;
}

/* gallery grid */
.gallery-grid {
	display: flex;
	flex-wrap: wrap;
	column-gap: var(--spacer-2);
	row-gap: var(--spacer-2);
}
.gallery-element {
	display: flex;
	width: 150px;
	height: 150px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.gallery-element > img {
	max-width: 100%;
	max-height: 100%;
}

/* login page */
.login-cover{
	background:url(../img/backgrounds/panel_bg.png) center center;
}

/* versions */
.minor-version{
	opacity:0.6;
}

/* Custom classes */
.hide{
	display:none !important;
}
.hidden{
	display:none;
}

.bounce-notification{
	-webkit-animation-duration:10s;
	animation-duration:10s;
	-webkit-animation-fill-mode:both;
	animation-fill-mode:both;
	-webkit-animation-iteration-count:infinite;
	animation-iteration-count:infinite;
	-webkit-animation-name:notificationBounce;
	animation-name:notificationBounce;
}
@keyframes notificationBounce{
	from{
		-webkit-transform:scale3d(1, 1, 1);
		transform:scale3d(1, 1, 1)
	}
	3%{
		-webkit-transform: scale3d(1.25, .75, 1);
		transform: scale3d(1.25, .75, 1)
	}
	4%{
		-webkit-transform: scale3d(0.75, 1.25, 1);
		transform: scale3d(0.75, 1.25, 1)
	}
	5%{
		-webkit-transform: scale3d(1.15, .85, 1);
		transform: scale3d(1.15, .85, 1)
	}
	6.5%{
		-webkit-transform: scale3d(.95, 1.05, 1);
		transform: scale3d(.95, 1.05, 1)
	}
	7.5%{
		-webkit-transform: scale3d(1.05, .95, 1);
		transform: scale3d(1.05, .95, 1)
	}
	10%{
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1)
	}
	100%{
		-webkit-transform:scale3d(1, 1, 1);
		transform:scale3d(1, 1, 1)
	}
}

/* Submenu layout and indentation (MMI V3 style) */
.nav-sidebar .nav-group-sub {
    background-color: rgba(0, 0, 0, 0.02) !important;
}
.sidebar .navigation-main .nav-group-sub .nav-link {
    padding-left: 2.75rem !important; /* Shift to the right for submenu items (~44px) */
    font-size: 0.825rem !important; /* Slightly smaller font for submenus */
    opacity: 0.85;
}
.sidebar .navigation-main .nav-group-sub .nav-group-sub .nav-link {
    padding-left: 3.75rem !important; /* Level 2 submenu (~60px) */
}
.sidebar .navigation-main .nav-group-sub .nav-link:hover,
.sidebar .navigation-main .nav-group-sub .nav-link:focus,
.sidebar .navigation-main .nav-group-sub .nav-link.active {
    opacity: 1;
}
.sidebar .navigation-main .nav-group-sub .nav-link .icon {
    margin-right: 0.75rem !important; /* Spacing between submenu icon and text */
    width: 1rem !important;
    height: 1rem !important;
}

/* SweetAlert2 Toast Colors */
.swal2-toast.swal2-icon-success { --swal-bg: var(--alpha-success) !important; }
.swal2-toast.swal2-icon-error { --swal-bg: var(--alpha-danger) !important; }
.swal2-toast.swal2-icon-warning { --swal-bg: var(--alpha-warning) !important; }
.swal2-toast.swal2-icon-info { --swal-bg: var(--alpha-info) !important; }
.swal2-toast.swal2-icon-question { --swal-bg: var(--alpha-primary) !important; }

.dataTables_scrollFootInner { box-sizing: content-box !important; }

/* Suppression totale des spin buttons (flèches numériques / stepper) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button,
input.cp-numeric-input::-webkit-outer-spin-button,
input.cp-numeric-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
input[type="number"],
input.cp-numeric-input {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

/* ── Default Login Styles ── */
/* assets/css/pages/login.css
 * Écran de connexion MMI TIRIA — Noyau Standard.
 *
 * Gabarit générique de la plateforme MMI V3 avec charte TIRIA (logo TIRIA hardcodé,
 * scène industrielle dorée, indicateurs TRS/OEE, palette MMI TIRIA #E5A000).
 */

.login-root { font-family:var(--body-font-family); width:100%; min-height:100vh; display:flex; background:#0a0a0a; position:fixed; top:0; left:0; z-index:9999; }
.login-root * { box-sizing:border-box; }

/* LEFT */
.login-root .left{width:52%;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;}

/* SVG industrial scene */
.login-root .scene{position:absolute;inset:0;width:100%;height:100%;}

/* Particles canvas */
.login-root #pc{position:absolute;inset:0;width:100%;height:100%;}

/* Overlay gradient bottom */
.login-root .left-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(10,10,10,1) 0%,rgba(10,10,10,0.55) 40%,rgba(10,10,10,0.1) 100%);}

/* Grid lines */
.login-root .grid{position:absolute;inset:0;background-image:linear-gradient(rgba(229,160,0,0.04) 1px,transparent 1px),linear-gradient(90deg,rgba(229,160,0,0.04) 1px,transparent 1px);background-size:44px 44px;}

.login-root .left-content{position:relative;z-index:4;padding:40px 48px;margin-bottom:8px;}
.login-root .tiria-logo{display:flex;align-items:center;gap:12px;margin-bottom:28px;}
.login-root .tiria-logo img{height:60px;object-fit:contain;margin-left:-5px;}
.login-root .tiria-name{font-size:26px;font-weight:700;letter-spacing:4px;color:#E5A000;margin:0;padding:0;}
.login-root .tiria-tag{font-size:9px;color:rgba(255,255,255,0.3);letter-spacing:1.4px;text-transform:uppercase;display:block;margin-top:2px;}
.login-root .badge-design{display:inline-flex;align-items:center;gap:7px;padding:5px 13px;border-radius:20px;border:1px solid rgba(229,160,0,0.28);background:rgba(229,160,0,0.07);margin-bottom:16px;}
.login-root .badge-dot{width:6px;height:6px;border-radius:50%;background:#E5A000;animation:blink 2s infinite;}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.25}}
.login-root .badge-txt{font-size:10px;color:#E5A000;letter-spacing:1.5px;font-weight:500;text-transform:uppercase;}
.login-root .left-title{font-size:32px;font-weight:700;color:#fff;line-height:1.2;margin-bottom:10px;letter-spacing:-.4px;}
.login-root .left-title em{font-style:normal;color:#E5A000;}
.login-root .left-desc{font-size:13px;color:rgba(255,255,255,0.38);line-height:1.7;font-weight:300;max-width:340px; margin:0;}
.login-root .feats{display:flex;gap:18px;margin-top:22px;}
.login-root .ft{display:flex;align-items:center;gap:7px;font-size:12px;color:rgba(255,255,255,0.45);}
.login-root .ft-dot{width:5px;height:5px;border-radius:50%;background:#E5A000;flex-shrink:0;}

/* RIGHT */
.login-root .right{width:48%;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:56px 52px;position:relative;}
.login-root .right-autologin{justify-content:center;text-align:center;}
.login-root .rc{position:absolute;top:0;right:0;width:100px;height:100px;background:#E5A000;clip-path:polygon(100% 0,0 0,100% 100%);opacity:.07;}

.login-root .fw{width:100%;max-width:350px;}
.login-root .f-eye{font-size:10px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:#E5A000;margin-bottom:10px;}
.login-root .f-title{font-size:24px;font-weight:700;color:#111;letter-spacing:-.4px;margin-bottom:4px;}
.login-root .f-sub{font-size:13px;color:#9CA3AF;margin-bottom:32px;}

.login-root .right-autologin .f-title{font-size:28px;margin-bottom:8px;}
.login-root .right-autologin .f-sub{font-size:14px;color:#6B7280;margin-bottom:40px;}
.login-root .right-autologin .f-sub strong{color:#111;}
.login-root .right-autologin .fw{animation:fadeIn .4s ease;}
.login-root .autologin-spinner{display:inline-block;position:relative;width:64px;height:64px;margin-bottom:30px;}
.login-root .autologin-spinner div{box-sizing:border-box;display:block;position:absolute;width:48px;height:48px;margin:8px;border:4px solid #E5A000;border-radius:50%;border-color:#E5A000 transparent transparent transparent;animation:spin 1.2s cubic-bezier(.5,0,.5,1) infinite;}
.login-root .autologin-hint{font-size:12px;color:#9CA3AF;letter-spacing:.5px;}

.login-root form{margin-top:28px;}
.login-root .field{margin-bottom:18px;}
.login-root .field label{display:block;font-size:10px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:#9CA3AF;margin-bottom:7px;}
.login-root .fi{position:relative;display:flex;align-items:center;}
.login-root .fi input{width:100%;padding:13px 44px 13px 44px;border:1.5px solid #E5E7EB;border-radius:10px;font-family:'Outfit',sans-serif;font-size:14px;color:#111;background:#FAFAFA;outline:none;transition:all .2s; margin:0;}
.login-root .fi input:focus{border-color:#E5A000;background:#fff;box-shadow:0 0 0 4px rgba(229,160,0,0.09);}
.login-root .fi input::placeholder{color:#CBD5E1;}
.login-root .fi svg{position:absolute;left:14px;width:17px;height:17px;stroke:#CBD5E1;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:stroke .2s;pointer-events:none;}
.login-root .fi .pass-toggle { position:absolute; right:14px; background:none; border:none; padding:0; cursor:pointer; display:flex; align-items:center; justify-content:center; color:#CBD5E1; transition:color .2s; outline:none; }
.login-root .fi .pass-toggle:hover { color:#E5A000; }
.login-root .fi .pass-toggle svg { position:static; width:18px; height:18px; pointer-events:auto; }
.login-root .fi:focus-within svg{stroke:#E5A000;}

.login-root .frow{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;}
.login-root .ck{display:flex;align-items:center;gap:7px;}
.login-root .ck input{accent-color:#E5A000; margin:0;}
.login-root .ck label{font-size:12px;color:#6B7280;cursor:pointer; margin:0;}
.login-root .fgt{font-size:12px;color:#E5A000;text-decoration:none;font-weight:500;}
.login-root .fgt:hover{color:#cc8f00;}

.login-root .btn-submit{width:100%;padding:14px;background:#E5A000;border:none;border-radius:10px;color:#000;font-family:'Outfit',sans-serif;font-size:14px;font-weight:700;letter-spacing:.4px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px;}
.login-root .btn-submit:hover{background:#cc8f00;transform:translateY(-1px);}
.login-root .btn-submit svg{width:16px;height:16px;stroke:#000;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}

.login-root #forget-message{font-size:12px;line-height:1.5;margin:0 0 14px;}
.login-root #forget-message:empty{display:none;}
.login-root #forget-message.success{color:#10B981;}
.login-root #forget-message.danger{color:#dc3545;}

.login-root .strow{display:flex;justify-content:center;gap:20px;margin-top:28px;padding-top:22px;border-top:1px solid #F3F4F6;}
.login-root .st{display:flex;align-items:center;gap:6px;font-size:11px;color:#9CA3AF;}
.login-root .st-d{width:6px;height:6px;border-radius:50%;}
.login-root .st-d.g{background:#10B981;}
.login-root .st-d.o{background:#E5A000;}
.login-root .st-d.b{background:#3B82F6;}
.login-root .copy{position:absolute;bottom:16px;font-size:10px;color:#D1D5DB;letter-spacing:.4px;}
.login-root .form-control-feedback-icon { display: none; }
.login-root .invalid-feedback { display: none; color: #dc3545; font-size: 11px; margin-top: 4px; }
.login-root .is-invalid ~ .invalid-feedback { display: block; }
.login-root .is-invalid { border-color: #dc3545 !important; }

.login-message { margin-top: 20px; font-size: 13px; }
.hide { display: none !important; }

/* ── TABLETTE (≤1024px) ─────────────────────────────────────── */
@media (max-width:1024px){
  .login-root .left  { width:45%; }
  .login-root .right { width:55%; padding:40px 36px; }
  .login-root .left-title { font-size:26px; }
  .login-root .left-content { padding:32px 32px; }
  .login-root .fw { max-width:100%; }
}

/* ── MOBILE (≤768px) ────────────────────────────────────────── */
@media (max-width:768px){
  /* Libérer le scroll sur mobile — écrase le position:fixed */
  html, body { height:auto !important; overflow:auto !important; }

  .login-root {
    position: relative !important;  /* CRITICAL: overrides fixed */
    top: auto !important;
    left: auto !important;
    flex-direction: column;
    min-height: 100dvh;
    overflow-y: visible;
    width: 100%;
  }

  /* Formulaire PASSE EN PREMIER sur mobile */
  .login-root .right {
    order: 1;
    width: 100% !important;
    min-height: auto;
    padding: 52px 24px 36px;
    justify-content: flex-start;
    align-items: stretch;
    position: relative;
  }
  .login-root .fw { max-width: 100%; }
  .login-root .copy { position: relative; bottom: auto; margin-top: 24px; text-align: center; }

  /* Panneau TIRIA en dessous, version compacte */
  .login-root .left {
    order: 2;
    width: 100% !important;
    min-height: 240px;
    position: relative;
    overflow: hidden;
    justify-content: flex-end;
  }
  .login-root .left .scene,
  .login-root .left #pc,
  .login-root .left .grid,
  .login-root .left .left-overlay {
    position: absolute;
  }
  .login-root .left-content {
    padding: 24px 24px 28px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
  }
  .login-root .tiria-logo { margin-bottom: 10px; }
  .login-root .tiria-logo img { height: 40px; }
  .login-root .badge-design { margin-bottom: 8px; }
  .login-root .left-title { font-size: 20px; margin-bottom: 4px; }
  .login-root .left-desc { display:none; }
  .login-root .feats { gap: 12px; margin-top: 10px; flex-wrap: wrap; }
  .login-root .ft { font-size: 11px; }

  /* Ajustements form */
  .login-root .f-eye { font-size: 9px; }
  .login-root .f-title { font-size: 22px; }
  .login-root .f-sub { font-size: 12px; margin-bottom: 24px; }
  .login-root .fi input { padding: 13px 44px; font-size: 16px; }
  .login-root .btn-submit { padding: 16px; font-size: 16px; }
  .login-root .frow { flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
  .login-root .ck label { font-size: 13px; }
  .login-root .fgt { font-size: 13px; }
  .login-root .strow { gap: 14px; margin-top: 20px; padding-top: 18px; }
  .login-root .st { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STYLES EXTRAITS DES TEMPLATES CORE (ZÉRO CSS INLINE DANS TEMPLATES)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Sidebar, collapse & fullscreen */
.sidebar.sidebar-main {
	width: 240px;
	min-width: 240px;
	background: var(--white);
	border-right: 1px solid var(--border-color);
	box-shadow: none;
	transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.25s cubic-bezier(0.4, 0, 0.2, 1), margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease !important;
}
.sidebar-main.sidebar-collapsed {
	width: 0 !important;
	min-width: 0 !important;
	max-width: 0 !important;
	border-right: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	margin: 0 !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
.sidebar .navigation-header {
	font-size: 0.5625rem;
	font-weight: 600;
	letter-spacing: 0.1125rem;
	text-transform: uppercase;
	color: var(--gray-500);
	padding: 0.875rem 1.25rem 0.375rem;
	margin-top: 0.625rem;
}
.sidebar .navigation-main .nav-item {
	margin-bottom: 2px;
}
.sidebar .navigation-main .nav-link {
	display: flex;
	align-items: center;
	gap: 0.6875rem;
	padding: 0.625rem 1.25rem;
	font-size: 0.8125rem;
	color: var(--gray-700);
	transition: all 0.15s;
	border-left: 3px solid transparent;
}
.sidebar .navigation-main .nav-link:hover {
	background: var(--gray-100);
	color: var(--gray-900);
}
.sidebar .navigation-main .nav-item > .nav-link.active,
.sidebar .navigation-main .nav-item.nav-item-open > .nav-link {
	background: var(--alpha-primary);
	color: var(--primary);
	border-left-color: var(--primary);
	font-weight: 500;
}
.sidebar .navigation-main .nav-link i,
.sidebar .navigation-main .nav-link svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	opacity: 0.7;
}
.sidebar .navigation-main .nav-item > .nav-link.active i,
.sidebar .navigation-main .nav-item > .nav-link.active svg {
	opacity: 1;
	color: var(--primary);
}
body.is-fullscreen-mode #dashboard-page-toolbar {
	top: 12px;
}

/* Header / Topbar */
.navbar.navbar-static {
	height: 3.375rem;
	flex-shrink: 0;
	background: var(--white);
	border-bottom: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	padding: 0 1.5rem;
	width: 100%;
	z-index: 1030;
	box-shadow: none;
	flex-wrap: nowrap;
}
.navbar.navbar-static .navbar-toggler.sidebar-mobile-main-toggle {
	margin-right: 0.5rem;
	border: none;
	background: transparent;
	padding: 0.25rem;
	flex-shrink: 0;
}
.navbar.navbar-static .navbar-toggler.sidebar-mobile-main-toggle .icon,
#btn-toggle-sidebar-collapse .icon {
	width: 1.25rem;
	height: 1.25rem;
	fill: currentColor;
}
#btn-toggle-sidebar-collapse {
	color: var(--gray-600);
	padding: 0.375rem;
	flex-shrink: 0;
}
.navbar .tb-logo {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	height: 2.375rem;
	min-width: 0;
	flex-shrink: 0;
}
.navbar .tb-logo img,
.navbar .tb-logo .tb-logo-img {
	height: 2rem;
	max-height: 2rem;
	width: auto;
	max-width: 150px;
	object-fit: contain;
}
.navbar .tb-sep {
	width: 1px;
	height: 1.25rem;
	background: var(--border-color);
	margin: 0 0.5rem;
}
.navbar .tb-app {
	font-size: 0.8125rem;
	color: var(--gray-800);
	font-weight: 500;
}
.navbar .tb-env {
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.0625rem;
	color: var(--primary);
	border: 1px solid rgba(var(--primary-rgb), 0.5);
	padding: 0.125rem 0.5rem;
	border-radius: 0.25rem;
	margin-left: 0.5rem;
}
.navbar .tb-flag {
	font-size: 1rem;
	margin-right: 0.375rem;
}
.navbar .tb-lang {
	font-size: 0.8125rem;
	color: var(--gray-600);
	font-weight: 500;
}
.navbar .tb-spacer {
	flex: 1;
	min-width: 4px;
}
.navbar .nav.hstack {
	flex-wrap: nowrap;
	flex-shrink: 0;
	align-items: center;
}
.navbar .header-update-btn {
	font-size: 0.78rem;
	animation: headerUpdatePulse 2s ease-in-out infinite;
}
.navbar .header-update-btn .icon {
	width: 0.875rem;
	height: 0.875rem;
	fill: currentColor;
}
.navbar .user-thumbnail.header-thumbnail {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.navbar .user-thumbnail.header-thumbnail img.sidebar-logo-icon {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}
.navbar .user-thumbnail .img-alt {
	font-size: 0.75rem;
	font-weight: 700;
}
.navbar .navbar-nav-link > span {
	font-size: 0.8125rem;
	color: var(--gray-800);
	font-weight: 500;
}
.navbar .tb-username {
	margin-left: 0.5rem;
	color: var(--gray-900);
}
.navbar .superuser-impersonate-badge {
	background: #fef3c7 !important;
	border: 1px solid #fde68a !important;
}
.navbar .superuser-impersonate-badge .tb-username {
	font-size: 0.82rem;
	color: #92400e !important;
}

/* Content wrapper, Page header, Cards, Tables & Footer */
.content-inner {
	background: transparent;
}
.page-content {
	background: var(--body-bg);
}
.page-header {
	padding: 0.75rem 0;
}
.page-header .page-title {
	padding: 0;
}
.page-title h4 {
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--gray-900);
	margin-bottom: 0;
}
.content,
.page-header + .content {
	padding-top: 0;
}
.card {
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.card-header {
	border-bottom: 1px solid var(--border-color);
	padding: 1rem 1.25rem;
}
.card-header:not([class*="bg-"]):not([class*="text-bg-"]) {
	background-color: var(--white);
	color: var(--gray-900);
}
.card-header .card-title {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.03125rem;
	text-transform: uppercase;
}
.card-header:not([class*="bg-"]):not([class*="text-bg-"]) .card-title {
	color: var(--gray-900);
}
.table thead th {
	font-weight: 600;
	color: var(--gray-700);
	border-bottom: 2px solid var(--border-color);
	text-transform: uppercase;
	font-size: 0.75rem;
}
.table tbody td {
	font-size: 0.8125rem;
	vertical-align: middle;
	border-bottom: 1px solid var(--gray-200);
}
.navbar-footer a {
	color: var(--primary);
	font-weight: 500;
	transition: color 0.15s;
}
.navbar-footer a:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

/* Responsive Navbar (Mobile & Tablette) */
@media (max-width: 767.98px) {
	.navbar.navbar-static {
		padding: 0 0.625rem;
		flex-wrap: nowrap;
	}
	.navbar-toggler.sidebar-mobile-main-toggle {
		margin-right: 0.375rem;
		padding: 0.25rem 0.375rem;
		flex-shrink: 0;
	}
	.navbar .tb-logo img,
	.navbar .tb-logo .tb-logo-img {
		height: 1.75rem;
		max-width: 120px;
	}
	.navbar .tb-env {
		font-size: 0.5rem;
		padding: 1px 0.3125rem;
		margin-left: 0.25rem;
	}
	.navbar .nav.hstack {
		flex-wrap: nowrap;
		flex-shrink: 0;
		gap: 0.3125rem;
	}
	.navbar .nav-item .navbar-nav-link {
		padding: 0.1875rem;
	}
	.navbar .user-thumbnail.header-thumbnail {
		width: 2rem;
		height: 2rem;
		font-size: 0.6875rem;
	}
}

@media (max-width: 575.98px) {
	.navbar.navbar-static {
		padding: 0 0.5rem;
		flex-wrap: nowrap;
	}
	.navbar-toggler.sidebar-mobile-main-toggle {
		margin-right: 0.25rem;
		padding: 0.25rem;
	}
	.navbar .tb-logo img,
	.navbar .tb-logo .tb-logo-img {
		height: 1.625rem;
		max-width: 105px;
		margin-left: 0;
	}
	.navbar .tb-env {
		display: none;
	}
	.navbar .nav.hstack {
		gap: 0.25rem;
	}
	.navbar .user-thumbnail.header-thumbnail {
		width: 1.875rem;
		height: 1.875rem;
		font-size: 0.6875rem;
	}
	.dashboard-toolbar-floating #header-elements {
		padding: 0.375rem 0.625rem 0;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.dashboard-toolbar-floating #dashboard-normal-toolbar,
	.dashboard-toolbar-floating #dashboard-design-toolbar {
		display: inline-flex;
		white-space: nowrap;
		max-width: 100%;
		gap: 0.25rem;
		padding: 0.25rem 0.375rem;
	}
	.dashboard-toolbar-floating #dashboard-normal-toolbar .btn,
	.dashboard-toolbar-floating #dashboard-design-toolbar .btn {
		font-size: 0.78rem;
		padding: 0.25rem 0.5rem;
	}
}

@media (max-width: 380px) {
	.navbar.navbar-static {
		padding: 0 0.25rem;
	}
	.navbar .tb-logo img,
	.navbar .tb-logo .tb-logo-img {
		max-width: 85px;
		height: 1.375rem;
	}
	.navbar .nav.hstack {
		gap: 0.125rem;
	}
}

/* Dashboard Hero & Cards */
.hero {
	position: relative;
	overflow: hidden;
	min-height: 320px;
	display: flex;
	align-items: center;
}
.hero .hero-scene {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.hero .hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(248,246,241,0.97) 0%, rgba(248,246,241,0.88) 45%, rgba(248,246,241,0.3) 100%);
}
.hero .hero-content {
	position: relative;
	z-index: 3;
	padding: 48px 52px;
	max-width: 560px;
}
.hero .hero-eyebrow {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #E5A000;
	margin-bottom: 14px;
}
.hero .hero-title {
	font-size: 34px;
	font-weight: 700;
	color: #111;
	line-height: 1.15;
	margin-bottom: 12px;
	letter-spacing: -0.5px;
}
.hero .hero-title em {
	font-style: normal;
	color: #E5A000;
}
.hero .hero-sub {
	font-size: 14px;
	color: #6B7280;
	line-height: 1.7;
	font-weight: 400;
	margin-bottom: 28px;
}
.cards-section {
	padding: 32px 40px;
	flex: 1;
}
.cards-section .cards-title {
	font-size: 13px;
	font-weight: 600;
	color: #9CA3AF;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 20px;
}
.cards-section .cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media (max-width: 991.98px) {
	.cards-section .cards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 575.98px) {
	.cards-section .cards-grid {
		grid-template-columns: 1fr;
	}
	.hero .hero-content {
		padding: 32px 24px;
	}
	.cards-section {
		padding: 24px;
	}
}
/* TIRIA LOGO — Plein gris foncé (data URI SVG, définition CSS unique) */
.card-logo-icon {
	width: 22px;
	height: 14px;
	display: inline-block;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='120 150 640 380' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23374151'%3E%3Cpath d='M257.63,446.05c-16.16-2.05-28.79,16-31.92,34.09c9.03-10.37,23.09-15.73,35.18-11.93c15.78,4.96,35.53-.13,33.83-26.04C281.64,454.16,273.1,448.81,257.63,446.05'/%3E%3Cpath d='M272.29,353.06c-10.46-12.48-31.99-7.83-46.58,3.31c13.67-1.47,27.62,4.15,33.91,15.16c8.21,14.36,26.16,24.05,42.52,3.89C284.39,375.32,281.77,365.59,272.29,353.06'/%3E%3Cpath d='M339.28,292.93c-.91-16.26-20.94-25.42-39.29-25.24c11.83,7.01,19.64,19.86,18.09,32.45c-2.02,16.42,6.55,34.93,31.72,28.57C335.64,318.01,339.36,308.64,339.28,292.93'/%3E%3Cpath d='M425.39,292.93c.91-16.26,20.94-25.42,39.29-25.24c-11.83,7.01-19.64,19.86-18.09,32.45c2.03,16.42-6.55,34.93-31.73,28.57C429.03,318.01,425.31,308.64,425.39,292.93'/%3E%3Cpath d='M491.58,353.06c10.46-12.48,31.99-7.83,46.58,3.31c-13.67-1.47-27.62,4.15-33.91,15.16c-8.2,14.36-26.15,24.05-42.51,3.89C479.49,375.32,482.11,365.59,491.58,353.06'/%3E%3Cpath d='M514.49,446.05c16.16-2.05,28.79,16,31.92,34.09c-9.03-10.37-23.09-15.73-35.18-11.93c-15.78,4.96-35.53-.13,33.83-26.04C490.48,454.16,499.02,448.81,514.49,446.05'/%3E%3Cpath d='M386.23,345.26c-35.41,0-64.12,28.71-64.12,64.12c0,35.42,28.71,64.13,64.12,64.13c35.42,0,64.12-28.71,64.12-64.13C450.35,373.97,421.65,345.26,386.23,345.26z M420.3,451.01c-24.63,19.52-63.31,14.25-80.67-12.5c20.31,20.4,52.83,22.37,74.95,3.66c24.16-20.44,21.29-55.18-.33-75.91C441.83,387.18,450.46,427.1,420.3,451.01z'/%3E%3Cpath d='M565.01,411.01c-19.43-25.63-42.17,2.7-58.01,14.23c-18.47,13.44-33.14-12.63-39.68-26.95c37.95,17.67,37.93-19.85,68.04-26.96c25.66-6.06,27.92,23.25,45.61,32.15c15.72,7.91,38.32-1.86,51.98-10.14C618.53,410.82,583.2,439.61,565.01,411.01z'/%3E%3Cpath d='M251.64,418.79c16.86,26.32,39.29-2.4,46.58-19.85c-37.95,16.44-36.71-19.26-66.21-26.95c-28.38-7.39-28.83,25.56-49.82,32.56c-16.49,5.5-35.38-2.6-49.6-10.57c21.89,23.87,40.57,35.64,68.15,17.48C218.98,399.47,236.15,398.79,251.64,418.79z'/%3E%3Cpath d='M396.58,225.42c-23.3-13.87-13.01-44.17-1.51-62.76c-13.25,11.44-26.58,25.47-29.33,43.35c-3.41,22.19,26.51,26.8,19.84,51.76c-4.08,15.25-29.41,25.37-26.09,41.09c2.79,13.23,19.16,21.54,30.63,25.99c-13.45-28.68,4.46-33.29,19.41-52.62C422.98,254.82,417.21,234.69,396.58,225.42z'/%3E%3Cpath d='M299.88,310.75c4.43-22.75-7.58-43.85-33.32-38.71c-31.64,6.33-47.52-11.03-54.89-41.3c-1.88,14.78-1.38,37.21,8.42,49.39c14.94,18.55,38.7,2.22,52.63,22.86c10.33,15.34-3.25,39.53,13.15,50.03c10.33,6.62,28.77-.22,39.03-4.1C308.03,342.58,294.34,330.39,299.88,310.75z'/%3E%3Cpath d='M465.08,310.75c-4.43-22.75,7.58-43.85,33.32-38.71c31.64,6.33,47.53-11.03,54.89-41.3c1.89,14.77,1.38,37.22-8.41,49.39c-14.94,18.55-38.71,2.22-52.62,22.86c-10.34,15.34,3.25,39.53-13.16,50.03c-10.33,6.62-28.77-.22-39.03-4.1C456.92,342.58,470.62,330.39,465.08,310.75z'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	flex-shrink: 0;
}

.db-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: none;
	border-radius: 1rem;
	padding: 1.5rem;
	text-decoration: none !important;
	position: relative;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.1, 0, 0, 1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}
.db-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}
.db-card .card-logo {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	gap: 5px;
	opacity: 0.25;
	transition: opacity 0.3s;
}
.db-card:hover .card-logo { opacity: 0.6 !important; }
.db-card.blue:hover .card-arrow { color: #3B82F6 !important; }
.db-card.gold:hover .card-arrow { color: var(--primary) !important; }
.db-card.green:hover .card-arrow { color: #10B981 !important; }
.db-card.purple:hover .card-arrow { color: #8B5CF6 !important; }
.db-card.red:hover .card-arrow { color: #EF4444 !important; }
.db-card.teal:hover .card-arrow { color: #0EA5E9 !important; }
.db-card .card-logo-txt {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #111;
}
.db-card .card-icon {
	width: 44px;
	height: 44px;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	flex-shrink: 0;
	background: #EFF6FF;
	color: #3B82F6;
}
.db-card .card-icon.blue { background: #EFF6FF; color: #3B82F6; }
.db-card .card-icon.gold { background: #fef9ee; color: #E5A000; }
.db-card .card-icon.green { background: #ECFDF5; color: #10B981; }
.db-card .card-icon.purple { background: #F5F3FF; color: #8B5CF6; }
.db-card .card-icon.red { background: #FEF2F2; color: #EF4444; }
.db-card .card-icon.teal { background: #F0F9FF; color: #0EA5E9; }
.db-card .card-icon .icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
}
.db-card .card-name {
	font-size: 15px;
	font-weight: 600;
	color: #111;
	margin-bottom: 6px;
}
.db-card .card-desc {
	font-size: 12px;
	color: #6B7280;
	line-height: 1.6;
	font-weight: 400;
	flex: 1;
}
.db-card .card-arrow {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 600;
	color: #9CA3AF;
	margin-top: 18px;
	transition: color 0.2s;
}
.db-card .card-arrow svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
}

/* Groups page */
.btn-gold-gradient {
	background: linear-gradient(135deg, #E0A000, #d4a843) !important;
	color: #fff !important;
	border: none !important;
}
#groups-table thead tr.groups-thead-main {
	background: linear-gradient(135deg, #fdf6e3, #f5e6c8);
	color: #5a4a28;
	border-bottom: 2px solid #E0A000;
}
#groups-table thead tr.groups-thead-main th {
	background: linear-gradient(135deg, #fdf6e3, #f5e6c8);
	color: #5a4a28;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-size: 12px;
}
#groups-table thead tr.groups-thead-sub {
	background: rgba(224, 160, 0, 0.08);
	color: #8b7335;
	font-size: 10px;
	letter-spacing: 0.3px;
}
#groups-table thead tr.table-filter,
#groups-table thead tr.table-filter td.dtfc-fixed-left {
	background: #fafaf8;
}
.modal-header-dark-gold {
	background: linear-gradient(135deg, #2d3436, #1a1a2e) !important;
}
.modal-header-dark-gold .modal-title {
	color: #E0A000 !important;
}
.thead-dark-gold {
	background: #2d3436;
	color: #d4a843;
}

/* Users page */
.users-export-btn {
	background: var(--te-bg-card, #fff) !important;
	color: var(--te-text-primary, #1e293b) !important;
	border: 1px solid #cbd5e1 !important;
}
.users-export-dropdown {
	min-width: 300px;
	z-index: 1050;
}

/* Settings & AI & Login Rules & SMTP & Clients */
#prompts-container {
	max-height: 500px;
	padding-right: 10px;
}
.prompt-row .prompt-key {
	width: 70%;
}
.client-card-logo-box {
	width: 96px;
	height: 64px;
	background-color: #f8fafc;
	flex-shrink: 0;
}
.client-card-logo-img {
	max-width: 80px;
	max-height: 48px;
	object-fit: contain;
}
.client-card-logo-fallback {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--gray-100);
}
.client-card-favicon-thumb {
	width: 16px;
	height: 16px;
	object-fit: contain;
}
.client-color-swatch {
	display: inline-block;
	width: 12px;
	height: 12px;
	border: 1px solid rgba(0, 0, 0, 0.12);
}
.client-media-card {
	background-color: #fcfcfd;
}
.client-media-preview-box {
	min-height: 104px;
	background-color: #f8fafc;
	background-image:
		linear-gradient(45deg, #eef2f6 25%, transparent 25%),
		linear-gradient(-45deg, #eef2f6 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, #eef2f6 75%),
		linear-gradient(-45deg, transparent 75%, #eef2f6 75%);
	background-size: 16px 16px;
	background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}
#logo-preview-img {
	max-height: 64px;
	max-width: 100%;
	object-fit: contain;
}
.client-favicon-large-box {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
}
#favicon-preview-img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}
.client-favicon-tab-mockup {
	max-width: 165px;
	border-bottom: 2px solid var(--primary) !important;
}
#favicon-tab-preview-img {
	width: 16px;
	height: 16px;
	object-fit: contain;
	flex-shrink: 0;
}
#sirene_results {
	max-height: 250px;
	overflow-y: auto;
	z-index: 1050;
}
#login-chevron {
	transition: transform 0.2s;
}
#login-rule-body.is-disabled {
	opacity: 0.5;
	pointer-events: none;
}
.format-option {
	transition: all 0.15s ease;
}
.smtp-killswitch-box {
	background: rgba(220, 53, 69, 0.06);
	border: 1px solid rgba(220, 53, 69, 0.2);
}
.smtp-redirect-box {
	background: rgba(255, 193, 7, 0.06);
	border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Custom Fields (Champs Natifs) */
.cf-section-title { color: #0f172a; }
.cf-section-sub { font-size: 0.875rem; }
.cf-main-card, .cf-item-card, .cf-modal-content { border-radius: 12px !important; overflow: hidden; }
.cf-item-card { height: 100%; }
.cf-tab-link { color: #64748b; }
.cf-tab-body { padding: 2rem !important; background: #f8fafc; }
.cf-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}
.cf-item-card-body { padding: 1.5rem !important; }
.cf-item-dropdown { top: 1.25rem; right: 1.25rem; }
.cf-dropdown-menu { border-radius: 8px; }
.cf-item-title { color: #0f172a; font-size: 1rem; padding-right: 24px; }
.cf-item-key { color: #64748b; font-size: 0.8125rem; }
.cf-item-hr { border-top-color: #e2e8f0; margin: 1rem 0; }
.cf-opt-badge { padding: 0.4rem 0.6rem; font-size: 0.75rem; }
.cf-modal-title { color: #0f172a; font-size: 1.1rem; }
.cf-edit-alert {
	background: #f0f9ff;
	border: 1px solid #e0f2fe;
	color: #0369a1;
	border-radius: 8px;
	font-size: 0.875rem;
	padding: 0.75rem 1rem;
}
#cf_extended { width: 18px; height: 18px; margin-top: 0.15rem; }
.cf-extended-label { color: #334155; font-size: 0.875rem; }
.cf-options-builder-card { background: #f8fafc !important; border-radius: 12px !important; border: 1px solid #f1f5f9 !important; }
.cf-color-input { width: 40px; height: 40px; border-radius: 8px; cursor: pointer; border-color: #cbd5e1; }
.cf-icon-picker-btn {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #cbd5e1;
}
.cf-opt-val-input { width: 110px; border-color: #cbd5e1; }
#modalIconPicker { z-index: 1070; }
.cf-search-icon { left: 10px; top: 10px; color: #94a3b8; width: 16px; height: 16px; }
.cf-filter-select { width: 120px; }
.cf-icons-grid { max-height: 300px; overflow-y: auto; padding: 0.5rem; }
.cf-icon-choice {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	cursor: pointer;
	border: 1px solid transparent;
	color: #334155;
}
.cf-icon-choice:hover { background: #f1f5f9; }
.cf-opt-row {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.cf-opt-row-inactive {
	background: #f8fafc;
	opacity: 0.75;
}
.cf-opt-color-dot {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	flex-shrink: 0;
	margin-left: 0.5rem;
}
.cf-opt-badge-val {
	font-size: 0.7rem;
	font-weight: 700;
	background: #f1f5f9;
	padding: 0.25rem 0.5rem;
	border-radius: 6px;
	color: #475569;
	min-width: 30px;
	text-align: center;
	font-family: monospace;
	letter-spacing: 0.5px;
}
.cf-opt-badge-ref {
	font-size: 0.7rem;
	font-weight: 700;
	background: #e0f2fe;
	padding: 0.25rem 0.5rem;
	border-radius: 6px;
	color: #0369a1;
	min-width: 30px;
	text-align: center;
	font-family: monospace;
	letter-spacing: 0.5px;
}

/* Tools & Utility classes */
.versions-tabs-nav { max-width: 500px; }
#ws-test-result { overflow-x: auto; min-height: 80px; max-height: 400px; overflow-y: auto; }
.grid-col-full { grid-column: 1 / -1; }
.progress-h-6 { height: 6px; }
.icon-12 { width: 12px !important; height: 12px !important; }
.icon-13 { width: 13px !important; height: 13px !important; }
.icon-14 { width: 14px !important; height: 14px !important; }
.icon-16 { width: 16px !important; height: 16px !important; }
.icon-18 { width: 18px !important; height: 18px !important; }
.icon-20 { width: 20px !important; height: 20px !important; }
.icon-24 { width: 24px !important; height: 24px !important; }
.col-w-50 { width: 50px; }
.col-w-60 { width: 60px; }
.col-w-70 { width: 70px; }
.col-w-75 { width: 75px; min-width: 75px; }
.col-w-80 { width: 80px; }
.col-w-90 { width: 90px; }
.col-w-100 { width: 100px; }
.col-w-120 { width: 120px; }
.col-w-150 { width: 150px; }
.col-w-180 { width: 180px; }
.col-w-12p { width: 12%; }
.col-w-15p { width: 15%; }
.col-w-18p { width: 18%; }
.col-w-25p { width: 25%; }
.col-w-30p { width: 30%; }
.input-w-150 { width: 150px; }
.input-w-220 { width: 220px; }
.input-max-200 { max-width: 200px; }
.input-max-300 { max-width: 300px; }
.input-max-360 { max-width: 360px; }


