body, html {
    overflow-x: hidden; /* Cache le défilement horizontal */
}
 
body {
      font-family: 'Arial', sans-serif;
      background-color: #212121;
      color: #000000;
      margin: 0;
      padding: 0;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden !important;
      overscroll-behavior-y: none;
}

#welcome {
	position: absolute;
	top: 70px;
	left: calc(50% - 100px);
	font-size: 13px;
	font-weight: bold;
	color: #F0F0F0;
}

#backgroundBottom {
	position: absolute;
    bottom: 0px;
    right: 0px;
    background-image: url(https://user.octopodd.ch/images/login/bottom.png);
    width: 100%;
    height: 360px;
    background-repeat: no-repeat;
    background-position: bottom right;
	z-index: -1;
}

#backgroundTop {
	position: absolute;
	top: 0px;
	left: 0px;
	background-image: url('https://user.octopodd.ch/images/login/top.png');	
	width: 100%;
	height: 360px;
	background-repeat: no-repeat;
	z-index: -1;
}

#logoLogin {
	position: absolute;
	top: 100px;
	left: calc(50% - 135px);
}

#background {
      position: absolute;
      top: 0px;
      left: 0px;
      width: 100%;
      height: 100%;
      background-image: url('https://user.octopodd.ch/images/login/background.png');
      background-color: #212121;
      /* Remplace avec le chemin réel de l'image */
      background-position: center;
      background-size: cover;
      opacity: 0.5;
      z-index: -1;
      overscroll-behavior-y: none;
}

.container {
      width: 320px;
      background-color: #222;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      overscroll-behavior-y: none;
}

input,
button {
      width: calc(100% - 20px);
      padding: 10px;
      margin-bottom: 10px;
      border-radius: 5px;
      border: none;
      background-color: #555;
      color: white;
}

button {
      background-color: #f24444;
      font-weight: bold;
      cursor: pointer;
      width: 100%;
}

button:hover {
      background-color: #E50000;
}

input::placeholder {
      color: #7a7a7a;
}

input:focus {
      outline: none;
      background-color: #666;
}

.textInfo {
      font-style: italic;
      color: #656565;
}

#languageSelect {
      padding: 5px 10px;
      border-radius: 5px;
      border: 1px solid #555;
      background-color: #333;
      color: white;
      cursor: pointer;
}

#languageSelect:hover {
      background-color: #444;
}

#inputAdresseMac {
      /* Autres styles d'input... */
}

#inputAdresseMac.valid {
      background-image: url('img/check-solid.svg');
      /* Remplacez par le chemin de votre image de vérification */
      background-position: right 10px center;
      background-repeat: no-repeat;
}

form {
      display: flex;
      flex-direction: column;
}

.input-group {
      margin-bottom: 15px;
}

label {
      margin-bottom: 5px;
      font-weight: bold;
      color: #e0e0e0;
}

.forgot-password,
.create-account {
      text-align: center;
      margin-top: 15px;
}

a {
      color: #00BFFF;
      text-decoration: none;
}

a:hover {
      text-decoration: underline;
}

.btn {
      padding: 10px;
      margin: 5px 0;
}

.btn-reset,
.btn-create {
      background-color: #555;
}

.btn-reset:hover,
.btn-create:hover {
      background-color: #666;
}

.btn-login {
	font-size: 1em;
	height: 50px;
	background: none;
    border: 2px solid #f24444;
    color: #F24444;
}

.btn-login:hover {
      background-color: #212121;
}

#loginForm,
#signUpForm, #forgotPasswordForm {
      padding: 20px;
      border-radius: 5px;
      width: 320px;
      margin: auto;
      margin-top: 180px;
}

#loginForm center img,
#signUpForm center img,
#forgotPasswordForm center img {
      margin-top: 30px;
      width: 270px;
}

.labelInput {
      color: #e0e0e0;
      font-weight: bold;
}

.inputLogin {
      width: calc(100% - 20px);
      height: 40px;
      font-size: 1.2em;
      padding: 10px;
      margin: 10px 0;
      border-radius: 5px;
      border: none;
      background-color: #70798C;
      color: white;
}

.inputLogin:focus {
      outline: none;
      background-color: #70798C;
}

.buttonGreen,
.buttonRed,
.buttonGrey {
      width: 100%;
      padding: 15px;
      margin: 10px 0;
      border-radius: 0px;
      border: none;
      cursor: pointer;
}

.buttonGreen {
      background-color: #28a745;
}

.buttonRed {
      background-color: #f24444;
}

.buttonGrey {
      background-color: #6c757d;
}

.buttonGreen:hover {
      background-color: #218838;
}

.buttonRed:hover {
      background-color: #E50000;
}

.buttonGrey:hover {
      background-color: #5a6268;
}

#blockButtons {
      text-align: center;
}

#blockLogin {
      margin-bottom: 20px;
}

#btnInstall {
      display: none;
      /* autres styles... */
}

.install-container {
      display: none;
      position: fixed;
      left: 0;
      bottom: 0;
      width: 100%;
      background-color: #333;
      color: white;
      box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
      z-index: 1000;
      animation: slideUp 0.5s ease-in-out;
      height: 40px;
}

.install-button {
      width: 100%;
      padding: 10px 20px;
      border: none;
      background-color: #4CAF50;
      color: white;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s;
      height: 100%;
      display: block !important;
}

.install-button:hover {
      background-color: #45a049;
}

@keyframes slideUp {
      from {
            transform: translateY(100%);
      }
      to {
            transform: translateY(0);
      }
}


/* Ajoute tes styles CSS ici */

.bottom-nav {
      /*--darkblue: #040a2c;*/
      /*--lightblue: #ff0000;*/
      /*border-top: 4px solid #F24444;*/
      /*box-shadow: 0 0 27px var(--lightblue), 0 0 4px var(--lightblue);*/
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      display: flex;
      justify-content: space-around;
      /*background-color: #212121;*/
      /*background: rgba(0,0,0,0.6);*/
      padding: 10px 0;
      z-index: 100;
      height: 45px;
}

.bottom-nav span {
      font-size: 0.6em;
      text-transform: uppercase;
}

.bottom-nav .nav-item {
      flex-grow: 1;
      flex-basis: 0;
      text-align: center;
      text-decoration: none;
      color: white;
}

.bottom-nav .nav-item.active i,
.bottom-nav .nav-item.active span {
    color: #f24444;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 1);
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.bottom-nav .nav-item i,
.bottom-nav .nav-item span {
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.menu-indicator {
    position: absolute;
    bottom: 0;
    height: 4px;
    background: #F24444;
    transition: left 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), width 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    opacity: 0.8;
}


#content {
      display: none;
      padding-top: 20px;
      padding-bottom: 70px;
      overflow-y: auto;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes slideOutToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes slideOutToRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

.page-content {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.page-content.active {
    display: block;
}

.page-content.slide-in {
    display: block;
}

.page-content.slide-out {
    display: block;
    position: absolute;
}
.page-content {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    position: absolute;
    top: 70px;
    left: 0px;
    width: 100%;
    height: calc(100% - 139px);
    overflow-y: auto;
    /*background-color: #212121;*/
}


/* Masquer la barre de défilement sur WebKit browsers */
.page-content::-webkit-scrollbar {
    display: none;
}

/* Pour les autres navigateurs, tu peux utiliser la propriété suivante */
.page-content {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    overscroll-behavior-y: none;
}

.slide-out-to-left {
    animation: slideOutToLeft 0.5s forwards;
}

.slide-out-to-right {
    animation: slideOutToRight 0.5s forwards;
}

.slide-in-from-left {
    animation: slideInFromLeft 0.5s forwards;
}

.slide-in-from-right {
    animation: slideInFromRight 0.5s forwards;
}

.full-screen-image {
    width: 100%;  
    height: 88vh;
    object-fit: contain;
}

/* Personnalise toute la barre de défilement */
::-webkit-scrollbar {
    width: 5px; /* largeur de la barre de défilement */
}

/* Personnalise le fond de la barre de défilement (la piste) */
::-webkit-scrollbar-track {
    background: transparent; /* rend le fond complètement transparent */
}

/* Personnalise la poignée de la barre de défilement */
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2); /* rend la poignée presque transparente avec une légère teinte noire */
}

/* Personnalise la poignée de la barre de défilement au survol */
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4); /* rend la poignée un peu plus visible au survol */
}
