@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/* 🎨 Personnalisation des couleurs adaptées à ton site */
:root {
  --bg-color: rgba(1, 30, 41, 0.95); /* Fond sombre légèrement transparent */
  --text-color: #ffffff; /* Texte blanc */
  --btn-bg: #007ead; /* Bleu principal du site */
  --btn-text: #ffffff; /* Texte du bouton */
  --btn-bg-hover: #007ead; /* Légèrement plus clair au hover */
  --fade-duration: 0.8s;
  --border-radius: 10px;
  --box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
  --backdrop-blur: blur(8px); /* Effet de flou */
  --shadow-hover: 0px 0px 15px rgba(0, 126, 173, 0.8); /* Glow bleu */
}

#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: var(--bg-color);
  color: var(--text-color);
  padding: 18px;
  font-size: 16px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  backdrop-filter: var(--backdrop-blur);
  z-index: 99999; /* Toujours devant */
  animation: fadeIn var(--fade-duration) ease-out;
}

#cookie-banner p {
  margin: 0;
  flex: 1;
  font-weight: 500;
  line-height: 1.4;
}

#cookie-banner button {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  transition: box-shadow 0.3s ease-in-out, background 0.3s;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
}

#cookie-banner button:hover {
  background: var(--btn-bg-hover);
  box-shadow: var(--shadow-hover);
}

#cookie-banner button:active {
  box-shadow: none;
}

/* ✨ Animation d'apparition */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

body {
  height: 100%;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  background-color: #ffffff;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
}
.header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 14;
  width: 100%;
  background: none;
  margin: 0;
  border: none;
  background-color: #ffffff;
  /* padding: 0 0 3em; */
}
a {
  text-decoration: none;
  cursor: pointer;
  color: #000000;
}
a:hover {
  text-decoration: none;
  color: rgb(99, 99, 96, 1);
}
.header--menu {
  height: 80px;
  background-color: #fff;
  padding: 0 40px;
  /* border-bottom: solid 3px var(--color-primary); */
}
.header--menu a {
  color: var(--color-text);
}
.header--menu a:hover {
  text-decoration: none;
  color: rgb(99, 99, 96, 1);
}

h1 {
  line-height: 1.3;
  letter-spacing: -0.045rem;
  font-weight: 600;
  text-wrap: balance;
  line-height: 1.2;
  margin: 0;
  font-size: 2.488rem;
}
.user-name-title {
  margin: auto;
}
.title {
  line-height: 1.3;
  letter-spacing: -0.045rem;
  font-weight: 600;
  text-wrap: balance;
  line-height: 1.2;
  margin: 0;
  font-size: 2.488rem;
  padding: 1rem 0 1rem;
  margin: 0 0 1.5rem 0;
  text-align: left;
  width: 100%;
}
.title.no-title {
  padding: 0 !important;
  margin: 0 !important;
}
h2 {
  clear: both;
  font-size: 1.375rem;
  line-height: 1.3;
  margin: 1.5rem;
}
.title-end-line,
.header-end-line {
  border-radius: 1px;
  background-color: var(--color-primary);
  text-align: left;
  width: 100%;
  margin-right: auto;
}
.title-end-line {
  max-width: 100px;
  height: 2px;
}
.header-end-line {
  max-width: 100%;
  height: 3px;
  width: 100%;
  margin-top: 1em;
}
.forget-link {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
}
.forget-link:hover {
  text-decoration: underline;
}
.navbar {
  width: 100%;
  display: flex;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
  height: 100%;
  padding: 0;
}
.navbar-brand img {
  width: 150px;
}
.section-account {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  /* min-height: 100vh; */
  position: relative;
}
/* .section-account::before,
.section-account::after {
  box-flex: 1;
  flex-grow: 1;
  content: "";
  display: block;
  height: 24px;
} */
.section-account-register {
  width: 100%;
}
.group {
  background: #fff;
  border: var(--border-form);
  -moz-border-radius: 8px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  margin: 0 auto;
  /* min-height: 0; */
  width: 100%;
  overflow-y: auto;
  padding: 48px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.group h1,
.group h2 {
  text-align: center;
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1.3333;
  word-break: break-word;
  box-sizing: inherit;
  text-indent: -1px;
}
.group h2 {
  font-size: 2.5em;
}
.form-client {
  width: 100%;
  max-width: 320px;
}
.container-main,
.container-header {
  width: 100%;
  display: flex;
  position: relative;
  align-items: center;
}
.container-main {
  margin: auto;
}
.nav {
  display: flex;
}
.nav li {
  display: flex;
  align-items: center;
  height: 16px;
  justify-content: flex-start;
  margin-right: calc(2 * 8px);
  padding-right: calc(1 * 8px);
  margin-top: 5px;
  margin-bottom: 5px;
}
form {
  position: relative;
}
.form-group {
  display: flex;
  flex-direction: column;
  border: 0 solid transparent;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-width: 0 24px;
  border-right-width: 24px;
  border-left-width: 24px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 0.85em;
  padding: 24px 0 0;
  vertical-align: top;
  white-space: normal;
  width: 100%;
  border-left-width: 40px;
  border-right-width: 40px;
  position: relative;
}
.form-group-register {
  padding: 0;
}

.form-group label {
  display: inline-block;
  margin-bottom: 0.5rem;
}
.form-control {
  background: var(--bg-input);
  border: 1px solid #dddfe2;
  color: rgb(32, 33, 36);
  height: 50px;
  line-height: 16px;
  vertical-align: middle;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  position: relative;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: var(--color-primary);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(var(--color-shadow), 0.3);
}
.form-group svg.show-password {
  width: 25px;
  height: 25px;
  padding: 2px;
  top: 65px;
  right: 17px;
  position: absolute;
  fill: rgba(32, 33, 36, 1);
  cursor: pointer;
}
.email-text {
  text-transform: lowercase;
}
.check_code_text {
  text-transform: uppercase;
}
.form-globalPdf {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  padding: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
.form-globalPdf img {
  height: 112px;
  width: 112px;
}
.form-code {
  max-width: 800px;
  width: 100%;
}
.details-code-grac {
  display: inline-block;
  max-width: 184px;
  margin-left: auto;
}
.container-qrCode {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.show-password:focus,
.show-password:hover {
  outline: 2px solid var();
  /* filter: invert(40%) sepia(95%) saturate(4924%) hue-rotate(240deg)
    brightness(91%) contrast(94%) !important; */
  filter: sepia(100%) hue-rotate(146deg) saturate(500%);
  border-radius: 3px;
}

.btn-primary,
.create-account {
  display: flex;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  line-height: 16px;
  padding: 14px 16px;
  width: 80%;
  min-width: 10em;
  box-sizing: border-box;
  cursor: pointer;
  margin: 1em auto;
  text-align: center;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease-in-out;
}
.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  max-width: 200px;
  min-width: 200px;
  width: 100%;
}
.btn-primary:hover {
  background-color: rgb(32, 33, 36, 0.85);
}
.reinitialise {
  max-width: 200px;
  min-width: 200px;
  width: 100%;
}

.btn-pdf,
.btn-copy {
  background-color: transparent;
  color: rgb(0, 126, 173);
  margin: 0;
  width: 40px;
  min-width: 40px;
  margin: auto;
}
.btn-pdf:hover,
.btn-copy:hover {
  background-color: transparent;
  color: rgb(0, 126, 173);
}
.btn-pdf {
  font-size: 1.5em;
}
.img-download,
.img-copying {
  height: auto;
}
.img-download {
  width: 40px;
  height: auto;
}
.img-copying {
  width: 20px;
  height: auto;
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  color: rgb(32, 33, 36);
  background-color: transparent;
  border-color: transparent;
  box-shadow: 0 0 0 0.2rem rgb(38 143 255 / 0%);
}
.btn-primary.focus,
.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgb(38 143 255 / 0%);
  border: none;
  outline: none;
}
.btn-code-all {
  color: rgb(32, 33, 36);
  background-color: transparent;
  text-decoration: underline;
  margin: 0 0 0 auto;
}
.btn-code-all:hover {
  color: rgb(0, 126, 173);
  background-color: transparent;
}
.copy {
  width: 100%;
  min-width: 30px;
  max-width: 30px;
}
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0);
}
.create-account {
  background-color: transparent;
  color: var(--color-text);
}
.create-account:hover {
  background-color: rgba(var(--color-shadow), 0.1);
  color: var(--color-text);
}
.block_alert {
  max-width: 500px;
  margin: 1em auto;
}
.bold_cheque {
  font-weight: 700;
}
.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  width: 100%;
}
.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}
.alert-reconnect_from_cookie {
  color: transparent;
  background-color: transparent;
  border-color: transparent;
  display: none;
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}
.container {
  max-width: 1400px;
  padding: 1em;
  flex-grow: 1;
  position: relative;
  justify-content: flex-start;
}

.navbar-collaps {
  margin-left: 4em;
}
.navbar-brand {
  margin-right: 0;
}
.navbar-collapse {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  box-flex: 1;
  -webkit-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-size: 14px;
  padding: 0 50px;
  font-weight: 400;
}
.username-header {
  letter-spacing: -0.045rem;
  font-weight: 600;
  text-wrap: balance;
  line-height: 1.2;
  margin: 0;
  font-size: 1.5rem;
}

.histo-hidden {
  display: table-cell;
}
table {
  border: 1px solid #ccc;
}
.nav-pages {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  left: 0;
  padding: 0 30px;
  pointer-events: none;
  position: absolute;
  bottom: 0;
  transform: translateY(-50%);
  touch-action: none;
  width: 100%;
  z-index: 5;
}

.nav-pages a {
  background-color: transparent;
  border: none;
  color: #000;
  cursor: pointer;
  font-size: 1em;
  margin: 0;
  padding: 0;
  pointer-events: auto;
  position: relative;
  text-transform: uppercase;
  touch-action: auto;
  margin-right: 32px;
}

.nav-pages a:after,
.nav-pages a:before {
  background-color: currentColor;
  content: "";
  display: block;
  height: 2px;
  opacity: 0;
  position: absolute;
  transition: transform 0.25s, opacity 0.25s;
  width: 100%;
}

.nav-pages a:before {
  top: -5px;
  transform: translateY(-5px);
}

.nav-pages a:after {
  bottom: -5px;
  transform: translateY(5px);
}

.nav-pages a:hover:after,
.nav-pages a:hover:before {
  opacity: 1;
  transform: translateY(0);
}

.grac-footer {
  background-color: var(--color-primary);
  color: var(--color-footer);
  font-size: 13px;
  margin-top: auto;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-ce-client {
  width: 100%;
}

.copyright-zerd,
.container-part-grac-footer {
  padding: 20px;
  text-align: center;

  display: flex;
  justify-content: center;
}
.copyright-zerd {
  flex-grow: 1;
  justify-content: space-between;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  font-size: 0.85em;
}
.footer-row p {
  width: 100%;
}
.nav-footer-grac {
  font-size: 0.85em;
  margin-bottom: 0;
  display: flex;
}
.nav-footer-grac li {
  display: flex;
  align-items: center;
  height: 16px;
  justify-content: flex-start;
  margin-right: calc(2 * 8px);
  padding-right: calc(1 * 8px);
  margin-top: 5px;
  margin-bottom: 5px;
}
.home-spectateur {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background-color: hsla(0, 0%, 100%, 0.1);
  border-radius: 50%;
  transition: background-color 0.2s ease-in-out;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: inherit;
  outline: none;
  border: 0;
  color: var(--color-primary);
  background-color: hsl(206deg 17.44% 33.73% / 11%);
}
.home-spectateur:hover {
  background-color: hsl(206deg 17.44% 33.73% / 15%);
  color: var(--color-primary);
}
/* Drop Down Styles
================================ */
.nav-drop-down {
  margin-left: auto;
  position: relative;
  min-width: 200px;
  height: 50px;
}
.nav-drop-down .drop-down {
  list-style: none;
  overflow: hidden;
  height: 220px;
  /* background-color: #34495e; */
  font-family: Arial;
  width: 220px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  position: relative;
  z-index: 10;
  -webkit-transition: height 0.4s ease;
  transition: height 0.2s ease;
  position: absolute;
}

.nav-drop-down .drop-down.closed {
  /*  When toggled via jQuery this class will reduce the height of the ul which inconjuction
      with overflow: hidden set on the ul will hide all list items apart from the first */
  /* current li height 38px + 5px border */
  height: 50px;
  -webkit-transition: height 0.4s ease;
  transition: height 0.2s ease;
}

.nav-drop-down .drop-down li {
  color: rgba(32, 33, 36, 1);
  background-color: #ffffff;
  font-size: 0.8em;
  box-shadow: 0px 0px 4px -2px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  border: 2px solid #000000;
  border-radius: 10px;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 1s ease;
  opacity: 1;
  margin-bottom: 0.2em;
  letter-spacing: 0.25px;
}
.nav-drop-down .drop-down.closed li:first-child {
  /*  When toggled via jQuery this class will reduce the height of the ul which inconjuction
      with overflow: hidden set on the ul will hide all list items apart from the first */
  /* current li height 38px + 5px border */

  opacity: 1;
}
.nav-drop-down .drop-down.closed li {
  /*  When toggled via jQuery this class will reduce the height of the ul which inconjuction
      with overflow: hidden set on the ul will hide all list items apart from the first */
  /* current li height 38px + 5px border */
  -webkit-transition: height 0.1s ease-out, opacity 0.4s ease;
  transition: height 0.1s ease-out, opacity 0.2s ease;
  opacity: 0;
}

.nav-drop-down .drop-down li a {
  display: block;
  color: rgba(32, 33, 36, 1);
  text-decoration: none;
  padding: 10px; /* Larger touch target area */
  text-align: left;
}
.nav-drop-down .drop-down li:first-child a {
  opacity: 1;
  text-align: center;
}
.nav-drop-down .drop-down li:first-child {
  opacity: 1;
  width: 73px;
  margin: 0 auto 0.2em auto;
}
.nav-drop-down .drop-down li:first-child a:after {
  content: "\f077";
  position: absolute;
  right: 4%;
  transition: 0.3s;
  font-family: "FontAwesome";
}

.nav-drop-down .drop-down.closed li:first-child a:after {
  transform: rotate(180deg);
  color: rgb(32, 33, 36);
}
.qrCodeMobile {
  display: none;
}
.email_support {
  display: flex;
  align-items: center;
}
.img_email {
  width: 135px;
}
/* RESPONSIVE MENU*/
.is-compact .fancybox__content > .f-button.is-close-btn {
  --f-button-color: #000000;
}
.tr-grac {
  font-size: 0.85em;
}
.table-grac {
  margin-top: 1em;
}
.table .thead-dark th {
  color: #fff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.table td,
.table th {
  padding: 4px;
}
.login-case-email {
  text-transform: lowercase;
}
@media screen and (max-width: 992px) {
  .header {
    padding: 0;
    background-color: #fff;
  }
  .header--menu {
    padding: 0;
  }
  .header--menu .navbar-header {
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    box-ordinal-group: 1;
    -webkit-order: 1;
    -moz-order: 1;
    order: 1;
    -ms-flex-order: 1;
    width: 150px;
    margin-left: auto;
    /* margin-right: auto; */
    justify-content: center;
    align-items: center;
    display: flex;
    flex-grow: 1;
  }
  .title {
    font-size: 1.5em;
  }
  .navbar-collapse {
    display: none;
  }
  .histo-hidden {
    display: none;
  }
  .group {
    padding: 16px 16px 14px;
  }
  .form-group {
    border-left-width: 0;
    border-right-width: 0;
  }
  /* .section-account::before,
  .section-account::after {
    box-flex: inherit;
    flex-grow: inherit;
    content: "";
    display: block;
    height: 24px;
  } */
  .section-account {
    min-height: 0;
  }
  .nav-drop-down {
    order: 2;
  }
  .form-code,
  .download-desktop {
    display: none;
  }
  .qrCodeMobile {
    display: flex;
    justify-content: center;
  }
  .grac-footer {
    flex-direction: column-reverse;
  }
  .copy {
    padding: 0;
  }
  .container {
    padding: 0.5em;
  }
  .email_support {
    flex-direction: column;
  }
  .navbar-brand img {
    width: 100px;
  }
  .tr-grac {
    font-size: 9px;
  }
  .grac-footer {
    font-size: 10px;
  }
  .copyright-zerd,
  .container-part-grac-footer {
    padding: 5px;
  }
  .block_alert {
    font-size: 0.8em;
  }
}

/* Style global de la modale */
.custom-popup {
  border-radius: 10px;
  padding: 20px;
  font-family: Arial, sans-serif;
}

/* Style du bouton OK */
.custom-confirm {
  background-color: #007ead !important;
  color: white !important;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
}

/* Effet hover */
.custom-confirm:hover {
  background-color: #005f8c !important;
}
