/*
Bleu clair : #0093BF
Bleu foncé : 00587D
*/
#header {
	background: linear-gradient(to right, #0093BF, #00587D);
	color: white;
	border-bottom: 3px solid #EEE;
  	height: 50px;
}
#header #logo {
	padding-top: 8px;
	padding-left: 20px;
}
#header #logo img {
	width: 180px;
}
#header #logoTitre {
	left: 20%;
	position: relative;
}
#header #logoTitre .css_bold {
	font-weight: normal;
	font-size: 24px;
	letter-spacing: 3px;
	font-family: Tahoma;
	width: 400px;
	padding-top: 7px;
}
#header small {
	font-size: 16px;
	color: #00587D;
}
#footer {
	border-top: 1px solid #CCCCCC;
	background: linear-gradient(to right, #0093BF, #00587D);
	color: white;
}
#header a {
	color: #00587D;
	background: white;
	border: 1px solid #CCC;
	border-radius: 5px;
}
#header a:hover{
	color: rgb(176,174,174);
}
#information_connexion {
	float: right;
	margin-right: 50px;
}
#banner {
	width: 100%;
}
#content {
	padding-top: 53px;
}

a:link, a:visited, .elementMenu {
	color: #666666;
}
a:hover {
	color: #00587D;
}

#menu {
	width: 180px;
	font-family: Tahoma;
	margin-top: 10px;
}
#corps {
	margin-left: 190px;
	width: calc(100% - 235px);
}
.information_haut.banniere-cal, .information_haut.banniere-bordereau, #breadcrumb {
	width: calc(100% - 265px);
}
#breadcrumb {
	margin-left: 190px;
}

#menu-patient {
	background: #FFF;
	width: 97%;
	border-radius: 0px 0px 20px 20px;
	overflow: hidden;
}
#menu-patient li a {
	color: #666666;
}
#menu-patient li a:hover {
	color: white;
	background: #0093BF;
}
.information_haut{
	background: linear-gradient(to right, #0093BF, #00587D);
	border-radius: 10px;
}

.titrebox {
	background: #FAFAFA;
	color: #555;
	border-radius: 10px 10px 0px 0px;
	border-bottom-color: #CCC;
	cursor: pointer;
}
.titrebox:hover {
	color: #0093BF;	
}
.titrebox:hover .fa {
	color: #0093BF;	
}
.titrebox .fa {
	color: #555;
}

.elementMenu {
	border-color: #CCC;
	background-color: #FAFAFA;
	margin-bottom: 10px;
	border-radius: 10px;
	overflow: hidden;
}

.elementMenu ul li a:hover {
	background: #0093BF;
	color: white;
}
.dataTables_wrapper tr.odd {
	background-color: #F3F3F3 !important;
	height: 50px;
}
.dataTables_wrapper tr.even {
	background-color: #FAFCFF !important;
	height: 50px;
}

.calendrier-groupe-pere {
	background: linear-gradient(to right, #0093BF, #00587D);
}
.calendrier-sous-groupe {
	color: #0093BF;
	background: #DDD;
}
#contenuPage .coloreven {
	background-color: #F5F5F5 !important;
}
#contenuPage .tabitm tr {
	height: 50px;
}
#contenuPage .tabitm tr td {
	border-bottom: 1px solid #EEE;
	font-size: 13px;
}
#contenuPage tr td.tdtit{
	background: transparent;
}
#contenuPage tr.trtit, #contenuPage tr.ligne_observation_entete{
	background: linear-gradient(to right, #0093BF, #00587D) !important;
	font-weight: bold;
}
#contenuPage tr.trtit .rouge {
	background: #B30000;
	color: white;
	font-weight: bold;
}
#contenuPage tr.trtit .orange {
	background: #D4751A;
	color: white;
	font-weight: bold;
}
#contenuPage tr.trtit td.tdtit{
	background: transparent !important;
}
#contenuPage tr .labtitre {
	background: #DDD;
}
#contenuPage tr.trtit td.tdtit.tdtit-info {
	background: #EEE !important;
	font-size: 12px;
	line-height: 20px;
	font-weight: normal;
	color: #333;
}
#contenuPage tr.trtit td.nocss.tdtit-info {
	background: #EEE !important;
	font-size: 12px;
	line-height: 20px;
	font-weight: normal;
	color: #333;
}
#contenuPage tr.trtit td{
	color: white;
}
.tabitm input[type=text], .tabitm select, .tabitm textarea {
	padding: 8px 12px;
	border-radius: 10px;
}
#contenuPage #np1 tr td.tdtit {
	background: #00587D;
}
table.scrollTab, #scrollTab, table.scrollTab td, #scrollTab td {
	border: thin solid #00587D;
	color: #333333 !important;
}
table.scrollTab th, #scrollTab th, table.scrollTab thead tr, #scrollTab thead tr, table.scrollTab thead tr td, #scrollTab thead tr td {
    	background-color: #00587D !important;
    	border: thin solid #00587D;
    	color: white !important;
}
table.scrollTab tbody tr:nth-child(2n+1), #scrollTab tbody tr:nth-child(2n+1), table.scrollTab tr:nth-child(2n+1), #scrollTab tr:nth-child(2n+1) {
	background: #EEEEEE;
}
table.scrollTab tbody td.td-rouge, #scrollTab tbody td.td-rouge {
	background: #FFCCCC;
	color: red;
}
button, input[type="submit"], input[type="reset"], input[type="button"] {
    color: #00587D;
    font-weight: bold;
    background: #E0E0E0;
    border: 1px solid #999999;
}

button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
    background-color: #00587D;
}
.titresNouvelleConversation {
    color: white;
    background-color: #00587D;
}
#etat-signature {
	border-color: #DDD;
	border-radius: 10px;
	overflow: hidden;
}
.titre-signature {
	background-color: #00587D;
}


/* =========================
   CONTAINER
========================= */

.containerConnexion {
    /*width: 100%;*/
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connexion {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(to bottom right, #0093BF, #00587D);
    backdrop-filter: blur(10px);
    border-radius: 26px;
    padding: 42px;
    box-shadow:
        0 10px 40px rgba(0,0,0,0.4),
        0 2px 8px rgba(0,0,0,0.4);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
/*Bleu clair : #0093BF*/
/*Bleu foncé : 00587D*/

/* petite bande colorée moderne */
.connexion::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #00587D, #0093BF);
}

/* =========================
   LOGO / TITRES
========================= */

.login_logo {
    text-align: center;
    margin-bottom: 20px;
}

.login_logo img {
    width: 200px;
    height: auto;
}

.connexion h2.msg_welcome {
    margin: 0;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 30px;
    padding-bottom: 20px;
    color: white;
    text-transform: uppercase;
    font-weight: normal;
    border-bottom: 1px solid #EEE;
}

.sub_msg_welcome {
    margin: 8px 0 28px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    color: #DDD;
    text-transform: uppercase;
}
/* =========================
   FORMULAIRE
========================= */

.connexion #champs-visibles {
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: auto;
}

.login_field {
    display: flex;
    flex-direction: column;
}

.login_field label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #EEE;
    text-align: left;
    padding-top: 0px;
    text-transform: uppercase;
}

.login_field label i {
    margin-right: 8px;
    color: #EEE;
}

.connexion .login_field input[type="text"], .connexion .login_field input[type="password"] {
    height: 52px;
    border: 1px solid #DCE3EC;
    border-radius: 14px;
    padding: 0 16px !important;
    font-size: 15px;
    background: #F8FAFC;
    transition: all 0.25s ease;
    outline: none;
    box-sizing: border-box;
    margin: 0px;
    width: auto;
}

.login_field input:focus {
    border-color: #1D9BC2;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(29,155,194,0.12);
}

/* =========================
   BOUTON
========================= */

.containerConnexion button[type="submit"] {
    width: 100%;
    height: 54px;
    margin-top: 28px;
    margin-left: 0px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: #EEE;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(19,76,145,0.25);
    border: 1px solid #EEE;
}

.containerConnexion button[type="submit"] i {
    margin-right: 10px;
}

.containerConnexion button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(19,76,145,0.30);
    background: #EEE;
    color: #0093BF;
}

.containerConnexion button[type="submit"]:active {
    transform: scale(0.99);
}

/* =========================
   MOT DE PASSE OUBLIÉ
========================= */

#motdepasseperduLink {
    display: block;
    margin-top: 22px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    color: #DDD;
    transition: color 0.2s ease;
}

#motdepasseperduLink:hover {
    color: white;
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
	#header #logoTitre {
		left: 10%;
	}
}
@media (max-width: 800px) {
	#header #logoTitre {
		display: none;
	}
}
@media (max-width: 600px) {

	#content {
		padding-left: 0px;
	}
    .containerConnexion {
        padding: 20px;
    }

    .connexion {
        padding: 30px 24px;
        border-radius: 22px;
    }

    .msg_welcome {
        font-size: 24px;
    }

    .sub_msg_welcome {
        font-size: 14px;
    }
	#menu-patient li a {
		font-size: 14px;
		padding-left: 30px;
		padding-right: 30px;
	}
	#menu-patient .menu-patient-label {
		display: none;
	}
	.patient-home {
		padding-left: 5px;
		padding-right: 5px;
	}
}
/* =========================
   MESSAGE D'ERREUR CONNEXION
========================= */

#msg-connexion {
    margin-top: 24px;
    width: auto;
}

.message_alert {
    position: relative;
    padding: 16px 18px 16px 18px;
    border-radius: 16px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
    animation: fadeAlert 0.25s ease;
}

.message_alert p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

/* Petite animation propre */
@keyframes fadeAlert {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#contenuPage .coloreven#trUpload {
	background-color: transparent !important;
}

body {
background:linear-gradient(
			135deg,
			#fcfFff 0%,
			#f9fcff 45%,
			#f5f9ff 100%
		);
				min-height: 100vh;
	position: relative;
	color: #1f2937;
}
/* ===== Animated Background ===== */

.background-bubbles {
	position: fixed;
	inset: 0;
	overflow: hidden;
	z-index: -10000;
	pointer-events: none;
}

.background-bubbles span {
	position: absolute;
	display: block;
	border-radius: 50%;
	backdrop-filter: blur(10px);
	animation: floatBubble linear infinite;
	background: rgba(0, 88, 125,0.03);
}

/* Individual bubbles */

.background-bubbles span:nth-child(1) {
	width: 280px;
	height: 280px;
	left: -80px;
	top: 10%;
	animation-duration: 28s;
	background: rgba(0, 147, 191,0.03);
}

.background-bubbles span:nth-child(2) {
	width: 180px;
	height: 180px;
	right: 10%;
	top: 15%;
	animation-duration: 20s;
	animation-delay: -5s;
}

.background-bubbles span:nth-child(3) {
	width: 220px;
	height: 220px;
	left: 20%;
	bottom: -80px;
	animation-duration: 32s;
	animation-delay: -10s;
	background: rgba(0, 147, 191,0.03);
}

.background-bubbles span:nth-child(4) {
	width: 120px;
	height: 120px;
	right: 25%;
	bottom: 15%;
	animation-duration: 18s;
}

.background-bubbles span:nth-child(5) {
	width: 340px;
	height: 340px;
	right: -100px;
	top: 45%;
	animation-duration: 38s;
	background: rgba(0, 147, 191,0.03);
}

.background-bubbles span:nth-child(6) {
	width: 90px;
	height: 90px;
	left: 45%;
	top: 8%;
	animation-duration: 14s;
	animation-delay: -2s;
}

.background-bubbles span:nth-child(7) {
	width: 150px;
	height: 150px;
	left: 60%;
	bottom: 5%;
	animation-duration: 26s;
	animation-delay: -8s;
	background: rgba(0, 147, 191,0.03);
}

.background-bubbles span:nth-child(8) {
	width: 70px;
	height: 70px;
	left: 75%;
	top: 60%;
	animation-duration: 16s;
}

/* Floating animation */

@keyframes floatBubble {
	0% {
		transform: translateY(0px) translateX(0px) scale(1);
	}

	25% {
		transform: translateY(-20px) translateX(10px) scale(1.03);
	}

	50% {
		transform: translateY(10px) translateX(-15px) scale(0.98);
	}

	75% {
		transform: translateY(-15px) translateX(5px) scale(1.02);
	}

	100% {
		transform: translateY(0px) translateX(0px) scale(1);
	}
}
#contenuPage .tabitm tr td {
	border-bottom: 1px solid #EEE;
}
#contenuPage .tabitm tr {
	background: transparent;
}
#contenuPage .coloreven {
	background: transparent !important;
}
#breadcrumb {

}
#breadcrumb{
    /* background-color: white; */
    flex-direction: column;
    border: 1px solid rgba(15, 55, 115, .05);
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(0, 0, 0, 0.05), inset 0 0 2px 2px rgba(255, 255, 255, 0.6);
	/* width: 86% !important; */
	width: calc(100% - 276px) !important;
    padding-left: 20px;
	padding-top : 10px;
	background-color: #FFF;
	font-size: 11px;
}
.information_haut.banniere-cal, .information_haut.banniere-bordereau:has(+ #etat-signature){
	margin-top : -7px;
}
.information_haut.banniere-bordereau{
	margin-top : 3px;
}
.dataTables_wrapper .ui-widget-header, .dataTables_wrapper .ui-state-default, .dataTables_wrapper .ui-widget-content .ui-state-default, .dataTables_wrapper .ui-widget-header .ui-state-default {
	background: #EEE !important;
}
.calendrier-patient-ligne {
	height: 50px;
}
.ligne-entete td {
	border-color: #EEE;
	background-color: #EEE;
}
.calendrier-patient-ligne td {
	border-bottom: 1px solid #EEE;
}
#breadcrumb a:hover {
	color: #0093BF;
}
.divBoutonAdd {
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}
.pv-serious-yes {
	font-weight: normal;
	font-size: 11px;
	padding: 3px 5px;
	color: white;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	border-radius: 2px;
	white-space: nowrap;
	background-color: rgb(255,140,0);
}
.pv-serious-no {
	font-weight: normal;
	font-size: 11px;
	padding: 3px 5px;
	color: white;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	border-radius: 2px;
	white-space: nowrap;
	background-color: rgb(120,120,120);
}
.pv-envoi-encours {
	font-weight: normal;
	font-size: 11px;
	padding: 3px 5px;
	color: white;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	border-radius: 2px;
	white-space: nowrap;
	background-color: rgb(4,49,71);
}

.gras{
    font-weight: bold;	
}
.textarea-large {
	width: 98%;
	height: 100px;
}

#home-stats {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

/* gauche = tâches */
#listeTacheEnCours {
    flex: 1;
    min-width: 280px;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    padding: 18px 18px 14px 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* droite = graphique */
#home-charts {
    flex: 2;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    padding: 20px;
}
#home-charts .apexchart {
	box-shadow: none;
	background: transparent;
	border: 0px;
	padding: 0px;
}

/* important pour ApexCharts */
#graphique-nbpat {
    width: 100%;
    height: 100%;
}
#listeTacheEnCours {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #1f2937;
}

/* titre principal */
#listeTacheEnCours strong {
    font-weight: 700;
}

/* texte global */
#listeTacheEnCours {
    font-size: 14px;
    line-height: 1.4;
}

/* suppression look tableau old-school */
#listeTacheEnCours table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

/* on enlève les styles archaïques */
#listeTacheEnCours td {
    padding: 0;
}

/* transforme chaque ligne en “card row” */
#listeTacheEnCours ul {
    list-style: none;
    padding: 10px 12px;
    margin: 3px 0px;
    background: #FFF3E3;
    border-radius: 10px;
    border: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    transition: all 0.15s ease-in-out;
}

/* hover moderne */
#listeTacheEnCours ul:hover {
    background: #eef6ff;
    border-color: #cfe3ff;
    transform: translateY(-1px);
}

/* numéro en badge */
#listeTacheEnCours li strong {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 28px;
    height: 24px;
    padding: 0 6px;
    margin-right: 10px;
    border-radius: 999px;
    background: orange;
    color: white;
    font-size: 12px;
}

/* bouton open tasks */
#afficherTacheEnCours button {
    margin-top: 12px;
    width: 70%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: #E87F0F;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

#afficherTacheEnCours button:hover {
    background: #0093BF;
}
table.display td {
	vertical-align: middle;
}
/* table container */
table.displayTable {
    width: 100%;
    max-width: 520px;
    margin: 30px auto;
    border-collapse: collapse;
    border-spacing: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* lignes */
table.displayTable tr:not(:last-child) td {
    border-bottom: 1px solid #eef2f6;
}

/* colonne labels */
table.displayTable .tdtit {
    width: 160px;
    padding: 16px 18px;
    background: #2c5aa0 !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* colonne valeurs */
table.displayTable td:not(.tdtit) {
    padding: 16px 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    background: #fafbfd;
}

/* style du TEST rouge */
table.displayTable font {
    font-weight: 700;
    margin-left: 6px;
}
table.displayTable, .displayTable td, .displayTable tr {
	border: 0px;
}

/* texte secondaire */
table.displayTable i {
    font-style: normal;
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
    display: block;
    margin-top: 4px;
}

/* hover léger */
table.displayTable tr:hover td:not(.tdtit) {
    background: #f4f8fc;
}
.tr-modale {
	cursor: pointer;
}
.menu-acces-rapide input {
	border-radius: 10px;
	border: 1px solid #DDD;
	font-size: 12px;
	padding: 4px 10px;
	width: 100px;
	vertical-align: middle;
}
.menu-acces-rapide-button {
	font-size: 11px;
	border: 1px solid #DDD;
	background: #0093BF;
	color: white;
	padding: 5px 11px 8px 10px;
	border-radius: 10px;
	vertical-align: middle;
}