body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f6fc;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px; /* Garante espaçamento interno no mobile */
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 400px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  padding: 30px 20px; /* Padding lateral menor em telas pequenas */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

h1, h2 {
  text-align: center;
  color: #333;
  margin: 0;
  font-size: 22px;
}

input,
select {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

button {
  padding: 12px;
  background-color: #3850ed;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
}

button:hover {
  background-color: #2e3fd1;
}

#formContainer {
  display: none;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

#userInfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  flex-wrap: wrap; /* Ajuda no mobile */
  gap: 5px;
}

#output {
  background: #eee;
  color: #333;
  padding: 10px;
  white-space: pre-wrap;
  border-radius: 6px;
  font-size: 14px;
  max-height: 300px;
  overflow-y: auto; /* Rola se tiver muitas licenças */
}

#loginError {
  color: red;
  font-size: 13px;
  text-align: center;
  display: none;
}

#successMessage {
  font-size: 14px;
  color: #2e3fd1;
  text-align: center;
}
label.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 6px 0;
  cursor: pointer;
  user-select: none;
}

label.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}