:root {
  --roxo: #6200ee;
  --roxo-hover: #4b00c7;
  --fundo: #f2f2f2;
  --texto: #333;
  --branco: #fff;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--fundo);
  color: var(--texto);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 10px;
}

.container {
  background-color: var(--branco);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

h1 {
  text-align: center;
  margin-bottom: 24px;
  color: var(--roxo);
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 6px;
  font-weight: bold;
}

input {
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border 0.2s, box-shadow 0.2s;
}

input:focus {
  border-color: var(--roxo);
  box-shadow: 0 0 0 2px rgba(98, 0, 238, 0.2);
  outline: none;
}

button {
  background-color: var(--roxo);
  color: var(--branco);
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

button:hover {
  background-color: var(--roxo-hover);
}

#mensagem {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
}

/* Responsividade mínima */
@media (max-width: 480px) {
  .container {
    padding: 20px;
  }
}
