:root {
  --border-radius-primary: 16px;
}

.jeweller-calculator__form {
  background-color: #EDEDED;
  border-radius: 16px;
  max-width: 480px;
  margin: 0 auto;
}

.jeweller-calculator__form p {
  margin: 0;
}

.jeweller-calculator__container {
  padding: 64px 24px;
}

.jeweller-calculator__input {
  height: 40px;
  border-radius: 8px;
}

.jeweller-calculator__group {
  margin-bottom: 16px;
}

.jeweller-calculator__label {
  color: #787878;
  font-family: "Roboto Regular", sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 8px;
}

.jeweller-calculator__barrier {
  margin-top: 32px;
}

.jeweller-calculator__barrier-title {
  font-family: "Roboto Medium", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.jeweller-calculator__barrier-add {
  background: transparent;
  border: 0;
  color: #181818;
  cursor: pointer;
  font-family: "Roboto Medium", sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-top: 24px;
  padding: 0;
  transition: color .15s ease-in-out;
}

.jeweller-calculator__barrier-add:hover {
  color: #22D087;
}

.jeweller-calculator__barrier-add .btn-container {
  align-items: center;
  display: flex;
}

.jeweller-calculator__barrier-add--icon {
  align-items: center;
  background: #5AE4AA;
  border-radius: 50%;
  display: flex;
  font-size: 0;
  line-height: 1;
  margin-right: 8px;
  justify-content: center;
  height: 24px;
  flex: 0 0 24px;
  max-width: 24px;
  width: 24px;
}

.jeweller-calculator__barrier-delete {
  background: transparent;
  border: 1px solid #181818;
  border-radius: 50%;
  color: #181818;
  cursor: pointer;
  height: 24px;
  font-size: 0;
  line-height: 1;
  padding: 0;
  width: 24px;
  transition: border .15s ease-in-out, color .15s ease-in-out;
}

.jeweller-calculator__barrier-delete svg {
  height: 24px;
  width: 24px;
  position: relative;
  top: -1px;
  left: -1px;
}

.jeweller-calculator__barrier-delete:hover {
  border-color: #22D087;
  color: #22D087;
}

.jeweller-calculator__barrier-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.jeweller-calculator__submit-block {
  max-width: 288px;
  margin: 64px auto 0;
}

.jeweller-calculator__submit-block .btn {
  padding: 0 16px;
  width: 100%;
}

.jeweller-calculator__result {
  text-align: center;
}

.jeweller-calculator__result.is-active {
  margin-top: 48px;
}

.jeweller-calculator__result .line-1 {
  margin-bottom: 8px;
}

.jeweller-calculator__result .rex-link {
  margin-top: 16px;
}

#barrier_2, #barrier_3, #barrier_4, #barrier_5, #barrier_6, #barrier_7, .delete_barrier_button_7, .delete_barrier_button_6, .delete_barrier_button_5, .delete_barrier_button_4, .delete_barrier_button_3, .delete_barrier_button_2 {
  display: none;
}

@media (min-width: 576px) {
  .jeweller-calculator__container {
    padding: 64px 48px;
  }
}
