.survey-form input[type="email"]:focus,
.survey-form input[type="text"]:focus {
    border: 3px solid #394A60 !important;
    outline: none;
    margin: 1px 0 -2px !important;
    max-height: unset !important;
    padding-left: .6rem !important;
}

.survey-form .jet-form-builder__field-label:focus-within span::before {
    border-width: 3px !important;
    border-color: #394A60 !important;
    box-sizing: border-box;
}

.survey-form .jet-form-builder__field.checkradio-field[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #EAECEE;
    border: 1px solid #394A60;
    border-radius: 50%;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
}

.survey-form .jet-form-builder__field.checkradio-field[type="radio"]::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background-color: #394A60;

}

.survey-form .jet-form-builder__field.checkradio-field[type="radio"]:checked::before {
    transform: scale(1);
}

.jet-form-builder-row .error-message {
    display: none !important;
}

.jet-form-builder.was-validated .field-has-error .error-message,
.jet-form-builder.submitting .field-has-error .error-message {
    display: block !important;
}

.survey-form.was-validated .field-has-error .error-message {
    display: block !important;
    color: #E90725;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Roboto Flex";
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.68rem;
    margin-top: 10px;
}

.jet-form-builder-message {
    display: none;
}

.survey-form .jet-form-builder__field-wrap label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.survey-form .jet-form-builder__field-label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer;
    position: relative;
}

.survey-form .jet-form-builder__field-wrap label span::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    margin-right: 1.3rem;
    background-color: #EAECEE;
    color: #EAECEE;
    border: 1.5px solid #394A60;
    transition: all 0.2s ease;

}

.survey-form .jet-form-builder__field-wrap label .checkboxes-field+span::before {
    border-radius: 2px;
}

.survey-form .jet-form-builder__field-wrap label .radio-field+span::before {
    border-radius: 50%;
}

.survey-form .jet-form-builder__field-wrap label .checkboxes-field:checked+span::after {
    content: "";
    position: absolute;
    left: 4px;
    top: calc(50% - 3px) !important;
    transform: translateY(-50%) !important;
    width: 24.5px;
    height: 24.5px;
    background-image: url('/wp-content/uploads/2026/03/check-mark.png');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 2;
}

.survey-form .jet-form-builder__field-wrap label .radio-field:checked+span::after {
    content: "";
    position: absolute;
    left: 4.5px;
    width: 12px;
    height: 12px;
    background-color: #394A60;
    border-radius: 50%;
    z-index: 2;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.survey-form .jet-form-builder__field-wrap label input:checked+span::before {
    background-color: #EAECEE !important;
}

.jet-form-builder__fields-group {

    margin-left: 2.4rem;
}

.jet-form-builder__field-wrap.checkradio-wrap span {
    display: flex;
    align-items: center;
    position: relative;
}

.survey-form.was-validated .field-has-error .jet-form-builder__label-text,
.survey-form.was-validated .field-has-error .jet-form-builder__field-label span {
    color: #E90725 !important;
}

.survey-form.was-validated .field-has-error .jet-form-builder__field-wrap label span::before {
    border-color: #E90725 !important;
}

.survey-form .rank-wrap {
    margin-top: 5px;
}

.rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 2rem;
}

.rank-list li {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    margin-bottom: 0.7rem;
    margin-left: 1.4rem;
}

.rank-num {
    color: #000;
    font-family: Figtree;
    font-size: 2.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3.3rem;
    width: 2.4rem;
    text-align: right;
    flex: 0 0 auto;
}

.rank-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #394A60;
    padding: 1.1rem 0.6rem 0.9rem;
    border-radius: 2px;
    flex: 1;
    max-width: 56.2rem;
    margin-top: 0.5rem;
}

.rank-handle {
    cursor: grab;
    user-select: none;
    display: flex;
    align-items: center;
}

.rank-label {
    flex: 1;
    color: #000;
    font-family: Figtree;
    font-size: 2.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 3.3rem;
    margin-left: 4rem;
}

.rank-actions {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    margin-right: 1.7rem;
    margin-top: -0.3rem;
}

.rank-up,
.rank-down {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    border: 1px solid #AB0B7B;
    background: #fff;
    color: #AB0B7B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.rank-up:hover,
.rank-down:hover {
    border: 1px solid #AB0B7B;
}

.rank-list li.sortable-ghost .rank-box {
    opacity: 0.4;
    background: #f9f9f9;
}

.survey-form .jet-form-builder-row {
    padding: 8px 0;
}

.survey-form .jet-form-builder__field-wrap label {
    max-width: 90rem;
}

.survey-form .field-type-text-field {
    margin-top: 4.5rem;
}

.survey-form input[type="email"],
.survey-form input[type="text"] {
    margin-top: 0.3rem;
    min-height: 50px;
    line-height: 3.2rem !important;
}

.survey-form .custom-dropdown.age-dropdown:focus .selected {
    min-height: 48px;
}

.survey-form .custom-dropdown.age-dropdown .selected {
    min-height: 50px;
    padding: 1.4rem 2.2rem;
}

.survey-form .custom-dropdown.age-dropdown.dropdown-opened .selected {
    padding-top: 14px !important;
}

.space-mobile {
    display: none;
}

.survey-form.was-validated .field-has-error .jet-form-builder__field.text-field {
    border-color: #E90725 !important;
}

@media (max-width:767px) {

    .rank-box {
        /* 		max-width: 30rem; */
        overflow: hidden;
        padding: 0.8rem 0.8rem 0.8rem 0.8rem;
        gap: 0px;
        min-height: 5.9rem;
    }

    /* 	.survey-form .jet-form-builder__field-wrap label {
    max-width: 30rem;
} */
    .survey-form {
        overflow-x: hidden;
    }

    .survey-form .jet-form-builder-row {
        padding: 0.9rem 0;
    }

    .jet-form-builder__fields-group {
        margin-left: 1.5rem;
    }

    .survey-form .jet-form-builder__field-wrap label .radio-field+span::before {
        margin-right: 1.4rem;
    }

    .rank-list li {
        margin-left: 0;
        gap: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .rank-num {
        color: #000;
        font-family: Figtree;
        font-size: 1.8rem;
        font-style: normal;
        font-weight: 700;
        line-height: 2.7rem;
        width: 0.4rem;
        text-align: right;
        flex: 0 0 auto;
    }

    .rank-label {
        font-family: Figtree;
        font-size: 1.8rem;
        font-style: normal;
        font-weight: 400;
        line-height: 2.2rem;
        margin-left: 0.6rem;
    }

    .rank-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-right: 0.5rem;
        margin-top: -0.3rem;
    }

    .space-mobile {
        display: inline-block;
    }

    .survey-form .jet-form-builder__field-wrap.checkradio-wrap span {

        gap: 0px !important;
    }

    .survey-form .rank-wrap {
        margin-top: 12px;
    }

    .rank-list {

        margin-top: 1.2rem;
    }

    .survey-form .field-type-text-field {
        margin-top: 1.9rem;
    }

    .survey-form #zip_code {
        margin-top: 14px;
    }

    .survey-form .jet-form-builder__field-wrap label .checkboxes-field+span::before {
        border-radius: 2px;
    }

}

/* Age drop down */
/* Container */
.survey-form .custom-dropdown.age-dropdown {
    width: 100%;
    background-color: #EAECEE;
    border: 1.5px solid #394A60;
    border-radius: 4px;
    position: relative;
    font-weight: 700;
}

/* Header Text - Gray until selected */
.survey-form .custom-dropdown.age-dropdown .selected {
    padding: 12px 15px;
    color: #000;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Figtree;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 46px;
    padding-right: 55px;
}

.survey-form .custom-dropdown.age-dropdown.has-value .selected {
    color: #394A60;
}

/* The Pink Arrow Box */
/* 1. The Pink Box (Static) */
.survey-form .custom-dropdown.age-dropdown .selected::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45px;
    background-color: #A60067;
    border-radius: 0 3px 3px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. The Arrow Icon (Rotatable) */
/* We create a nested element logic using a background mask on a virtual element */
.survey-form .custom-dropdown.age-dropdown .selected::before {
    content: "";
    position: absolute;
    right: 2.2rem;
    top: calc(50% - 7.5px);
    width: 2.5rem;
    height: 1.1rem;
    background-color: #ffffff;
    z-index: 10;

    /* Apply your SVG as a mask */
    -webkit-mask-image: url('/wp-content/uploads/2026/03/up-arrow-age.svg');
    mask-image: url('/wp-content/uploads/2026/03/up-arrow-age.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;

    /* Default state: Pointing down */
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* 3. Rotate ONLY the arrow when opened */
.survey-form .custom-dropdown.age-dropdown.dropdown-opened .selected::before {
    transform: rotate(0deg);
}

/* The List Area */
.survey-form .custom-dropdown.age-dropdown .dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: -1.5px;
    /* Aligns with container border */
    width: calc(100% + 3px);
    background-color: #ffffff;
    border: 1.5px solid #394A60;
    border-top: none;
    max-height: 250px;
    overflow-y: auto;
    z-index: 999;
    border-top: 1px solid #394A60;
}

.survey-form .custom-dropdown.age-dropdown .dropdown-list.show {
    display: block;
}

/* Items */
.survey-form .custom-dropdown.age-dropdown .dropdown-item {
    padding: 10px 15px;
    border-bottom: 1px solid #394A60;
    color: #394A60;
    color: #000;
    font-family: Figtree;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 700;
    line-height: 4.6rem;
}

.survey-form .custom-dropdown.age-dropdown .dropdown-item:hover {
    background-color: #EAECEE;
}

/* Custom Dark Scrollbar */
.survey-form .custom-dropdown.age-dropdown .dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.note {
    padding: 8px 0;
}

.survey-form .custom-dropdown.age-dropdown .dropdown-list::-webkit-scrollbar-track {
    background: #D9D9D6;
}

.survey-form .custom-dropdown.age-dropdown .dropdown-list::-webkit-scrollbar-thumb {
    background: #3A4A60;
    border-radius: 4px;
}

.jet-form-builder__field-wrap:not(.checkradio-wrap) {
    width: 100%;
    max-width: 41.6rem;
}

.survey-form h3 {
    color: #394A60;
    font-family: Figtree;
    font-size: 2.8rem;
    font-style: normal;
    font-weight: 700;
    line-height: 4.2rem;
    margin-top: 5.6rem;
    margin-bottom: 1.8rem;

}

.survey-form .custom-dropdown.age-dropdown .selected {
    padding: 1.1rem 2.2rem;
    /* Reduced vertical padding from 12px to 6px */
    line-height: 2.2rem;
    /* Reduced line-height from 46px to 24px */
    padding-right: 5.5rem;
    /* Maintains space for the pink arrow box */
}

/* Adjust the Pink Arrow box height to match the new smaller height */
.survey-form .custom-dropdown.age-dropdown .selected::after {
    width: 6.7rem;
    height: 100%;
    /* Ensures pink box always fills the new parent height */
}

/* Re-center the arrow icon if you are using the ::before mask method */
.survey-form .custom-dropdown.age-dropdown .selected::before {
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    /* Keeps it perfectly centered vertically */
}

.survey-form .custom-dropdown.age-dropdown.dropdown-opened .selected::before {
    transform: translateY(-50%) rotate(0deg);
}

.page-id-12401 .survey-form .field-type-text-field {
    margin-top: 0.3rem;
}


.survey-form p.more-p {
    color: #000;
    font-family: Figtree;
    font-size: 2.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.64rem;
    margin-bottom: 1rem;
}

.page-id-12670 .survey-form h3 {
    color: #394A60;
    font-family: Figtree;
    font-size: 2.8rem;
    font-style: normal;
    font-weight: 700;
    line-height: 4.2rem;
    margin-top: 2.4rem;
    margin-bottom: 2.5rem;
}

/* pateint survery mobile */
@media (max-width: 767px) {


    .page-id-12401 .survey-form .jet-form-builder-row {
        padding: 9px 0;
    }

    .survey-form h3 {
        font-size: 2.2rem;
        line-height: 2.7rem;
    }

    .elementor-12401 .elementor-element.elementor-element-64c40676 .jet-form-builder__fields-group {
        gap: 21px 0rem;

    }



    

    .survey-form h3 {
        margin-top: 3.7rem;
        margin-bottom: 2.4rem;
    }

    .survey-form .custom-dropdown.age-dropdown .selected {
        padding: 1.2rem 1.5rem;

    }

    .survey-form .custom-dropdown.age-dropdown .selected::before {
        width: 2.5rem;
    }

    .page-id-12401 .survey-form .field-type-text-field {
        margin-top: 0.6rem;
    }

    .page-id-12401 .survey-form #zip_code {
        margin-top: -4px;
    }

    .page-id-12670 .survey-form h3 {
        font-size: 2.2rem;
        line-height: 2.7rem;
        margin-top: 2.9rem;
        margin-bottom: 2.9rem;
    }

    .survey-form p.more-p {
        font-size: 1.8rem;
        line-height: 2.2rem;
        margin-bottom: 0.5rem;
    }

    .elementor-12670 .elementor-element.elementor-element-64c40676 .jet-form-builder__fields-group {
        gap: 19px 0rem;
    }



    .page-id-12670 .survey-form .jet-form-builder-row {
        padding: 14px 0;
    }

    #isi-section.shortened .important-safety {
        margin-top: 3rem;
    }

    /* 	#isi-section.shortened .isi-text-thumb {
    margin-top: -14.5rem;
    gap: 0px;
} */
}

/* 1. Main container border (Matched to 1px) */
.survey-form .custom-dropdown.age-dropdown {
    width: 100%;
    background-color: #EAECEE;
    border: 1px solid #394A60;
    /* Changed from 2px to 1px */
    border-radius: 6px;
    position: relative;
    overflow: visible;
}

/* 2. The scrollable list styling */
.survey-form .custom-dropdown.age-dropdown .dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: -1px;
    /* Align with 1px container border */
    width: calc(100% + 2px);
    /* Matches the 1px thickness on both sides */
    background-color: #ffffff;
    border: 1px solid #394A60;
    border-top: none;
    /* Removes double line between field and list */
    border-radius: 0 0 6px 6px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 999;
}

/* 3. Handle the bottom corners when open */
.survey-form .custom-dropdown.age-dropdown.dropdown-opened {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* 4. SCROLLBAR BACKGROUND & THUMB */
.survey-form .custom-dropdown.age-dropdown .dropdown-list::-webkit-scrollbar {
    width: 10px;
}

.survey-form .custom-dropdown.age-dropdown .dropdown-list::-webkit-scrollbar-track {
    background-color: #EAECEE;
    border-radius: 0 0 6px 0;
}

.survey-form .custom-dropdown.age-dropdown .dropdown-list::-webkit-scrollbar-thumb {
    background-color: #394A60;
    border-radius: 10px;
    border: 2px solid #EAECEE;
}

/* 5. Item Hover effect */
.survey-form .custom-dropdown.age-dropdown .dropdown-item:hover {
    background-color: #ced4da;
}

/* 1. Base State (1px) */
.survey-form .custom-dropdown.age-dropdown {
    border: 1px solid #394A60;
    transition: border-width 0.05s ease;
    /* Smooth transition for the thickness */
}

.survey-form .custom-dropdown.age-dropdown .selected {
    padding: 1.4rem 2.2rem;
}

/* 2. Focus/Open State (2px) */
/* This triggers when the dropdown is open OR when clicked/tabbed into */
.survey-form .custom-dropdown.age-dropdown.dropdown-opened,
.survey-form .custom-dropdown.age-dropdown:focus {
    border: 2px solid #394A60;
    outline: none;
    /* Hide default browser outline */
}

.survey-form .custom-dropdown.age-dropdown.dropdown-opened,
.survey-form .custom-dropdown.age-dropdown:focus {
    border: 3px solid #394A60;
    outline: none;
    min-height: 50px;
    margin: -2px 0;
}

.survey-form .custom-dropdown.age-dropdown:focus .selected {
    min-height: 48px;
    padding: 1.3rem 2rem;
}

/* 3. Adjust the list alignment for the 2px border */
.survey-form .custom-dropdown.age-dropdown.dropdown-opened .dropdown-list {
    display: block;
    left: -2px;
    /* Moves left to align with the new 2px border */
    width: calc(100% + 4px);
    /* Expands to cover the 2px border on both sides */
    border: 2px solid #394A60;
    border-top: none;
}

/* 4. Fix the height jump */
/* Since border adds height, we adjust the selected padding slightly 
   when open to keep the text from jumping */
.survey-form .custom-dropdown.age-dropdown.dropdown-opened .selected {
    padding-top: 10px;
    /* 1px less than your base 6px */
    padding-bottom: 10px;
    border-bottom: 1px solid #394A60;
}


.survey-form .form-agree {
	font-family: Figtree, sans-serif;
    font-size: 2.2rem;
    line-height: 3.3rem;
	color: #000;
	
}
.survey-form .note{
	font-family: Figtree, sans-serif;
}
span.dynamic-required-star {
    margin-left: -5px;
}
.survey-form.was-validated .field-has-error .custom-dropdown.age-dropdown,
.survey-form.was-validated .field-has-error .custom-dropdown.age-dropdown.dropdown-opened .dropdown-list{
    border-color: rgb(233, 7, 37) !important;
	
}
.custom-dropdown.age-dropdown:focus.dropdown-opened .dropdown-list{
	border-width:3px;
}

.survey-form .wp-block-separator {
    border: none;
    border-top: 1px solid;
	border-color: #394A60;
	
}

.survey-form .dynamic-required-star {
    display: inline;
    position: relative;
    z-index: 1;
}
.survey-form .field-type-checkbox-field .checkboxes-wrap:has(input[name="privacy_notice_consent"]),
.survey-form .field-type-checkbox-field .checkboxes-wrap:has(input[name="opted_in"]){
    margin-left: -2rem;
}
.survey-form .checkboxes-wrap:has(input[name="opted_in"]) .jet-form-builder__field-label,
.survey-form .checkboxes-wrap:has(input[name="privacy_notice_consent"]) .jet-form-builder__field-label {
    align-items: flex-start !important;
}
.survey-form .checkboxes-wrap:has(input[name="opted_in"]) label {
    max-width: none !important;
}
.survey-form .checkboxes-wrap:has(input[name="opted_in"]) .checkboxes-field:checked + span::after,
.survey-form .checkboxes-wrap:has(input[name="opted_in"]) .checkboxes-field + span::before {
    top: 4px !important;
    transform: none !important;
}
.survey-form .checkboxes-wrap:has(input[name="opted_in"]) > label > span,
.survey-form .checkboxes-wrap:has(input[name="privacy_notice_consent"]) > label > span {
    align-items: flex-start !important;
    align-content: flex-start !important;
}
.survey-form .checkboxes-wrap:has(input[name="opted_in"]) .jet-form-builder__field-label.for-checkbox > span::before,
.survey-form .checkboxes-wrap:has(input[name="privacy_notice_consent"]) .jet-form-builder__field-label.for-checkbox > span::before {
    margin-top: 4px !important;
	position:relative;
}
@media (max-width:767px){
	.survey-form .field-type-checkbox-field .checkboxes-wrap:has(input[name="privacy_notice_consent"]),
	.survey-form .field-type-checkbox-field .checkboxes-wrap:has(input[name="opted_in"]){
    margin-left: -1.5rem;
	max-width: 34.5rem;
}
	.zip-code-top-padding{
		height:1.4rem !important;
	}
}
.form-agree a {
	color:rgb(171, 11, 123);
	text-decoration: underline;
}