body {
  font-family: Arial, sans-serif;
  background-color: url('wallpaper.svg');
  margin: 0;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Always 3 columns */
  grid-template-rows: repeat(2, auto);  /* Always 2 rows */
  gap: 30px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.automation-box {
  background: rgb(224, 195, 26);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.automation-box h2 {
  font-size: 1.25em;
  margin-bottom: 15px;
}

.automation-box label {
  display: block;
  margin-top: 12px;
  font-weight: bold;
}

.automation-box input {
  width: 90%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.automation-box form {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Even vertical spacing between all fields */
}

.automation-box button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
}
