* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  padding: 10px;
  color: #333;
  line-height: 1.6;
}

/* --- Cabeçalho com Logo --- */
.header {
  text-align: center;
  padding: 15px 0;
  background: white;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 12px;
}

.header a {
  text-decoration: none;
}

.logo {
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.02);
}

/* --- Container Principal --- */
.container {
  max-width: 700px;
  margin: 20px auto;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
}

h1 {
  color: #333;
  margin-bottom: 25px;
  font-size: 1.8em;
  line-height: 1.3;
}

input {
  padding: 14px;
  width: 100%;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  font-weight: 500;
}

button {
  padding: 14px 28px;
  font-size: 16px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-weight: 600;
}

button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

#resultado {
  margin-top: 25px;
  text-align: left;
}

/* --- Estilo dos Resultados --- */
.dados-login {
  background: #f8f9fa;
  padding: 14px;
  border-radius: 8px;
  margin: 12px 0;
  text-align: left;
  font-family: 'Courier New', monospace;
  border-left: 4px solid #007bff;
  font-size: 15px;
}

.btn {
  display: inline-block;
  margin: 8px 5px;
  padding: 11px 22px;
  background: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
  font-size: 15px;
}

.btn:hover {
  background: #218838;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px dashed #ccc;
}

/* --- Rodapé --- */
.rodape {
  text-align: center;
  padding: 20px 10px;
  background: #343a40;
  color: white;
  margin-top: 30px;
  font-size: 14px;
  border-radius: 8px 8px 0 0;
}

.rodape p {
  margin: 0;
  line-height: 1.6;
}

.rodape strong {
  color: #007bff;
}

.rodape a {
  color: #66b2ff;
  text-decoration: none;
  font-weight: 500;
}

.rodape a:hover {
  text-decoration: underline;
}

/* --- RESPONSIVO (CELULARES) --- */
@media (max-width: 768px) {
  body {
    padding: 5px;
  }

  .container {
    margin: 15px auto;
    padding: 20px 15px;
  }

  h1 {
    font-size: 1.6em;
  }

  input, button {
    font-size: 16px;
    padding: 12px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 14px;
    margin: 6px 4px;
  }

  .logo {
    max-width: 220px;
  }

  .rodape {
    font-size: 13px;
    padding: 15px 8px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.4em;
  }

  .logo {
    max-width: 180px;
  }

  input, button {
    font-size: 15px;
    padding: 11px;
  }

  .btn {
    padding: 9px 16px;
    font-size: 13px;
  }

  .rodape p {
    font-size: 12px;
  }
}