/* ============================================================
   CHILDCARE CHOICE - custom.css
   Styles for additions only (Email Your MP section, survey
   page embed). Everything original is in webflow.css. Tokens
   taken from the live stylesheet: pink #FC0088, dark pink
   #BB0065, cyan #CAF5F7, dark gray #717171, grey #4D4D4D,
   Recoleta headings/buttons, Instrument Sans feature text,
   Inter body. Buttons are 30px radius, inputs 20px to match
   the Donately styling.
   ============================================================ */

.mp-tool_section {
  background-color: #fff;
  padding-top: 100px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

.mp-tool-header {
  margin-bottom: 56px;
}

.mp-tool-header .heading-style-h3 {
  margin-bottom: 20px;
}

.mp-tool-grid {
  grid-column-gap: 28px;
  grid-row-gap: 28px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1.25fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.mp-card-panel {
  background-color: #fff;
  border: 1px solid #eadfe6;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 20px 48px rgba(187, 0, 101, 0.08);
}

.mp-step-label {
  grid-column-gap: 12px;
  color: #131316;
  align-items: center;
  font-family: Instrument Sans, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.8rem;
  display: flex;
  margin-bottom: 20px;
}

.mp-step-num {
  background-color: #fc0088;
  color: #fff;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  font-family: Recoleta, Arial, sans-serif;
  font-size: 1.1rem;
  display: flex;
  flex-shrink: 0;
}

.mp-optional {
  color: #717171;
  font-size: .95rem;
  font-weight: 400;
}

.mp-field-label {
  color: #717171;
  margin-top: 18px;
  margin-bottom: 8px;
  font-family: Instrument Sans, sans-serif;
  font-size: .95rem;
  font-weight: 500;
  display: block;
}

.mp-input {
  color: #131316;
  background-color: #fff;
  border: 1px solid #d8c4cf;
  border-radius: 20px;
  width: 100%;
  padding: 12px 16px;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.mp-input:focus {
  border-color: #fc0088;
  outline: none;
}

.mp-textarea {
  min-height: 280px;
  resize: vertical;
}

.mp-find-row {
  grid-column-gap: 12px;
  display: flex;
}

.mp-find-row .mp-input {
  flex: 1;
}

.button.mp-find-button {
  padding: 12px 28px;
  font-size: 1.1rem;
  line-height: 1.4rem;
}

.mp-hint {
  color: #a4a4a4;
  margin-top: 10px;
  font-size: .85rem;
  line-height: 1.3rem;
}

.mp-result {
  margin-top: 22px;
  display: none;
}

.mp-result.show {
  display: block;
  animation: mpRise .35s ease;
}

@keyframes mpRise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mp-result.show { animation: none; }
}

.mp-choice-list {
  grid-row-gap: 10px;
  flex-direction: column;
  display: flex;
}

.mp-choice-list button {
  text-align: left;
  color: #131316;
  background-color: #fff;
  border: 1px solid #d8c4cf;
  border-radius: 20px;
  padding: 12px 16px;
  font-family: Instrument Sans, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s;
}

.mp-choice-list button:hover {
  border-color: #fc0088;
}

.mp-found-card {
  grid-column-gap: 16px;
  background-color: #fff5fa;
  border: 1px solid #f3cee2;
  border-radius: 20px;
  align-items: center;
  padding: 16px;
  display: flex;
}

.mp-avatar {
  background-color: #bb0065;
  color: #caf5f7;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  font-family: Recoleta, Arial, sans-serif;
  font-size: 1.2rem;
  display: flex;
  flex-shrink: 0;
}

.mp-who {
  color: #131316;
  font-family: Instrument Sans, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4rem;
}

.mp-seat {
  color: #717171;
  font-size: .9rem;
  line-height: 1.3rem;
}

.mp-stamp {
  color: #bb0065;
  text-transform: uppercase;
  letter-spacing: .06em;
  background-color: #caf5f7;
  border: 2px dashed #bb0065;
  border-radius: 8px;
  margin-left: auto;
  padding: 6px 10px;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
  transform: rotate(3deg);
}

.mp-personalise-block {
  margin-top: 28px;
}

.mp-personalise {
  grid-column-gap: 14px;
  grid-row-gap: 14px;
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.mp-tabs {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  display: flex;
}

.mp-tab {
  color: #717171;
  background-color: #fff;
  border: 1px solid #d8c4cf;
  border-radius: 30px;
  padding: 8px 18px;
  font-family: Instrument Sans, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.mp-tab.active {
  color: #fff;
  background-color: #fc0088;
  border-color: #fc0088;
}

.mp-send-block {
  margin-top: 24px;
}

.button.mp-send-button {
  width: 100%;
  display: block;
  text-align: center;
}

.mp-copy-button {
  color: #131316;
  text-align: center;
  background-color: #caf5f7;
  border: 1px solid #caf5f7;
  border-radius: 30px;
  width: 100%;
  margin-top: 10px;
  padding: 12px 28px;
  font-family: Recoleta, Arial, sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all .3s;
  display: block;
}

.mp-copy-button:hover {
  color: #fff;
  background-color: #bb0065;
  border-color: #bb0065;
}

.mp-copied {
  color: #bb0065;
  text-align: center;
  margin-top: 12px;
  font-family: Instrument Sans, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  display: none;
}

.mp-copied.show {
  display: block;
}

/* Join the Campaign form messages (handled by main.js now) */
.w-form-done.show, .w-form-fail.show {
  display: block;
}

/* Survey page */
.survey-page_section {
  background-color: #fff;
  padding-top: 220px;
  padding-bottom: 120px;
}

.survey-embed-wrapper {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.survey-embed-placeholder {
  color: #717171;
  text-align: center;
  border: 2px dashed #d8c4cf;
  border-radius: 24px;
  padding: 64px 24px;
  font-family: Instrument Sans, sans-serif;
}

/* Responsive */
@media screen and (max-width: 991px) {
  .mp-tool-grid {
    grid-template-columns: 1fr;
  }
  .mp-tool_section {
    padding-top: 70px;
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 479px) {
  .mp-card-panel {
    padding: 26px 20px;
  }
  .mp-personalise {
    grid-template-columns: 1fr;
  }
  .mp-find-row {
    flex-direction: column;
    grid-row-gap: 10px;
  }
}

/* Nav fix: keep all links plus Donate on one row after adding Email Your MP */
.navlinks-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 32px;
}

@media screen and (max-width: 1280px) {
  .navlinks-wrapper {
    gap: 18px;
  }
}
