body { 
      font-family: Arial, sans-serif;
      background: #f5f5f5;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;
    }

    .login-container {
      background: white;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 0 15px rgba(0,0,0,0.1);
      width: 100%;
      max-width: 400px;
      box-sizing: border-box;
      text-align: center;
    }

    .login-container img {
      width: 150px;
      margin-bottom: 1rem;
    }

    .login-container label {
      display: block;
      margin-top: 1rem;
      margin-bottom: 0.3rem;
      text-align: left;
    }

    .login-container input, .login-container select {
      width: 100%;
      padding: 0.6rem;
      margin-bottom: 0.5rem;
      border-radius: 5px;
      border: 1px solid #ccc;
      box-sizing: border-box;
    }

    .login-container button {
      margin-top: 1rem;
      padding: 0.7rem;
      width: 100%;
      background-color: #0078D7;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 1rem;
    }

    .login-container button:hover {
      background-color: #005fa3;
    }

/* ===== Styles pour main.html uniquement ===== */
body.main-page {
  display: block;
  height: auto;
  overflow-y: auto;
  padding: 2rem 1rem;
  background: #f5f5f5;
}

.main-container {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
}

.main-logo {
  width: 180px;
  max-width: 60%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

.print-zone {
  background: #eee;
  padding: 1rem;
  border-radius: 6px;
  max-height: 500px;
  overflow-y: auto;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center; /* centre tout horizontalement */
}

.qr-code {
  /* width: 4.6cm; */
  /* height: 4.6cm; */
  object-fit: contain;
  margin-top: 1rem;
}


header.main-header {
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}


.main-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  text-align: left;
}

.main-form input,
.main-form select {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 0.5rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}


/* Boutons menu */
.menu-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.menu-buttons img {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 480px) {
  .main-container {
    padding: 1rem;
  }

  .main-logo {
    width: 120px;
  }

  .menu-buttons {
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
  }
}

.install-info-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 1rem auto 0 auto;
  width: 160px;
  user-select: none;
  color: #003366;
  font-weight: bold;
  font-size: 0.9rem;
}

.install-info-btn img {
  width: 24px;
  height: 24px;
  margin-bottom: 0.3rem;
}

.install-instructions {
  background-color: #f0f8ff;
  border: 1px solid #003366;
  padding: 0.8rem 1rem;
  margin: 0.5rem auto 1rem auto;
  max-width: 320px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #003366;
  line-height: 1.3;
}
