/* Estilos gerais */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  width: 90%;
  margin: 20px auto;
  padding: 20px;
  border: 2px solid red;
  border-radius: 10px;
  text-align: center;
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

input[type="text"],
input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #222;
  color: white;
}

input[type="text"]::placeholder {
  color: #aaa;
}

button {
  padding: 10px 20px;
  background: #ff0000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background: #cc0000;
  transform: scale(1.05);
}

button:disabled {
  background: #666;
  cursor: not-allowed;
  transform: none;
}

.legend-option {
  margin: 20px 0;
  text-align: left;
}

.legend-option input[type="radio"] {
  margin-right: 10px;
}

#loading-screen {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  border-radius: 8px;
  display: none;
  z-index: 1000;
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 15px;
  }

  h1 {
    font-size: 24px;
  }

  button {
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 20px;
  }

  input[type="text"],
  input[type="file"] {
    padding: 8px;
  }
}