/**
  Theme Name: Kinsey Child
  Theme URI: https://artemsemkin.com/kinsey/wp/
  Description: This is a child theme of Kinsey, used for codebase customizations.
  Author: <a href="https://artemsemkin.com">Artem Semkin</a>
  Author URI: https://artemsemkin.com
  Template: kinsey
  Version: 4.2.2.1
*/

html { scroll-behavior: smooth; }

/* =========================
   Menu header – style pill révisé
   ========================= */

/* Ouvre le calendrier quand l’item est survolé/focus */
li.menu-clock.is-open .wp-cal,
li.menu-clock:hover .wp-cal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  z-index: 100000 !important;
}

/* Assure que la flèche n'est jamais cachée */
.wp-cal::before,
.wp-cal::after {
  z-index: 100001 !important;
  position: absolute;
}

 .wp-clock-wrap{position:relative!important;display:inline-block!important;vertical-align:top!important}
  .wp-clock-btn{gap:.5rem!important;}
  /* anti-saut : largeur fixe des chiffres */
  .wp-clock-time{padding-left:5px;font-variant-numeric:tabular-nums!important;display:inline-block!important;width:5ch!important;line-height:inherit!important}
  .wp-cal{position:absolute!important;top:100%!important;right:0!important;z-index:99999!important;background:#fff!important;border:1px solid rgba(0,0,0,.1)!important;border-radius:12px!important;box-shadow:0 8px 25px rgba(0,0,0,.15)!important;width:280px!important;padding:12px!important;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif!important;opacity:0!important;visibility:hidden!important;transform:translateY(5px)!important;transition:all .2s ease!important;pointer-events:none!important;margin-top:8px!important}
  .wp-clock-wrap:hover .wp-cal,.wp-cal:hover{opacity:1!important;visibility:visible!important;transform:translateY(0)!important;pointer-events:auto!important}
  .wp-cal-header{display:flex!important;align-items:baseline!important;justify-content:space-between!important;margin-bottom:8px!important}
  .wp-cal-title{font-weight:600!important;color:#333!important}
  .wp-cal-today{font-size:.9rem!important;opacity:.7!important;color:#666!important}
  .wp-cal-grid{display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:6px!important}
  .wp-cal-dow{text-align:center!important;font-size:.8rem!important;opacity:.7!important;padding:4px 0!important;font-weight:500!important;color:#666!important}
  .wp-cal-day{text-align:center!important;padding:8px 0!important;border-radius:10px!important;font-variant-numeric:tabular-nums!important;color:#333!important;transition:background-color .2s ease!important}
  .wp-cal-day.is-today{background:#1a73e8!important;color:#fff!important;font-weight:600!important}
  .wp-cal-day.is-muted{opacity:.35!important;color:#999!important}
  .wp-cal-day:not(.is-muted):not(.is-today):hover{background:rgba(0,0,0,.06)!important}
  .wp-cal::before{content:''!important;position:absolute!important;top:-8px!important;right:20px!important;width:0!important;height:0!important;border-left:8px solid transparent!important;border-right:8px solid transparent!important;border-bottom:8px solid #fff!important}
  .wp-cal::after{content:''!important;position:absolute!important;top:-9px!important;right:20px!important;width:0!important;height:0!important;border-left:8px solid transparent!important;border-right:8px solid transparent!important;border-bottom:8px solid rgba(0,0,0,.1)!important}
:root {
  --menu-pill-bg: #3D6BE4;
  --menu-hover-bg: #f0f0f0;
  --menu-pill-text: #ffffff;
  --menu-text: #111827;

  --submenu-bg: #ffffff;
  --submenu-hover: #f5f5f5;

  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --fade-fast: 160ms cubic-bezier(.4, 0, .2, 1);
  --fade: 260ms cubic-bezier(.4, 0, .2, 1);
  --fade-slow: 420ms cubic-bezier(.4, 0, .2, 1);
}

#page-header .menu {
  position: relative;
  list-style: none;
  margin: 0 -1em;
  padding: 0;
  display: inline-block;
  white-space: nowrap;
}

#page-header .menu > li {
  display: inline-block;
  margin: 0 .25em;
}

#page-header .menu > li > a {
  position: relative;
  display: block;
  padding: .6em 1em;
  border-radius: 9px;
  color: var(--menu-text);
  text-decoration: none;
  line-height: 1;
	border:1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  transition:
    background var(--fade),
    box-shadow var(--fade-fast),
    transform var(--fade-fast),
    color var(--fade-fast);
}

/* Couche d'effet (hover, active…) */
#page-header .menu > li > a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9px;
  z-index: -1;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.3) 0%,
    rgba(255,255,255,0.05) 40%,
    rgba(255,255,255,0.15) 100%
  );

  opacity: 0;
  transform: scale(.94);
  transition:
    opacity var(--fade),
    transform var(--fade),
    background var(--fade-slow);
}

/* État actif / current */
#page-header .menu > li.current-menu-item > a,
#page-header .menu > li.current-menu-ancestor > a,
#page-header .menu > li.is-active > a {
  color: var(--menu-pill-text);
  transition: color var(--fade-slow);
		border:1px solid rgba(255, 255, 255, 0);
}

#page-header .menu > li.current-menu-item > a::before,
#page-header .menu > li.current-menu-ancestor > a::before,
#page-header .menu > li.is-active > a::before {
  opacity: 1;
  transform: scale(1);
  background: var(--menu-pill-bg);
  transition:
    opacity var(--fade-slow),
    background var(--fade-slow),
    transform var(--fade-slow);
}

/* Sortie du current en fade-out */
#page-header .menu > li:not(.current-menu-item):not(.current-menu-ancestor):not(.is-active) > a::before {
  transition: opacity var(--fade-slow), transform var(--fade-slow);
}

/* Sous-menus */
#page-header .menu .menu-item-has-children {
  position: relative;
}
#page-header .menu .sub-menu {
  position: absolute;
  top: 100%;
  left: .25em;
  transform: translateY(.75em);
  list-style: none;
  margin: 0;
  padding: .4em;
	
  background: var(--submenu-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--fade), transform var(--fade), visibility var(--fade);
  z-index: 50;
}
#page-header .menu .menu-item-has-children:hover > .sub-menu,
#page-header .menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(.3em);
}
#page-header .menu .sub-menu > li > a {
  display: block;
  padding: .55em .9em;
		border:0px!important;
  border-radius: var(--radius);
  color: var(--menu-text);
  text-decoration: none;
}


#page-header .menu .sub-menu > li > a:hover {
  background: var(--submenu-hover);
		border:0px!important;
}

/* Sous-sous-menus */

/* Lien de sous-menu prêt à recevoir la barre + indentation du contenu */
#page-header .menu .sub-menu > li > a,
#page-header .menu-overlay .sub-menu > li > a {
  position: relative;
  padding-left: 5px !important; /* décale le contenu (icône + texte) de 35px */
  padding-right: 10px !important; /* “marge” à droite demandée */
}


#page-header .menu .sub-menu > li + li > a::before,
#page-header .menu-overlay .sub-menu > li + li > a::before {
  content: "";
  position: absolute;
  left: 45px;             /* alignée pile avec l’indent */
  top: -52px;                 /* remonte jusqu’en haut de l’item */
  bottom: -6px;              /* descend jusqu’en bas de l’item */
  width: 1px;
  background: #e5e7eb; /* même couleur que le hover */
  pointer-events: none;
	z-index:999999;
}

#page-header .menu .sub-menu > li + li,
#page-header .menu-overlay .sub-menu > li + li {
  margin-right: 10px;     /* marge à droite du LI (si tu préfères côté LI) */
}

#page-header .menu .sub-menu > li.separrationbar {
  position: relative;
  margin-top: 0px;   /* espace au-dessus */
  padding-top: 0px;  /* espace sous la ligne */
		z-index:999;
}
#page-header .menu .sub-menu > li.separrationbar::before {
  content: "";
  position: absolute;
  top: 0;            /* ligne à l'intérieur du LI (pas en négatif) */
  left: 47px;         /* démarre après les icônes */
  right: 0;
  height: 1px;
  background: #e5e7eb; 
  pointer-events: none;
			z-index:999999999;
}

#page-header .menu .sub-menu .sub-menu {
  top: 0;
  left: calc(100% + .25rem);
  transform: translate(.4em, 0);
  opacity: 0;
  visibility: hidden;
}
#page-header .menu .sub-menu li.menu-item-has-children:hover > .sub-menu,
#page-header .menu .sub-menu li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0);
}


/* Option : mode "hover only" */
.menu_hover > li > a:not(:hover)::before {
  opacity: 0;
  transform: scale(.96);
}
.menu_hover > li.current-menu-item > a::before,
.menu_hover > li.current-menu-ancestor > a::before {
  opacity: 0;
  transform: scale(.96);
}
.menu_hover > li > a {
  color: var(--menu-text);
}
.menu_hover > li > a:hover {
  color: var(--menu-text);
}

/* Responsive */
@media (max-width: 1280px) {
  #page-header .menu > li {
    margin: 0 .15em;
  }
}

@media (prefers-reduced-motion: reduce) {
  #page-header .menu .sub-menu,
  #page-header .menu > li > a::before {
    transition: none;
  }
}

#collaborative-note-container {
    margin: 20px 0;
}

#collaborative-note-textarea {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#collaborative-note-save {
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#collaborative-note-save:hover {
    background-color: #005177;
}

#collaborative-note-status {
    margin-left: 10px;
    font-weight: bold;
}


#menu-private-menu{
	top:10px!important;
	right:-15px!important;
}

#bp-better-messages-mini-mobile-open{
	display:none!important;
}

#menu-item-1971{
    position:absolute!important;
	top:-2px!important;
	right:7px!important;
	z-index:9999999!important;
}

.bp-messages-wrap{
	z-index: 551!important;
}

#bm-floating-btn {
      position: fixed;
      bottom: 20px;
      right: 20px;
	z-index: 51!important;
      width: 50px;
      height: 50px;
      background-color: #0084ff; /* Bleu Messenger */
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.3);
      transition: transform 0.2s ease-in-out;
      text-decoration: none;
    }
    #bm-floating-btn:hover {
      transform: scale(1.05);
    }

    /* Icône/emoji à l'intérieur du bouton */
    #bm-floating-btn .bm-icon {
      pointer-events: none; /* Empêche le clic directement sur l'icône */
    }

.elementor elementor-1973{
	z-index:9999999!important;
}

.bp-better-messages-unread{
	background:red!important;
}

.bp-messages-wrap{
	z-index:99999!important;
}

#bp-better-messages-mini-mobile-container {
    position:fixed!important;
	box-shadow: 0 2px 5px rgba(0,0,0,0.3)!important;
	left:100%!important;
	margin-left:-450px!important;
	top:100%!important;
	margin-top:-600px!important;
	z-index:9999999!important;
	max-height:600px!important;
	max-width:450px!important;
	min-width:450px!important;
	transition:none!important;
}

.bp-messages-wrap bp-messages-mobile {
    position:fixed!important;
	box-shadow: 0 2px 5px rgba(0,0,0,0.3)!important;
	left:100%!important;
	margin-left:-450px!important;
	top:100%!important;
	margin-top:-450px!important;
	z-index:9999999!important;
	max-height:450px!important;
	max-width:450px!important;
	min-width:450px!important;
	transition:none!important;
}

.bp-messages-wrap-main {
    position:fixed!important;
	bottom:0px!important;
	right:0px!important;
	z-index:9999999!important;
	max-width:100%!important;
	min-width:100%!important;
}

.page-id-1647 #page-header {
    display: none!important;
}

/* Conteneur principal du formulaire de connexion */
.um-login {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}

#um-submit-btn {
    background: #006df3 !important;
    border-radius: 150px !important;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#um-submit-btn:active {
    transform: scale(0.95);
    background-color: #0056c1 !important; /* Couleur plus sombre au clic */
}

#username-1582,
#user_password-1582 {
    border-radius: 0px !important;
    border-top: 0px !important;
    border-left: 0px !important;
    border-right: 0px !important;
    border-bottom: 1px solid #c6c6c6 !important;
    position: relative;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

#username-1582:focus,
#user_password-1582:focus {
    border-bottom: 1px solid #006df3 !important; /* Couleur accentuée */
    outline: none;
}

#username-1582::after,
#user_password-1582::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #006df3; /* Couleur d'animation */
    transition: width 0.3s ease-in-out;
}

#username-1582:focus::after,
#user_password-1582:focus::after {
    width: 100%;
}

.logo{
	display:none;
}
.header__wrapper-widgets{
	position:absolute;
	visibility:1!important;
	display:block!important;
	left:15px!important;
	min-width:440px!important;
	max-width:440px!important;
	top:12px!important;
}

.header__wrapper-widgets{
	position:absolute;
	left:15px!important;
	min-width:440px!important;
	max-width:440px!important;
	top:12px!important;
}
.search-container {
  position: relative;
  display: block;
	margin-left:13px;
  width: 100%;
}

/* Icône centrée verticalement dans l'input */
.search-container .search-icon {
  position: absolute;
  left: 12px;
  top: 5px;
  color: #64748b;
  pointer-events: none;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

/* Input principal avec vos dimensions */
#searchbox {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto 5px;
  padding: 8px 25px 8px 2.6rem;
  border-radius: 37px;
  font-size: 16px;
  line-height: 1.2;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #1e293b;
  background: rgba(255, 255, 255, 0.45); /* léger transparent */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.15); /* bord blanc net et visible */
}

/* États hover */
#searchbox:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px -2px rgba(59, 130, 246, 0.15);
}

#searchbox:hover + .search-icon {
  color: #3b82f6;
  transform: translateY(-50%) scale(1.05);
}

/* États focus */
#searchbox:focus {
  border-color: #2563eb;
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#searchbox:focus + .search-icon {
  color: #2563eb;
  transform: translateY(-50%) scale(1.1);
}

/* Placeholder moderne */
#searchbox::placeholder {
  color: #94a3b8;
  font-weight: 400;
  transition: color 0.3s ease;
}

#searchbox:focus::placeholder {
  color: #cbd5e1;
}

/* Suppression des outlines par défaut */
button:focus,
input:focus,
a:focus {
  outline: none;
}

/* Cache le bouton natif WebKit pour garder un rendu homogène */
#searchbox[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  width: 0; height: 0;
}

/* Laisse de la place au bouton clair à droite */
#searchbox {
  padding-right: 2.8rem; /* > 2.6rem pour caser le bouton */
}

/* Bouton "effacer" moderne */
.search-container .search-clear{
  position: absolute;
  right: 4px;
  top: 40%;
  transform: translateY(-50%) scale(1);
  width: 30px; height: 30px;
	border:0px;
	color:white;
  border-radius: 999px;
  background: #3D6BE4;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;         /* masqué par défaut */
  transition: opacity .18s ease, transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.search-container.is-filled .search-clear{
  opacity: 1;
  pointer-events: auto;         /* cliquable si texte présent */
}

.search-container .search-clear:hover{
  transform: translateY(-50%) scale(1.06);
  background: #f8fafc;
  border-color: #d1d5db;
	color:black;
}

.search-container .search-clear:active{
  transform: translateY(-50%) scale(0.96);
}

.search-container .search-clear:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(59,130,246,.22); /* focus ring doux */
}

/* Icône (SVG) */
.search-container .search-clear svg{
  width: 30px; height: 30px;
  display: block;
  pointer-events: none;
  /* pas de couleur figée : hérite de la couleur actuelle */
}

.header{
	max-height:110px!important;
	margin:0px!important;
	padding:0px!important;
}

/* === Liquid glass header — blur dégradé plus long, sans ligne basse, marges conservées === */
.header__container{
  min-height:63px!important;
  max-height:63px!important;
  border-bottom: 0;           /* pas de ligne en dessous */
  padding:0!important;
  border-radius:0;

  /* Réglages */
  --glass-blur: 18px;         /* intensité du flou en haut */
  --fade-solid: 35%;          /* portion 100% floue avant le fondu */
  --fade-end: 96%;            /* jusqu’où descend le flou (plus grand = plus bas) */
  --tint-top: 0.55;           /* voile blanc haut */
  --tint-bottom: 0.08;        /* voile blanc bas */

  /* Fallback (si pas de mask-image) : flou uniforme, pas de ligne */
  background-color: rgba(255,255,255,0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  position: relative;
  isolation: isolate;
}

/* Version dégradée si support des masques */
@supports ((-webkit-mask-image: linear-gradient(#000, transparent)) or (mask-image: linear-gradient(#000, transparent))) {

  .header__container{
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: transparent;  /* rendu en couches */
  }

  /* Calque BLUR masqué (100% en haut → 0% en bas) */
  .header__container::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:0;

    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));

    -webkit-mask-image: linear-gradient(to bottom,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) var(--fade-solid),
      rgba(0,0,0,0) var(--fade-end)
    );
            mask-image: linear-gradient(to bottom,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) var(--fade-solid),
      rgba(0,0,0,0) var(--fade-end)
    );
  }

  /* Calque TEINTE — sans bordure ni ombre basse */
  .header__container::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:0;

    background: linear-gradient(
      to bottom,
      rgba(255,255,255,var(--tint-top)) 0%,
      rgba(255,255,255,var(--tint-bottom)) 70%,
      rgba(255,255,255,0) 100%
    );

    /* pas de border-bottom, pas d’ombre basse */
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.35); /* léger reflet haut (facultatif) */
  }
}

/* Contenu net au-dessus du verre */
.header__container > *{
  position: relative;
  z-index: 1;
}


.sticky-note {
    position: absolute;
    width: 200px;
    padding: 10px;
    background-color: #fffa65;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transform: rotate(0deg);
    transition: transform 0.2s;
}

.sticky-note:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 1000;
}

.ordonnance-wrapper {
      position: relative;
      width: 800px; /* Selon votre image */
      margin: 0 auto;
      border: 1px solid #ccc;
      margin-top: 20px;
    }
    .ordonnance-bg {
      width: 100%;
      height: auto;
      display: block;
    }
    .ordonnance-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 800px;
      height: auto;
    }
    .field {
      position: absolute;
      background: transparent;
      border: none;
      border-bottom: none;
      font-family: sans-serif;
      font-size: 14px;
    }
    .field:focus { outline: none; }

    .doctor-name  { top: 37px; left: 110px; font-size:17px; color#5e5e5e; width: 300px; }
    .medical-code  { top: 41px; left: 666px; color#5e5e5e; width: 120px; }
    .medical-tel  { top: 89px; left: 68px; color#5e5e5e; width: 190px; }
    .medical-mail  { top: 105px; left: 72px; color#5e5e5e; width: 300px; }
    .medical-adress  { top: 120px; left: 96px; color#5e5e5e; width: 300px; }


    .patient-name2  { top: 120px; left: 416px; color#5e5e5e; width: 300px; }
    .patient-adresse-rue  { top: 140px; left: 416px; color#5e5e5e; width: 300px; }
    .patient-adresse-CPVille  { top: 160px; left: 416px; color#5e5e5e; width: 300px; }
    .patient-adresse-Pays  { top: 180px; left: 416px; color#5e5e5e; width: 300px; }

    .patient-matricule  { top: 182px; left: 106px; color#5e5e5e; width: 300px; }
    .patient-name  { top: 202px; left: 127px; color#5e5e5e; width: 300px; }
    .patient-AT  { top: 221px; left: 182px; color#5e5e5e; width: 300px; }
    .patient-dateAT  { top: 241px; left: 157px; color#5e5e5e; width: 300px; }

    .date-field   { top: 311px; left: 87px; color#5e5e5e; width: 150px; }
	.expired-date-field { top: 311px; left: 270px; color#5e5e5e; width: 150px; }

	textarea.medication {
	  top: 350px;
	  left: 60px;
	  width: 320px;
	  height: 580px;
	  resize: none;
	  overflow: hidden;
	  word-wrap: break-word;
	  white-space: pre-wrap;
	  line-height: 1.4;
	  padding: 4px;
	  border: none;
	  font-family: sans-serif;
	  font-size: 14px;
	  background: transparent;
	  box-sizing: border-box;
	}


    .print-button {
      margin-top: 20px;
      background-color: #007af9;
      color: #fff;
      padding: 10px 18px;
      border-radius: 10px;
      border: none;
      cursor: pointer;
    }

    /* =========================
       Media Print : HIDE LE RESTE
       ========================= */
    @media print {
      /* Masquer tout sauf #ordonnance-block */
      body * {
        display: none !important;
      }
      #ordonnance-block {
        display: block !important;
      }
      /* Optionnel : Ajuster marges, etc. */
      @page {
        margin: 10mm; /* Par exemple */
      }
    }

    .print-button:hover {
      background-color: #005dc3;
    }


.print-list {
  position: relative; 
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center; 
	padding: 0 20px 20px 20px;
  border: 1px solid #dee1e8;
  font-weight: 400;
  margin-bottom: 15px;
  font-size: 17px;
  font-family: 'Roboto', sans-serif;
  border-radius: 13px;
  cursor: pointer!important;
  transition: all 0.1s ease-in-out;
}

.print-list img {
  position: relative;
  width: 70%; 
  max-width: 100%; 
  height: auto; 
  margin: 0; 
}

.print-list:hover {
	border: 1px solid #3d6be3;
	cursor: pointer!important;
	transition: all 0.1s ease-in-out;
}
.print-list:active {
	transform: scale(0.90);
	transition: transform 0.03s ease-in-out;
}

    .print-overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      /* Couleur par défaut : BLEU, pour “Imprimer” */
      background-color: rgba(0, 106, 249, 0.85);
      color: white;
      font-weight: 900;
      font-size: 16px;
      border-radius: 7px;
      padding: 10px 15px;
      backdrop-filter: blur(2px);
      -webkit-backdrop-filter: blur(2px);
      z-index: 9999;
      opacity: 0;
      transition: opacity 0.2s ease-in-out;
      pointer-events: none; /* ne bloque pas le clic sur l'image */
    }

    /* Au survol, on affiche l’overlay : “Imprimer” */
    .print-list:hover .print-overlay {
      opacity: 1;
    }

.title-print{
	padding-bottom:8px;
	border-bottom:1px solid #dee1e8;
}

.prescription-list {
	position: relative; 
	padding: 14px;
	font-weight:400;
  overflow: hidden;
	margin: 7px 0;
	font-size:15px;
	font-family: 'Roboto', sans-serif;
	border-radius:13px;
	cursor: pointer!important;
	border: 1px solid #D4D6DC;
	background:#fff;
	transition: all 0.1s ease-in-out;
}

.prescription-list:hover {
	border:1px solid #3d6be3;
	cursor: pointer!important;
	transition: all 0.1s ease-in-out;
}
.prescription-list:active {
	transform: scale(0.90);
	transition: transform 0.03s ease-in-out;
}

.pl-yellow {
	border: 1px solid #FECBA4!important;
	background:#fffbf1!important;
}
.pl-yellow:hover {
	border: 1px solid #FE7A14!important;
}

.pl-green {
	border: 1px solid #B7F2E0!important;
	background:#DBFFF3!important;
}

.pl-green:hover {
	border: 1px solid #24BA89!important;
}

.pl-purple {
	border: 1px solid #E2CEEA!important;
	background:#FAF7FE!important;
}

.pl-purple:hover {
	border: 1px solid #C15CEA!important;
}

.pl-blue {
	border: 1px solid #BDD8FB!important;
	background:#FAFCFE!important;
}

.pl-blue:hover {
	border: 1px solid #2281FB!important;
}

/* ==== COPY OVERLAY — version améliorée ==== */
.copy-overlay{
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%) scale(0.96);
  background: linear-gradient(135deg, rgba(0,106,249,0.92), rgba(0,106,249,0.86));
  color:#fff;
  z-index: 10003;              /* un peu au-dessus de ton 9999 */
  opacity:0;
  border-radius:8px;
  padding:9px 13px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0px;
  line-height:1;
  box-shadow:
    0 6px 24px rgba(0,0,0,.20),
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events:none;          /* ne bloque pas les clics */
  transition: opacity .18s ease, transform .18s ease;
  display: inline-flex;
  align-items: center;
  gap:10px;
}

/* Ondes (ripple) autour du badge */
.copy-overlay::before,
.copy-overlay::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:14px;
  border:2px solid rgba(255,255,255,.35);
  opacity:0;
  transform: scale(.8);
}

.copy-overlay.show{
  opacity:1;
  transform: translate(-50%, -50%) scale(1);
  animation: overlayPop .42s cubic-bezier(.32,.72,0,1);
}

.copy-overlay.show::before{
  animation: rippleExpand .6s ease-out .05s forwards;
}
.copy-overlay.show::after{
  animation: rippleExpand .9s ease-out .10s forwards;
}

/* Disparition douce (ajoute/retire la classe .fade-out en JS) */
.copy-overlay.fade-out{
  opacity:0;
  transform: translate(-50%, -50%) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
}

/* Contenu interne */
.copy-overlay__icon{
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:999px;
  background:#fff;
  color:#0b63f8;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 2px 10px rgba(0,0,0,.12);
  transform: scale(.9);
  animation: iconPop .42s cubic-bezier(.32,.72,0,1);
}

.copy-overlay__text{
  white-space:nowrap;
}

/* Si tu utilises Font Awesome (auto) */
.copy-overlay__icon .fa-solid{
  font-size:14px;
  line-height:1;
}

/* Si tu préfères l’icône SVG inline (voir HTML plus bas) */
.copy-overlay__icon svg{
  width:14px;
  height:14px;
  display:block;
  fill: currentColor;
}

/* Animations */
@keyframes overlayPop{
  0%{ transform: translate(-50%, -50%) scale(.85); opacity:0; }
  60%{ transform: translate(-50%, -50%) scale(1.06); opacity:1; }
  100%{ transform: translate(-50%, -50%) scale(1); opacity:1; }
}
@keyframes iconPop{
  0%{ transform: scale(.6); opacity:.2; }
  60%{ transform: scale(1.15); opacity:1; }
  100%{ transform: scale(1); opacity:1; }
}
@keyframes rippleExpand{
  0%{ opacity:.0; transform: scale(.88); }
  40%{ opacity:.35; }
  100%{ opacity:0; transform: scale(1.15); }
}

/* Accessibilité : réduit les animations si demandé par l’utilisateur */
@media (prefers-reduced-motion: reduce){
  .copy-overlay,
  .copy-overlay.show,
  .copy-overlay.fade-out{
    transition: none !important;
    animation: none !important;
  }
  .copy-overlay::before,
  .copy-overlay::after{ display:none !important; }
}

/* Flash bleu bref derrière les éléments cliqués */
.print-list,
.prescription-list,
.big-btn {
  position: relative;        /* nécessaire pour le pseudo-élément */
  overflow: hidden;          /* évite que le flash déborde */
}

/* Classe utilitaire qu’on toggle en JS */
.click-splash::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 106, 249, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(61, 107, 228, 0.8),
    0 8px 24px rgba(0, 106, 249, 0.22);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity .12s ease, transform .12s ease;
  pointer-events: none;
}
.click-splash.is-active::after {
  opacity: 1;
  transform: scale(1);
  animation: splashFade .45s ease-out forwards;
}
@keyframes splashFade {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* Respecte les préférences d’accessibilité */
@media (prefers-reduced-motion: reduce) {
  .click-splash::after,
  .click-splash.is-active::after {
    transition: none !important;
    animation: none !important;
  }
}

/* CSS POUR LA PARTIE PRIVEE */

.page-id-4298 #page-header {
    display: none!important;
}

.page-id-3685 #page-header {
    display: none!important;
}

.page-id-4389 #page-header {
    display: none!important;
}

.page-id-4557 #page-header {
    display: none!important;
}

.page-id-4279 #page-header {
    display: none!important;
}

.page-id-5441 #page-header {
    display: none!important;
}

.page-id-5463 #page-header {
    display: none!important;
}

.prescription-list2 ul li{
	font-size:14px;
	color:red;
}

.notseen{
	display:none;
}

#conditioned.box2 {
	background: #fff;
	padding: 0px;
	border: none;
	font-size: 20px;
	font-weight:bold;
}

#conditioned2.box2 {
  position: relative;
  box-sizing: border-box;
  border-radius: 10px;
  margin: 0 auto 1% auto;
  background: #fff;
  border: 1px solid #dde1e9;
  padding: 2px;
  text-align: left;
  font-size: 15px;
  overflow: hidden;
  transition: border 0.2s ease;
}

#conditioned2.box2:hover {
  border-color: var(--blue-site);
}

.box2 {
  position: relative;
  box-sizing: border-box;
  border-radius: 10px;
  margin: 0 auto 1% auto;
  background: #fff;
  border: 1px solid #dde1e9;
  padding: 5px 20px;
  text-align: left;
  font-size: 15px;
  overflow: hidden;
  transition: border 0.2s ease;
}

.box2:hover {
  border-color: var(--blue-site);
}
.box2-link {
  position: relative;
  box-sizing: border-box;
  border-radius: 10px;
  margin: 0 auto 1% auto;
  background: #fff;
  border: 1px solid #ccc; /* gris clair */
  padding: 5px; /* marge blanche interne */
  text-align: center;
  font-size: 15px;
  overflow: hidden;
  transition: border-color 0.2s ease;
  cursor: pointer;
  height: 135px; /* hauteur fixe (inclut la marge) */
}

.box2-link:hover {
  border-color: #3d6be3; /* noir au survol */
}

.box2-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* recouvre le conteneur interne */
  object-position: center;
  border-radius: 5px;    /* optionnel : arrondi pour coller au style */
}

.Parenttablchild {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
}

.child1AT {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  padding: 7px;
  background-color: #EAEAEA;
  color: black;
  border-radius: 6px;
}

.child2AT {
  width: 75%;
  padding: 8px 8px 8px 30px;
  text-align: left;
  text-transform: uppercase;
}

.child2AT h5{
  margin-top:0px!important;
  margin-bottom:0px!important;
}


#noResult {
	display: none;
	line-height: 140%;
	margin-left: 0px;
	margin-top: 100px;
	margin-bottom: -40px;
	color: red;
	text-align: center!important;
	background: transparent;
	padding: 0px;
	font-size: 27px;
}

#noResult i {
  margin-right: 20px;
}

.highlight {
  background-color: #3d6be3;
  padding: 2px 2px;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
}

.box2 .actions {
  display: flex;
  justify-content: flex-end; /* pousse les boutons à droite */
  gap: 18px; /* espace entre les boutons */
  margin-top: 10px;
}

.print-btn, .mail-btn {
	position:relative;
	right:0px;
	bottom:5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin: 10px -8px 0 0;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #DEE0E8;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  color: grey;
}

.print-btn, .mail-btn {
  background-color: #fff;
}
.print-btn:hover, .mail-btn:hover {
	color:#fff;
  background-color: #3D6BE4;
  border: 1px solid #3D6BE4;
}

.print-btn i, .mail-btn i {
  font-size: 16px;
}

/* =========================================================
   STYLE "GOOGLE NEWS" FLAT — Disposition en grille
   ========================================================= */

/* ===== Variables globales ===== */
:root {
  --card-bg: #ffffff;
  --card-bg-hover: #f8fafc;
  --card-border: #e6ebf2;
  --title: #0b1220;
  --title-hover: #0b5cff;
  --meta: #526176;
  --badge-bg: #eef4ff;
  --badge: #0b5cff;
  --radius: 12px;
  --pad: 16px;
  --trans: 180ms ease;
}

/* Variante sombre */
@media (prefers-color-scheme: dark) {
  :root {
    --card-bg: #0f1724;
    --card-bg-hover: #111b2d;
    --card-border: #1d2a3c;
    --title: #e7eefc;
    --title-hover: #7aa7ff;
    --meta: #9aa9bc;
    --badge-bg: #16233a;
    --badge: #98b6ff;
  }
}

/* ===== Layout en grille ===== */
#actubiggg .wp-rss-aggregator ul,
#actudroitebasse .wp-rss-aggregator ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* responsive 2 et 3 colonnes */
@media (min-width: 640px) {
  #actubiggg .wp-rss-aggregator ul,
  #actudroitebasse .wp-rss-aggregator ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #actubiggg .wp-rss-aggregator ul,
  #actudroitebasse .wp-rss-aggregator ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Cartes ===== */
#actubiggg .rss-aggregator li,
#actudroitebasse .rss-aggregator li {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: none !important; /* flat */
  overflow: hidden;
  transition: background-color var(--trans), border-color var(--trans), transform var(--trans);
  position: relative;
  isolation: isolate;
}

/* ===== Lien (titre) ===== */
#actubiggg .rss-aggregator li > a,
#actudroitebasse .rss-aggregator li > a {
  display: block;
  padding: calc(var(--pad) + 2px) var(--pad) var(--pad);
  text-decoration: none !important;
  color: var(--title) !important;
  font-weight: 600;
  line-height: 1.28;
  transition: color var(--trans), transform var(--trans);
}
.feed-author {
  display: none;
}
/* ===== Meta ===== */
#actubiggg .wprss-feed-meta,
#actudroitebasse .wprss-feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  padding: 0 var(--pad) var(--pad);
  font-size: .88rem;
  color: var(--meta);
}

#actubiggg .wprss-feed-meta .feed-source a,
#actudroitebasse .wprss-feed-meta .feed-source a {
  background: var(--badge-bg);
  color: var(--badge) !important;
  padding: 2px 8px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 600;
}

/* ===== Effets hover ===== */
#actubiggg .rss-aggregator li:hover,
#actudroitebasse .rss-aggregator li:hover {
  background: var(--card-bg-hover);
  border-color: color-mix(in srgb, var(--title-hover) 15%, var(--card-border));
  transform: translateY(-1px);
  box-shadow: none !important; /* reste flat */
}

#actubiggg .rss-aggregator li:hover > a,
#actudroitebasse .rss-aggregator li:hover > a {
  color: var(--title-hover) !important;
  transform: translateX(3px); /* léger glissement */
}

/* pas de changement de graisse au survol */
#actubiggg .rss-aggregator li > a,
#actudroitebasse .rss-aggregator li > a {
  font-weight: 600;
}

/* ===== Overlay lumineux au survol ===== */
#actubiggg .rss-aggregator li::after,
#actudroitebasse .rss-aggregator li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 900px at var(--mx, 50%) var(--my, 50%), rgba(11,92,255,.06), transparent 40%);
  opacity: 0;
  transition: opacity var(--trans);
  pointer-events: none;
  z-index: -1;
}
#actubiggg .rss-aggregator li:hover::after,
#actudroitebasse .rss-aggregator li:hover::after {
  opacity: 1;
}

/* ===== États actifs ===== */
#actubiggg .rss-aggregator li:active,
#actudroitebasse .rss-aggregator li:active {
  transform: translateY(0) scale(.995);
}

/* ===== Accessibilité focus ===== */
#actubiggg .rss-aggregator li:focus-within,
#actudroitebasse .rss-aggregator li:focus-within {
  outline: 2px solid color-mix(in srgb, var(--title-hover) 40%, transparent);
  outline-offset: 2px;
}

/* ===== Ajustements mobiles ===== */
@media (max-width: 400px) {
  #actubiggg .wp-rss-aggregator ul,
  #actudroitebasse .wp-rss-aggregator ul {
    display: block;
  }
  #actubiggg .rss-aggregator li,
  #actudroitebasse .rss-aggregator li {
    margin-bottom: 10px;
  }
}

/* ===== Variante #actubiggg plus sombre (fond de section foncé) ===== */
#actubiggg .rss-aggregator li {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
#actubiggg .rss-aggregator li > a {
  color: #ffffff !important;
}
#actubiggg .wprss-feed-meta {
  color: rgba(255,255,255,.8);
}
#actubiggg .wprss-feed-meta .feed-source a {
  background: rgba(255,255,255,.15);
  color: #ffffff !important;
}

.boxhome5 {
	box-sizing: border-box; 
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border-radius: 37px; 
	width: 100%; 
	margin: 20px auto 0px auto; 
	background: #e8f4fa;
	height:100%;
	max-height:100%;
	border: 4px solid #e8f4fa;
	box-shadow:none;
	padding: 25px;
	text-align:left; 
	font-size:auto;
	color::#000;
	overflow:hidden;
}


.boxhome4 {
	box-sizing: border-box; 
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border-radius: 37px; 
	width: 100%; 
	margin: 20px auto 0px auto; 
	background: #e8f4fa;
	height:auto;
	max-height:auto;
	border: 4px solid #e8f4fa;
	box-shadow:none;
	padding: 25px;
	text-align:left; 
	font-size:auto;
	color:#000;
	overflow:hidden;
}

.boxhome3 {
	box-sizing: border-box; 
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border-radius: 17px; 
	width: 100%; 
	margin: 10px auto 0px auto; 
	background: #FFF;
	background-repeat: no-repeat;
	background-attachment:  normal;
	background-position: center center;
	background-size: cover;
	height:auto;
	max-height:auto;
	border: 1px solid #dde1e9;
	box-shadow:none;
	padding: 15px;
	text-align:left; 
	color::#e57428;
	font-size:auto;
	color:white;
	overflow:hidden;
}


.boxhome2 {
	box-sizing: border-box; 
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border-radius: 37px; 
	width: 100%; 
	margin: 20px 0px 0px 0px; 
	background: #e8f4fa;
	background-repeat: no-repeat;
	background-attachment:  normal;
	background-position: center center;
	background-size: cover;
	height:auto;
	max-height:auto;
	border: 4px solid #e8f4fa;
	box-shadow:none;
	padding: 25px;
	text-align:left; 
	font-size:auto;
	color::#e57428;
	color:white;
	overflow:hidden;
}
