

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #8635ec, #3bace8);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

.vw-80 {
  width: 80vw !important;
  margin: auto;
}

.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* === Textes === */
.quisuisje,
.ou-quand-paragraph,
.myped-quisuisje-paragraph,
.myped-paragraph {
  color: #282C35;
  text-align: justify;
}

.quisuisje {
  background-color: #fff;
  margin-left: 5vw;
  margin-right: 5vw;
}

.ou-quand-paragraph,
.myped-quisuisje-paragraph {
  font-size: clamp(0.9rem, 1.6vh, 1.1rem);
}

.myped-paragraph {
  font-size: clamp(1rem, 2vh, 1.2rem);
  padding-left: 20vw;
  padding-right: 20vw;
}

.myped-d .lead {
  inline-size: 15vw;
  overflow-wrap: break-word;
}

/* === Boutons === */
.btn-custom,
#btn-prise-de-rendez-vous a {
  background: linear-gradient(90deg, #8635ec, #3bace8);
  border: none;
  color: #fff !important;
  font-weight: 600;
  border-radius: 10px;
  padding: 1vw;
  transition: transform 0.2s;
}

.btn-custom:hover,
#btn-prise-de-rendez-vous a:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* === Titres === */
.mypedTitle,
.mypedTitleLimited {
  text-align: center;
  font-variant: small-caps;
  color: #6B53A3;
}

.mypedTitle {
  min-height: 100vh;
  padding-top: 10vh;
}

.mypedTitleLimited {
  padding: 10vh 0;
}

/* === Backgrounds === */
.myBgDark {
  background-color: #6B53A3;
  color: #fff !important;
  border-radius: 10px;
  margin: 2vw;
  padding: 2vw;
}

.myBgLight {
  background-color: #fff;
  color: #6B53A3 !important;
}

/* === Navigation === */
.nav-item {
  font-variant: small-caps;
}

a {
  text-decoration: none;
  color: #282C35;
}

/* === Social Icons & Footer === */
#copyright,
#copyright a {
  font-size: 1vh !important;
}

.socialTopIcon {
  font-size: 2vh !important;
  padding: 0.2vw;
}

/* === Cards === */
.card-text {
  border: #6B53A3 solid 1pt;
}

.card-glass {
  background-color: #ffffffcc;
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* === Dashboard === */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background-color: #ffffffcc;
  backdrop-filter: blur(8px);
  padding: 2rem 1rem;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.15);
  border-right: 1px solid #ddd;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar:hover {
  transform: translateX(-2px);
  box-shadow: 8px 0 20px rgba(0, 0, 0, 0.2);
}

.sidebar .sidebar-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.sidebar .nav-link {
  color: #333;
  border-radius: 6px;
  margin: 0.5rem 0;
  padding: 0.5rem 1rem;
  transition: background-color 0.2s, color 0.2s;
}

.sidebar .nav-link:hover {
  background-color: #3bace8;
  color: #fff;
}

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

/* === Table === */
.table thead th {
  background-color: #f2f2f2;
}

/* === Floating icons === */
.floating-icon {
  position: absolute;
  font-size: 2.5rem;
  color: #ffffff99;
  opacity: 0.2;
  pointer-events: none;
}

.icon-1 { top: 10%; left: 5%; }
.icon-2 { top: 70%; left: 80%; }
.icon-3 { top: 30%; left: 50%; }

/* === Tooltips === */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-wrapper .tooltip-text {
  visibility: hidden;
  opacity: 0;
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  z-index: 10;
  transition: opacity 0.2s;
}

.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* === Certifications === */
.certifications-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.certification-card {
  border: 1px solid #ccc;
  padding: 10px;
  width: 25vw;
  height: auto;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.certification-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.certification-image {
  width: 100%;
  object-fit: cover;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
}

.overlay-content {
  background-color: white;
  padding: 20px;
  width: 80%;
  max-width: 50vw;
  font-variant: normal !important;
  text-align: left !important;
}

/* === Listes === */
ul {
  list-style-type: disc !important;
  padding-left: 1em !important;
  margin-left: 1em;
}

li {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* === Media queries === */
@media (max-width: 768px) {
  .dashboard-wrapper {
    flex-direction: column;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -240px;
    height: 100%;
    z-index: 1050;
    transition: left 0.3s ease;
  }

  .sidebar.active {
    left: 0;
  }

  .main-content {
    padding: 1rem;
  }

  .btn-custom,
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .myped-paragraph {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .certification-card {
    width: 80vw;
  }

  table {
    font-size: 0.85rem;
  }

  th, td {
    white-space: nowrap;
  }

  .tooltip-wrapper .tooltip-text {
    font-size: 0.65rem;
  }
}

@media all and (orientation: portrait) {
  .portraitHide {
    display: none;
  }

  a {
    font-size: 2vw;
  }

  #myBackgroundImage {
    background-size: 30vw;
    background-position: bottom right;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: auto;
  }

  #socialTop {
    display: none;
  }

  .tarifImg {
    width: 70vw;
  }
}

@media all and (orientation: landscape) {
  .landscapeHide {
    display: none;
  }

  .navbar-brand {
    display: none;
  }

  #socialTop {
    display: flex;
  }

  #myBackgroundImage {
    background-image: url('/images/mypedicare.be-logo-bg-portrait.svg');
    background-size: 30vh;
    background-position: bottom right;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: auto;
  }
}

@media (max-width: 600px) {
  .mylogo {
    display: none;
  }
}
/* === Base / Utilitaires === */
*, *::before, *::after {
  box-sizing: border-box;
}


.burger-button {
  position: fixed;
  top: 1rem;
  right: 1rem; /* <-- remplace `left` par `right` */
  z-index: 1100;
  width: 44px;
  height: 44px;
  background: #fff;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.3s ease;
}

.burger-icon,
.burger-icon::before,
.burger-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  position: relative;
  transition: 0.3s ease-in-out;
  content: '';
}

.burger-icon::before,
.burger-icon::after {
  position: absolute;
}

.burger-icon::before {
  content: '';
  top: -6px;
}

.burger-icon::after {
  content: '';
  top: 6px;
}

.burger-button.active .burger-icon {
  background: transparent;
}

.burger-button.active .burger-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.burger-button.active .burger-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* === Sidebar (responsive) === */
@media (max-width: 1024px) {

  .sidebar {
    position: fixed;
    top: 0;
    left: -240px; /* cachée */
    height: 100%;
    z-index: 1050;
    transition: left 0.3s ease;
  }

  .sidebar.active {
    left: 0;
  }

  .main-content {
    padding: 1rem;
  }
}
.wide-burger-button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #8635ec, #3bace8);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 1100;
}

.wide-burger-button:hover {
  background: linear-gradient(90deg, #7e2fda, #349cd3);
}


@media (min-width: 1025px) {
  .hide-desktop {
    display: none !important;
  }
}
/* Autres styles conservés... */