body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #4b6cb7, #8e44ad);
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* <-- fixed from height */
  margin: 0;
  flex-direction: column; /* <-- to allow vertical stacking */
}

.container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  max-width: 500px;
  width: 100%;
  text-align: center;
  margin: 0 auto; /* <-- This centers it horizontally */
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

textarea {
  width: 100%;
  padding: 10px;
  margin-top: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

button {
  background: linear-gradient(90deg, #4a69bd, #8e44ad); /* deep blue to deep purple */
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card {
  background: #f0f0f0;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
}

.hidden {
  display: none;
}
