.checkbox-wrapper {
  color: black;
}
.checkbox-wrapper input[type="checkbox"] {
  padding: 0 8px;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 1em auto 20px;
  font-size: 14px;
  width: 250px;
}

.checkbox-wrapper input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #999;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  margin-top: 3px;
}

.checkbox-wrapper input[type="checkbox"]:checked {
  background-color: #a5151b;
  border-color: #a5151b;
}

.checkbox-wrapper input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 3px;
  color: white;
  font-size: 14px;
}

.checkbox-wrapper a {
  color: #a5151b;
  text-decoration: underline;
}

/* Всплывающее предупреждение */
.alert {
  display: none;
  background: #fee2e2;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 14px;
}

label[for="agreement"] {
  text-align: justify;
}
