/* Layout */

:root {
    --orange: #E86136;
    --orangeClair: #F4B59D;
    --vert: #16513F;
    --vertClair: #00A374;
    --jaune: #DBA226;
    --bleuNuit: #031334;
    --bleuProfond: #231650;
    --bleuCanard: #0D6B81;
    --bleuCanardClair: #4396AA;
    --rose: #D1036A;
    --fondCreme: #FFF4EA;
    --font-family: 'NeulisCursive-Bold';
    --font-size: 15px;
    --padding: 10px;
    --margin: 10px;
    --border-radius: 10px;
    --background-color: #FFF4EA;
    --colorText: #2b2b2b;
    --border: #e8e0d8 !important;
    --bg: #FFF4EA !important;
    --border-radius: 10px !important;
    --sidebar-width: 240px;
}


@font-face{
  font-family: 'NeulisCursive-Bold';
  src: url('../fonts/NeulisCursive-Bold.woff2') format('woff2'),
       url('../fonts/NeulisCursive-Bold.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body#admin
{font-family: 'Arial';}


.list-group-item:hover
{
    color: #000;
}
.list-group-item
{
    background-color: inherit;
}



.custom-btn {
  display: inline-block;
  font-size: 1.15em;
  padding: 10px 15px;
  border-radius: 32px;
  background: #fff;
  border: solid 2px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  user-select: none;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
  box-shadow: 0 0 0 0;
}



.btn-vert:hover
{
    background-color : #01a374 !important;
    color: #fff;
    box-shadow: 3px 2px 0 2.5px #01a374;
}
.btn-vert 
{
    color : #01a374;
    box-shadow: 3px 2px 0 2.5px #01a374;
}

.text-vert
{
        color : #01a374;
}

.text-vert-fonce
{
        color : #185241;
}

.text-bleu {
  color: #0D6B81;
}

.text-violet {
  color: #D1036A;
}

.btn-vert-fonce
{
    color : #185241;
    box-shadow: 3px 2px 0 2.5px #185241;
}



.btn-violet:hover
{
   background: #D20067;
    color: #fff;
}

.btn-violet {
  
    background: #fff;
    color: #D20067;
    box-shadow: 3px 2px 0 2.5px #D20067;
}

.separation {
    width: 15px;
    color: #DBA226;
    font-weight: bold;
    border-top: solid 2px;
    margin-bottom: 10px;
}

.text-blanc
{
    color: #fff;
}
.text-jaune
{
    color: #DBA226;
}
.btn-jaune  .elementor-button{
  color: #DBA226;
  box-shadow:  3px 2px 0 2.5px #D6AE43;
}
.btn-jaune    {
  background: #DBA226;
  color: #fff;
}
.text-orange {
    color: var(--orange);;
}.text-orangeClair {
    color: var(--orangeClair);;
}
.btn-orange  {
  color: var(--orange) !important;
  box-shadow:  3px 2px 0 2.5px var(--orange);
  background: #fff;
}

.btn-orange:hover  {
  color: #fff !important;
  box-shadow:  3px 2px 0 2.5px var(--orange);
  background: var(--orange);
}

span.point-orange {
    font-size: 60px;
    color: var(--orange);
    margin-top: -25px;
    margin-right: 10px;
    margin-left: 10px;
}
.btn-bleu   {
  color: #19778C;
  box-shadow:  3px 2px 0 2.5px #19778C;
}
.btn-bleu   {
  background: #19778C;
  color: #fff;
}


.card-header  a
{
    color: #fff !important;
}



i
{
    font-size: 20px;
    vertical-align: middle;
}

i.ph
{
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
}

.color-orange
{
    color: var(--orange);
}

.hover:hover
{
    cursor: pointer;
}

.separation-bl {
    border-top: 2px solid #fff;
    margin-top: 20px;
    margin-bottom: 20px;
}

.list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: var(--vert) !important;
    border-color: var(--vert) !important;
    color: #fff !important;
}

.btn
{
    border-radius: 30px;
    padding: 10px 15px;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
      transform: translateY(-5px); /* Fait "remonter" le bouton */
      box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Ombre plus prononcée */
    }


.btn-success
{
    background-color: var(--orange) !important;
    border-color: var(--orange) !important;
    color: #fff !important;
}

.btn-warning
{
	background-color: var(--orange) !important;
	border-color: var(--orange) !important;
    color: #fff !important;
}
#admin .content, #admin .content a{color: #000 !important;}
.frontFace {
    background: url(../images/connexion_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    background-position: bottom;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.connexion-container .content
{
	background: var(--bleuNuit);
    color: #fff;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;

}

.content
{
    margin-top: 15px;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #f0ebe5;
}

.content a { color: var(--jaune) !important; }

.content h1
{
    color: #fff;
    border: none;
    text-transform: none !important; 
}

.brand-logo
{
	margin-left: 0;
	display: flex;
	align-items: center;
}

.header-crm-label
{
	margin-left: 10px;
}



.front-header
{
	text-align: center;
	padding:  1em;
	margin-bottom: 50px;
	background-color: #ff8e4cba;
	color:  #fff;
} 

.notification-item:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

.bandeau-title
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0;
    border-bottom: none;
}



.bandeau-title h1
{
   margin: 0 !important;
   border: none !important;
   font-size: 1.8rem;
}

.admin-header
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fff;
	border-bottom: 1px solid var(--border);
	color: var(--colorText);
	padding: 10px 20px;
	height: 64px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.admin-header .round-image
{
	border-radius: 50%;
	width: 40px;
	height: 40px;
	object-fit: cover;
	border: 2px solid var(--fondCreme);
}


.admin-footer a
{
    color: var(--orange) !important;
    text-decoration: none;
}

.admin-footer a:hover
{
    text-decoration: underline;
}

.admin-footer
{
	text-align: center;
	padding: 12px 20px;
	bottom: 0px;
	background-color: #fff;
	color: #b0a89e;
	width: 100%;
	font-size: 13px;
	border-top: 1px solid #f0ebe5;
}

.content-body {
    display: flex;
    min-height: calc(100vh - 64px);
}

.left_menu
{
    background: #fff;
    min-height: 100%;
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    position: relative;
    padding-top: 10px;
    border-right: 1px solid #f0ebe5;
}

.content-admin
{
	flex: 1;
	padding: 24px;
	position: relative;
	min-height: 100%;
	background: var(--fondCreme);
}

.content-admin h1
{
	border-bottom: none;
	padding-bottom: 8px;
	text-transform: none;
	font-size: 1.5rem;
	color: var(--vert);
}

ul#menu
{
    list-style-type: none;
    padding-left: 0px;
    margin: 0;
}

ul#menu li a
{
    text-transform: none;
    font-size: 14px;
    color: #6b6159 !important;
    transition: all 0.2s ease;
}

li.active, li:hover {
    background-color: transparent;
}

.left_menu li.active, .left_menu li:hover
{
    background-color: var(--orangeClair);
    border-radius: 8px;
}

ul#menu li.active a, ul#menu li:hover a {
    color: var(--orange) !important;
    font-weight: 600;
}

ul#menu li
{
	padding: 11px 16px;
    border-top: none;
    margin: 2px 8px;
    border-radius: 8px;
}

ul#menu a {
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

a.list-group-item 
{
	color : var(--vert) !important;
}

a, a:hover, a:active, ul#menu a.active
{
	color: var(--orange); 
}

.breadcrumbs a.active 
{
    color: var(--orange) !important;
}

/** Fin layout */

/* Formualire de connexion */
.connexion-container 
{
      
    flex-direction: column;
    justify-content: center;
    display: flex;
    align-items: center;
}

.connexion-container .content {
    border: solid 2px var(--orange);
    padding: 50px;
} 





.form-connexion .card-title
{
	text-align: center;
}
/* Fin formulaire de connexion */


.table thead {
  
    /* padding: 2px; */
}
.table thead tr th {
    padding: 5px;
    padding-left: 15px;
    font-size: 14px;
    color: var(--orange);
    font-weight: bold;
    border-bottom: none;
}

table.dataTable thead th
{
    border: none !important;
}

/*************** Calendar ****************/

/* Pour la première cellule */
.hebdo .table tr td:nth-child(1),
.hebdo .table tr th:nth-child(1) {
   max-width: 2% !important;
}

/* Pour les 7 cellules suivantes */
.hebdo .table tr td:nth-child(2),
.hebdo .table tr th:nth-child(2),
.hebdo .table tr td:nth-child(3),
.hebdo .table tr th:nth-child(3),
.hebdo .table tr td:nth-child(4),
.hebdo .table tr th:nth-child(4),
.hebdo .table tr td:nth-child(5),
.hebdo .table tr th:nth-child(5),
.hebdo .table tr td:nth-child(6),
.hebdo .table tr th:nth-child(6),
.hebdo .table tr td:nth-child(7),
.hebdo .table tr th:nth-child(7),
.hebdo .table tr td:nth-child(8),
.hebdo .table tr th:nth-child(8) {
    width: 14%;
}


.bg-day-hebdo {
    overflow-y: scroll;
    display: block;
    width: 100%;  /* Définissez également une largeur pour la table */
}
a
{
    color: #000 !important;
}

ul#menu a.active {
    color: var(--vert) !important;
}


.hebdo .table td 
{
    border-right: dashed 1px var(--border);
    border-bottom: dashed 1px var(--border) !important;
    height: 20px;
    padding: 0px !important;
    line-height: 10px;
}

.hebdo tbody 
{
    max-height: 70vh;
    overflow: scroll;
    background: white;
    position: absolute;
    width: 100%;
}

.hebdo table 
{
    position: relative;
    height: 80vh;
}

.bloc.hebdo, .bloc.mensu {
    padding: 0;
}

.day-hebdo 
{
    background: var(--bg);
}
td.bg-hour {
    background: antiquewhite;
}

.bg-day {
    color: var(--orange) !important;
    background: var(--bg);
}
.header-calendar-hebdo, .bloc.mensu .header {
    background: #fff;
    color: var(--vert) !important;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    line-height: 45px;
    max-height: 45px;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}
.header-calendar-hebdo a i, .bloc.mensu .header a i {
    color: var(--vert);
    font-size: 20px;
    padding: 11px 20px;
    display: block;
    transition: color 0.2s ease;
}
.header-calendar-hebdo a i:hover, .bloc.mensu .header a i:hover {
    color: var(--orange);
}
.bg-day-hebdo tr th {
     box-sizing: border-box;
    background: #fff !important;
    border: 0 !important;
    padding: 0 !important;
}

.vue-quotidienne .days_name p {
    color: var(--text);
    background: none;
}
.vue-quotidienne .jour {
    border: none; 
    height: auto; 
    overflow: initial;
    text-align: center;
    border: 2px solid var(--bg);
}
.header-calendar-quotidien {
    padding:  10px;
}
ul.day-quotidien-vue li {
    list-style-type: none;
    border-top: dashed 1px var(--border);
    min-height: 70px;
    align-items: center;
    vertical-align: middle;
}
ul.day-quotidien-vue {
    height: 80vh;
    overflow: scroll;
}
.event-single-list-quotidien  {
    border-bottom:  solid 1px var(--border);
    padding: 10px 0;
}
.event-single-list-quotidien label {
    font-weight: 600;
}
.semaine .jour:last-child {
    border: 0;
}
.jour {
    flex: 1;
    min-height: 13vh;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 9;
    position: relative;
    background: #fff;
    transition: background 0.15s ease;
}
.mensu .semaine .jour {
    border-right: 1px solid #f0ebe5;
}
.mensu .semaine .jour {
    border-top: 1px solid #f0ebe5;
}
.jour a.add-event {
    border-radius: 20px;
    border: solid 2px;
    text-align: center;
}
.jour:hover {
    background-color: var(--fondCreme);
    cursor: pointer;
}
.semaine {
    display: flex;
}
.days_name p {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    margin: 0;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8a8078;
}
.days_name {
    display: flex;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #f0ebe5;
}
.event {
    padding: 5px;
    display: block;
    position: relative;
    z-index: 99;
}
.calendar.vue-quotidienne {
    background: var(--bg);
    padding: 2px 10px 10px;
    border-radius: var(--border-radius);
}
.header-calendar-quotidien {
    background: var(--orange);
    color: #fff !important;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    font-size: 15px;
    font-weight: 500;
}
.header-calendar-quotidien a {
    color: #fff;
    font-size: 23px;
    line-height: 22px;
}
.event-month-title  {
    background: var(--bg);
    padding: 11px;
    width: 100%;
    text-align: center;
    border-radius: var(--border-radius);
}
.event-date {
    margin-top: 5px;
    font-weight: 300;
    color: var(--grey);
}
.title-modal-event {
    font-size: 16px;
    font-weight: 600;
    color: var(--violet);
    margin-top: 10px;
}
.content-modal-event {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    margin-top: 20px;
    padding-top: 20px;
}
.title-desc-event {
    font-weight: 500;
    margin-bottom: 0;
}
.icon-modal-event {
    color: #fff;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    font-size: 18px;
}
.btn-event-modal i {
    font-weight: 700;
    font-size: 15px;
    margin-right: 10px;
}

.tabs .list-group-item:first-child, .tabs .nav-item:first-child .list-group-item {
    border-top-left-radius: var(--border-radius) !important;
    border-bottom-left-radius: var(--border-radius) !important;
}
.list-group-item.client, .list-group-item.adress {
    border-radius: 0px;
    border: none;
    padding: 10px 35px;
    margin: 0;
}

.calendar 
{
    background: #fff;
}


.img-list-article
{
    width: 100%;
}
.img-single-article
{
    max-width: 100%;
    max-height: 30vh;
}


/* Style général des admins */

#adminList
{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: solid 1px #ccc;
    background: #efefef;
    margin: 5px;
    border-radius: 15px;
}


.admin-item {
  display: flex;
  flex-direction: column;
  gap:5px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  padding: 10px 20px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Image des admins */
.admin-item img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  object-fit: cover;
}

/* Nom des admins */
.admin-item span {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
 
  flex-grow: 1;
}

/* Style des checkboxes */
.admin-item input[type="checkbox"] {
  transform: scale(1.3);
}

/* Hover effect */
.admin-item:hover {
  background-color: #f0f8ff;
  border-color: #bbb;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .admin-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-item img {
    margin-bottom: 10px;
  }

  .admin-item input[type="checkbox"] {
    margin-bottom: 10px;
  }
}

/*** CONVERSATION SINGLE **/

.membresConversationBloc {
    max-height: 600px;
    overflow: scroll;
}


#SignleConversation .content 
{
    position: relative;
    background-color: #fff;
    padding: 5px;
    border-radius: 10px;
    max-height: 70vh;
    overflow: scroll;
    margin: auto;
    display: flex;
    flex-direction: column-reverse;
    overflow-y: auto;
}
span.message-date {
    font-size: 12px;
    display: block;
}
.message-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.message-left {
    justify-content: flex-start;
}

.message-right {
    justify-content: flex-end;
}

.message-avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.message-header {
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
    position: relative;
}

.message-sender {
    font-weight: bold;
    margin-right: 10px;
}



.toggle-content-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    
    right: 10px;
    top: 10px;
}

.message-content {
    background-color: #f9f9f9;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    width: 80%;
}


.conversation-members {
    list-style-type: none;
    padding: 0;
}

.member-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.member-avatar {
    border-radius: 30px;
    width: 30px;
    height: 30px;
    margin-right: 0;
}

.member-name {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.member-item:last-child {
    border-bottom: none; /* Supprimer la bordure pour le dernier élément */
}

@media (max-width: 600px) {
    .member-avatar {
        width: 30px;
        height: 30px;
    }
    
    .member-name {
        font-size: 0.9rem;
    }
}

.message-right .message-header, .message-my 
{
    background: var(--orange);
    color: #fff;
}

.message-left .message-header, .message-other
{
    background: var(--vert);
    color: #fff;
}

/**** Documents *****/
.container-doc 
{
    flex-wrap: wrap;
    gap: 25px;
}

.contentFront
{
    margin: 0 auto;
}

@media (max-width: 575px) {
    .contentFront {
        padding-inline-start:10px;
        padding-inline-end:10px}
}

@media (min-width: 768px) {
    .contentFront {
        max-width:600px
    }

    .site-footer.footer-full-width,.site-header.header-full-width {
        max-width: 100%
    }
}

@media (min-width: 992px) {
    .contentFront {
        max-width:800px
    }

    .site-footer.footer-full-width,.site-header.header-full-width {
        max-width: 100%
    }
}

@media (min-width: 1200px) {
    .contentFront{
        max-width:1140px
    }

    .site-footer.footer-full-width,.site-header.header-full-width {
        max-width: 100%
    }
}
