/********************
 ********************
// Pages CSS Exentis
 ********************
********************/

/* =============================================
   SIDEBAR — Design moderne vert foncé
   ============================================= */

.sidebar-wrapper {
    background: #1a1d20 !important;
    box-shadow: 6px 0 28px rgba(0, 0, 0, 0.22) !important;
    border-right: none !important;
}

/* Zone logo */
.sidebar-wrapper .app-brand {
    padding: 22px 24px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 8px;
}

/* Items généraux */
.sidebar-menu > li > a {
    color: rgba(255, 255, 255, 0.70) !important;
    padding: 9px 16px !important;
    margin: 2px 10px;
    border-radius: 9px;
    font-size: 0.855rem;
    font-weight: 500;
    border-left: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}

/* Icônes */
.sidebar-menu > li > a > i {
    color: rgba(255, 255, 255, 0.40) !important;
    font-size: 1.2rem !important;
    width: 30px !important;
    transition: color 0.15s ease;
}

/* Hover */
.sidebar-menu > li:hover > a {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-left-color: transparent !important;
}
.sidebar-menu > li:hover > a > i {
    color: rgba(255, 255, 255, 0.80) !important;
}

/* Actif / page courante */
.sidebar-menu > li.active > a,
.sidebar-menu > li.current-page > a {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-left-color: transparent !important;
    box-shadow: none;
}
.sidebar-menu > li.active > a > i,
.sidebar-menu > li.current-page > a > i {
    color: #48801D !important;
}
.sidebar-menu > li.active > a:after {
    display: none !important;
}
.sidebar-menu > li.active > a:hover,
.sidebar-menu > li.current-page > a:hover {
    background: rgba(255, 255, 255, 0.16) !important;
}

/* Flèche treeview */
.sidebar-menu > li.treeview:after {
    color: rgba(255, 255, 255, 0.35) !important;
    right: 20px !important;
}
.sidebar-menu > li.treeview.active:after,
.sidebar-menu > li.treeview.current-page:after {
    color: rgba(255, 255, 255, 0.90) !important;
}

/* Sous-menus treeview — zone */
.sidebar-menu > li > .treeview-menu {
    background: rgba(0, 0, 0, 0.18) !important;
    border-radius: 10px;
    margin: 0 10px 6px !important;
    padding: 5px 0 !important;
    border-left: none !important;
}

/* Neutraliser toutes les décorations border-left du thème sur les li */
.treeview-menu > li {
    border-left: none !important;
    border: none !important;
    background: none !important;
    list-style: none !important;
}
.treeview-menu > li::before,
.treeview-menu > li::after {
    display: none !important;
}

/* Items sous-menu */
.treeview-menu > li > a {
    color: rgba(255, 255, 255, 0.55) !important;
    padding: 7px 14px 7px 16px !important;
    font-size: 0.82rem !important;
    font-weight: 400;
    border-radius: 7px;
    margin: 1px 6px;
    display: block;
    text-decoration: none;
    border-left: none !important;
    transition: color 0.15s ease, background 0.15s ease;
}
.treeview-menu > li > a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.10) !important;
}

/* Sous-menu item actif */
.treeview-menu > li.active > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.10) !important;
    font-weight: 600;
}

/* Icône lien externe dans la sidebar */
.sidebar-menu a[target="_blank"] .menu-text::after,
.treeview-menu a[target="_blank"]::after {
    content: "\F1C5";                   /* bi-box-arrow-up-right */
    font-family: "bootstrap-icons";
    font-size: 0.65rem;
    opacity: 0.45;
    margin-left: 6px;
    vertical-align: middle;
    display: inline-block;
}

/* Chrono sur fond sombre */
#chronowrap {
    color: rgba(255, 255, 255, 0.75) !important;
}
#chronowrap p {
    color: rgba(255, 255, 255, 0.90) !important;
}
#chronowrap .btn-outline-info {
    color: #a8d878;
    border-color: rgba(168, 216, 120, 0.5);
}
#chronowrap .btn-outline-info:hover {
    background: #48801D;
    border-color: #48801D;
    color: #fff;
}
#chronowrap select {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.2);
}
input::-webkit-outer-spin-button, 
input::-webkit-inner-spin-button { margin-left: 20px; }
input[type=number] {
    -moz-appearance:textfield;
}
.first-color{
	color:#48801D;
}
.text-success{
	color:#48801D !important;
}
.second-color{
	color:#C5C5C5 !important;
	font-weight: 400;
}
.grey-color{
	color:#888888 !important;
	font-weight: 400;
}
.logo-login{
	max-width: 200px;
}
.logo-abo{
	max-width: 200px;
}
.sexeicon{
	width: 25px;
	height: 25px;
	opacity: 0.5;
}
.verticaltext{
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform: rotate(-180deg);
	-webkit-transform: rotate(-180deg);
	-moz-transform: rotate(-180deg);
	-ms-transform: rotate(-180deg);
	-o-transform: rotate(-180deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);	
}
.bg-image{
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.div_fiche{
	width: 100%;
}
.div_fiche .row div{
	height: 40px;
	padding: 0;
	text-align: center;
	cursor: pointer;
}
.div_fiche .row div span{
	opacity: 0;
}
.div_fiche .row div.active{
	background: rgba(232, 241, 230, 0.5);
}
.div_fiche .row div.formactive{
	background: url("../../img/check-zone.svg");
}
.div_fiche .row div:nth-child(1) img{
	width: 38px;
	float: right;
}
.div_fiche .row div:nth-child(2) img{
	width: 38px;
	float: left;
}
#div_zone_f1{
	width:100px;
	background: url('../../img/female-zone-1.png') no-repeat;
	margin:auto;
}
#div_zone_f2{
	width:100px;
	background: url('../../img/female-zone-2.png') no-repeat;
	margin:auto;
}
#div_zone_f3{
	width:100px;
	background: url('../../img/female-face.png') no-repeat;
	margin:auto;
}
#div_zone_h1{
	width:110px;
	background: url('../../img/male-zone-1.png') no-repeat;
	margin:auto;
}
#div_zone_h2{
	width:100px;
	background: url('../../img/male-zone-2.png') no-repeat;
	margin:auto;
}
.btn-url{
	height: 40px;
}
.btn-url p{
	display: inline-block;
	margin: 0;
	padding: 0;
	line-height: 26px;
}
.btn-url span{
	display: inline-block;
	float: right;
	padding: 0;
	line-height: 22px;
	margin-left:15px;
	font-size: 30px;
}
textarea.form-control{
	height: 100px !important;
}
.input-long{
	width:100%;
	border: none;
}
.input-long2{
	width:70%;
	border: none;
}
.formline{
	display: inline-block;
}
.patientLine{
	cursor: pointer;
}
.fiche_aff p{
	margin: 0;
}
#form_seance_add, #form_pack_add{
	display: none;
}

/* Abonnement */
.bg-abo{
	background-image:url("../../img/bg-abo.svg");
	background-repeat: no-repeat;
	background-size: cover;
	overflow-x: hidden;
}
h1{
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.8rem;
	line-height: 50px;
}
h1 .span1{
	font-weight: 700;
	margin-left: 100px;
}
h1 .span2{
	margin-left: 75px;
	color: #777777;
}
h1 .span3{
	font-weight: 500;
	margin-left: 150px;
	font-size: 2.2rem;
}
.h2prix{
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-size: 2.2rem;
}
.h2prix sup{
	font-size: 1.2rem;
}
.h2prix span{
	font-weight: 300;
	font-size: 1rem;
	margin-left: 7px;
}
.formabo{
	margin-top: 100px;
}
.formabo>div{
	box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}
.login-form li{
	line-height: 40px;
}
.login-form i{
	color:#48801D;
}
#sw-js-blob-svg{
	width:150%;
	margin-left: 100px;
}
.bg-abo2{
	right:-100px;
	top:0;
}
.bg-abo3{
	left:-500px;
	top:1%;
}
.img-abo{
	width: 100%;
}
.img-abo img{
	margin-top: 60px;
	float: left;
	width: 50%;
}
.img-abo-left{
	-moz-transform: skew(-13deg, 14deg);
	-webkit-transform: skew(-13deg, 14deg);
	-o-transform: skew(-13deg, 14deg);
	-ms-transform: skew(-13deg, 14deg);
	transform: skew(-13deg, 14deg);
	box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}
.img-abo-right{
	margin-left: -50px;
	-moz-transform: skew(12deg, -12deg);
	-webkit-transform: skew(12deg, -12deg);
	-o-transform: skew(12deg, -12deg);
	-ms-transform: skew(12deg, -12deg);
	transform: skew(12deg, -12deg);
	box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}
.prescriptionarea, .prescmodele{
	width:45%;
	float:left;
	margin-right: 4%;
	margin-bottom: 30px;
}
.prescmodele{
	color: #777777;
}
.prescmodele:hover{
	background:#f8f8f8;
	cursor: pointer;
}
.prescriptionarea textarea.form-control{
	min-height: 400px !important;
}
#chronowrap{
	display: none;
	text-align: center;
	color: #ffffff;
}
#chronowrap p{
	font-size:40px;
}
/* UPLOAD */
#files{
	width: 0px;
	height: 0px;
	overflow: hidden;
	visibility: hidden;
}
.red{
	color: #c00;
}
.green{
	color: #649157;
}
#docsWrap{
	overflow: hidden;
	float: right;
	width: 50%;
	margin: 0;
	padding: 0;
}
.docsWrapFiche{
	float: none !important;
	width: 100% !important;
}
#docsWrap ul{
	margin: 0;
	padding: 0;
}
#docsWrap li{
	background: none;
	overflow: hidden;
	border: none;
	margin-bottom: 7px;
}
#docsWrap li a{
	clear: inherit;
	margin-left: 10px;
}
#docsWrap li>a:first-child,
#docsWrap li>a:nth-child(1),
#docsWrap li>a:nth-child(2){
	float: left;
	width: 60px;
	margin: 0;
}
#docsWrap li span{
	float: left;
	display: inline-block;
	line-height: 40px;
	clear: inherit;
	margin-left: 10px;
}
#docsWrap img{
	float: left;
	border:solid 5px #ffffff;
	max-width: 100%;
	max-height: 40px;
	box-sizing: border-box;
}
#docsWrap img.docs{
	max-width: 50px;
}
#iaLink{
	clear: both;
}
.docsSupp{
	display: inline-block;
	clear: both;
	color: #777777 !important;
	margin: 0;
}
.docsSupp:hover{
	color: #c00 !important;
}
.custom-combobox {
	position: relative;
	display: inline-block;
	width: 100%;
}
#add_new_goole{
	display: none;
}
.deleteFile{
	opacity: 0.4;
}
.deleteFile:hover{
	opacity: 1;
}
/* =============================================
   DESIGN MODERNE — Refonte globale
   Palette : vert #48801D · fond #F4F7F2 · blanc
   ============================================= */

/* ── Variables ── */
:root {
    --bm-green:        #48801D;
    --bm-green-light:  #5c9e26;
    --bm-green-pale:   #eef4e8;
    --bm-green-border: rgba(72,128,29,0.18);
    --bm-shadow-sm:    0 1px 4px rgba(0,0,0,0.07), 0 2px 12px rgba(0,0,0,0.05);
    --bm-shadow-md:    0 2px 8px rgba(0,0,0,0.08), 0 8px 28px rgba(0,0,0,0.07);
    --bm-radius:       12px;
    --bm-radius-sm:    8px;
    --bm-body-bg:      #F4F7F2;
}

/* ── Fond global ── */
body {
    background: var(--bm-body-bg) !important;
    color: #1e2d18;
    -webkit-font-smoothing: antialiased;
}
.app-container {
    background: var(--bm-body-bg);
}
.app-body {
    padding: 1.5rem 1.75rem !important;
}

/* ── Cards — look épuré ── */
.card {
    border: 1px solid rgba(0,0,0,0.07) !important;
    border-radius: var(--bm-radius) !important;
    box-shadow: var(--bm-shadow-sm) !important;
    background: #ffffff;
    transition: box-shadow 0.2s ease;
}
.card:hover {
    box-shadow: var(--bm-shadow-md) !important;
}
.card-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0,0,0,0.07) !important;
    border-radius: var(--bm-radius) var(--bm-radius) 0 0 !important;
    padding: 1rem 1.25rem !important;
}
.card-header .card-title {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #1e2d18;
    margin: 0;
}
.card-header .card-title i {
    color: var(--bm-green);
    opacity: 0.85;
}
.card-body {
    padding: 1.25rem !important;
}

/* Accent vert sur le bord gauche des card-header */
.card-header::before {
    content: '';
    display: block;
    position: absolute;
    left: 0; top: 14%; bottom: 14%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--bm-green);
    opacity: 0.6;
}
.card-header {
    position: relative;
    overflow: hidden;
}

/* ── Tables — lignes aérées ── */
.table {
    font-size: 0.875rem;
}
.table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b8060 !important;
    border-bottom: 2px solid var(--bm-green-border) !important;
    padding: 0.65rem 0.85rem;
    background: transparent;
}
.table tbody tr {
    transition: background 0.15s ease;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(72,128,29,0.04) !important;
}
.table tbody tr:hover > * {
    background-color: var(--bm-green-pale) !important;
}
.table tbody td {
    padding: 0.65rem 0.85rem;
    vertical-align: middle;
    border-color: rgba(0,0,0,0.05);
}

/* ── Boutons — plus nets ── */
.btn {
    border-radius: var(--bm-radius-sm) !important;
    font-size: 0.835rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    transition: all 0.18s ease !important;
}
.btn-primary {
    background: var(--bm-green) !important;
    border-color: var(--bm-green) !important;
    box-shadow: 0 2px 8px rgba(72,128,29,0.30) !important;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--bm-green-light) !important;
    border-color: var(--bm-green-light) !important;
    box-shadow: 0 4px 14px rgba(72,128,29,0.38) !important;
    transform: translateY(-1px);
}
.btn-outline-primary {
    color: var(--bm-green) !important;
    border-color: var(--bm-green) !important;
}
.btn-outline-primary:hover {
    background: var(--bm-green) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(72,128,29,0.25) !important;
    transform: translateY(-1px);
}
.btn-info {
    background: #e8f1e2 !important;
    border-color: #c9ddbf !important;
    color: #3a6615 !important;
    box-shadow: none !important;
}
.btn-info:hover {
    background: #d4e9c8 !important;
    border-color: #b5cf9e !important;
    color: #2d5010 !important;
}
.btn-outline-danger {
    border-radius: var(--bm-radius-sm) !important;
}
.btn-danger {
    border-radius: var(--bm-radius-sm) !important;
}
.btn-sm {
    padding: 0.3rem 0.65rem !important;
    font-size: 0.8rem !important;
}

/* ── Badges ── */
.badge {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 6px !important;
    padding: 0.3em 0.6em;
}
.badge.bg-secondary {
    background: #d0dcc8 !important;
    color: #3a5a22 !important;
}

/* ── Alerts ── */
.alert {
    border-radius: var(--bm-radius-sm) !important;
    border: none !important;
    font-size: 0.875rem;
}
.alert-success {
    background: var(--bm-green-pale) !important;
    color: #2d5010 !important;
}
.alert-danger {
    background: #fdf0f4 !important;
    color: #7a1b38 !important;
}

/* ── Forms ── */
.form-control, .form-select {
    border-radius: var(--bm-radius-sm) !important;
    border-color: #d0dcc8 !important;
    background: #fafcf8 !important;
    font-size: 0.875rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--bm-green) !important;
    box-shadow: 0 0 0 3px rgba(72,128,29,0.14) !important;
    background: #fff !important;
}
.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #4a6035;
    text-transform: uppercase;
}
.input-group-text {
    background: #eef4e8 !important;
    border-color: #d0dcc8 !important;
    color: var(--bm-green) !important;
}

/* ── Header / top bar ── */
.app-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0,0,0,0.07) !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06) !important;
}

/* ── Titres de page ── */
h4, h5, h6 {
    color: #1e2d18;
}
.first-color {
    color: var(--bm-green) !important;
}

/* ── Spinner / loading ── */
.spinner-border {
    color: var(--bm-green);
}

/* ── Modals ── */
.modal-content {
    border: none !important;
    border-radius: var(--bm-radius) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18) !important;
}
.modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.07) !important;
    padding: 1.1rem 1.4rem !important;
}
.modal-footer {
    border-top: 1px solid rgba(0,0,0,0.07) !important;
    padding: 1rem 1.4rem !important;
}

/* ── List groups ── */
.list-group-item {
    border-color: rgba(0,0,0,0.07) !important;
    font-size: 0.875rem;
}
.list-group-item-action:hover {
    background: var(--bm-green-pale) !important;
}

/* ── Scrollbars discrètes ── */
* { scrollbar-width: thin; scrollbar-color: #c8dbb8 transparent; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-thumb { background: #c8dbb8; border-radius: 10px; }

@media only screen and (max-width: 1200px)
{
	h1 .span3{
		margin-left: 50px;
	}
}
@media only screen and (max-width: 991px)
{
	h1 {
		font-weight: 600;
		font-size: 1.5rem;
		line-height: 40px;
	}
	h1 .span1{
		font-weight: 700;
		margin-left: 80px;
	}
	h1 .span2{
		margin-left: 35px;
		color: #777777;
	}
	h1 .span3{
		font-weight: 600;
		margin-left: 0;
		font-size: 1.6rem;
	}
	.img-abo-right{
		margin-left: 0;
	}
	.formabo{
		margin-top: 80px;
	}
}