.fewo-form fieldset
{
  border: 1px solid #eee;
}

.fewo-form label
{
  display: block;
  margin: 0 0 .75rem;
}

.fewo-note
{
  font-size: .9rem;
  color: #555;
  margin-top: .25rem;
}

.fewo-weekday-disabled
{
  background-color: #f5f5f5 !important;
  color: #aaa !important;
  cursor: not-allowed !important;
}

.fewo-form select
{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: 1.2;
}

.fewo-form input:focus,
.fewo-form select:focus
{
  box-shadow: 0 0 0 2px rgba(0, 123, 255, .2);
}

.fewo-form input,
.fewo-form select,
.fewo-form textarea
{
  width: 100%;
  max-width: 420px;
  font: inherit;
  color: inherit;
  box-sizing: border-box;
}

.fewo-form .fewo-privacy
{
  display: flex;
  align-items: center;
  gap: .5em;
  font-size: .95rem;
  line-height: 1.3;
}

.fewo-form .fewo-privacy input[type=checkbox]
{
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}

.fewo-form
{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
}

.fewo-form fieldset
{
  border: none !important;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem 1.5rem;
}

.fewo-form legend
{
  grid-column: 1/-1;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: #111;
}

.fewo-form label
{
  display: flex;
  flex-direction: column;
  font-size: .95rem;
  color: #222;
  font-weight: 500;
}

.fewo-form input,
.fewo-form select,
.fewo-form textarea
{
  border: 1.5px solid #111;
  border-radius: 30px;
  background-color: transparent;
  padding: 10px 14px;
  height: 44px;
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.fewo-form textarea
{
  height: auto;
  min-height: 120px;
  resize: vertical;
  border-radius: 20px;
}

.fewo-form input:focus,
.fewo-form select:focus,
.fewo-form textarea:focus
{
  border-color: #e67e22;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, .25);
  outline: 0;
}

.fewo-form input:valid,
.fewo-form select:valid
{
  border-color: #70c36d;
}

.fewo-form .error input,
.fewo-form .error select,
.fewo-form .error textarea
{
  border-color: #e74c3c;
}

.fewo-form button[type=submit]
{
  grid-column: 1/-1;
  justify-self: start;
  background: #111;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  padding: 10px 26px;
  cursor: pointer;
  transition: background .2s;
}

.fewo-form button[type=submit]:hover
{
  background: #333;
}

.fewo-privacy
{
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
}

.fewo-privacy input[type=checkbox]
{
  width: 18px;
  height: 18px;
  border: 2px solid #111;
  border-radius: 4px;
  accent-color: #111;
}

.fewo-form select
{
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  cursor: pointer;
}

.sr-only
{
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Remove all fancy styling from checkboxes */
.fewo-form input[type="checkbox"]
{
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.fewo-extra-item
{
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  cursor: pointer;
  flex-direction: row !important;
  flex-wrap: nowrap;
}

/* 1 column on small screens */
.fewo-form fieldset
{
  grid-template-columns: 1fr;
}

/* max 2 columns on desktop */
@media (min-width: 700px)
{
  .fewo-form fieldset
  {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Dog option may be force-hidden depending on Wohnung */
.fewo-dog-hidden
{
  display: none !important;
}

.fewo-note p
{
  font-size: 14px;
}