@font-face {
    font-family: 'europa';
    src: url(https://use.typekit.net/af/821a05/00000000000000007735a082/30/l?subset_id=2&fvd=n3&v=3) format("woff2"),
         url(https://use.typekit.net/af/821a05/00000000000000007735a082/30/d?subset_id=2&fvd=n3&v=3) format("woff"),
         url(https://use.typekit.net/af/821a05/00000000000000007735a082/30/a?subset_id=2&fvd=n3&v=3) format("opentype");
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: 'europa';
    src: url(https://use.typekit.net/af/1db03a/00000000000000007735a08e/30/l?subset_id=2&fvd=n4&v=3) format("woff2"),
         url(https://use.typekit.net/af/1db03a/00000000000000007735a08e/30/d?subset_id=2&fvd=n4&v=3) format("woff"),
         url(https://use.typekit.net/af/1db03a/00000000000000007735a08e/30/a?subset_id=2&fvd=n4&v=3) format("opentype");
    font-weight: 400;
    font-style: bold;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: 'europa';
    src: url(https://use.typekit.net/af/ebcd51/00000000000000007735a081/30/l?subset_id=2&fvd=n7&v=3) format("woff2"),
         url(https://use.typekit.net/af/ebcd51/00000000000000007735a081/30/d?subset_id=2&fvd=n7&v=3) format("woff"),
         url(https://use.typekit.net/af/ebcd51/00000000000000007735a081/30/a?subset_id=2&fvd=n7&v=3) format("opentype");
    font-weight: 700;
    font-style: heavy;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: 'europa';
    src: url(https://use.typekit.net/af/d08711/00000000000000007735a08a/30/l?subset_id=2&fvd=i3&v=3) format("woff2"),
         url(https://use.typekit.net/af/d08711/00000000000000007735a08a/30/d?subset_id=2&fvd=i3&v=3) format("woff"),
         url(https://use.typekit.net/af/d08711/00000000000000007735a08a/30/a?subset_id=2&fvd=i3&v=3) format("opentype");
    font-weight: 300;
    font-style: italic;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: 'europa';
    src: url(https://use.typekit.net/af/2a1b80/00000000000000007735a09e/30/l?subset_id=2&fvd=i7&v=3) format("woff2"),
         url(https://use.typekit.net/af/2a1b80/00000000000000007735a09e/30/d?subset_id=2&fvd=i7&v=3) format("woff"),
         url(https://use.typekit.net/af/2a1b80/00000000000000007735a09e/30/a?subset_id=2&fvd=i7&v=3) format("opentype");
    font-weight: 700;
    font-style: italic;
    font-stretch: normal;
    font-display: auto;
}

*{
    box-sizing: border-box;
}

body {
    background: #2f3640;
    background-attachment: fixed;
    color: #F5F6FA;
    font-family: 'Europa', sans-serif;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    font-size: 16px;
    transition: all 0.5s ease-in-out;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 10px;
    padding: 0;
}

h1{
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
    margin-bottom: -10px;
}

h4 {
    font-size: 16px;
}

#content {
    position: fixed; /* Pour permettre l'animation de défilement */
    top: 150px; /* Position initiale */
    left: 0;
    width: 100%; /* Pour occuper toute la largeur */
    height: 100%; /* Pour occuper toute la hauteur */
    z-index: 6;
    transition: top 0.5s ease-in-out;
    align-items: center;
    overflow: hidden;
}

#content.top{
    top:0;
}

#interactive.viewport video {
  aspect-ratio: 9/16;
  width: 100%;
  object-fit: cover;
}

.result {
    align-items: center;
    background: rgba(47, 54, 64, 0.7);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(11.4px);
    -webkit-backdrop-filter: blur(11.4px);
    border: 1px solid rgba(47, 54, 64, 0.8);
    padding: 0 20px 110px 20px; /* Ajout de padding à droite et à gauche */
    width: 100%;
    position: fixed;
    bottom: 0;
    max-width: 100vw; /* Assurer la largeur maximale de l'écran */
    z-index: 99;
    height: 60%;
    transition: all 0.3s ease-in-out;
}

.result.green {
    background: rgba(76, 209, 55, 0.7);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: rgba(76, 209, 55, 0.4);
}

.result.yellow {
    background: rgba(251, 197, 49, 0.7);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(251, 197, 49, 0.8);
}

.result.red {
    background: rgba(232, 65, 24, 0.7);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(232, 65, 24, 0.8);
}

.plain_modal {
    position: relative;
    align-items: center;
    background: rgba(244, 250, 255, 0.7);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(11.4px);
    -webkit-backdrop-filter: blur(11.4px);
    border: 1px solid rgba(251, 253, 255, 0.8);
    padding: 20px 0; /* Ajout de padding à droite et à gauche */
    width: 100%;
    position: fixed;
    bottom: -100%;
    max-width: 100vw; /* Assurer la largeur maximale de l'écran */
    z-index: 102;
    height: calc(100% - 162px);
    transition: all 0.3s ease-in-out;
    overflow-y: scroll;
    transition:bottom 0.3s ease-in-out;
}

.settings_modal {
    position: relative;
    align-items: center;
    background: rgba(18, 21, 27, 0.9);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(11.4px);
    -webkit-backdrop-filter: blur(11.4px);
    border: 1px solid rgba(0, 0, 0, 0.7);
    padding: 10px 0; /* Ajout de padding à droite et à gauche */
    width: 100%;
    position: fixed;
    bottom: -100%;
    max-width: 100vw; /* Assurer la largeur maximale de l'écran */
    z-index: 102;
    height: calc(100% - 162px);
    transition: all 0.3s ease-in-out;
    overflow-y: scroll;
    transition:bottom 0.3s ease-in-out;
}

.hidden{
    bottom: -100%;
}

.visible{
    bottom: 0;
}

#closeButton{
    position: fixed;
    font-size: 60px;
    line-height: 60px;
    text-align: center;
    padding: 40px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(11.4px);
    -webkit-backdrop-filter: blur(11.4px);
    z-index: 101;
}

.ticket{
    padding: 10px;
    border-top: 1px solid #a2adbc;
    border-right: 1px solid #a2adbc;
    color:#21262E;
}

.grey{
    border-left: 10px solid rgb(140, 151, 162);
}

.green{
    border-left: 10px solid rgba(76, 209, 55, 0.7);
}


form {
    display: flex; /* Affichage en ligne des éléments */
    flex-direction: column; /* Disposition en colonne des éléments */
    font-size: 16px;
}

label {
    margin-bottom: 10px; /* Espacement en bas de chaque label */
}

input[type="email"],
input[type="password"],
input[type="text"],
select {
    padding: 10px; /* Ajout de padding */
    border-radius: 5px; /* Arrondi des coins */
    border: 1px solid #ccc; /* Bordure */
    font-size: 16px;
    width: 100%;
    margin-bottom: 10px;
}

input[type="submit"] {
    background-color: #00A8FF; /* Couleur de fond du bouton */
    color: #FFFFFF; /* Couleur du texte du bouton */
    border: none; /* Suppression de la bordure */
    padding: 15px; /* Ajout de padding */
    border-radius: 5px; /* Arrondi des coins */
    cursor: pointer; /* Curseur pointer */
    transition: background-color 0.3s; /* Transition de couleur */
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #0077CC; /* Couleur de fond au survol */
}

header {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 100;
}

.floating-gradient{
  position: fixed;
  top: 0;
  width: 100%;
  height: 200px;
  z-index: 2;
  background: linear-gradient(#21262E, transparent);
}

.logo {
    display: flex;
    align-items: center; /* Alignement vertical */
}

.logo img{
  height: 80px;
}

.member-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.member-info {
    display: flex;
    flex-direction: column; /* Alignement du texte sous l'icône */
    align-items: center; /* Centrage horizontal */
    max-width: 50px;
}

.member-info p {
    font-size: 12px; /* Taille de police 12px */
    margin-top: 5px; /* Marge entre l'icône et le texte */
}

.member-info p {
    width: 50px;
    white-space: nowrap; /* Empêche le texte de se retourner à la ligne */
    overflow: hidden; /* Cache le texte débordant */
    text-overflow: ellipsis; /* Ajoute ... pour le texte débordant */
    text-align: center;
}

.buttons {
    display: flex;
    flex-direction: column;
}

button {
    width: 100%;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: inherit;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(11.4px);
    -webkit-backdrop-filter: blur(11.4px);
    transition: all 0.3s ease-in-out;
}


.cta-button {
    background: rgba(0, 168, 255, 0.90);
    border: 1px solid rgba(0, 168, 255, 0.95);
    color: #F5F6FA;
}

.cta-button:hover {
    background: rgba(0, 168, 255, 0.6);
    border: 1px solid rgba(0, 168, 255, 0.75);
    color: #F5F6FA;
}

.other-button {
    background: rgba(127, 143, 166, 0.90);
    border: 1px solid rgba(127, 143, 166, 0.90);
    color: #F5F6FA;
}

.other-button:hover {
    background: rgba(127, 143, 166, 0.6);
    border: 1px solid rgba(127, 143, 166, 0.75);
    color: #F5F6FA;
}

.content-button{
  background-color: #487eb0;
  color: #F5F6FA;
  box-shadow: none;
}

.content-border-button{
  background-color: transparent;
  border: solid 2px #487eb0;
  color: #487eb0;
  box-shadow: none;
}

.footer-menu {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(47, 54, 64, 0.7);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(11.4px);
    -webkit-backdrop-filter: blur(11.4px);
    border: 1px solid rgba(47, 54, 64, 0.8);
    padding: 0 20px; /* Ajout de padding à droite et à gauche */
    width: 100%;
    position: fixed;
    bottom: 0;
    max-width: 100vw; /* Assurer la largeur maximale de l'écran */
    z-index: 100;
    height: 100px;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F5F6FA;
    padding: 10px 20px 35px 20px;
    transition: background-color 0.2s ease-in-out;
    max-width: calc(25% - 5px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-item.active {
    background-color: rgba(64, 115, 158, 0.6);
}

.icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.text {
    font-size: 12px;
    max-width: calc(100% + 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content{
  z-index: 100;
}

#eventSelectorContainer{
    padding:20px;
    z-index: 100;
  }

.content-plain{
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8.5px);
  -webkit-backdrop-filter: blur(8.5px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 10px 20px;
  color: #2F3640;
}

.content-bottom{
  position: absolute;
  margin: 0;
  width: 100%;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8.5px);
  -webkit-backdrop-filter: blur(8.5px);
  border: 1px solid rgba(255, 255, 255, 0.81);
  border-radius: 16px;
  padding: 10px 20px 50px 20px;
  color: #2F3640;
}

.settings-menu {
    display: flex;
    flex-direction: column;
    margin: 20px;
    align-item: center;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #333; 
}

.settings-item:last-child {
    border-bottom: none; /* Remove the last separator */
}

.user-param {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333; /* Optional: add a separator line */
}

.button-right {
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    cursor: pointer;
    border-radius: 5px; /* Optional: add rounded corners */
}

.setting-label{
    max-width: calc(100% - 80px);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-bottom: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.counter{
    font-size: 24px;
    font-weight: 500;
    background: rgba(47, 54, 64, 0.7);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(11.4px);
    -webkit-backdrop-filter: blur(11.4px);
    border: 1px solid rgba(47, 54, 64, 0.8);
    border-radius: 16px;
    padding: 10px 20px;
    color: #ffffff;
    display:none;
}

.validated{
    font-size: 32px;
    font-weight:700;
    line-height: 28px;
}

.qr_data{
    font-size: 14px;
    line-height: 30px;
    padding-bottom: 30px;
}

.client_name{
    font-size: 28px;
    font-weight: 400px;
    line-height: 25px;
}

.categories_seats{
    font-size: 28px;
}

.exitModeNotification.hidden{
    position: fixed;
    bottom: -100%;
  }

.exitModeNotification.visible{
    position: fixed;
    margin: 0;
    width: calc(100% - 40px);
    bottom: 120px;
    left: 20px;
    background: rgba(69, 126, 180, 0.76);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.5px);
    -webkit-backdrop-filter: blur(8.5px);
    border: 1px solid #487eb0;
    border-radius: 16px;
    padding: 20px;
    color: #FFFFFF;
    font-size: 38px;
    text-align: center;
    transition: all 0.3 ease-in-out;
    z-index: 99;
}