Offline Notepad View raw

Shared snapshot

=========================

body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  font-family: 'Inter', sans-serif;
  color: #333;
}

.form-container {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  width: 320px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  text-align: center;
}

h2 {
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.75rem;
  color: #222;
}

label {
  display: block;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
  text-align: left;
}

select {
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  outline-offset: 2px;
}

/* Make the name input narrower and centered */
input[type="text"] {
  width: 70%;           /* narrower */
  margin: 0.25rem auto; /* center horizontally with small vertical margin */
  display: block;       /* needed for margin auto to work */
  padding: 0.65rem 1rem;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  outline-offset: 2px;
}

select:focus, input[type="text"]:focus {
  border-color: #2575fc;
  outline: none;
  box-shadow: 0 0 8px rgba(37, 117, 252, 0.4);
}

button {
  margin-top: 2rem;
  width: 100%;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
  background: #2575fc;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(37, 117, 252, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
  background: #185bd8;
  box-shadow: 0 12px 20px rgba(24, 91, 216, 0.6);
}

.success-message {
  margin-top: 1.5rem;
  color: green;
  font-weight: 600;
  display: none;
}

  <label for="name">Your Name</label>
  <input
    type="text"
    name="entry.865498654"
    id="name"
    placeholder="Enter your name"
    required
    autocomplete="off"
  />

  <button type="submit">Submit</button>
</form>
<div class="success-message" id="successMessage">
  Thank you! Your response has been recorded.
</div>