#recommendations-module {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 50px auto 30px;
  padding-bottom: 50px;
}

#recommendations-module strong {
  font-weight: 800;
}

#recommendations-module .message {
  margin: 30px 0 20px;
  font-size: 20px;
}

#recommendations-module h2 {
  font-weight: 300;
  color: #a6a6a6;
  margin: 50px 0;
  text-align: center;
}

#recommendations-module h2 strong {
  color: #000;
}

/** FORM **/
#recommendations-module form {
  display: flex;
  width: 500px;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
}

#recommendations-module form section {
  width: 100%;
  overflow: inherit;
}

#recommendations-module .buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: center;
}

#recommendations-module button {
  cursor: pointer;
}

#recommendations-module form label {
  margin-bottom: 15px;
  width: 100%;
  display: block;
}

#recommendations-module form p {
  margin-bottom: 15px;
  width: 100%;
  display: block;
}

#recommendations-module form p.flex {
  display: flex;
  gap: 15px;
  align-items: center;
}

#recommendations-module form input:not([type='checkbox']) {
  border: 1px solid #a6a6a6;
  padding: 8px 10px;
  width: 100%;
  height: 40px;
}

#recommendations-module form input:read-only {
  background: #f3f3f3;
  color: #555555;
}

#recommendations-module form input.inline {
  width: auto;
}

#recommendations-module form .button-clean {
  background: none;
  border: none;
  width: 35px;
}

#recommendations-module .button-white {
  background: none;
  color: #525252;
  border: 1px solid #cecece;
}

#recommendations-module .button-dark {
  background: #0e1f30;
}

#recommendations-module form .repeater > div {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-template-columns: repeat(2, auto);
  grid-gap: 0 15px;
  width: 100%;
  position: relative;
}

#recommendations-module form .section {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-gap: 0 15px;
  width: 100%;
}

#recommendations-module form hr {
  background: radial-gradient(circle, #db8c58 -2%, #8c4c33 69%);
  width: 100%;
  height: 5px;
  border: none;
  margin: 5px 0 20px;
  grid-column-start: 1;
  grid-column-end: 3;
}

#recommendations-module .lock:not(button) {
  pointer-events: none;
}

#recommendations-module .action-button {
  position: absolute;
  right: -70px;
  top: 30px;
  background: none;
  border: none;
  width: 25px;
  height: 25px;
}

#recommendations-module .unlock {
  display: none;
}

#recommendations-module .lock.unlock {
  display: block;
}

#recommendations-module .lock.remove {
  display: none;
}

#recommendations-module form canvas {
  border: 1px solid #a6a6a6;
  width: 100%;
  margin-bottom: 15px;
  height: 150px;
}

/** CUSTOM CHECKBOX **/
#recommendations-module .custom-checkbox {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
}

#recommendations-module .custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

#recommendations-module .custom-checkbox span {
  margin: 0 10px;
  height: 40px;
  width: 40px;
  min-width: 40px;
  border: 1px solid #a6a6a6;
  position: relative;
}

#recommendations-module .custom-checkbox:after {
  content: '';
  position: absolute;
  display: none;
}

#recommendations-module .custom-checkbox input:checked ~ span:after {
  display: block;
}

#recommendations-module .custom-checkbox span:after {
  content: '';
  position: absolute;
  display: none;
  left: 12px;
  width: 15px;
  height: 30px;
  border: solid #a6a6a6;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/** CUSTOM SWITCH **/
#recommendations-module .switch {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 20px;
  margin-bottom: 0;
}

#recommendations-module .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#recommendations-module .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
  border: 1px solid black;
  border-radius: 20px;
}

#recommendations-module .slider:before {
  position: absolute;
  content: '';
  height: 100%;
  width: 50%;
  background-color: white;
  transition: 0.4s;
  border: 1px solid black;
  border-radius: 20px;
}

#recommendations-module input:focus + .slider {
  box-shadow: 0 0 0px 2px #2196f3;
}

#recommendations-module input:checked + .slider:before {
  transform: translateX(100%);
  background-color: black;
}

@media only screen and (max-width: 768px) {
  #recommendations-module form .repeater > div,
  #recommendations-module form .section {
    display: block;
  }

  #recommendations-module .action-button {
    right: 0;
    bottom: 30px;
    top: auto;
  }
}
