/*=============== VARIABLES CSS ===============*/
:root {
  --iller-color: #ad0000;
  --footer-color: #292929;
  --font-color: #1f1f1f;
  --title-fontsize: 48px;
  --big-fontsize: 24px;
  --normal-fontsize: 16px;
  --small-fontsize: 10px;
  --font-family: "Inter", "Roboto", sans-serif;
  --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  position: relative;
  min-height: 100vh;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(180deg, #fafafa 0%, #f1f1f1 100%);
}

/*________________________________________LOGIN________________________________________ */

#container {
  background-color: white;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vh;
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(2, 50%);
  box-shadow: var(--box-shadow);
}

#left, #right {
  margin: auto;
  width: 95%;
  height: 100%;
  border-radius: 10px;
  align-content: center;
}

#left {
  background-size: cover;
  background-position: center;
  box-shadow: var(--box-shadow);
  filter: grayscale(20%);
}

#login {
  text-align: center;
  text-transform: uppercase;
  font-weight: 100;
  text-shadow: 0 1px 0 rgba(0,0,0,0.05); 
}

#logo_iller{
  max-width: 180px;
}

.client-info {
  display: block;
  margin: 20px auto;
  width: 80%;
  height: 50px;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  text-indent: 15px;
  transition: all 200ms;
  box-shadow: var(--box-shadow);
  border: 1px solid #80808036;
}
.client-info:focus { outline: none; border-color: #d8d8d8; box-shadow: 0 0 0 4px rgba(188,0,23,0.12); }

label {
  position: absolute;
  margin: -76px 90px;
  font-size: 12px;
  white-space: nowrap;
  background: #fff;
  padding: 0 5px;
  color: #999;
  transition: all 200ms;
  text-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

#email_form{
  display: none;
}

.submit {
  border: none;
  background-color: var(--iller-color);
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  width: 80%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
.submit:hover {
  background-color: #8f0011;
  transform: translateY(1px);
}

.input-return {
  background-color: #999;
}

#fortgot_password {
  text-align : center;
  font-size: 14px;
  cursor: pointer;
}

#fortgot_password:hover {
  text-align : center;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
}

#register {
  text-align : center;
  font-size: 14px;
  cursor: pointer;
}

#register:hover {
  text-align : center;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
}

#error-msg{
  text-align : center;
  padding-top: 20px;
  color: var(--iller-color);
}

@media (max-width: 850px) {
  #container {
      display: block;
      width: 100vw;
      height: 100vh;
    }

  #left{
      display: none ;
  }

  #right{
      width: 100% ;
  }

  label{margin: -76px 50px;}
  
}



/*________________________________________INSTALL_______________________________________ */

#installApp {
  display: none; /* Le bouton est caché par défaut */
  padding: 12px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007BFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
}
  
#installApp:hover {
  background-color: #0056b3;
}
  
#installApp:active {
  background-color: #004080;
}
  
  /* Centrage horizontal en utilisant Flexbox */
#installAppContainer {
  display: flex; /* Utilise Flexbox pour ce conteneur */
  justify-content: center; /* Centre les éléments horizontalement */
  align-items: center; /* Centre les éléments verticalement si nécessaire */
  width: 100%;
}