body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

form {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333333;
}

.required {
  color: red;
  font-weight: bold;
  margin-left: 5px;
}

input[type="text"],
input[type="date"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 8px 0 16px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

button {
  background-color: #4caf50;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
}

button:hover {
  background-color: #45a049;
}

.cancelbtn {
  background-color: #f44336;
}

.cancelbtn:hover {
  background-color: #d32f2f;
}

label {
  font-weight: bold;
  color: #333333;
}

.container {
  text-align: center;
  margin-top: 10px;
}

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 8px;
  font-size: 14px;
}

.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.form-group label {
  width: 170px;
  margin-right: 10px;
  text-align: right;
}

.form-group input {
  flex: 1;
