form {
  margin: 40px auto;
  width: 420px;
  padding: 25px;
  background: #1c1c3c;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  font-family: 'Segoe UI', sans-serif;
}

label {
  display: block;
  margin-top: 18px;
  letter-spacing: 1px;
  font-weight: bold;
  color: #f6f6f6;
}

input, textarea {
  width: 100%;
  background: #0B0B3B;
  border: 2px solid #4a90e2;
  border-radius: 8px;
  padding: 12px;
  margin-top: 6px;
  font-size: 16px;
  color: #ffffff;
  transition: all 0.3s ease;
  box-sizing: border-box; /* 🔑 evita que se desborde */
}

input:focus, textarea:focus {
  border-color: #00c3ff;
  box-shadow: 0 0 8px rgba(0,195,255,0.7);
  outline: none;
}

textarea {
  height: 150px;
  resize: none;
}

#submit {
  width: 120px;
  height: 40px;
  border: none;
  margin-top: 25px;
  cursor: pointer;
  background: linear-gradient(135deg, #00c3ff, #4a90e2);
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.3s ease;
}

#submit:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #4a90e2, #00c3ff);
}
