.gcp-input-row input {
  padding: .5rem .25rem;
  font-family: inherit;
}
.gcp-input-row input.error {
  border: 2px solid red;
  color: red;
}
.gcp-input-row {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
}

.gcp-input-row label {
  font-size: 14px;
  margin-top: 0.75rem;
}

.gcp-input-row textarea {
  padding: .5rem;
  font-family: inherit;
}

.gcp-input-row input,
.gcp-input-row textarea {
  font-size: 14px;
}

.gcp-form-fields {
  display: none;
}

[id="gift_option"]:checked ~ .gcp-form-fields {
  display: block;
}

[id="gift_option"].hidden,
[for="gift_option"].hidden {
  display: none;
}

/** switch **/
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 15px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 11px;
  width: 10px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: rgb(var(--color-foreground));
}

input:focus + .slider {
  box-shadow: 0 0 1px rgb(var(--color-foreground));
}

input:checked + .slider:before {
  -webkit-transform: translateX(15px);
  -ms-transform: translateX(15px);
  transform: translateX(15px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.gcp-input-row-switcher {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.gcp-switcher-label {
  font-size: 14px;
  margin-top: 0.75rem;
}