.terms-card {
  display: flex;
  width: 500px;
  padding: 40px 24px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  border-radius: 16px;
  background: white;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.terms-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

.terms-title {
  color: #111827 !important;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
}

.terms-description {
  align-self: stretch;
  color: #101828 !important;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.terms-link {
  color: #FF497F !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.checkbox-container {
  display: flex;
  padding: 8px;
  align-items: center;
  gap: 8px;
  margin-bottom : 0 !important;
}

.checkbox-square {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  margin: 0;
  width: 18px;
  height: 18px;
  border-radius: 0.25rem;
  border-width: 1.5px;
  border-style: solid;
  border-color: #d0d5dd;
  color: transparent;


  &:has(+ .checkbox-input:checked) {
    background-color: #FFE5EC;
    border-color: transparent;
    color: #f63d68;
  }

  &:has(+ .checkbox-input:focus-visible),
  &:has(+ .checkbox-input:hover) {
    background-color: #FFE5EC;
    border-color: transparent;

    &:has(+ .checkbox-input:checked) {
      background-color: #feb8cd;
      color: #f63d68;
    }
  }
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  width: 18px;
  height: 18px;
}

.checkbox-label {
  color: #111827 !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  margin-bottom : 0 !important;
  cursor: pointer;
}

.terms-link-cgu {
  color: #FF497F !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.accept-button {
  margin-top: 24px;
  padding: 12px 16px;
  gap: 8px;
  border-radius: 24px;
  border: 1px;
  background: #98a2b3;
}

.accept-button:not(:disabled) {
  background: #FF497F;
  cursor: pointer;
}

.accept-button-text {
  color: #FFF;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
}
