:root {
  --bg-page: #f5f7fb;
  --bg-card: #ffffff;
  --border-soft: #e6e8ee;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.08);
}

#page-wrapper{
    background: var(--bg-page) !important;
}

.formJoinNow__title{
    text-transform: none !important;
    color: rgb(15, 23, 42);
}

p.form_subheading {
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgb(241, 245, 249);
        color: rgb(51, 65, 85);
    font-size: 15px;
}

.group_refferal {
    background: rgb(248, 250, 252);
    padding: 26px 20px 0;
    margin-bottom: 25px;
    border-radius: 12px;
}

.group_refferal_text {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 13px;
    color: rgb(15, 23, 42);
    padding-left: 10px;
}

.group_refferal_text i{
    color: #2563eb;
    margin-right: 5px;
}

.group_refferal.row{
    margin-left: 0 !important;
    margin-right:0 !important;
}


.wpcf7-checkbox, .wpcf7-radio {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
    margin-top: 8px;
}

.wpcf7-checkbox .wpcf7-list-item input[type=checkbox]:checked+.wpcf7-list-item-label:before {
    background: #2563eb !important;
}
.wpcf7-checkbox .wpcf7-list-item input[type=checkbox]+.wpcf7-list-item-label{
    font-size: 15px;
}


.about-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 100%;
      margin-bottom: 28px;
}

.checkbox-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: #111827;
  transition: all 0.25s ease;
}

/* hide native checkbox */
.checkbox-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* custom checkbox square */
.checkmark {
width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid #d1d5db;
    display: grid;
    place-items: center;
    transition: all 0.25s ease;
    position: relative !important;
    top: unset !important;
    left: unset !important;
    background-color: transparent !important;
}

/* check icon */
.checkmark::after {
  content: "✓";
  display: block;
  font-size: 12px;
  color: white;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

/* checked state */
.checkbox-card input:checked + .checkmark {
  background-color: #2563eb !important;
  border-color: #2563eb;
}

.checkbox-card input:checked + .checkmark::after {
  opacity: 1;
  transform: scale(1);
}

/* .checkbox-card input:checked + .checkmark::after {
  transform: rotate(45deg) scale(1);
} */

/* card highlight when checked */
.checkbox-card:has(input:checked) {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.05);
}


  @media only screen and (max-width: 993px){
        .wpcf7-checkbox, .wpcf7-radio {
            grid-template-columns: 1fr;
        }

        .about-wrapper {
                /* display: grid; */
                grid-template-columns: repeat(1, 1fr);
        }
  }