html {
  background-image: url('img/fundo.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-color: black;
  min-height: 100vh;
}

body {
  margin: 0;
  padding: 0;
  color: white;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  background: transparent;
}

.container {
  width: 50%;
  margin: 50px auto;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px 20px 60px 20px;
  border-radius: 5px;
  box-shadow: 0 0 15px #8B4513;
  box-sizing: border-box;
  min-height: calc(100vh - 60px);
}

.title-box {
  width: 300px;
  margin: 0 auto 20px;
  padding: 10px;
  background-color: #333;
  color: white;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 0 10px #8B4513;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 10px;
  background-color: #333;
  color: white;
  text-align: center;
  box-shadow: 0 -2px 10px #8B4513;
  font-size: 0.85em;
  line-height: 0.5em;
  z-index: 1000;
}

.input-field, .submit-button, .download-link, select {
  margin: 10px 0;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 4px;
  font-size: 1em;
  border: none;
}

select[name="db_type"], select[name="hash_type"] {
  background-color: #222;
  color: #fff;
  border: 1px solid #8B4513;
}

.submit-button, .download-link {
  background-color: #8B4513;
  color: white;
  cursor: pointer;
  padding: 12px 20px;
  text-decoration: none;
  display: inline-block;
}

.submit-button:hover, .download-link:hover {
  opacity: 0.85;
}

.error-message {
  color: red;
  font-size: 0.9em;
}

.checkbox-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

/* 🔄 CAIXA DE ESTADO CENTRALIZADA NO TOPO */
.status-box {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #333; /* cinza sólido como o título */
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  width: auto;
  max-width: 300px;
  box-shadow: 0 0 10px #8B4513;
  z-index: 1000;
  line-height: 1.5em;
}

.status-box strong {
  color: #ffcc00;
}

label {
  display: block;
  font-weight: bold;
  margin-top: 10px;
  text-align: left;
}

#selectionConfirm {
  margin-top: 10px;
  font-size: 0.9em;
  color: #ccc;
  text-align: left;
}
