* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #333;
}

.container {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  width: 100%;
  max-width: 450px;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #222;
}

input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border 0.2s;
  font-size: 14px;
}

input:focus {
  border-color: #4a6cf7;
  outline: none;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  background-color: #eee;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: #ddd;
}

.btn.primary {
  background-color: #4a6cf7;
  color: white;
}

.btn.primary:hover {
  background-color: #3b57c6;
}

#resultado {
  margin-top: 15px;
  text-align: center;
  font-weight: 600;
  color: #1a1a1a;
}