
.mel-state {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mel-success-title {
  text-align: center;
}

.mel-success-helper {
  color: var(--wp--preset--color--gray-700);
  font-size: 12px;
}

.mel-success-content {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-radius: var(--wp--preset--border-radius--base);
  background-color: var(--wp--preset--color--surface-2);
  color: var(--wp--preset--color--black);
  line-height: var(--wp--custom--line-height--mlg);
  font-size: 14px;
  align-items: center;
  gap: 5px;
}

.mel-success-content strong {
  color: var(--wp--preset--color--secondary-1);
  margin-top: auto;
  word-break: break-all;
  font-weight: 500;
  font-size: 16px;
  line-height: var(--wp--custom--line-height--lg);
}

.mel1 {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.mel2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mel-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
}

.mel-input-msg {
  color: var(--wp--preset--color--gray-700);
  line-height: var(--wp--custom--line-height--xl);
  display: flex;
  flex-direction: column;
}

.mel-footer {
  gap: 15px;
  display: flex;
  flex-direction: column;
}

.mel-footer label {
  display: flex;
  gap: 5px;
  color: #0F172A;
  align-items: center;
  font-size: var(--wp--preset--font-size--body-7);
}

.mel-footer a,
.link-underline a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mel-checkbox {
  padding: 10px 10px;
  appearance: none;
  /* remove default checkbox */
  -webkit-appearance: none;
  border-radius: 4px;
  background-color: #f3f3f3;
  border: 2px solid #87744E;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* Checked state */
.mel-checkbox:checked {
  background-color: #87744E;
  border-color: #87744E;
}

/* Checkmark */
.mel-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 40%;
  top: 3px;
  width: 5px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Hover */
.mel-checkbox:hover {
  border-color: #87744E;
}

/* Focus (keyboard accessibility) */
.mel-checkbox:focus-visible {
  outline: 2px solid #87744E;
  outline-offset: 2px;
}