.privacy-agreement {
  margin: 20px 0;
  font-size: 14px;
  width: 100%;
}

.privacy-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.privacy-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox {
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  transition: all 0.2s;
}

.privacy-input:checked + .custom-checkbox {
  background-color: #0049b7;
  border-color: #0049b7;
}

.privacy-input:checked + .custom-checkbox::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.privacy-text {
  line-height: 1.4;
  font-size: 12px;
  text-wrap: nowrap;
}

.privacy-link {
  color: #0049b7;
  text-decoration: underline;
}

.privacy-link:hover {
  text-decoration: none;
}

.privacy-label .errorMessage {
  position: absolute;
  top: 20px;
  font-size: 14px;
  color: red;
  padding-left: 30px;
  font-family: "GenesisSansText", sans-serif;
}

@media (max-width: 768px) {
  .privacy-text {
    text-wrap: wrap;
  }
  .popUp__form .privacy-label .errorMessage {
    top: 35px;
  }
}
