﻿.loginheader {
	border: none;
	background: linear-gradient(0deg,var(--primary-color-light), #ffffff);
	width: 100%;
	margin: 0;
	height: 100px;
	box-sizing: border-box;
	color: var(--primary-color-light);
}
.loginheader img{
	margin: 15px;
}
.loginunderimage {
	background: linear-gradient(var(--primary-color-light), #ffffff);
}
footer {
	background: linear-gradient(var(--primary-color-light), #ffffff);
}
.loginpagewrap
{
	padding: 0;
	background: #FFF;
}
.login-label
{
    font-size: 1.2em;
    height: 20px;
	color: #fff;
}
.login-field a, .login-field a:visited
{
   color: #fff;
}
.btnLogin
{
	background: var(--primary-color);
	color:  #fff;
	margin: initial;
}
.btnLogin:hover
{
    background: var(--button-background-color-hover);
    text-decoration: none;
    border-style: none;
    outline: 0;
}
.btnLogin-field
{
    margin: 0;
	margin-top: 0;
    height: initial;
    vertical-align: middle;
    width: 95%;
}
#loginform
{
	background-image: url(/content/images/homepage/supportecaldimahomepage.png);
	background-repeat: no-repeat;
	background-size: auto;
	height: 500px;
	position: relative;
}
.applogo
{
	margin-left: 30px;
}
#applogo
{
	max-height: 40px;
}

#sliderlogin h2{
	line-height: 90px;font-weight: 700;font-size: 32px;letter-spacing: 0.02em;color: var(--primary-color);font-family: 'Roboto';
}
#sliderlogin p{
	font-size: 20px;line-height: 32px;color: #FFFFFF;font-family: 'Roboto';
}
#sliderloginzapp h2{
	line-height: 90px;font-weight: 700;font-size: 32px;letter-spacing: 0.02em;color:#58585A;font-family: 'Roboto';
}
#sliderloginzapp p{
	font-size: 20px;line-height: 32px;color: #FFFFFF;font-family: 'Roboto';
}
.loginfields{
	position: absolute;
	bottom: 30px;
	width: 700px;
	padding: 15px;
	background-color: rgba(94, 94, 94, 0.6);
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.pagetitleregister
{
	background: #FFF;
	display: block;
	margin-top: 0px;
	font-size: 1.2em;
    font-weight: bold;
    color: #5e5e5e;
	border-top-left-radius: 5px;
}
.validation-summary-errors ul{
	margin-bottom: 0;
	text-align: left;
	padding: 0;
}
.validation-summary-errors ul>li{
	margin-bottom: 0;
	text-align: left;
	padding: 0;
}
.workload
{
	color: #6495ed;
}
.homepagebox
{
	width: 300px;
	cursor: pointer;
	height: initial;
}
.homepageboximage
{
	margin: 5px;
	height: 52px;
	line-height: 52px;
}
.homepageboximage img
{
	height: 52px;
	line-height: 52px;
}
.homepageoptiontitle
{
    font-size: 1.2em;
    text-align: center;
	font-weight: bold;
	margin: 5px;
	float: left;
	vertical-align: middle;
	max-width: 150px;
	font-size: 1.2em;
	line-height: normal;
}
.homepageboximage
{
	margin: 5px;
	text-align: left;
	float: left;
	vertical-align: middle;
}
#dvMenuActionsv3 ul li > a{
    text-transform: none !important;
}
#dvMenuActionsv3 ul li {
    display:inline-block;
    background-color: #fff;
    list-style-type:none;
    padding: 0px 0px 0px 36px;
	margin: 5px;
    background: #f7f7f7;
    color: #4c4c4c;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
	border: 1px solid #c1c1c1;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#dvMenuActionsv3 ul li:hover {
	cursor: pointer;
	background: #f2f2f2;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 4px 0px;
}

@media screen and (max-width: 600px)
{
	#loginform
	{
		background-image: url(/content/images/homepage/supportecaldimahomepage.png);
		background-size: contain;
		background-repeat: no-repeat;
		position: relative;
		height: 300px;
	}
	#sliderlogin h2
	{
		line-height: initial;font-weight: 700;font-size: 18px;letter-spacing: 0.01em;color: var(--primary-color);font-family: 'Roboto';
	}
	#sliderlogin p
	{
		font-size: 1.0em;color: #FFFFFF;
	}
	#sliderloginzapp h2
	{
		line-height: initial;font-weight: 700;font-size: 18px;letter-spacing: 0.01em;color: #58585A;font-family: 'Roboto';
	}
	#sliderloginzapp p
	{
		font-size: 1.0em;color: #FFFFFF;
	}
	.loginfields{
		position: absolute;
		top: 120px;
		width: auto;
		padding: 0;
		background: none;
	}


	.login-field a, .login-field a:visited
	{
	   color: var(--primary-color);
	}
	.login-label
	{
		color: var(--primary-color);
	}
	.applogo
	{
		margin: 0;
		width: 100%;
		text-align: center;
	}
	#dvMenuActionsv3 ul li {
		width: 80%;
	}
	#Comment_toolbar{
		display: none !important;
	}
	#menuslas{
		display: none;
	}
	
}
@media only screen and (max-width: 800px)
{
	#loginform
	{
		background-image: url(/content/images/homepage/supportecaldimahomepage.png);
		background-size: contain;
		background-repeat: no-repeat;
		position: relative;
		height: 300px;
	}
	.loginfields{
		width: auto;
		padding: 0;
		background: none;
	}
		.login-field a, .login-field a:visited
	{
	   color: var(--primary-color);
	}
	.login-label
	{
		color: var(--primary-color);
	}

}

/* ── Change Password form ── */
.cp-wrap {
    display: flex;
    justify-content: center;
    padding: 24px 16px 40px;
}
.cp-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 36px 40px;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
}

.lp-field { margin-bottom: 20px; }
.lp-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.lp-input-wrap { position: relative; }
.lp-input-wrap input[type="text"],
.lp-input-wrap input[type="password"] {
    width: 100%;
    padding: 12px 44px 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1f2937;
    background: #f9fafb;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
    outline: none;
    box-sizing: border-box;
}
.lp-input-wrap input[type="text"]:focus,
.lp-input-wrap input[type="password"]:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}
.lp-pwd-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.18s;
}
.lp-pwd-toggle:hover { color: var(--primary-color); }

.lp-strength-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #374151;
}
.lp-strength-box p { margin: 0 0 10px 0; color: #6b7280; }
.lp-strength-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lp-btn {
    width: 100%;
    padding: 13px;
    background: var(--button-background-color, var(--primary-color));
    color: var(--button-text-color, #fff);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.lp-btn:hover:not([disabled]) {
    background: var(--button-background-color-hover, var(--primary-color-light));
    color: var(--button-text-color-hover, #fff);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(var(--primary-color-rgb), 0.28);
}
.lp-btn:active:not([disabled]) { transform: translateY(0); box-shadow: none; }
.lp-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.cp-card .btnEcaldimaback {
    display: block;
    width: 100%;
    padding: 13px;
    background: #f3f4f6;
    color: #374151;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}
.cp-card .btnEcaldimaback:hover { background: #e5e7eb; text-decoration: none; color: #374151; }

.cp-card .validation-summary-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 18px;
}
.cp-card .validation-summary-errors ul { padding-left: 16px; }
.cp-card .validation-summary-errors li { font-size: 13px; color: #dc2626; }

.cp-separator {
    border: none;
    border-top: 1px solid #f3f4f6;
    margin: 20px 0;
}

@media (max-width: 540px) {
    .cp-card { padding: 28px 20px; }
}

/* OperatorDashboard — navigation pill buttons */
.dashboard-nav-bar {
    background-color: #FFFFFF;
    border-bottom: 1px solid #F6F7F9;
    border-top: 1px solid #F6F7F9;
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
#dashboard-nav-normal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
#dashboard-nav-sla {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-left: auto;
}
.dashboard-btn {
    background-color: var(--button-background-color-light);
    color: var(--button-text-color-light);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    padding: 5px 14px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.dashboard-btn:hover {
    background-color: var(--button-background-color-light-hover);
    color: var(--button-text-color-light-hover);
}
.dashboard-btn.active {
    background-color: var(--button-background-color);
    color: var(--button-text-color);
    font-weight: 600;
}
.dashboard-badge {
    background-color: rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 12px;
    min-width: 20px;
    text-align: center;
    font-weight: normal;
}
.dashboard-btn.active .dashboard-badge {
    background-color: rgba(255,255,255,0.3);
}
/* SLA en alerte : fond ambre, icône ⚠ */
.dashboard-btn-warn {
    background-color: #fff3cd;
    color: #7a4200;
    border: 1.5px solid #f0a030;
    font-weight: 600;
}
.dashboard-btn-warn::before {
    content: "⚠";
    font-size: 14px;
    color: #e07800;
}
.dashboard-btn-warn:hover {
    background-color: #fde8a0;
    color: #5a2e00;
}
.dashboard-btn-warn.active {
    background-color: #f5c542;
    color: #3a1c00;
    border-color: #c87000;
}
.dashboard-btn-warn .dashboard-badge {
    background-color: #e07800;
    color: #fff;
}
/* SLA en retard : fond rouge, icône ✖ */
.dashboard-btn-late {
    background-color: #fde8e8;
    color: #7a0000;
    border: 1.5px solid #d03030;
    font-weight: 600;
}
.dashboard-btn-late::before {
    content: "✖";
    font-size: 12px;
    color: #c00000;
}
.dashboard-btn-late:hover {
    background-color: #fbb0b0;
    color: #550000;
}
.dashboard-btn-late.active {
    background-color: #e03030;
    color: #fff;
    border-color: #900000;
}
.dashboard-btn-late .dashboard-badge {
    background-color: #c00000;
    color: #fff;
}
.dashboard-btn-late.active .dashboard-badge {
    background-color: rgba(255,255,255,0.3);
    color: #fff;
}
/* Row SLA coloring in dashboard grid */
.SLAWarn { background-color: rgba(255, 154, 73, 0.4); }
.SLALate { background-color: rgba(255, 0, 0, 0.4); }

/* ── Dashboard client (Index_CUSTOM IsCustomer) ── */
#cust-dash-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 24px;
    border-bottom: 3px solid #5E3272;
    background: #fff;
    margin-bottom: 0;
    box-shadow: 0 2px 12px rgba(94,50,114,.08);
}
#DashboardTitle { display: none; }
.cust-user-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cust-action-btn {
    display: inline-flex; align-items: center; gap: 7px; box-sizing: border-box;
    height: 34px; padding: 0 16px; border-radius: 8px; font-size: 13px; font-weight: 500;
    font-family: 'TT Norms', -apple-system, 'Segoe UI', sans-serif;
    text-decoration: none !important; white-space: nowrap; cursor: pointer;
    transition: background .18s, color .18s, transform .14s, box-shadow .18s;
}
.cust-lang-wrap { display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(94,50,114,.2); background: #f3f4f6; transition: background .15s, box-shadow .15s; }
.cust-lang-wrap:hover { background: #ede9f4; box-shadow: 0 2px 8px rgba(94,50,114,.12); }
.cust-lang-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; border: none; background: transparent; color: #5E3272; font-size: 12px; font-weight: 500; font-family: 'TT Norms', -apple-system, 'Segoe UI', sans-serif; cursor: pointer; outline: none; padding: 0; height: 100%; line-height: 1; }
.cust-action-pwd { background: #f3f4f6; color: #5E3272 !important; border: 1px solid rgba(94,50,114,.2); }
.cust-action-pwd:hover { background: #ede9f4; color: #5E3272 !important; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(94,50,114,.12); }
.cust-action-logout { background: linear-gradient(135deg,#5E3272 0%,#7a4494 100%); color: #fff !important; border: 1px solid transparent; box-shadow: 0 3px 10px rgba(94,50,114,.3); }
.cust-action-logout:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(94,50,114,.4); opacity: .92; }

/* Solde d'heures d'assistance */
.cust-balance-widget {
    display: inline-flex; align-items: center; gap: 7px; box-sizing: border-box;
    height: 34px; padding: 0 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
    font-family: 'TT Norms', -apple-system, 'Segoe UI', sans-serif;
    cursor: pointer; white-space: nowrap; border: 1px solid transparent;
    transition: transform .14s, box-shadow .18s;
}
.cust-balance-widget:hover { transform: translateY(-1px); }
.cust-balance-widget.cust-balance-ok    { background: rgba(22,163,74,.12); color: #15803d; border-color: rgba(22,163,74,.25); }
.cust-balance-widget.cust-balance-warn  { background: rgba(245,158,11,.15); color: #b45309; border-color: rgba(245,158,11,.3); }
.cust-balance-widget.cust-balance-danger{ background: rgba(220,38,38,.14); color: #b91c1c; border-color: rgba(220,38,38,.3); }

.cust-balance-overlay {
    position: fixed; inset: 0; background: rgba(30,20,40,.45); z-index: 2000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.cust-balance-dialog {
    background: #fff; border-radius: 14px; max-width: 560px; width: 100%;
    max-height: 85vh; overflow-y: auto; box-shadow: 0 12px 40px rgba(0,0,0,.25); padding: 20px 24px;
}
.cust-balance-dialog-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cust-balance-dialog-header h3 { margin: 0; font-size: 16px; color: #5E3272; }
.cust-balance-close { background: none; border: none; cursor: pointer; font-size: 14px; color: #9ca3af; }
.cust-balance-close:hover { color: #5E3272; }
.cust-balance-companies { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.cust-balance-company { border: 1px solid rgba(94,50,114,.12); border-radius: 10px; padding: 12px 14px; }
.cust-balance-company-name { font-weight: 700; font-size: 13px; color: #374151; margin-bottom: 8px; }
.cust-balance-bar-wrap { height: 8px; border-radius: 4px; background: #f3f4f6; overflow: hidden; margin-bottom: 8px; }
.cust-balance-bar { height: 100%; border-radius: 4px; transition: width .2s; }
.cust-balance-bar.cust-balance-ok     { background: #16a34a; }
.cust-balance-bar.cust-balance-warn   { background: #f59e0b; }
.cust-balance-bar.cust-balance-danger { background: #dc2626; }
.cust-balance-company-figures { display: flex; justify-content: space-between; font-size: 12px; color: #6b7280; }
.cust-balance-remaining { font-weight: 700; }
.cust-balance-remaining.cust-balance-ok     { color: #15803d; }
.cust-balance-remaining.cust-balance-warn   { color: #b45309; }
.cust-balance-remaining.cust-balance-danger { color: #b91c1c; }
.cust-balance-history-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #5E3272; margin-bottom: 8px; }
.cust-balance-history-wrap { border: 1px solid rgba(94,50,114,.1); border-radius: 8px; overflow: hidden; }
.cust-balance-history-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.cust-balance-history-table th { background: #f9f5fc; color: #5E3272; text-align: left; padding: 6px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.cust-balance-history-table td { padding: 6px 10px; color: #374151; border-top: 1px solid rgba(94,50,114,.08); }
.cust-balance-empty { font-size: 12px; color: #9ca3af; }

.cust-body { padding: 20px 24px; }

/* Stat cards (also act as tab switchers) */
.cust-stat-cards-row { display: flex; gap: 12px; margin-bottom: 20px; }
.cust-stat-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 16px 12px; border-radius: 12px; background: #fff; flex: 1;
    border: 2px solid rgba(94,50,114,.12); box-shadow: 0 2px 8px rgba(94,50,114,.06);
    cursor: pointer; transition: all .18s; color: #5E3272;
}
.cust-stat-card:hover { border-color: rgba(94,50,114,.3); box-shadow: 0 4px 14px rgba(94,50,114,.12); }
.cust-stat-card.active { background: #5E3272; color: #fff; border-color: #5E3272; box-shadow: 0 4px 14px rgba(94,50,114,.25); }
.cust-stat-card svg { opacity: .8; }
.cust-stat-number { font-size: 30px; font-weight: 700; line-height: 1; color: inherit; }
.cust-stat-label { font-size: 11px; font-weight: 600; color: inherit; opacity: .75; text-transform: uppercase; letter-spacing: .04em; text-align: center; }
.cust-stat-number.cust-badge-filtered { color: #f59e0b; }
.cust-stat-card.active .cust-stat-number.cust-badge-filtered { color: #fde68a; }

/* Toolbar */
.cust-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.cust-search-wrap {
    display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid rgba(94,50,114,.2); border-radius: 8px;
    padding: 7px 12px; flex: 1; min-width: 240px; max-width: 480px;
    transition: border-color .18s, box-shadow .18s;
}
.cust-search-wrap:focus-within { border-color: #5E3272; box-shadow: 0 0 0 3px rgba(94,50,114,.12); }
.cust-search-wrap input { border: none; outline: none; flex: 1; font-size: 13px; color: #374151; background: transparent; }
.cust-search-wrap input::placeholder { color: #9ca3af; }
#cust-search-clear {
    background: none; border: none; cursor: pointer; color: #9ca3af; font-size: 12px;
    padding: 0 2px; display: none; line-height: 1;
}
#cust-search-clear:hover { color: #5E3272; }
.cust-clear-filters-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 7px 12px; border-radius: 8px; border: 1px solid rgba(94,50,114,.3);
    background: #fff; color: #5E3272; font-size: 12px; font-weight: 500;
    font-family: 'TT Norms', -apple-system, 'Segoe UI', sans-serif;
    cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap;
}
.cust-clear-filters-btn:hover { background: #f5f0fa; border-color: #5E3272; }

/* Grid wrapper */
.cust-grid-wrap { background: #fff; border-radius: 10px; border: 1px solid rgba(94,50,114,.1); overflow: hidden; box-shadow: 0 2px 8px rgba(94,50,114,.06); }
.cust-grid-wrap .e-grid { border: none !important; border-radius: 0 !important; }
.cust-grid-wrap .e-grid .e-headercell,
.cust-grid-wrap .e-grid .e-headercelldiv { font-size: 11px; background: #f9f5fc; color: #5E3272; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.cust-grid-wrap .e-grid .e-rowcell { font-size: 12px; padding: 5px 8px; color: #374151; }
.cust-grid-wrap .e-grid .e-row:hover .e-rowcell { background: #faf5ff !important; }
.cust-grid-wrap .e-grid .e-altrow .e-rowcell { background: #fdf9ff; }

/* Ticket link */
.cust-ticket-link { color: #5E3272; text-decoration: none; font-weight: 500; }
.cust-ticket-link:hover { text-decoration: underline; color: #7a4494; }
.cust-ticket-title { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }

/* Badges status / priorité */
.cust-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; background: rgba(94,50,114,.1); color: #5E3272; white-space: nowrap; }
.cust-badge-status { background: rgba(94,50,114,.1); color: #5E3272; }
.cust-badge-priority { background: rgba(255,215,102,.35); color: #7a5800; }

/* Temps */
.cust-time { font-family: 'Courier New', monospace; font-size: 11px; color: #6b7280; }

/* Toolbar au-dessus de chaque grille */
.cust-grid-toolbar {
    display: flex; align-items: center; justify-content: flex-end;
    padding: 8px 12px; border-bottom: 1px solid rgba(94,50,114,.08); background: #fdf9ff;
}
.cust-export-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 6px; border: 1px solid rgba(94,50,114,.25);
    background: #fff; color: #5E3272; font-size: 12px; font-weight: 500;
    font-family: 'TT Norms', -apple-system, 'Segoe UI', sans-serif;
    cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s;
}
.cust-export-btn:hover {
    background: #f0e8f8; border-color: #5E3272;
    box-shadow: 0 2px 6px rgba(94,50,114,.15);
}
.cust-new-ticket-btn,
.cust-new-ticket-btn:visited {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: 6px;
    background: #5E3272; color: #fff !important; font-size: 13px; font-weight: 600;
    font-family: 'TT Norms', -apple-system, 'Segoe UI', sans-serif;
    text-decoration: none; margin-left: auto;
    transition: background .15s, box-shadow .15s;
}
.cust-new-ticket-btn:hover {
    background: #4a2659; color: #fff !important; text-decoration: none;
    box-shadow: 0 2px 8px rgba(94,50,114,.3);
}

/* =============================================
   OPERATOR DASHBOARD — cartes dynamiques EJ2
   ============================================= */
.op-dashboard {
    padding: 0;
}
.op-cards-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px 10px;
}
.op-cards-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.op-cards-group-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9ca3af;
    padding-left: 2px;
}
.op-cards-group-clients .op-cards-group-label { color: #7c5c96; }
.op-cards-group-sla .op-cards-group-label { color: #b45309; }
.op-cards-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.op-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 14px 20px;
    border-radius: 10px;
    background: #fff;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, background .15s;
    user-select: none;
}
.op-stat-card:hover {
    border-color: #5E3272;
    box-shadow: 0 2px 8px rgba(94,50,114,.12);
}
.op-stat-card.active {
    border-color: #5E3272;
    background: #f9f4fb;
    box-shadow: 0 2px 10px rgba(94,50,114,.18);
}
.op-stat-number {
    font-size: 26px;
    font-weight: 700;
    color: #5E3272;
    line-height: 1.1;
}
.op-stat-label {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    text-align: center;
    font-weight: 500;
}
.op-card-client { border-color: #e9d5ff; background: #faf5ff; }
.op-card-client .op-stat-number { color: #7c3aed; }
.op-card-client:hover,
.op-card-client.active { border-color: #7c3aed; background: #f3e8ff; box-shadow: 0 2px 8px rgba(124,58,237,.15); }
.op-card-warn .op-stat-number { color: #d97706; }
.op-card-warn { border-color: #fde68a; }
.op-card-warn:hover,
.op-card-warn.active { border-color: #d97706; background: #fffbeb; box-shadow: 0 2px 8px rgba(217,119,6,.15); }
.op-card-late .op-stat-number { color: #dc2626; }
.op-card-late { border-color: #fecaca; }
.op-card-late:hover,
.op-card-late.active { border-color: #dc2626; background: #fef2f2; box-shadow: 0 2px 8px rgba(220,38,38,.15); }
.op-grid-area {
    padding: 0 20px 20px;
}
.op-grid-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.op-grid-title {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    flex: 1;
}
#op-grid-container {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

/* Vue équipe support sur Index_CUSTOM.vbhtml (branche non-client) */
.hcli-toolbar { display: flex; justify-content: flex-end; padding: 20px 24px 0; }
.hcli-op-dashboard-btn {
    display: inline-flex; align-items: center; gap: 7px; box-sizing: border-box;
    height: 34px; padding: 0 16px; border-radius: 8px; font-size: 13px; font-weight: 500;
    text-decoration: none !important; white-space: nowrap; cursor: pointer;
    background: linear-gradient(135deg,#5E3272 0%,#7a4494 100%); color: #fff !important;
    border: 1px solid transparent; box-shadow: 0 3px 10px rgba(94,50,114,.3);
    transition: transform .14s, box-shadow .18s, opacity .15s;
}
.hcli-op-dashboard-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(94,50,114,.4); opacity: .92; }
.hcli-newticket-banner {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(220,38,38,.1); color: #b91c1c; border: 1px solid rgba(220,38,38,.25);
    border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 600;
    margin: 20px 24px 0; cursor: pointer; transition: background .15s, transform .14s;
}
.hcli-newticket-banner:hover { background: rgba(220,38,38,.16); transform: translateY(-1px); }
.hcli-client-cards {
    display: flex; flex-wrap: wrap; gap: 14px; padding: 20px 24px;
}
.hcli-client-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; padding: 18px 20px; border-radius: 12px; background: #fff; min-width: 150px;
    border: 2px solid rgba(94,50,114,.12); box-shadow: 0 2px 8px rgba(94,50,114,.06);
    cursor: pointer; transition: all .18s; color: #5E3272;
}
.hcli-client-card:hover { border-color: rgba(94,50,114,.3); box-shadow: 0 4px 14px rgba(94,50,114,.12); transform: translateY(-1px); }
.hcli-client-card-name { font-size: 13px; font-weight: 600; color: #374151; text-align: center; }
.hcli-client-card-count { font-size: 28px; font-weight: 700; line-height: 1; color: #5E3272; }
.hcli-client-card-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #9ca3af; }
.hcli-client-empty { padding: 0 24px; font-size: 13px; color: #9ca3af; }

/* Fiche client support (SUPPORT_CustomerSheet.vbhtml) */
.csheet-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.csheet-header h1 { font-size: 20px; color: #5E3272; margin: 0; }
.csheet-back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #5E3272; text-decoration: none; margin-left: auto; }
.csheet-back-link:hover { text-decoration: underline; }
.csheet-postbilling-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #5E3272; cursor: pointer; margin-left: 20px; }
.csheet-postbilling-toggle input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary-color); cursor: pointer; }
.csheet-postbilling-link { margin-left: 16px; font-size: 13px; color: var(--primary-color); text-decoration: underline; }
.csheet-create-ticket-link, .csheet-create-ticket-link:visited { margin-left: 16px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: #fff; background: var(--primary-color); border-radius: 4px; text-decoration: none; white-space: nowrap; }
.csheet-create-ticket-link:hover, .csheet-create-ticket-link:visited:hover { background: var(--primary-color-light); color: #fff; }
.csheet-filter-refresh { border: 2px solid rgba(94,50,114,.15); border-radius: 8px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: #5E3272; background: #fff; cursor: pointer; white-space: nowrap; }
.csheet-filter-refresh:hover { background: rgba(94,50,114,.06); }

/* Écran de facturation des tickets (SUPPORT_TicketBilling.vbhtml) */
.tbill-toolbar { display: flex; align-items: center; gap: 14px; padding: 16px 24px; flex-wrap: wrap; }
.tbill-filter-group { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5E3272; }
.tbill-filter-group select, .tbill-filter-group input[type="date"] {
    border: 2px solid rgba(94,50,114,.15); border-radius: 8px; padding: 6px 10px; font-size: 13px;
}
.tbill-btn {
    border: none; border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
    color: #fff; margin-left: auto;
}
.tbill-btn + .tbill-btn { margin-left: 8px; }
.tbill-btn-bill { background: var(--primary-color); }
.tbill-btn-unbill { background: #9ca3af; }
.tbill-btn:hover { opacity: .9; }
.csheet-summary-row { display: flex; gap: 14px; padding: 16px 24px 0; flex-wrap: wrap; }
.csheet-summary-card {
    flex: 1; min-width: 160px; background: #fff; border-radius: 12px; padding: 14px 18px;
    border: 2px solid rgba(94,50,114,.12); box-shadow: 0 2px 8px rgba(94,50,114,.06);
}
.csheet-summary-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #9ca3af; margin-bottom: 6px; }
.csheet-summary-value { font-size: 22px; font-weight: 700; color: #5E3272; }
.csheet-filters { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 16px 24px; }
.csheet-filter-group { display: flex; flex-direction: column; gap: 4px; }
.csheet-filter-group label { font-size: 11px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .03em; }
.csheet-filter-group input, .csheet-filter-group select {
    border: 1px solid rgba(94,50,114,.2); border-radius: 7px; padding: 6px 10px; font-size: 13px; color: #374151;
}
.csheet-filter-group select[multiple] { min-width: 160px; min-height: 72px; }
.csheet-filter-clear {
    display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 8px;
    border: 1px solid rgba(94,50,114,.3); background: #fff; color: #5E3272; font-size: 12px; font-weight: 500;
    cursor: pointer; height: 32px;
}
.csheet-purchase-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #5E3272; margin: 20px 24px 8px; }
.csheet-purchase-wrap { margin: 0 24px 20px; border: 1px solid rgba(94,50,114,.1); border-radius: 8px; overflow: hidden; }
.csheet-purchase-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.csheet-purchase-table th { background: #f9f5fc; color: #5E3272; text-align: left; padding: 6px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.csheet-purchase-table td { padding: 6px 10px; color: #374151; border-top: 1px solid rgba(94,50,114,.08); }
.csheet-purchase-empty { font-size: 12px; color: #9ca3af; padding: 0 24px 20px; }