.messages__wrapper {
  padding: 15px 0;
}

/* Navigation Link */
.mf-back {
  color: #E01A4F;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 25px;
  display: inline-block;
}

/* Header */
.mf-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.mf-subtitle {
  font-size: 15px;
  color: #555;
}

/* Section Title & Line */
.mf-section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.mf-hr {
  border: 0;
  border-top: 1px solid #eee;
  margin-bottom: 30px;
}

/* Targeting Drupal Elements Dynamically */
.mf-wrap .form-item label,
.mf-wrap label {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #111 !important;
  margin-bottom: 6px !important;
  display: block;
}

/* Required Star Red */
.mf-wrap .form-required::after,
.mf-wrap .form-required,
.text-danger {
  color: #DC143C !important;
  content: "*" !important;
  font-weight: 800;
}

/* Input Styling - Grey background like the image */
.mf-wrap input[type="text"],
.mf-wrap input[type="email"],
.mf-wrap input[type="url"],
.mf-wrap select,
.mf-wrap textarea {
  width: 100% !important;
  background-color: #f4f5f7 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 4px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  color: #333 !important;
  box-shadow: none !important;
  transition: all 0.2s;
}

.mf-wrap input:focus,
.mf-wrap textarea:focus {
  background-color: #fff !important;
  border-color: #DC143C !important;
}

/* Helper Text / Description */
.mf-wrap .description {
  font-size: 13px !important;
  color: #666 !important;
  font-weight: 400 !important;
  margin-top: -2px !important;
  margin-bottom: 10px !important;
  display: block;
}

/* Consent styling */
.mf-consent-check {
  width: 18px;
  height: 18px;
  accent-color: #DC143C;
  margin-top: 4px;
}

.mf-consent-label {
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  padding: 4px;
}

.mf-consent-sub {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}

/* Buttons */
.mf-btn-submit {
  background-color: #DC143C;
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
}

.mf-btn-cancel {
  background: none;
  border: 1px solid #8080803d;
  font-weight: 700;
  color: #333;
  padding: 10px 31px;
  margin-right: 12px;
  border-radius: 10px
}

/* Hide original drupal actions button to use the custom footer */
.mf-drupal-hidden {
  display: none !important;
}

.mf-breadcrumb-link {
  color: #e8003d;
  /* match your theme's red/pink */
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mf-breadcrumb-link:hover {
  text-decoration: underline;
}

.mf-breadcrumb-arrow {
  font-size: 1.2rem;
  line-height: 1;
}