/* form-demo.css */
* {
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  margin: 20px;
}

p {
    display: grid;
    grid-template-rows: 2em 2em;
}

main {
  max-width: 600px;
  margin: 0 auto;
}

input, textarea, option, select {
    border: solid gray 1px;
    border-radius: 3px;
    padding: .5em;
    font-family: Arial, Helvetica, sans-serif;
}

.errors > p {
  border: 1px solid red;
  padding: 0.5em;
}
/* Style the select arrow for Safari */
select::-webkit-inner-spin-button,
select::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Style the select arrow for other browsers */
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

.hide {
  display: none; /* Initially hide the credit card input and label */
}

#submit-button {
    color: white;
    background-color: forestgreen;
    border: 0px;
    border-radius: 3px;
    padding: .7em;
}