/*Variable*/
:root {
	--gris-clair: #CCCCCC;
	--noir: #000000;
	--blanc: #FFFFFF;
	--gris-noir: #111111;
	--rouge-orange: #FF2222;
	--bleu-clair: #0000FF;
	--bleu-fonce: #000080;
	--gris-tres-fonce: #708090;
	--saumon: #FDEDEC;
	--vert-clair: #22FF00;
	--gris-tres-clair: #F5F5F5;
	--rouge: #FF0000;
	--gris-tres-clair-2: #EEEEEE;
	--gris-clair-2: #DDDDDD;
	--bleu-assez-fonce: #0000AA;
}

/*Divers*/
body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 13px;
}

pre {
	background-color: var(--gris-tres-clair-2);
}

input[readonly] {
	background-color: var(--gris-tres-clair-2);
	cursor: not-allowed;
}

textarea[readonly] {
	background-color: var(--gris-tres-clair-2);
	cursor: not-allowed;
}

select[readonly] {
	background-color: var(--gris-tres-clair-2);
	cursor: not-allowed;
}

.Click {
	cursor: pointer;
}

.SelectMultipleDossier {
	overflow: hidden;
}

.SelectMultipleDossier option {
	display: inline-block;
	border-left: 1px solid var(--cadre-normal);
	padding: 1px 5px 1px 5px;
	;
}

a,
a:visited {
	text-decoration: none;
	color: #000080;
}

a:hover {
	color: blue;
}

.haut {
	width: 450px;
	height: 60px;
	float: left;
}

#titre {
	margin: 0px;
	font-weight: bold;
	font-size: 14px;
}

.menu {
	height: 50px;
	border-top: #CCCCCC;
	border-top: 1px solid var(--cadre-normal);
	border-bottom: 1px solid #CCCCCC;
	border-bottom: 1px solid var(--cadre-normal);
	/*border: 1px solid var(--cadre-normal);
	border-radius: 5px;*/
	margin-bottom: 10px;
	float: left;
}

.rechercheGlobal {
	border-radius: 5px;
	border: 1px solid #00FFFF;
	border: 1px solid var(--bouton-menu-principal-hover);
	height: 20px;
	margin: 5px;
	padding: 8px;
	float: left;
}

.numerotationRapide {
	border-radius: 5px;
	border: 1px solid #00FFFF;
	border: 1px solid var(--bouton-menu-principal-hover);
	height: 20px;
	margin: 5px;
	padding: 8px;
	float: left;
}

.bas {
	clear: left;
	width: 100%;
	height: 25px;
	border-top: 1px solid #CCCCCC;
	border-top: 1px solid var(--cadre-normal);
	border-bottom: 1px solid #CCCCCC;
	border-bottom: 1px solid var(--cadre-normal);
	margin: 10px 0 0 0;
	padding: 5px 0 0 0;
	color: #0088CC;
	color: var(--bouton-menu-principal-actif);
	text-align: center;
}

#centre {
	clear: left;
	width: 100%;
	min-height: 400px;
}

#cadreNouveauDossier .control-label {
	float: none;
	display: none;
}

/* Appel */
.boutonAppel {
	min-width: 60px;
	border-radius: 5px;
	margin: 5px 5px 5px 0px;
	padding: 12px;
	background-color: #CCFFFF;
	background-color: var(--bouton-menu-principal);
	color: #0088CC;
	color: var(--bouton-menu-principal-actif);
	text-align: center;
	font-weight: bold;
	font-size: 12px;
	float: left;
}

.boutonAppel a {
	color: #0088CC;
	color: var(--bouton-menu-principal-actif);
	text-decoration: none;
}

.boutonAppel:hover a {
	color: white;
}

.boutonAppel:hover {
	background-color: :#00FFFF;
	background-color: var(--bouton-menu-principal-hover);
	color: white;
	cursor: pointer;
}

/* Menu */
.boutonMenu {
	min-width: 60px;
	border-radius: 5px;
	margin: 5px 5px 5px 0px;
	padding: 12px;
	background-color: #CCFFFF;
	background-color: var(--bouton-menu-principal);
	color: #0088CC;
	color: var(--bouton-menu-principal-actif);
	text-align: center;
	font-weight: bold;
	font-size: 12px;
	float: left;
}

.boutonMenu a {
	color: #0088CC;
	color: var(--bouton-menu-principal-actif);
	text-decoration: none;
}

.boutonMenu:hover a {
	color: white;
}

.boutonMenu:hover {
	background-color: :#00FFFF;
	background-color: var(--bouton-menu-principal-hover);
	color: white;
	cursor: pointer;
}

.boutonMenuActif {
	background-color: #0088CC;
	background-color: var(--bouton-menu-principal-actif);
	color: white;
}

.boutonMenuActif a {
	color: white;
}

/*Aides*/
.boutonAide {
	border-radius: 4px;
	background-image: url("/images/aide.png");
	background-repeat: no-repeat;
	background-size: 28px;
	display: block;
	margin: 10px;
	width: 28px;
	height: 28px;
	float: left;
}

.boutonAide:hover {
	background-color: var(--gris-clair);
}

/*Utilisateurs*/
.formUtilisateur:hover {
	cursor: pointer;
	background-color: var(--gris-noir);
}

/*Clients*/
.formClient:hover {
	cursor: pointer;
	background-color: var(--rouge-orange);
}

/* Onglets Navigation */
.onglet-nav {
	/* Suppression des marges internes et externes */
	margin: 0px;
	padding: 0px;
	/* DÃ©calage pour masquer la bordure du contenu */
	position: relative;
	bottom: -1px;
}

.onglet-nav li {
	/* Affichage des Ã©lÃ©ments du menu cÃ´te Ã  cÃ´te */
	display: inline-block;
}

/* Aspect des onglets inactifs (par dÃ©faut) */
.onglet-nav a {
	display: block;
	border: 1px solid var(--cadre-onglet);
	border-width: 1px 1px 0 1px;
	padding: 5px 15px;
	border-radius: 5px 5px 0 0;
	background-color: var(--fond-onglet);
	text-decoration: none;
	color: var(--blanc);
	transition-duration: 0.5s;
}

/* Effet de survol sur les onglets */
.onglet-nav a:hover {
	background-color: darken(var(--fond-onglet), 15%);
	color: var(--fond-onglet);
}

/* Aspect des onglets actifs */
.onglet-nav .onglet-nav-active {
	background-color: var(--blanc);
}

.onglet-nav a.onglet-nav-active {
	color: var(--fond-onglet);
}

.onglet-nav a.onglet-nav-active:hover {
	background-color: var(--blanc);
}

/* Contenu des onglets */
.onglet {
	/* Masquage des onglets*/
	display: none;
	border: 1px solid var(--cadre-onglet);

	padding: 15px;
	min-height: 250px;
	background-color: var(--blanc);
}

/* Affichage du contenu actif */
.onglet-active {
	display: block;
}

/*Calendar*/
.btn {
	min-height: 10px;
}

/*DÃ©finition css tableau Liste*/
.tableLettre {
	width: 100%;
	/*border: 1px solid #000;*/
	border-collapse: separate;
	border-spacing: 1px 1px;
}

.tableLettre th {
	background-color: #0088CC;
	color: #FFFFFF;
	border: 1px solid #0088AA;
}

.tableLettre td {
	/*width:15px;*/
	text-align: center;
	background-color: #E3E3E3;
	border: 1px solid #AAAAAA;
}

.tableLettre tr {}

.tablereqId {
	width: 100%;
	/*border: 1px solid #000;*/
	border-collapse: separate;
	border-spacing: 1px 1px;
}

.tablereqId th {
	background-color: #0088CC;
	color: #FFFFFF;
	border: 1px solid #0088AA;
}

.tablereqId td {
	background-color: #E3E3E3;
	border: 1px solid #AAAAAA;
}

.tablereqId tr {}

/*DÃ©finition css tableau commentaires etapes*/
.tableComEtapes {
	width: 100%;
	/*border: 1px solid #000;*/
	border-collapse: separate;
	border-spacing: 1px 1px;
}

.tableComEtapes th {
	background-color: #008888;
	color: #FFFFFF;
	border: 1px solid #0088AA;
}

.tableComEtapes td {
	background-color: #E3E3E3;
	border: 1px solid #AAAAAA;
}

.tableComEtapes tr {}

.tableListe {
	width: 100%;
	border-collapse: separate;
	border-spacing: 1px 1px;
}

.tableListe th {
	background-color: #B9B9B9;
	background-color: var(--titre-case-tableau);
	color: var(--blanc);
}

.tableListe td {
	background-color: #F2F2F2;
	background-color: var(--case-tableau);
}

.tableListe a:link {
	color: var(--bleu-fonce);
}

.tableListe a:visited {
	color: var(--bleu-fonce);
}

.tableListe a:hover {
	color: #0000FF;
	color: var(--bleu-clair);
}

.tableListe a:active {
	color: #0000FF;
}

.tableNormal {
	width: 100%;
}

.tableNormal td {
	vertical-align: top;
}

.tableAide {
	border: 1px solid var(--gris-tres-fonce);
	border-radius: 6px;
	padding: 5px;
	width: 99%;
}

.tableArchi {
	border: solid var(--gris-tres-fonce);
	border-radius: 8px;
	width: 1200px;
}

/*DÃ©finition css Planning*/
.tablePlanning {
	width: 100%;
	border-collapse: separate;
	border-spacing: 1px 1px;
}

.tablePlanning th {
	background-color: var(--titre-case-tableau);
	color: var(--blanc);
}

/*.tablePlanning td{
text-align:center;
vertical-align:middle;
}*/
.tableMenuPlanning {
	border-collapse: separate;
	border-spacing: 1px 1px;
}

.tableMenuPlanning th {
	background-color: var(--titre-case-planning);
	color: var(--blanc);
	border-radius: 4px;
	padding-bottom: 8px;
}

.tableMenuPlanning td {
	background-color: var(--case-planning);
	text-align: center;
	border-radius: 4px;
	padding-top: 8px;
	padding-bottom: 8px;
}

/*Divers*/
a.lienFonce:link {
	color: var(--bleu-assez-fonce);
}

a.lienFonce:visited {
	color: var(--bleu-assez-fonce);
}

.obligatoire:hover {
	border: 1px solid var(--gris-clair);
	border-radius: 4px;
	background-color: var(--saumon);
}

.dossier {
	border-collapse: separate;
	border-spacing: 2px 2px;
	margin: 2px;
	padding: 2px;
}

.cadreDossier {
	border: 1px solid var(--gris-clair);
	padding: 15px;
	min-height: 250px;
	background-color: var(--blanc);
}

.formModif {
	min-width: 100px;
	margin: 0px;
	padding: 0px;
}

#divScrollX {
	width: 100%;
	overflow-x: scroll;
	white-space: nowrap;
}

.affichStat {
	float: right;
	padding-right: 5px;
	cursor: pointer;
}

.canvasPlanning {
	margin: 0px;
	padding: 0px;
}

/*Formulaire JFORM*/
.control-group {
	/*  background-color:var(--blanc);*/
	padding: 0px;
	margin: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	width: 100%;
}

.control-label {
	border-radius: 4px;
	/*background-color:var(--bleu-moyen);*/
	background-color: white;
	color: black;
	padding: 1px;
	margin: 1px;
	padding-top: 5px;
	padding-left: 5px;
	padding-right: 5px;
	float: left;
}

#cadreNouveauDossier .control-label {
	float: none;
	display: none;
}

.controls {
	/* background-color:var(--blanc);*/
	padding: 2px;
	margin: 0px;
	margin-right: 15px;
	float: left;
}

.controls input[type="text"] {
	margin-bottom: 0px;
}

.input-append {
	margin-bottom: 0px;
}

.hasTooltip {
	font-weight: bold;
}

.js-editor-tinymce {
	width: 1395px;
}

.formDossier {
	float: left;
	padding: 0px;
	margin: 0px;
}

/* =========================================================================
   TAILWIND TO PURE CSS MIGRATION FOR DIRECTORY REDESIGN
   ========================================================================= */

:root {
	--ch-blue: #2c52a3;
	--ch-blue-hover: #1e3a8a;
	--ch-yellow: #f3b72b;
	--ch-yellow-hover: #facc15;
	--ch-yellow-light: #fef08a;

	--gray-50: #f9fafb;
	--gray-100: #f3f4f6;
	--gray-200: #e5e7eb;
	--gray-300: #d1d5db;
	--gray-400: #9ca3af;
	--gray-500: #6b7280;
	--gray-600: #4b5563;
	--gray-700: #374151;
	--gray-800: #1f2937;
	--gray-900: #111827;
}

.app-html,
.app-body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
	color: var(--gray-800);
	background-color: #fff;
}

.app-wrap {
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.main-content {
	flex: 1;
	padding-bottom: 3rem;
}

.container-wrapper {
	max-width: 100rem;
	/* 1280px */
	margin: 0 auto;
	padding: 0 1rem;
}

@media (min-width: 640px) {
	.container-wrapper {
		padding: 0 1.5rem;
	}
}

@media (min-width: 1024px) {
	.container-wrapper {
		padding: 0 2rem;
	}
}

/* HEADER */
.app-header {
	background-color: #fff;
	padding: 1.5rem 0;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.app-header-inner {
	max-width: 100rem;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.app-header-inner {
		flex-direction: row;
	}
}

.logo-box {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.logo-img {
	height: 6rem;
	width: auto;
}

.header-title-box {
	padding: 0.75rem 1.5rem;
	border: 2px solid var(--ch-blue);
	border-radius: 4px;
	box-shadow: 4px 4px 0px var(--ch-yellow);
}

.header-title-text {
	color: var(--ch-blue);
	font-size: 1.125rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* NAVIGATION */
.main-nav {
	background-color: var(--ch-blue);
	color: #fff;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	margin-bottom: 2rem;
}

.nav-inner {
	max-width: 100rem;
	margin: 0 auto;
	padding: 0.75rem 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

@media (min-width: 640px) {
	.nav-inner {
		padding: 0.75rem 1.5rem;
	}
}

@media (min-width: 1024px) {
	.nav-inner {
		padding: 0.75rem 2rem;
	}
}

.nav-link {
	padding: 0.5rem 1rem;
	border-radius: 0.25rem;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.875rem;
	transition: background-color 0.2s, color 0.2s;
	color: #fff;
	text-decoration: none;
}

.nav-link:hover {
	background-color: var(--ch-blue-hover);
	color: #fff;
}

.nav-link-active {
	background-color: var(--ch-yellow);
	color: var(--ch-blue);
}

.nav-link-active:hover {
	background-color: var(--ch-yellow);
	color: var(--ch-blue);
}

/* AUTRES STYLES BOUTONS RECHERCHE ETC. ONT ETE CONSERVES DANS VOTRE EXEMPLE */
/* (Je me suis concentré sur ce qui sert aussi à la page de Sondage) */

.btn-submit {
	background-color: var(--ch-blue);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	padding: 0.5rem 2rem;
	border-radius: 0.25rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	transition: background-color 0.2s, transform 0.1s;
	border: none;
	cursor: pointer;
    display: flex;
    align-items: center;
}

.btn-submit:hover {
	background-color: var(--ch-blue-hover);
}

.btn-submit:active {
	transform: scale(0.95);
}

.btn-submit:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

/* =========================================================================
   SONDAGE SPECIFIC STYLES
   ========================================================================= */

.search-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--ch-blue);
	text-transform: uppercase;
	letter-spacing: 0.025em;
	border-bottom: 4px solid var(--ch-blue);
	padding-bottom: 0.25rem;
	margin: 0;
}

.sondage-wrapper {
    background-color: #fff;
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    margin: 0 auto 2rem auto;
    max-width: 700px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.sondage-intro {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sondage-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#sortable-list {
    counter-reset: rank-counter;
}

.sondage-card {
    display: flex;
    background: #fff;
    border: 1px solid var(--gray-300);
    min-height: 50px;
    align-items: stretch;
    transition: background-color 0.2s;
}

.sondage-card:hover {
    background-color: var(--gray-50);
}

.sondage-rank {
    background-color: var(--ch-yellow);
    color: var(--ch-blue);
    font-weight: 700;
    width: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    border-right: 1px solid var(--gray-300);
    flex-shrink: 0;
}

.rank-number {
    margin-left: 0.25rem;
}

.rank-number::after {
    counter-increment: rank-counter;
    content: counter(rank-counter);
}

.sondage-card-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.sondage-full-img {
    max-height: 150px;
    width: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.sondage-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 2rem;
    gap: 1.5rem;
}

.sondage-feedback {
    font-size: 0.875rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s;
}

.sondage-feedback.visible {
    opacity: 1;
}

.sondage-feedback.success {
    color: #16a34a; /* green-600 */
}

.sondage-feedback.error {
    color: #ef4444; /* red-500 */
}

/* SortableJS Styles */
.sortable-ghost {
    opacity: 0.4;
    background-color: var(--gray-50);
    border: 2px dashed var(--gray-300) !important;
}
.sortable-drag {
    cursor: grabbing !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.card-handle { cursor: grab; }
.card-handle:active { cursor: grabbing; }

/* Utilities */
@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
}
.hidden {
    display: none !important;
}

.step-container {
    display: none;
    animation: fadeIn 0.35s ease-in-out;
}

.step-container.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vote-layout {
    max-width: 760px;
}

.vote-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.vote-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--gray-300);
    border-radius: 0.25rem;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vote-input:focus {
    border-color: var(--ch-blue);
    box-shadow: 0 0 0 3px rgba(44, 82, 163, 0.12);
}

.vote-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.vote-actions.center {
    justify-content: center;
}

.vote-center {
    text-align: center;
}

.vote-question {
    font-size: 1.45rem;
    line-height: 1.4;
    font-weight: 800;
    color: var(--ch-blue);
    margin: 0 0 1.75rem 0;
}

.vote-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 640px) {
    .vote-choice-grid {
        grid-template-columns: 1fr;
    }
}

.vote-choice-btn {
    border: none;
    border-radius: 0.35rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    min-height: 78px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s ease;
}

.vote-choice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.vote-choice-btn:active {
    transform: translateY(0);
}

.vote-choice-pour {
    background-color: #2f8f5b;
}

.vote-choice-pour:hover {
    filter: brightness(0.95);
}

.vote-choice-contre {
    background-color: #b74a4a;
}

.vote-choice-contre:hover {
    filter: brightness(0.95);
}

.vote-choice-abstention {
    background-color: #6b7280;
}

.vote-choice-abstention:hover {
    filter: brightness(0.95);
}

.vote-choice-full {
    grid-column: 1 / -1;
}

.loading-block {
    margin-bottom: 1rem;
}

.loading-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 auto;
    color: var(--ch-blue);
}

.vote-success-title {
    color: #16a34a;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.vote-success-text {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin: 0;
}

.vote-error-title {
    color: #ef4444;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.vote-error-text {
    font-size: 1.05rem;
    color: var(--gray-700);
}
