.form-box {
  width: 100%;
  display: flex;
  justify-content: center;
}

.form-wrapper {
  padding: 1rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  display: none;
}

.form-class {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: center;
  place-content: center;
}

.form-button {
  border: none;
  border-radius: 10px;
  background-color: #3c91e6;
  color: white;
  font-weight: 500;
  /* top/bottom | right/left */
  padding: 15px 25px;
  width: 100%;
  cursor: pointer;
}
.right-bordered {
  border-right: 2px solid #b4b4b4;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* top/bottom | right/left */
  padding: 0.25rem 0.5rem;
  width: 100%;
  gap: 0.5rem;
  
  @media(min-width: 768px) {
    align-items: center;
  }
}

.input-wrapper-error { 
    color: red;
    border-radius: 6px;
}

.two-columns-input {
    display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  box-sizing: border-box; /* makes padding behave correctly */
}

.input-label {
  font-size: 0.75rem; /* font-small */
  line-height: calc(1 / 0.75); /* font-small-line-height */
  font-weight: 500;
  color: #2b2b2b;
}

.input {
  display: inline-block;
  padding: 0.25rem;
  border: transparent;
  /* max-width: 65ch; */
  color: #2b2b2b;
  background-color: #ffffff;
  font-size: calc(
    0.75rem * 1.25
  ); /* font-small multiplied by the amount I scale the font in the text input */

  @media (min-width: 1280px) {
    padding: 0.75rem;
    /*font-size: 1.125rem;*/
    /*line-height: 1.75rem;*/
  }
}

.input-error {
    border: solid 1px red;
    border-radius: 6px;
}

/*for dropdowns inside form*/
/* Highlight dropdown button if it has errors */
.dropdown.input-wrapper-error .dropbtn {
  border: 1px solid red;
  border-radius: 6px;
}

.dropdown.input-wrapper-error .dropbtnLabel span {
  color: red;
}

/* Optional small error message under the dropdown */
.dropdown-error-message {
  color: red;
  font-size: 0.75rem;
  margin-top: 4px;
}

/* MOBILE */
.mobile-form-wrapper {
  /*max-width: 24rem;*/
  /*min-width: 15rem;*/
  width: 100%;
  padding: 25px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-form-class {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.mobile-input-label {
  font-size: 0.75rem; /* font-small */
  line-height: calc(1 / 0.75); /* font-small-line-height */
  font-weight: 500;
  color: #3f3f3f;
  display: flex;
  text-align: left;
}

.mobile-input {
  display: inline-block;
  padding: 0.5rem;
  max-width: 65ch;
  color: #2b2b2b;
  /* width | style | color*/
  border: 2px solid #e3e3e3;
  border-radius: 6px;
  background-color: #f0f0f0;

  @media (min-width: 1280px) {
    padding: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

.mobile-input:focus {
  /* width | style | color*/
  outline: 2px solid #3c91e6;
}

/* Tablet (768px) */
@media (min-width: 768px) {
  .mobile-form-wrapper {
    display: none;
  }

  .form-wrapper {
    display: flex;
  }
}

/* Desktop (1024px) */
@media (min-width: 1024px) {
}
