@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

body {
  background-color: #cad7d8;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 450px;
  width: 100%;
  padding: 20px;
  margin: 100px auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.container h1 {
  font-size: 18px;
  background: linear-gradient(90deg, #102657, #333);
  font-weight: 300;
  padding: 25px 0;
  margin: -20px -20px 20px -20px;
  text-align: center;
  border-radius: 8px 8px 0 0;
  color: white;
}

.container form input {
  width: 100%;
  outline: none;
  border: 1.5px solid #ccc;
  height: 45px;
  border-radius: 8px;
  padding: 0 15px;
  background: #f9f9f9;
  margin-bottom: 0.7rem;
  font-size: 18px;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.container form input:focus {
  border: 1.5px solid #1b1b1b;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

.container form input::placeholder {
  color: #999;
  font-style: italic;
}

.container form button {
  width: 100%;
  outline: none;
  border: none;
  height: 50px;
  border-radius: 8px;
  padding: 0 20px;
  margin-bottom: 0.7rem;
  font-size: 18px;
  color: white;
  background: linear-gradient(90deg, #1c3a70, #4a4a4a);
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.container form button:hover {
  background: linear-gradient(90deg, #244a90, #5a5a5a);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.container form button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


.container form #qrcode-container {
  display: none;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  background-color: #f4f4f4;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container form #qrcode-container:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.container form #qrcode-container img {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.container form .qrcode {
  padding: 10px;
  margin-bottom: 15px;
}

.container form .qrcode img {
  width: 100%; 
  height: 100%;
  max-width: 300px;
  max-height: 300px;
  box-shadow: 0 2px 3px rgba(67, 67, 68, 0.25);
  padding: 4px;
}



footer {
  background: linear-gradient(120deg,#a2a7a7, #a7bac3);
  color: black;
  text-align: center;
  padding: 2px;
  border-top: 2px solid transparent;
  position: fixed;
  bottom: 0;
  width: 100%;
}

footer p {
  margin: 0;
  font-size: 1rem;
}