body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.form-container {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin-top: 30px;
}

.center {
  text-align: center;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

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

label {
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
}

#emailForm {
  width: 100%;
}

input[type="date"],
input[type="text"],
input[type="number"],
input[type="email"],
input[type="time"]{
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

input[type="text"],input[type="email"] {
  width: 100%;
}

button {
  padding: 10px 20px;
  font-size: 1rem;
  color: white;
  background-color: #3498db;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #2980b9;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .form-container {
      padding: 15px;
    box-shadow: none;
  }

  input[type="date"],
  input[type="text"],
  input[type="number"] {
      font-size: 1rem;
  }

  button {
      font-size: 1.1rem;
      padding: 12px;
  }

    body {
      background-color: #fff;
    }

}

.signature-pad {
  border: 1px solid #000;
  border-radius: 5px;
  background-color: #fff;
  margin: 20px;
  width: 80%;
  max-width: 500px;
}
/* #clear {
  margin-top: 10px;
} */

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px;
}

.buttons button {
  flex: 1;
}

.buttons button {
  padding: 10px 20px;
  font-size: 1rem;
  color: white;
  background-color: #3498db;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.button {
  width: 100%;
  margin-top: 10px;
}

#name {
  text-align: center;
}