/*===========================================================
 --- MT Invitation Application ---
===========================================================*/

#mt_application_logo > div > figure > a > img {
  margin-top: 40px;
  margin-bottom: 10px;
  max-width: 58% !important;
  min-height: 840px;
  border-radius: 14px;
  border: 1.3px solid #61ad4e;
  box-shadow:
    0 2px 5px 0 rgb(0 0 0 / 16%),
    0 2px 10px 0 rgb(0 0 0 / 12%);
}

.mt_application_cards > div > div {
  border-radius: 18px;
  padding: 20px 35px 28px;
  margin-bottom: 60px;
  background-color: #fff;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08);
}

.application-form {
  display: none;
}

.form-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.application-form {
  display: none;
}

.application-form.active {
  display: block;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.center-col {
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  clear: both;
}

body.transitioning .form-intro {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

body.transitioning .application-form {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#Apply .start-application > button {
  border-radius: 10px;
  color: #fff !important;
  background-color: var(--button-green);
}

#Apply .start-application > button:hover {
  background-color: var(--brand-green);
}

/*Application progress bar*/

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.progress {
  width: 30px;
  height: 30px;
  background-color: #ccc;
  border-radius: 26%;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  color: #fff;
  font-size: 11px;
  transition: background-color 0.3s;
}

.progress.active,
.progress.completed {
  background-color: var(--background-green); /* your brand green */
}

.progress.active {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.line {
  height: 3px;
  width: 40px;
  background-color: #ccc;
  margin: 0px;
}

.progress.completed + .line {
  background-color: var(--background-green) !important;
}

/*Application progress bar = End*/

.step label {
  font-size: 14px;
}

.steps p {
  margin-bottom: 1.5em;
}

.steps p label {
  font-weight: 500;
  margin-bottom: 0.3em;
  margin-right: 0.75em;
}

#step-1 .steps p .wpcf7-not-valid-tip {
  display: inline-block;
  color: #e74c3c;
  font-size: 0.85em;
  vertical-align: middle;
  position: absolute;
  top: -38px;
  width: 100%;
  left: 270px;
}

/* 3. Position the error message next to the label */
.steps p > label::after {
  content: attr(data-error);
  color: #e74c3c;
  font-size: 0.9em;
  margin-left: 1em;
}

.small-textarea {
  height: 400px !important;
  resize: vertical;
  font-size: 14px;
}

.cs_invite-title {
  margin-bottom: 10px;
  font-weight: 600 !important;
}

.cs_get-help {
  color: var(--darkbrand-green);
}

.cs_get-help:hover {
  color: var(--brand-green);
}

.cs_key-benefits p {
  line-height: 1.8;
}

.cs_key-benefits p i {
  color: var(--background-green);
  padding-right: 8px;
}

.conditional-input input {
  max-width: 300px;
}
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url('data:image/svg+xml;utf8,<svg fill="%23444444" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>')
    no-repeat right 0.75rem center/1rem;
  padding-right: 2rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.step-label {
  margin-bottom: 10px;
  display: inline-block;
}

.short-textarea textarea {
  height: 80px !important;
}

.styled-select select {
  appearance: auto !important;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  width: 28px;
  height: 28px;
  border-radius: 26%;
  background-color: var(--background-green);
  color: #fff;
  font-size: 12px;
  font-weight: 100;
  margin-right: 8px;
  margin-left: 6px;
}

.step-line {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.button-group p {
  display: flex;
  margin-bottom: 0px;
}

.button-group button {
  white-space: nowrap;
}

.page-id-12454 #content {
  background: rgba(214, 214, 214, 0.2);
}

.page-id-12454 select,
.page-id-12454 textarea {
  margin-top: 4px;
}

.page-id-12454 select,
.page-id-12454 input[type="checkbox"]::before {
  background-color: #fff;
}

.page-id-12454 .cs_invite-left-col > div > .wpb_wrapper {
  background-color: #fff;
  padding: 30px 40px 20px;
  width: 90%;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid #ddd;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

@media screen and (min-width: 1080px) {
  .page-id-12454 .cs_invite-left-col > div > .wpb_wrapper {
    width: 70%;
  }
}

@media screen and (min-width: 1080px) {
  .page-id-12454 .mt_application_cards {
    width: 40%;
  }
}

.page-id-12454 .wpcf7 form.invalid .wpcf7-response-output {
  width: 95%;
  margin-left: 10px !important;
}

.cs_invite-submit {
  color: #fff !important;
}

.next-step:disabled {
  pointer-events: none;
  background-color: #b0b0b0 !important;
  color: #ffffff !important;
  cursor: not-allowed !important;
}

.next-step:disabled:hover {
  box-shadow: none !important;
}

.page-id-12454 .page-content::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
  z-index: -1;
  background-image: url("/wp-content/uploads/2025/03/background_mt_repeat2.png");
  background-position: center;
  background-size: contain;
}

.page-id-12454 #site-header {
  position: absolute;
  z-index: 9;
  width: 100%;
}

.page-id-12454 .fa-solid.fa-fire {
  color: var(--background-green);
}

.steps {
  min-height: 520px;
  background: rgb(238, 238, 238);
  padding: 30px 32px 24px;
  border-radius: 14px;
}

.border-danger {
  border: 1.5px solid red !important;
}

/* Step 6 - Ready to get started?*/

/*CARD*/
.card-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}
.tier-card {
  cursor: pointer;
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  width: 200px;
  transition: transform 0.3s;
}

.cs_annual-disc {
  height: 190px;
}

.tier-card p {
  margin-top: 10px;
}

.tier-card.cs_annual-disc p.price {
  margin-bottom: 0px;
}

.tier-card.cs_annual-disc p.cs_annual-months {
  margin-top: 0px;
}

.tier-card .icon {
  font-size: 26px;
  color: #579e45;
  margin: 0px;
  width: 100%;
}
.tier-card h4 {
  margin: 10px 0 5px;
  font-size: 1.3rem;
}
.tier-card .price {
  color: #343434;
  margin-bottom: 10px;
}
.hidden {
  display: none;
}

.tier-card:hover {
  border-color: #579e45;
  box-shadow: 0 0 0 3px rgba(87, 158, 69, 0.2);
}

.tier-card input:checked + .icon,
.tier-card input:checked + h4,
.tier-card input:checked + p {
  color: #579e45;
}

.tier-card input:checked ~ * {
  color: #579e45;
}

.tier-card input:checked {
  outline: 2px solid #579e45;
}

.tier-card input {
  display: none;
}

.tier-card.selected {
  border-color: #579e45;
  background: #f6fff4;
  box-shadow: 0 0 0 2px #579e45;
}

/* Toggle switch styling */

.toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  /* background-color: var(--background-green); */
}

.toggle-wrapper p {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  margin-top: 10px;
}

.toggle-wrapper p label {
  margin-bottom: 0px;
  margin-right: 0px;
}

.togglebuttons .wpcf7-list-item {
  margin: 0;
  display: inline-block;
}
.togglebuttons > span input {
  opacity: 0;
  position: absolute;
}

.togglebuttons > span .wpcf7-list-item-label {
  cursor: pointer;
  display: block;
  color: #333;
  border-radius: 2px;
  background: #ffffff;
  padding: 14px 78px;
  background: #fff;
  border: 2px solid var(--background-green);
}

.togglebuttons > span input:checked + .wpcf7-list-item-label {
  background: var(--background-green);
  border: 2px solid var(--background-green);
  color: #ffffff;
  font-weight: bold;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-id-12454 .section-divider {
  border: none;
  border-top: 2px solid #ccc;
  margin: 40px 0;
}

.page-id-12454 .section-divider2 {
  border: none;
  border-top: 2px solid #ccc;
  margin: 50px 0;
}

/* Step 6 - Ready to get started? = END */

.button-group .prev-step {
  margin-right: 10px;
  color: #b3b3b3 !important;
  background-color: #fff !important;
  position: relative;
  overflow: hidden;
  padding: 10px 25px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  font-family: "roboto-regular" !important;
  text-shadow: none !important;
  border-radius: 8px !important;
  letter-spacing: 0.3px !important;
  background-image: none !important;
  text-transform: initial !important;
  transition: all 0.2s ease-in-out !important;
}

.next-step {
  color: #ffffff !important;
  background-color: #579e45 !important;
  border-color: #579e45 !important;
  letter-spacing: 0.3px !important;
  padding: 10px 35px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-family: "roboto-regular" !important;
  border-radius: 8px !important;
  transition: all 0.2s ease-in-out !important;
}

.button-group .prev-step:hover {
  color: var(--brand-green) !important;
  box-shadow: none !important;
}

#step-2 .cs_step2-label-p2,
#step-3 .cs_step3-label-p2,
#step-4 .cs_step2-label-p2,
#step-5 .cs_step2-label-p2 {
  margin-bottom: 0.8rem;
}

#step-3 > div.steps > p:nth-child(2) > label {
  margin-top: 20px;
}

/*  Add Styles to Checked Checkbox Labels */
.cs_checkbox-layout label {
  display: inline-block;
  padding: 4px 12px 12px;
  width: 200px;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.08);
}

.cs_checkbox-layout label:hover {
  background: #f6fff4;
  border: 1.9px solid rgba(87, 158, 69, 0.3);
  box-shadow: 2px 4px 12px rgba(87, 158, 69, 0.1);
}

.cs_checkbox-layout label.checkbox-selected {
  background: #f6fff4;
  border: 1.9px solid rgba(87, 158, 69, 0.7);
}

.wpcf7-list-item {
  margin: 0px !important;
}

.wpcf7-form-control-wrap > select > option {
  font-family: "Montserrat", "roboto";
}

/*================================
 --- Yes & No button styling ---
==================================*/

.togglebuttonsYN .wpcf7-list-item {
  margin: 0 2px 0 0;
  display: inline-block;
}
.togglebuttonsYN > span input {
  opacity: 0;
  position: absolute;
}

.togglebuttonsYN > span .wpcf7-list-item-label {
  cursor: pointer;
  display: block;
  color: #333;
  background: #ffffff;
  padding: 6px 28px;
  background: #fff;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.08);
}

.wpcf7-list-item.first .wpcf7-list-item-label {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.wpcf7-list-item.last .wpcf7-list-item-label {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.togglebuttonsYN > span .wpcf7-list-item-label:hover {
  border: 1.9px solid rgba(87, 158, 69, 0.3);
}

.togglebuttonsYN > span input:checked + .wpcf7-list-item-label {
  background: var(--background-green);
  border: 1px solid var(--background-green);
  color: #ffffff;
  font-weight: bold;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.togglebuttonsYN label {
  margin-right: 0px !important;
}

#step-2 .cs_step2-label-p2,
#step-4 .cs_step2-label-p2,
#step-6 .cs_step2-label-p2 {
  margin-bottom: 0.6rem;
}
