body {
  font-family: 'Arial', sans-serif;
  background-color: #f7f7f7;
  margin: 0;
  padding: 0;
  color: #444674;
}

/* ----- Cabeçalho ----- */
header {
  background-color: #ffffff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rastreamento {
  display: flex;
  align-items: center;
  gap: 10px;
}

input[type="text"] {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  width: 200px;
}

button {
  background-color: #585b8c;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #444674;
}

/* ----- Corpo principal (manutenção) ----- */
main {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 20px;
}

.left-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-width: 300px;
}

.left-side img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.right-side {
  flex: 1;
  background-color: #585b8c;
  color: #f7f7f7;
  padding: 30px;
  border-radius: 12px;
  margin-left: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  min-width: 300px;
}

.imagem {
  margin: 30px 0;
  padding: 20px;
  background-color: #444674;
  border-radius: 10px;
}

.subtitulo {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* ----- Rodapé ----- */
footer {
  background-color: #ffffff;
  color: #444674;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

h1 {
  margin-top: 0;
}

p {
  line-height: 1.5;
}

/* ========================================================= */
/* NOVAS PARTES - PÁGINA DE RESULTADO DO RASTREAMENTO        */
/* ========================================================= */

.resultado {
  text-align: center;
  padding: 60px 20px;
}

.card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  display: inline-block;
  padding: 30px 40px;
  color: #444674;
  text-align: left;
  max-width: 500px;
}

.card h2 {
  text-align: center;
  color: #444674;
  margin-bottom: 20px;
}

.card p {
  margin: 8px 0;
  font-size: 15px;
}

/* Botão voltar */
.voltar {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 25px;
  background-color: #585b8c;
  color: #ffffff;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.voltar:hover {
  background-color: #444674;
}

/* Responsividade */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 15px;
  }

  main {
    flex-direction: column;
    align-items: center;
  }

  .right-side {
    margin-left: 0;
    margin-top: 20px;
  }
}