@import '../views/mb-views/assets/css/components/cards.css';

.bloc-service-de-reanimation {
  background-color: #008292;
  background-repeat: no-repeat;
  background-position: bottom right;
  box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.05);
  background-size: 115px;
  color: #fff;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bloc-contribution {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: #F5F5F5;
}

.bloc-contributeurs {
  color: #fff;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: #00A6BA;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Ensure white text on blue/teal encarts */
.text-white {
  color: #fff !important;
}

.bloc-welcome-bloc,
.bloc-communaute,
.bloc-contributeurs,
.bloc-service-de-reanimation,
.cardbox.bloc-service-de-reanimation,
.bloc.contribution,
.bloc.contributeurs,
.bloc.communaute,
.bloc.service-de-reanimation {
  color: #fff;
}

.bloc-welcome-bloc a,
.bloc-communaute a,
.bloc-contributeurs a,
.bloc-service-de-reanimation a,
.bloc.contribution a,
.bloc.contributeurs a,
.bloc.communaute a,
.bloc.service-de-reanimation a,
.bloc-welcome-bloc .card-titlebox,
.bloc-communaute .card-titlebox,
.bloc-contributeurs .card-titlebox,
.bloc-service-de-reanimation .card-titlebox,
.bloc.contribution .card-titlebox,
.bloc.contributeurs .card-titlebox,
.bloc.communaute .card-titlebox,
.bloc.service-de-reanimation .card-titlebox,
.bloc-welcome-bloc .component-box,
.bloc-communaute .component-box,
.bloc-contributeurs .component-box,
.bloc-service-de-reanimation .component-box,
.bloc.contribution .component-box,
.bloc.contributeurs .component-box,
.bloc.communaute .component-box,
.bloc.service-de-reanimation .component-box {
  color: #fff;
}

.bloc-contributeurs .link-container a {
  align-self: flex-end;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.bloc-gestion-des-proches {
  /* Background styles commented out as current design uses transparent/white background
  background-color: #008292;
  background-repeat: no-repeat;
  background-position: bottom right;
  box-shadow: 0px 16px 32px rgb(0 0 0 / 5%);
  background-size: 115px;
  color: #fff;
  */
  /* Ensure text is readable on light background */
  color: #243A59;
}

.bloc-gestion-des-proches .link-container {
  margin-top: 15px;
  text-align: right;
}

.bloc-gestion-des-proches .link-container a {
  color: #008292;
  /* Teal color */
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.bloc-gestion-des-proches .link-container a:hover {
  text-decoration: underline;
  color: #005c66;
}

.bloc-gestion-des-proches .link-container a img {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  margin-top: -2px;
}

.bloc-gestion-des-proches .component-box>span {
  min-width: 65px;
  text-align: right;
}

.bloc-gestion-des-proches {
  /* Mobile specific adjustments */
}

@media (max-width: 767px) {
  .bloc-gestion-des-proches .link-container {
    text-align: left;
    margin-top: 10px;
  }

  .bloc-gestion-des-proches .link-container a {
    justify-content: flex-start;
  }
}

.bloc-parcours {
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: bottom right;
  box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.05);
  background-size: 115px;
  color: #243A59;
  padding: 20px;
  min-height: 200px;
}

.bloc-parcours .link-container a {
  color: #243A59;
}

.bloc-communaute {
  background-color: #00A6BA;
  background-repeat: no-repeat;
  background-position: bottom right;
  box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.05);
  background-size: 115px;
  color: #fff;
  background-image: url("/wp-content/uploads/2022/08/mobile-half.png");
}

.bloc-communaute .link-container a {
  color: #fff;
}

.bloc-sm-white-box {
  background: #fff;
  max-width: 320px;
  margin: 0 auto 10px;
  padding: 0 !important;
  height: auto;
}

.bloc-welcome-bloc {
  background-color: #008292;
  background-image: url("/wp-content/uploads/2022/08/illu.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.05);
  background-size: 115px;
}

.cardbox {
  border-radius: 16px;
  width: 100%;
  height: 210px;
  border-radius: 12px;
  padding: 20px 45px 20px 20px;
  margin: 0;
  box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.05);
}

.cardbox .link-container a>img {
  position: relative;
}

.cardbox h3 {
  font-family: "Avenir LT Std";
  font-style: normal;
  font-weight: 900;
  font-size: 17px;
  line-height: 22px;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cardbox p {
  font-family: "Avenir LT Std";
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  color: #FFFFFF;
}

.component-box {
  display: flex;
  align-items: center;
  -webkit-align-items: center;
  font-size: 11px;
}

.component-box>span,
.component-box span.flex-number {
  font-size: 35px;
  font-weight: bold;
  padding-right: 15px;
}

.component-box span.flex-number {
  padding-right: 0 !important;
}

.soignant-logbook-card {
  width: 220px;
}

/* Keep identical typography for mobile "see/hide activity details" labels */
.btn.btn-primary.btn-transparent.collapser .open,
.btn.btn-primary.btn-transparent.collapser .close,
.btn.btn-primary.btn-transparent.collapser .closex,
.btn.btn-primary.btn-transparent.collapser .closer {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  opacity: 1 !important;
}

/* Force white text for blue encarts */
.jdb-encart-welcome-bloc .card-body,
.jdb-encart-communaute .card-body {
  color: #fff !important;
}

.jdb-encart-welcome-bloc .card-body h1,
.jdb-encart-welcome-bloc .card-body h2,
.jdb-encart-welcome-bloc .card-body h3,
.jdb-encart-welcome-bloc .card-body h4,
.jdb-encart-welcome-bloc .card-body h5,
.jdb-encart-welcome-bloc .card-body h6,
.jdb-encart-welcome-bloc .card-body p,
.jdb-encart-welcome-bloc .card-body span,
.jdb-encart-welcome-bloc .card-body strong,
.jdb-encart-welcome-bloc .card-body div,
.jdb-encart-welcome-bloc .card-body a,
.jdb-encart-communaute .card-body h1,
.jdb-encart-communaute .card-body h2,
.jdb-encart-communaute .card-body h3,
.jdb-encart-communaute .card-body h4,
.jdb-encart-communaute .card-body h5,
.jdb-encart-communaute .card-body h6,
.jdb-encart-communaute .card-body p,
.jdb-encart-communaute .card-body span,
.jdb-encart-communaute .card-body strong,
.jdb-encart-communaute .card-body div,
.jdb-encart-communaute .card-body a {
  color: inherit !important;
}

/* Ensure all text stays white inside blue welcome/community encarts */
.bloc-welcome-bloc,
.bloc-welcome-bloc *,
.bloc-communaute,
.bloc-communaute *,
.jdb-encart-welcome-bloc,
.jdb-encart-welcome-bloc *,
.jdb-encart-communaute,
.jdb-encart-communaute * {
  color: #fff !important;
}

@media (max-width: 767px) {
  .card.bloc-card.card-sm {
    height: auto;
  }

  .cardbox,
  .card,
  .card.bloc-card,
  .card.bloc-card.card-sm,
  .card .card-body,
  .cardbox .card-body {
    width: 100%;
    max-width: 100%;
  }

  .soignant-logbook-card {
    width: 100% !important;
  }
}

/*# sourceMappingURL=style.css.map */
