/* ==========================================
   DISQUALIFY ALERT POPUP
   ========================================== */

.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.popup-overlay.active {
    display: flex;
}

.popup {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: popupFadeIn 0.2s ease;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.popup .close-popup {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 1.5rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
    font-weight: 400;
    transition: color 0.15s;
}

.popup .close-popup:hover {
    color: #333;
}

.popup .popup_heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.popup .cross_icon {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto 0.75rem;
}

.popup .popup_heading {
    flex-direction: column;
}

.popup .popup_text {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   1. GLOBAL WRAPPERS & LAYOUT
   ========================================== */
  
.full-center-wrapper {
    /* margin: 20px auto 40px; */
    width: 100%;
    padding: 20px 0 20px 0;
    width: 100%;
    background: #eef9ff;
    max-width: 100%;
    min-height: 100vh !important;
}

.content-slide {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* ==========================================
   2. TYPOGRAPHY & HEADERS
   ========================================== */
.content-header,
.ui-header {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.ui-header.size-xl {
    font-size: 2.2rem;
}

.content-subheader {
    font-size: 1.25rem;
    color: #2F8A63;
    font-weight: 600;
}

.ui-subheader {
    color: #1d1d1d;
    font-size: 17px;
    margin-bottom: 10px;
    text-align: left;
}
.ui-subheader span.span-qstn {
    margin-top: 10px;
    display: inline-block;font-size: 17px;
    
}
.span-qstn-custom{
    margin-top: 20px;
    font-size: 17px;
    font-weight: 600;
    color: black;
    text-align: left;
    margin-bottom: 13px;
}
/* .question-bmi .question-title{
        font-weight: 600;
} */
/* ==========================================
   3. RENDER TYPE: IMAGE GRID & CARDS
   ========================================== */
.options-grid,
.options-grid-checkbox {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:20px;
    margin-top: 2rem;
}
.gender-grid .option-card.image-card {
    width: 35%;
}
.gender-grid .option-card.image-card.selected{
        border: 2px solid #8edaff;
}
.gender-grid .option-card.image-card:hover{
    border: 2px solid #8edaff;
}
.gender-grid .option-image {
    height: auto;
    width: 54px;
}
.options-grid.gender-grid {
    display: flex;
    justify-content: center;
    gap: 11px;
}

.option-card.image-card {
   position: relative;
    border: 2px solid #e7e7e7;
    border-radius: 10px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    text-align: center;
}

.option-card.image-card:hover {
        /* background: #f1f1f1; */
        background-color: #fff;
         border: 2px solid #8edaff;
}

.option-card.image-card.selected {
    border: 2px solid #8edaff;
    background-color: #f1faff;
}

.option-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}
.options-list-vertical .option-label{
    font-size: 16px;font-weight: 400;
}
.option-label {
    color: #1a1a1a;
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
}

/* ==========================================
   4. RENDER TYPE: SIMPLE LIST (Vertical)
   ========================================== */
.options-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}
.options-list-vertical .list-item-row {
    text-align: left;
}


.list-item-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: 0.2s;
}
.list-item-row:hover{
    border-color: #8edaff;
}
.list-item-row.selected {
    border-color: #8edaff;
    background-color: #f1faff;
}
p.mt-3.sub-qstn-text {
    margin-top: 35px !important;
}
/* ==========================================
   5. SHARED INDICATORS (Squares & Circles)
   ========================================== */

/* Square Checkbox
.custom-square-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #dcdcdc;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
*/

/* Square Checkbox styled like Radio Circle */
.custom-square-checkbox {
    width: 19px;
    height: 19px;
    border: 2px solid #dcdcdc;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    font-size: 0;
    line-height: 0;
}

/* Radio Circle */
.custom-radio-circle {
    width: 19px;
    height: 19px;
    border:2px solid #dcdcdc;
    
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Hidden for Image Cards (Per your request) */
.option-card.image-card .custom-square-checkbox,
.option-card.image-card .custom-radio-circle {
    display: none !important;
}

/* Visible for standard lists */
.list-item-row .custom-square-checkbox,
.list-item-row .custom-radio-circle {
    display: flex;
}

/* Old selected square checkbox style
.selected .custom-square-checkbox {
    background-color: #8edaff;
    border-color: #8edaff;
    color: white;
}
*/

.selected .custom-square-checkbox {
    background-color: #6ac7f4;
    box-shadow: inset 0 0 0 3px #fff;
    border-color: #6ac7f4;
}
/*
.selected .custom-square-checkbox::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    left: 5px;
    top: 4px;
}

.selected .custom-square-checkbox::after {
    content: '✓';
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    left: 10px;
    top: 4px;
} */

.selected .custom-radio-circle {
    background-color: #6ac7f4;
    box-shadow: inset 0 0 0 3px #fff;
    border-color:  #6ac7f4;
}

/* ==========================================
   6. UNIFIED BOXED INPUTS (Matches image_f38f7d.png & image_f406eb.png)
   ========================================== */
.bmi-input-container {
    width: 100%;
    margin-top: 20px;
}

/* Container for Height labels and inputs */
.height-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

/* Each box/label pair */
.bmi-input-group,
.flex-fill {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.bmi-input-group label,
.flex-fill label {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
}

/* Boxed design for all inputs and selects */
.bmi-field,
.form-control-custom,
select,
input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border:2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #fff;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    box-sizing: border-box;
}

/* Placeholder color */
::placeholder {
    color: #ccc;
}

/* Select Arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.bmi-field:focus,
.form-control-custom:focus,
select:focus,
input:focus {
    border-color: #e0e0e0;
}

/* Center and space the weight field */
.weight-input-wrapper,
.mt-3 {
    width: 100%;
    margin-top: 20px;
}

/* ==========================================
   7. BUTTONS
   ========================================== */
.btn-next {
    background-color: #38b5e8;
    color: #fff;
    border: none;
    padding: 14px 38px;
    font-size: 19px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* margin-top: 20px; */
}

.btn-next-arrow {
    width: 18px;
    height: auto;
    flex-shrink: 0;
}

.btn-next:hover {
    background-color: #38b5e8;
    /* transform: translateY(-2px); */
}
.btn-back {
    margin-top: 10px;
    text-align: center;
    outline: none;
    border: 1px #f1f1f1 solid;
    background-color: #f1f1f1;
    border-radius: 24px;
    font-weight: 600;
}
.question-title{
    letter-spacing: -0.01em;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 2em;
    font-weight: 400 !important;
    line-height: 1.1;
    color: #212529;
    text-align: left;
}
.question-title h2{
    font-weight: 400 !important;
}
.question-title span, .question-title h3.sub-heading span{
    /* color: #02316e !important; */
        color: #3b789a !important;
    font-weight: 600 !important;
}
.question-title h3.sub-heading {
    font-size: 22px;
    line-height: 26px;
    font-weight: 600;
    text-align: left;
    margin: 0 0 10px;
}
input.bmi-field-underline::-webkit-outer-spin-button,
input.bmi-field-underline::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sub-heading {
    font-size: 22px;
    line-height: 26px;
    font-weight: 600;
    text-align: left;
    margin: 0 0 5px;
}
/* Firefox */
input.bmi-field-underline[type="number"] {
  -moz-appearance: textfield;
 
}
.weight-input-wrapper{
    position: relative;
}
.weight-input-wrapper:after{
    content: "lbs";
    position: absolute;
    right: 15px;
    top: 69%;
    transform: translateY(-50%);
    color: #000;
    font-size: 18px;
    pointer-events: none;
}
.ui-question{
    font-size: 2rem;
    color: #212529;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: none;
}
.sub-qstn-text, .bmi-label-inline {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 22px;
    color: #000;
}
.small_text{
    font-size: 15px;
    color: #5a5a5a;
    margin-top: 25px;
    text-align: left;
}
.bmi-display strong {
    color: #3b789a !important;
}
.dob-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
     margin-top: 10px;
}

.dob-group .form-control-custom {
    flex: 0 0 48.8%;
    max-width: 48.8%;
}
.question-title span.green{
    color: rgb(119, 157, 124) !important;
}
.question-dob::after {
  content: "You must be 18 or older to proceed";
  display: block;
  margin-top: 12px;
  margin-bottom: 12px;
font-size: 15px;
text-align: left;
color: #5a5a5a;
}
.disqualified-icon img{
    width: 70px;
}

.finalizing-wrap {
    text-align: left;
    padding: 24px 0;
}

.finalizing-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.finalizing-spinner {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.finalizing-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    color: #1f2b3d;
    font-weight: 700;
}

.finalizing-subtitle {
    margin: 0;
    color: #5f6b7a;
    font-size: 16px;
}

/* ==========================================
   8. MULTI-QUESTION PAGE GROUP STYLING
   ========================================== */

/* Container for multiple questions on same page */
.question-group-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px;
}

/* Individual question within a group */
.question-container {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fff;
}

/* Separator between grouped questions (optional visual divider) */
.question-container:not(:last-child) {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 25px;
    margin-bottom: 15px;
}

/* Spacing between question title and options within a group */
.question-container .question-title {
    margin-bottom: 15px;
}

/* Mobile responsiveness for grouped questions */
@media (max-width: 768px) {
    .question-group-container {
        gap: 20px;
    }

    .question-container {
        padding: 15px;
    }
}

.conditional-child-container {
    margin-top: 14px;
    padding-left: 14px;
    border-left: 2px solid #e8edf3;
}

.conditional-child-question {
    margin-top: 10px;
}
ul.overtime_list {
    display: inline-block;
    vertical-align: top;
    margin: 30px 0 0;
}
ul.overtime_list li {
    font-size: 17px;
    line-height: 22px;
    position: relative;
    text-align: left;
    padding: 0 0 0 20px;
    margin: 15px 0 0;
    color: #000;
}
ul.overtime_list li span {
    font-weight: 600;
}
ul.overtime_list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    background: #2F8A63;
    border-radius: 50%;
}
/* .question-block{
    margin-top: 20px;
} */
/* custom css */
.step4_sub_text {
    font-size: 16px;
    line-height: 20px;
    background: #f1faff;
    padding: 15px;
}
.graph_img {
    margin: 25px auto 0;
    max-width: 663px;
    width: 100%;
}
ul.step4_list {
    display: flex;
    display: -webkit-flex;
    background: #f1faff;
    position: relative;
    padding: 30px 0;
    margin: 35px 0 25px;
}
ul.step4_list:before {
    left: 0;
    border-right: 10px solid transparent;
}
ul.step4_list:after {
    right: 0;
    border-left: 10px solid transparent;
}
ul.step4_list li {
    padding: 0 30px;
    position: relative;
    width: 33.3%;
}
ul.step4_list li h3 {
    font-size: 26px;
    line-height: 30px;
    font-weight: 600;
    color: #4db1e1;
}
ul.step4_list li p {
    font-size: 15px;
    line-height: 20px;
    color: #4d4d4d;
    margin: 8px 0 0;
}
ul.step4_list li:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 84px;
    border-right: 1px solid #d0e6f2;
}
ul.step4_list li:last-child:after{border-right:none;}
.content-image-layout p.text-secondary {
    display: flex;
    flex-direction: column;
}
.sub_text {
    color: #1d1d1d;
    font-size: 17px;
    line-height: 24px;
    margin-bottom: 20px;
    text-align: left;
}
.testi_heading {
    padding: 0 34px;
}
.testi_text{
   font-size: 20px;
    line-height: 30px;
    color: #1d1d1d;
    margin: 15px auto 0;
    max-width: 570px;
    width: 100%;
}
.testi_text_full{
    max-width: 100%;
    width: 100%;
    font-size: 20px;
    line-height: 30px;
    color: #1d1d1d;
}
.testi_text span, .testi_text_full span {
    color: #4db1e1;
    font-weight: 600;
}
.shadow-image-list{
    padding: 45px 30px;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    /* margin: 30px 0 0; */
}
.shadow-list{
    display: inline-block;
    vertical-align: top;
    margin: 30px 0 0;
}
ul.shadow-list li
{
    font-size: 17px;
    line-height: 22px;
    position: relative;
    text-align: left;
    padding: 0 0 0 20px;
    margin: 12px 0 0;
    color: #000;
}
ul.shadow-list li span{
    font-weight: 600;
}
ul.shadow-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    background: #4db1e1;
    border-radius: 50%;
}
/* ---------- BENEFITS (two columns) ---------- */
.step14_bef_aft{
	display:flex;
	display:-webkit-flex;
	justify-content:space-between;
	margin:35px 0 0;
}
.step14_bef_aft_inr{
	width:48.3%;
}
.step14_bef_aft_inr p{
	font-size:18px;
	line-height:22px;
	font-weight:600;
	margin:0 0 10px;
}
.step14_bef_aft_inr img{
	max-width:343px;
	width:100%;
	margin:0 auto;
}
ul.step14_list{
	display:flex;
	display:-webkit-flex;
	flex-wrap:wrap;
	-webkit-flex-wrap:wrap;
	background:#f0f9fd;
	padding:30px;
	gap:20px 0;
	border-radius:10px;
	margin:40px 0 0;
}
ul.step14_list li{
	width:50%;
	font-size:18px;
	line-height:22px;
	color:#1d1d1d;
	text-align:left;
	background:url(../images/step14-tick.webp) left 5px no-repeat;
	background-size:18px; 
	padding:0 0 0 30px;
}
@media (max-width: 767px) {
    .step14_bef_aft{
        gap: 30px;
        flex-wrap: wrap;
        margin: 0px;
    }
    .step14_bef_aft_inr{
        width: 100%;
    }
    ul.step14_list li{
        width: 100%;
    }
    ul.step14_list{
        padding: 18px 15px;
    }
    .mainStepperWrapper {
    width: 100%;
    padding: 0 15px;
}
.options-grid, .options-grid-checkbox {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-top: 2rem;
}
.question-logo{
        width: 120px;
}

.question-block{
    margin-top: 0px;
}
.question-block.question-textarea {
    margin-top: 20px;
}
.question-title{
    font-size: 22px;
    margin-top: 0px;
}
ul.step4_list{
    flex-wrap: wrap;
}
ul.step4_list li {
    padding: 15px 0;
    width: 100%;
}
ul.step4_list li:after {
    border-bottom: 1px solid #d0e6f2;
    border-right: none;
    height: 1px;
    left: 30px;
    right: 30px;
    bottom: 0;
    top: auto;
}
.height-row{
    flex-direction: column;
}
.dob-group .form-control-custom{
    flex: 0 0 100%;
    max-width: 100%;
}
.bmi-display.mt-3 {
    margin-bottom: 18px; 
    color: #3b789a !important;
}
.ui-subheader{
    font-size: 16px;
}
.testi_heading {
    padding: 0 0px;
}
.testi_heading {
    padding: 0 0px;
    font-weight: 400;
}
.testi_text{
    font-size: 17px;
    line-height: 1.4;
    color: #1d1d1d;
    margin: 0px auto 0;
    max-width: 100%;
}
}
