/* Form Style */
[data-hsfc-id=Renderer].hsfc-Renderer, [data-hsfc-id=Renderer].hsfc-Renderer *, [data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RichText p {font-family: "Open Sans", Arial, Helvetica, sans-serif;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-Step .hsfc-Step__Content{padding: 0;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-Row{margin-bottom: 10px;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-TextInput, [data-hsfc-id=Renderer].hsfc-Renderer .hsfc-TextareaInput{font-family: "Open Sans", Arial, Helvetica, sans-serif; font-weight: 300; background-color: #fff !important; font-size: 16px; color: #403b37; border: 1px solid #e2e2e2 !important; border-radius: 0; padding: 10px 12px; height: 42px;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-TextInput:focus, [data-hsfc-id=Renderer].hsfc-Renderer .hsfc-TextareaInput:focus{border: 1px solid #3B99FC; box-shadow: none !important;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-TextInput:hover{box-shadow: none !important;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-TextareaInput{height: auto;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-FieldLabel {font-family: "Open Sans", Arial, Helvetica, sans-serif; font-size: 14px; margin: 0 0 3px !important; text-align: left;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-ErrorAlert {font-family: "Open Sans", Arial, Helvetica, sans-serif; font-size: 14px; text-align: left;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-NavigationRow__Buttons{justify-content: flex-start !important;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-NavigationRow__Buttons .hsfc-Button{background-color: transparent !important; color: #3a93d1 !important; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; line-height: 24px; padding: 0.5rem 2rem; margin-bottom: 0 !important; border-radius: 5px; border: 1px solid #3a93d1 !important;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-NavigationRow__Buttons .hsfc-Button:hover{background-color: #3a93d1 !important; color: #fff !important;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-PhoneInput__FlagAndCaret{height: 42px; background-color: #ffffff; border-color: #e2e2e2 !important;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-DropdownOptions {font-family: "Open Sans", Arial, Helvetica, sans-serif; text-align: left;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-DropdownOptions__Search .hsfc-TextInput {border: 1px solid #ccc;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-NavigationRow {margin-top: 30px;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-Step--layoutTemplate-top>.hsfc-Step__Banner{height: auto;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RichText p + br{display: none;}
[data-hsfc-id=Renderer] .hsfc-CheckboxField label>span{font-size: 16px;}
.mw-600-html{max-width: 560px; width: 100%; margin: auto;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RadioFieldGroup__Options{margin-top: 7px;}
/* 1. Visually hide the default radio input */
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RadioFieldGroup__Options .hsfc-RadioInput {
    /* Standard method to hide an element while keeping it accessible and tabbable */
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
}

/* 2. Style the custom radio button look using the <span> element */
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RadioFieldGroup__Options .hsfc-FieldLabel span {
    /* Make the span a container for the custom circle */
    display: inline-block;
    position: relative;
    padding-left: 30px; /* Space for the custom circle */
    cursor: pointer;
    line-height: 20px; /* Aligns the text with the custom circle */
}

/* 3. Create the custom outer circle (the unchecked state) */
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RadioFieldGroup__Options .hsfc-FieldLabel span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px; /* Size of the custom circle */
    height: 20px;
    border: 2px solid #ccc; /* Border color */
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.2s ease;
}

/* 4. Create the inner circle (the checked state) */
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RadioFieldGroup__Options .hsfc-FieldLabel span::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: 8px; /* Size of the inner dot */
    height: 8px;
    border-radius: 50%;
    background-color: #0e73b6; /* Color of the inner dot (e.g., blue) */
    /* Start hidden (scale(0)) and transition it in when checked */
    transform: scale(0);
    transition: transform 0.2s ease;
    /* width: 12px;
    height: 12px;
    transform: scale(0);
    transition: transform 0.2s ease;
    background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2015%2016%22%20fill%3D%22%230e73b6%22%3E%3Cpath%20d%3D%22M1.013%208.11c0-.223.078-.412.234-.568l1.14-1.14c.155-.155.345-.233.568-.233s.413.077.57.233l2.46%202.47%205.492-5.5c.156-.156.346-.234.568-.234.224%200%20.413.077.57.233l1.138%201.14c.156.155.234.345.234.568%200%20.224-.078.414-.234.57l-6.06%206.06-1.14%201.14c-.155.155-.345.233-.568.233s-.413-.078-.57-.234l-1.138-1.14-3.03-3.03c-.156-.156-.234-.346-.234-.57z%22%2F%3E%3C%2Fsvg%3E);
    background-size: 12px; */
}

/* 5. State Change: When the HIDDEN radio input is checked, apply styles to the next sibling's SPAN */
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RadioFieldGroup__Options .hsfc-RadioInput:checked + span::before {
    border-color: #0e73b6; /* Change border color on check */
}

[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RadioFieldGroup__Options .hsfc-RadioInput:checked + span::after {
    transform: scale(1); /* Reveal the inner dot */
}

/* 6. Optional: Hover State */
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RadioFieldGroup__Options .hsfc-RadioInput:not(:checked):hover + span::before {
    border-color: #999;
}

[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RadioFieldGroup__Options .hsfc-FieldLabel span > span{padding: 0;}

[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RadioFieldGroup__Options .hsfc-FieldLabel span > span::before, [data-hsfc-id=Renderer].hsfc-Renderer .hsfc-RadioFieldGroup__Options .hsfc-FieldLabel span > span::after{
    display: none;
}

[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-CheckboxField label>input.hsfc-CheckboxInput{width: 20px; height: 20px !important; border: 2px solid #cccccc !important;}
[data-hsfc-id=Renderer].hsfc-Renderer .hsfc-CheckboxField label>input.hsfc-CheckboxInput:checked:after {
   background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2015%2016%22%20fill%3D%22%230e73b6%22%3E%3Cpath%20d%3D%22M1.013%208.11c0-.223.078-.412.234-.568l1.14-1.14c.155-.155.345-.233.568-.233s.413.077.57.233l2.46%202.47%205.492-5.5c.156-.156.346-.234.568-.234.224%200%20.413.077.57.233l1.138%201.14c.156.155.234.345.234.568%200%20.224-.078.414-.234.57l-6.06%206.06-1.14%201.14c-.155.155-.345.233-.568.233s-.413-.078-.57-.234l-1.138-1.14-3.03-3.03c-.156-.156-.234-.346-.234-.57z%22%2F%3E%3C%2Fsvg%3E);
}