.header-container {
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
}

.header-container h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.header-container p {
  font-size: 16px;
  margin-bottom: 8px;
  color: #555;
}

.ending-note {
  font-size: 14px;
  color: #888;
}

.container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
  gap: 20px; /* Space between QR code and form */
}

.qrcodeClass {
  width: 40%;
  max-width: 300px;
  height: auto;
}

.form-container {
  display: flex;
  flex-direction: column;
  width: 50%;
  max-width: 400px;
  gap: 20px;
  padding-top: 15px;
}
span{
  font-size:18px;
}
.Name-Conainer,
.Password-Conainer {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nameInput,
.passwordInput {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid rgba(217, 217, 217, 1);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 1);
  box-sizing: border-box;
}

.buttonClass {
  width: 100%;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(44, 44, 44, 1);
  border-radius: 8px;
  background-color: rgba(44, 44, 44, 1);
  color: white;
  box-sizing: border-box;
  cursor: pointer;
}

@media (max-width: 768px) {
  .container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0px; /* Reduce gap for smaller screens */
    padding: 10px;
  }

  .qrcodeClass {
    width: 30%; /* Smaller QR code on mobile */
    /* max-width: 120px; */
  }

  .form-container {
    width: 65%; /* Adjust width of form on mobile */
    max-width: 280px;
  }

  .nameInput,
  .passwordInput {
    padding: 8px 12px;
    font-size: 14px;
  }

  .buttonClass {
    padding: 10px;
    font-size: 14px;
    width: 100%;
  }
}


@media (max-width: 480px) {
  .container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0px; /* Further reduce gap for smaller screens */
    padding: 8px;
  }

  .qrcodeClass {
    width: 50%; /* Even smaller QR code for small screens */
    /* max-width: 100px; */
  }

  .form-container {
    width: 70%; /* Adjust width of form for small screens */
    max-width: 220px;
  }

  .nameInput,
  .passwordInput {
    padding: 9px 10px;
    font-size: 14px;
    width:90%;
  }

  .buttonClass {
    padding: 8px;
    font-size: 14px;
    width: 90%;
  }
}

summary {
  justify-content:end;
  cursor: pointer;
  display: flex;
  align-items: center;
}
summary::marker {
  content: ' ';
}
.arrow {
  font-size: 0.8em;
  transition: transform 0.3s ease;
  margin-left: 5px;
}
details[open] .arrow {
  transform: rotate(-180deg);
}




@media print {
  .privacy-note{
    display: none;
  }

  /* Optionally, hide other elements like buttons */
  button {
    display: none;
  }
  .container{
    border: 2px black dashed;
  }
  .Name-Conainer{
    padding-top: 25%;
  }
  #print-section {
    display: block !important;
  }
}
