/* =======================================
   📋 Multi-Step Flow Form Styles
========================================== */

/* Form Container */
.outer_elementWrap .elementWrap input {
    width: 100%;
}

.buttonWrapper button {
    width: 100%;
}

#help-info {
    margin-top: 24px;
    padding: 0px 10px 0px 10px;
    width: 100%;
}

/* Progress Indicator */
.form-indicator.mx-auto {
    max-width: 650px;
    margin: auto;
    width: 100%;
    padding: 20px 0px 0px;
}

.form-indicator .bar-frame {
    border-radius: 12px;
    background-color: #e5e7eb;
    font-size: 15px;
    line-height: 18px;
    height: 26px;
    color: transparent;
    padding-right: 0;
    overflow: hidden;
    position: relative;
}

.form-indicator .form-responses {
    font-size: 16px;
    line-height: 1;
    color: #687280;
    margin: 10px 0 0;
    padding-right: 12px;
    height: 18px;
}

.form-indicator .bar-frame .progress-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    z-index: 0;
    width: 100%;
}

.form-indicator .bar-frame .progress {
    height: 25px;
    background-color: var(--primary) !important;
    border-radius: 12px;
    transition: width 0.3s ease-in-out;
}

.form-indicator .bar-frame .checked-question {
    position: relative;
    display: inline-block;
    transition: all 0.5s ease-in-out;
    color: #ffffff;
    cursor: pointer;
}

/* Progress Step Widths */
.form-indicator .bar-frame .zip_new,
.form-indicator .form-responses .response-zip_new {
    min-width: 20%;
}

.form-indicator .bar-frame .gender_new,
.form-indicator .form-responses .response-gender_new {
    min-width: 20%;
}

.form-indicator .bar-frame .age_new,
.form-indicator .form-responses .response-age_new {
    min-width: 20%;
}

.form-indicator .bar-frame .coverage_new,
.form-indicator .form-responses .response-coverage_new {
    min-width: 40%;
}

/* Annuity flow progress step widths */
.form-indicator .bar-frame .retirement_new,
.form-indicator .form-responses .response-retirement_new {
    min-width: 20%;
}

.form-indicator .bar-frame .priority_new,
.form-indicator .form-responses .response-priority_new {
    min-width: 20%;
}

.form-indicator .bar-frame .search_new,
.form-indicator .form-responses .response-search_new {
    min-width: 20%;
}

.form-indicator .bar-frame .savings_new,
.form-indicator .form-responses .response-savings_new {
    min-width: 20%;
}

.form-indicator .bar-frame .form_new,
.form-indicator .form-responses .response-form_new {
    min-width: 20%;
}

.form-indicator .bar-frame .items-wrapper > div {
    padding: 3px 2px;
    text-align: center;
}

.form-indicator .bar-frame .checked-question.zip_new,
.form-indicator .bar-frame .checked-question.retirement_new {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.form-indicator .bar-frame .items-wrapper > div.not-mac-os {
    padding: 3px 2px;
}

.form-indicator .bar-frame .checked-question.noAnimation {
    transition: all 0s ease-in !important;
}

.form-indicator .form-responses {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    padding-right: 0;
}

.items-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    text-transform: uppercase;
}

/* Step Animations */
@keyframes rightToCenter {
    0% {
        transform: translateX(1500px);
    }
    100% {
        transform: translateX(0px);
    }
}

@keyframes leftToCenter {
    0% {
        transform: translateX(-1500px);
    }
    100% {
        transform: translateX(0px);
    }
}

.slideLeft {
    transform: translateX(-1500px);
    transition: all 0.5s ease-in-out;
}

.slideNextQAppearence {
    animation: rightToCenter ease-in-out 0.5s;
}

.slidePrevQAppearence {
    animation: leftToCenter ease-in-out 0.5s;
}

.slideRight {
    transform: translateX(1500px);
    transition: all 0.5s ease-in-out;
}

/* Title Styling */
.flow_calc_title {
    font-size: 19px;
    line-height: 34px;
    color: var(--primary);
    font-weight: 700;
    padding-top: 40px;
    text-align: center;
    color: #204c4b;
    margin-bottom: 0px;
    line-height: 130%;
}

.flow_calc_mobi {
    font-size: 18px;
    line-height: 22px;
    color: var(--primary);
    font-weight: 700;
    padding-top: 18px;
    text-align: center;
}

/* Option Cards (Radio/Checkbox Selection Cards) */
.option-cards {
    display: grid;
    text-align: center;
    gap: 15px;
    margin: 0;
    min-height: auto;
    height: auto;
}

.option-cards.twoWide {
    grid-template-columns: repeat(2, 1fr);
}

.option-cards.fourWide {
    grid-template-columns: repeat(4, 1fr);
}

.option-cards .option-card:checked + label,
.option-cards label {
    min-height: 75px;
    height: 85px;
}

.option-cards input[type="radio"],
.option-cards input[type="checkbox"] {
    display: none;
}

.option-cards label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 10px 20px;
    min-height: 100px !important;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.option-cards label:hover {
    border-color: #006d6f;
    background: #f8fafa;
    transform: none;
}

.option-cards input[type="radio"]:checked + label,
.option-cards input[type="checkbox"]:checked + label {
    border-color: #006d6f;
    background: #e8f4f4;
}

.option-cards label span {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive for option-cards */
@media (max-width: 768px) {
    .option-cards.fourWide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .option-cards.fourWide {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .option-cards.twoWide {
        grid-template-columns: repeat(2, 1fr);
    }
}

.innerWrapper.ageQuestion,
.innerWrapper.coverageQuestion,
.innerWrapper.priorityQuestion,
.innerWrapper.searchQuestion,
.innerWrapper.savingsQuestion {
    margin-bottom: 40px;
}

.marginTop {
    margin-top: 10px;
}

/* Form Element Wrapper */
.outer_elementWrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.outer_elementWrap .elementWrap {
    width: 100%;
    max-width: 425px;
    padding: 0px;
    margin: 0 auto;
    margin-bottom: 25px;
    position: relative;
}

/* Input Styling */
.innerWrapper input[type="text"],
.innerWrapper input[type="email"],
.innerWrapper input[type="tel"],
.innerWrapper input[type="number"] {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
    width: 100%;
    padding: 0.375rem 1.875rem 0.375rem 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    height: 40px;
    background-color: #f3f4f6;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.innerWrapper input[type="text"]:hover,
.innerWrapper input[type="text"]:focus,
.innerWrapper input[type="email"]:hover,
.innerWrapper input[type="email"]:focus,
.innerWrapper input[type="tel"]:hover,
.innerWrapper input[type="tel"]:focus,
.innerWrapper input[type="number"]:hover,
.innerWrapper input[type="number"]:focus {
    border-color: #8fbc8f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Button Wrapper */
.customer-info .buttonWrapper {
    max-width: 500px;
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    padding: 0px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.customer-info #continue_btn {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
}

/* Continue Button */
#continue_btn {
    height: 68px;
    background-color: var(--cta-primary);
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: none;
}

#continue_btn:hover {
    background-color: var(--cta-hover);
}

/* Dropdown Container */
.flow-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Dropdown Styling */
.flow-dropdown {
    font-size: 18px;
    line-height: 1.5;
    height: 45px;
    padding: 0.375rem 2.5rem 0.375rem 12px;
    margin: 0;
    font-weight: 400;
    transition: all 0.4s;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background-color: #f3f4f6;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.flow-dropdown:hover,
.flow-dropdown:focus {
    border-color: #8fbc8f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Dropdown Checkmarks - Green and properly positioned */
.select_check,
.zip-checkmark,
.age-checkmark,
.coverage-checkmark,
.priority-checkmark,
.search-checkmark,
.savings-checkmark {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #28a745;
    pointer-events: none;
    display: none;
    z-index: 1;
}

.select_check i,
.zip-checkmark i,
.age-checkmark i,
.coverage-checkmark i,
.priority-checkmark i,
.search-checkmark i,
.savings-checkmark i {
    color: #28a745;
}

/* Zip input checkmark positioning */
.zip-check-wrapper {
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
}

.zip-checkmark {
    right: 12px;
}

/* Form input checkmarks */
.outer_elementWrap .elementWrap .frm_checkmark {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #28a745;
    pointer-events: none;
    display: none;
}

.outer_elementWrap .elementWrap .frm_checkmark i {
    color: #28a745;
}

/* Final Step Styling */
.finalStep {
    font-size: 20px;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    height: auto;
    margin: 0;
    margin-bottom: 5px;
}

.finalStep .final-step-username {
    margin: 0 !important;
}

.final-sub {
    font-size: 19px;
    text-align: center;
    font-weight: 600;
    padding: 0;
    text-transform: none;
    width: 100%;
    margin: 0 auto;
    line-height: 1.2;
    max-width: 350px;
    margin-bottom: 20px;
}

.outer_elementWrap .elementWrap input {
    margin: 0;
}

.wrapper.page.customer-info .error_message {
    font-size: 13px;
    margin: 11px 0 0px 0;
}

.nws_letter_ar {
    margin-top: 15px;
}

div.helpText,
label.helpText {
    line-height: 16px;
    margin-bottom: 0;
}

#rubkapp {
    min-height: auto !important;
}

/* Step Buttons */
.steps_btn {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    padding: 40px 0 20px 0;
    margin-top: auto;
}

.steps_btn img {
    width: 14px;
    height: 14px;
}

.steps_btn > div {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.5s;
    display: none;
    font-size: 17px;
}

.steps_btn > div.vibible_button {
    display: flex;
}

.steps_btn .next_otter img {
    margin-left: 5px;
    margin-right: 10px;
    position: relative;
    transition: all 0.5s;
}

.steps_btn .prev_ottr img {
    margin-right: 5px;
    position: relative;
    transition: all 0.5s;
    margin-left: 10px;
}

.steps_btn > div.disabled {
    opacity: 0.4;
    cursor: default;
}

.steps_btn .next_otter.disabled img {
    margin-left: 5px !important;
    margin-right: 10px !important;
}

.steps_btn .prev_ottr.disabled img {
    margin-left: 10px !important;
    margin-right: 5px !important;
}

.cPointer {
    transition: all 0.5s;
}

.prev_ottr:hover .cPointer,
.next_otter:hover .cPointer {
    color: #8fbc8f !important;
}

.prev_ottr:hover img {
    margin-left: 0;
    margin-right: 5px;
}

.next_otter:hover img {
    margin-right: 0;
    margin-left: 5px;
}

@media screen and (min-width: 1024px) {
    .prev_ottr:hover img {
        margin-left: 0;
        margin-right: 15px;
    }

    .next_otter:hover img {
        margin-right: 0;
        margin-left: 15px;
    }
}

@media screen and (max-width: 767px) {
    .steps_btn > div {
        font-size: 15px;
    }
}

/* Form Wrapper */
#formWrap {
    height: auto;
    min-height: auto;
    max-width: 650px;
    padding: 0px 20px;
    width: 100%;
}

.form-indicator.mx-auto {
    padding: 20px 20px 0px;
    padding-top: 28px !important;
}

#slide-wrapper {
    height: 100%;
}

#formWrap .main_steps {
    min-height: auto !important;
    max-height: none;
    height: auto !important;
    margin-top: 28px;
    margin-bottom: 0;
    padding: 40px 20px;
    background-color: var(--white, #fff);
    box-shadow: 0 2px 20px -5px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 48vh;
    max-height: 52vh;
    border-bottom: 0px solid #eaecec;
    padding-bottom: 1rem;
    overflow: hidden;
}

.innerWrapper {
    margin-top: 0;
}

.zip-check-wrapper input {
    margin-top: 0;
    margin-bottom: 0;
}

.flow-title,
.zipQuestion label,
.ageQuestion label,
.coverageQuestion label,
.retirementQuestion label,
.priorityQuestion label,
.searchQuestion label,
.savingsQuestion label,
.genderQuestion label,
.final-step-username {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #204c4b;
}

.age-check-wrapper,
.coverage-check-wrapper,
.priority-check-wrapper,
.search-check-wrapper,
.savings-check-wrapper {
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
}

/* Icon Wrapper */
.icon-soft-skeuo-wrapper {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    border-radius: 12px;
    margin-bottom: 8px;
}

.icon-soft-skeuo-wrapper svg {
    width: 24px;
    height: 24px;
    stroke: #006d6f;
}

/* Response Transitions */
.form-responses > div {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-responses > div.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Step Visibility */
.customer-info.current_visiblediv .flow_calc_title {
    display: none;
}

/* Responsive Design */
@media (min-width: 799px) {
    .final-sub {
        font-size: 22px;
        text-align: center;
        font-weight: 600;
        padding: 0;
        text-transform: none;
        width: 100%;
        margin: 0 auto;
        line-height: 1.3;
        max-width: 400px;
    }

    .customer-info .input {
        clear: both;
        border: 1px solid var(--accent);
        font-size: 22px;
        background: #fafafa;
        margin-bottom: 20px;
        padding: 10px;
        height: 60px;
        font-weight: 500;
        text-align: left;
        width: 300px;
    }
}

@media (max-width: 798.98px) {
    .label-mobi {
        color: var(--primary);
        text-align: center;
        display: inline-block;
        font-size: 1.6rem;
        font-weight: 800;
        margin: 30px 0px 10px 0px;
        padding-top: 3px;
    }

    .label-mobi-2 {
        color: var(--primary);
        text-align: center;
        display: inline-block;
        font-size: 1.6rem;
        font-weight: 800;
        margin: 30px 0px 20px 0px;
        padding-top: 3px;
    }

    .label-mobi-3 {
   color: var(--primary);
    text-align: center;
    display: block;   /* ← changed */
    width: 100%;      /* ← added */
    font-size: 1.6rem;
    font-weight: 800;
    margin: 30px 0px 10px 0px;
    padding-top: 3px;
    }

    .innerWrapper {
        background-color: transparent;
        border: 1px solid transparent;
        border-radius: 3px;
        display: inline-block;
        max-width: 480px;
        padding: 5px;
        width: 100%;
    }

    #rubkapp {
        display: flex;
        flex-direction: column;
        position: relative;
        min-height: 55vh;
    }
}

@media screen and (max-width: 767px) {
    .form-indicator.mx-auto {
        padding: 10px 10px 0px;
    }

    #formWrap {
        padding: 0px 10px;
    }

    #formWrap .main_steps {
        margin-top: 20px;
        padding: 30px 10px;
    }
}

@media (max-width: 575px) {
    .items-wrapper div {
        font-size: 13px;
    }

    .form-indicator.mx-auto {
        padding: 0px 0px 0px;
    }

    #formWrap {
        padding: 0px 0px;
    }
}

@media (max-width: 767.98px) {
    .modal-title-ldr {
        margin: 0px 0px 40px 0px !important;
    }
}

@media (max-width: 450px) {
    .form-responses div {
        font-size: 13px;
    }
}

/* Keating - Loading Overlay Styles */
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 109, 111, 0.4);
    display: inline-block;
    flex-shrink: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.status-dot.loading {
    animation: blink 1s infinite;
}

.status-dot.complete {
    background-color: #006d6f;
    animation: none;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.9);
    }
}

.final-dot {
    width: 16px;
    height: 16px;
    background-color: rgba(0, 179, 109, 0.1);
    border: 2px solid rgba(0, 179, 109, 0.3);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
    opacity: 0.3;
}

.final-check-text {
    font-weight: 400;
    color: #666;
    opacity: 0.3;
    transition: color 0.4s ease, font-weight 0.4s ease, opacity 0.5s ease;
}

.final-step.complete .final-dot {
    background-color: #0db36d;
    border-color: #0db36d;
    opacity: 1;
    transform: scale(1.2);
}

.final-step.complete .final-check-text {
    color: #0db36d;
    font-weight: 600;
    opacity: 1;
}

#final-step.visible {
    opacity: 1;
}

.final-step {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.status-text {
    opacity: 0.3;
    color: #214c4b;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    transition: opacity 0.4s ease;
}

#pop_name,
#pop_age,
#pop_zip,
#pop_coverage {
    font-weight: 800;
}

li.complete .status-text {
    opacity: 1;
}

.final-check-wrapper {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.final-check-icon {
    width: 28px;
    height: 28px;
    filter: grayscale(100%) brightness(0.5);
    transition: filter 0.5s ease, transform 0.3s ease;
}

.final-step.complete .final-check-icon {
    filter: none;
    transform: scale(1.1);
}

.secure-message i {
    color: #006d6f;
}

#custom-loading-overlay {
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    max-width: calc(100% - 15px);
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

.custom-progress-bar {
    background-color: rgba(235, 176, 40, 1) !important;
}

#custom-loading-overlay .fa-shield-heart {
    animation: pulse 1.5s infinite;
}

#custom-loading-overlay ul {
    padding-left: 0;
}

#custom-loading-overlay .secure-list {
    padding-left: 0;
    margin-bottom: 1rem;
}

#custom-loading-overlay .secure-list li i {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#custom-loading-overlay .secure-list li:hover i {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(0, 109, 111, 0.2);
}

#custom-loading-overlay .secure-list li {
    display: flex;
    align-items: center;
    text-align: left;
    width: 100%;
    padding: 2px 0px;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2b3534;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#custom-loading-overlay .secure-message {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.logo-modal {
    float: none;
    margin-top: 15px;
    width: 150px;
}

.more-pd {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.medium-pd {
    max-width: 540px;
    width: 100%;
    margin: -20px auto 10px auto;
}

.modal-title-ldr {
    font-weight: 500 !important;
    color: #154140;
    text-align: center;
    line-height: 1.3;
    display: inline-block;
    font-size: 1.3rem;
    margin: 10px 0;
    max-width: 480px;
    width: 100%;
    padding-top: 3px;
    text-transform: none;
}

#custom-loading-overlay .secure-message span {
    font-weight: 600;
    padding: 0px 3px;
}

#custom-loading-overlay .secure-message i {
    color: #006d6f;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

#custom-loading-overlay .check-icon-wrapper {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(0, 109, 111, 0.1);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 1rem !important;
    position: relative;
    overflow: visible;
}

#custom-loading-overlay .check-icon-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.full-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 100vh;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulse0112 {
    0%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 799px) {
    #custom-loading-overlay .secure-list li .status-text,
    #custom-loading-overlay .secure-list li .final-check-text,
    #custom-loading-overlay .secure-list li {
        text-align: left;
    }
}

@media (max-width: 575px) {
    #custom-loading-overlay .secure-message {
        font-size: 0.7rem;
    }

    #custom-loading-overlay .secure-list li {
        font-size: 0.9rem;
    }
}

/* Newsletter Box */
.newsletter-box {
    padding: 10px;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.newsletter-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 12px;
}

.newsletter-body-ottr {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.newsletter-body-ottr img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 12px;
}

.newsletter-body {
    font-size: 13px;
    line-height: 1.5;
    color: #1f3733;
}

.newsletter-body strong {
    font-weight: 600;
}

.newsletter-body span {
    font-size: 12px;
}

.newsletter-check {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #4caf50;
    border-radius: 50%;
    padding: 6px;
}

.newsletter-check img {
    width: 20px;
    height: 20px;
    display: block;
}

.newsletter-footer {
    margin-top: 24px;
    font-size: 12px;
    padding-left: 2px;
    color: #777;
}

.newsletter-header strong {
    width: calc(100% - 25px);
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    color: #000;
}

.newsletter-header b {
    font-weight: 600;
}

.checkbox-container {
    width: 20px;
    height: 16px;
    padding: 0;
    margin: 0 !important;
    display: block;
    position: relative;
    padding-left: 0px;
    margin-bottom: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 100% !important;
    width: 100% !important;
    padding: 0;
    margin: 0;
}

.checkbox-container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 14px;
    width: 14px;
    border: none;
    background-color: transparent;
    border-radius: 2px;
    border: 1px solid #666;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #666 !important;
}

.checkbox-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark::after {
    left: 3px;
    top: -2px;
    width: 6px;
    height: 12px;
    border: solid rgba(255, 255, 255, 1);
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

@media screen and (max-width: 575px) {
    .newsletter-header strong {
        font-size: 12px;
    }

    .newsletter-body {
        font-size: 13px;
        line-height: 1.4;
        width: calc(100% - 41px);
    }

    .newsletter-footer {
        font-size: 11px;
    }
}

/* Form Bar Background */
.form-indicator .bar-frame {
    background-color: #def1f1;
}

#body.qw {
    background: #f8f8f8;
}

@media (min-width: 799px) {
    form {
        width: auto;
    }
}

#form-container {
    flex: 1 0 auto;
}
