/* v5 single-step registration layout */
body.pp-quizmaker {
    overflow-x: hidden;
}

body.pp-quizmaker section {
    overflow-x: hidden;
    max-width: 100%;
}

body.pp-quizmaker .container {
    width: 100%;
    max-width: 1120px;
    box-sizing: border-box;
}

body.pp-quizmaker .progress-wrap {
    display: none !important;
}

body.pp-quizmaker .fullWrapper {
    align-items: flex-start;
    box-shadow: none;
    background: transparent;
    max-width: 100%;
    box-sizing: border-box;
}

body.pp-quizmaker .fullWrapper .register-section,
body.pp-quizmaker .client-section {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 5px 5px rgba(20, 55, 80, 0.12);
    box-sizing: border-box;
}

body.pp-quizmaker .fullWrapper .register-section {
    flex: 1 1 calc(70% - 16px);
}

body.pp-quizmaker .client-section {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    flex: 0 0 calc(30% - 16px);
    max-width: calc(30% - 16px);
    overflow: hidden;
    margin: 0;
}

body.pp-quizmaker .client-test {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 2vh 0;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

body.pp-quizmaker .client-test .customer-div {
    width: 80%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    overflow: hidden;
}

body.pp-quizmaker .client-test .test-div1 {
    position: relative;
    overflow: hidden;
}

body.pp-quizmaker .client-test .txt2 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body.pp-quizmaker #step1.signup-layout-ready .signup-group {
    position: relative;
    border: 1px solid #E3E3E3;
    border-radius: 10px;
    padding: 11px 20px 4px;
    margin-bottom: 28px;
    margin-top: 20px;
    background: #fff;
}

body.pp-quizmaker .signup-group-title {
    position: absolute;
    top: -11px;
    left: 16px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #434343;
    line-height: 20px;
    margin: 0;
    padding: 0 8px;
    background: #fff;
}

body.pp-quizmaker .required-mark {
    color: #ff0000;
    padding-left: 2px;
}

body.pp-quizmaker .field-optional {
    font-size: clamp(0.75rem, 0.85rem, 0.938rem);
    color: #686868;
    font-weight: 400;
}

body.pp-quizmaker #step1.signup-layout-ready .signup-group,
body.pp-quizmaker #step1 .field-control h3 {
    overflow: visible;
}

body.pp-quizmaker .field-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 4px;
    cursor: help;
    outline: none;
    z-index: 2;
}

body.pp-quizmaker .field-tooltip-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 11px;
    height: 11px;
    margin-left: 0px;
    border: 1px solid #7b8799;
    border-radius: 50%;
    color: #68748a;
    font-size: 8px;
    font-weight: 700;
    line-height: 10px;
    cursor: help;
    vertical-align: 1px;
}

body.pp-quizmaker .field-tooltip-text {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    max-width: 240px;
    padding: 10px 12px;
    background: #1a1a1a;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    font-family: 'Roboto', sans-serif;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 200;
    pointer-events: none;
}

body.pp-quizmaker .field-tooltip-text::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #1a1a1a;
}

body.pp-quizmaker .field-tooltip:hover .field-tooltip-text,
body.pp-quizmaker .field-tooltip:focus .field-tooltip-text,
body.pp-quizmaker .field-tooltip:focus-visible .field-tooltip-text {
    visibility: visible;
    opacity: 1;
}

body.pp-quizmaker .field-tooltip:focus-visible .field-tooltip-icon {
    box-shadow: 0 0 0 2px rgba(24, 112, 213, 0.35);
}

.common-field
{
    margin-top: 14px;
}

body.pp-quizmaker .field-control h3 {
    font-size: 16px;
    margin: 0 0 8px;
    color: #4d4d4d;
    line-height: 17px;
    font-weight: 500;
}

body.pp-quizmaker .field-control p {
    margin: 0 0 6px;
    font-size: 13px;
    color: #686868;
    line-height: 18px;
}

body.pp-quizmaker .field-control input,
body.pp-quizmaker .field-control textarea,
body.pp-quizmaker .select-box select,
body.pp-quizmaker .dial_code,
body.pp-quizmaker .dropdown.product-interest .dropdown-select {
    height: 40px;
    line-height: 38px;
    border-radius: 10px;
    border: 1px solid #D5D5D5;
    font-size: 14px;
}

body.pp-quizmaker .field-control textarea {
    min-height: 80px;
    line-height: 20px;
    padding: 10px 12px;
    resize: vertical;
    font-family: 'Roboto', sans-serif;
}

body.pp-quizmaker .field-control input.error_req,
body.pp-quizmaker .field-control textarea.error_req,
body.pp-quizmaker .select-box select.error_req,
body.pp-quizmaker .dial_code.error_req,
body.pp-quizmaker .dropdown.product-interest .dropdown-select.error_req {
    border: 1px solid #F46464 !important;
}

body.pp-quizmaker .field-control input::placeholder,
body.pp-quizmaker .field-control textarea::placeholder {
    color: #757575;
    opacity: 1;
}

body.pp-quizmaker .select-box select.placeholder-active,
body.pp-quizmaker .dial_code.placeholder-active {
    color: #757575;
}

body.pp-quizmaker #step1 .essentials-top-row {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

body.pp-quizmaker #step1 .essentials-top-row.field-row,
body.pp-quizmaker #step1 .step1-row.field-row,
body.pp-quizmaker #step1 .workspace-three-row,
body.pp-quizmaker #step1 .workspace-bottom-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
}

body.pp-quizmaker #step1 .workspace-three-row {
    
}

body.pp-quizmaker #step1 .workspace-bottom-row {
  
}

body.pp-quizmaker #step1 .essentials-top-row.field-row > .field-control.flex-field,
body.pp-quizmaker #step1 .step1-row.field-row > .field-control.flex-field {
    width: calc(50% - 8px);
    margin: 0;
    box-sizing: border-box;
}

body.pp-quizmaker #step1 .workspace-bottom-row > .field-control.flex-field {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding-right: 0 !important;
    box-sizing: border-box;
}

body.pp-quizmaker #step1 .essentials-phone-row {
    width: 100%;
}

body.pp-quizmaker #step1 .essentials-phone-row .phone-combo {
    margin-top: 0;
}

body.pp-quizmaker #step1 .essentials-phone-row .error-handle {
    margin-top: 2px;
}

body.pp-quizmaker #step1 .workspace-three-row > .field-control.flex-field {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding-right: 0 !important;
    box-sizing: border-box;
}

body.pp-quizmaker #step1 .workspace-three-row .select-box,
body.pp-quizmaker #step1 .workspace-bottom-row .select-box {
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

body.pp-quizmaker #step1 .workspace-three-row .select-box select,
body.pp-quizmaker #step1 .workspace-three-row .field-control input,
body.pp-quizmaker #step1 .workspace-bottom-row .select-box select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.pp-quizmaker #step1 .workspace-bottom-row .dropdown.product-interest,
body.pp-quizmaker #step1 .workspace-bottom-row .dropdown.product-interest .dropdown-select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.pp-quizmaker #step1 .workspace-bottom-row .sterms {
    margin-top: 10px;
    clear: both;
}

body.pp-quizmaker #step1 .workspace-bottom-row .sterms h3.searchterms {
    font-size: 14px;
    margin: 0 0 4px;
}

body.pp-quizmaker #step1 .phone-combo {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 0;
    gap: 8px;
}

body.pp-quizmaker #step1 .phone-combo .ccode.select-box {
    width: 44% !important;
    padding-right: 0 !important;
    flex: 0 0 44%;
}

body.pp-quizmaker #step1 .phone-combo .phone-no {
    width: 56% !important;
    flex: 1 1 56%;
}

body.pp-quizmaker #step1 .essentials-top-row .field-control input,
body.pp-quizmaker #step1 .essentials-phone-row .field-control input,
body.pp-quizmaker #step1 .essentials-phone-row .dial_code {
    margin-top: 0;
}

body.pp-quizmaker #step1 .phone-combo .dial_code,
body.pp-quizmaker #step1 .phone-combo .phone-no input {
    margin-top: 0;
}

body.pp-quizmaker .signup-submit-group {
    padding: 0 2px;
}

body.pp-quizmaker .signup-submit-group .check {
    
}

body.pp-quizmaker .signup-submit-group .agreement-box {
    display: flex;
    align-items: center;
    margin-left: 3px;
}

body.pp-quizmaker .signup-submit-group .agree-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #686868;
}

body.pp-quizmaker .signup-submit-group .btn-big {
    width: 100%;
    margin: 0 auto 12px;
    border-radius: 50px;
    height: 50px;
}

body.pp-quizmaker .signup-submit-group .ending-p {
    text-align: left;
    margin: 0 0 10px;
}

body.pp-quizmaker .signup-submit-group .register-text {
    text-align: center;
    margin-bottom: 0;
}

body.pp-quizmaker .rule-list {
    border: 1px solid #E3E3E3;
    padding: 10px 14px;
    width: 100%;
    margin-top: 8px;
    border-radius: 10px;
    display: none;
    background: #fff;
    box-sizing: border-box;
}

body.pp-quizmaker .rule-cols {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

body.pp-quizmaker .rule-col {
    flex: 1 1 50%;
    min-width: 0;
}

body.pp-quizmaker .rule-item {
    font-size: 13px;
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    color: #686868;
    line-height: 20px;
}

body.pp-quizmaker .rule-item .icon {
    width: 16px;
    height: 14px;
    margin-right: 8px;
    margin-top: 3px;
    flex-shrink: 0;
}

body.pp-quizmaker #ruleInvalidSpecial {
    display: none;
}

body.pp-quizmaker .dropdown.product-interest .dropdown-select {
    height: 40px;
    line-height: 38px;
    border-radius: 10px;
}

@media (max-width: 900px) {
    body.pp-quizmaker .fullWrapper {
        flex-direction: column;
        gap: 24px;
    }

    body.pp-quizmaker .fullWrapper .register-section,
    body.pp-quizmaker .client-section {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    body.pp-quizmaker .fullWrapper .register-section {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }

    body.pp-quizmaker .client-section {
        position: static;
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
        padding: 20px 15px;
    }

    body.pp-quizmaker .client-test {
        max-width: 420px;
        margin: 0 auto;
    }
}


@media (max-width: 767px) {
    body.pp-quizmaker .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    body.pp-quizmaker .fullWrapper {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 100%;
        margin: 12px auto 20px;
        padding: 0;
    }

    body.pp-quizmaker .fullWrapper .register-section {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        padding: 16px 12px !important;
        margin: 0;
    }

    body.pp-quizmaker .client-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 12px !important;
    }

    body.pp-quizmaker #step1 .social-icons.essentials-top-row,
    body.pp-quizmaker #step1 .social-icons.step1-row,
    body.pp-quizmaker #step1 .social-icons.workspace-three-row,
    body.pp-quizmaker #step1 .social-icons.workspace-bottom-row,
    body.pp-quizmaker #step1 .essentials-top-row.field-row,
    body.pp-quizmaker #step1 .step1-row.field-row,
    body.pp-quizmaker #step1 .workspace-three-row,
    body.pp-quizmaker #step1 .workspace-bottom-row {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 12px;
    }

    body.pp-quizmaker #step1 .essentials-top-row.field-row > .field-control.flex-field,
    body.pp-quizmaker #step1 .step1-row.field-row > .field-control.flex-field,
    body.pp-quizmaker #step1 .workspace-three-row > .field-control.flex-field,
    body.pp-quizmaker #step1 .workspace-bottom-row > .field-control.flex-field {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        padding-right: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    body.pp-quizmaker #step1 .phone-combo {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px;
    }

    body.pp-quizmaker #step1 .phone-combo .ccode.select-box {
        width: 44% !important;
        max-width: 44% !important;
        flex: 0 0 44% !important;
        padding-right: 0 !important;
        margin: 0 !important;
        min-width: 0;
        box-sizing: border-box;
    }

    body.pp-quizmaker #step1 .phone-combo .phone-no {
        width: 56% !important;
        max-width: 56% !important;
        flex: 1 1 56% !important;
        padding-right: 0 !important;
        margin: 0 !important;
        min-width: 0;
        box-sizing: border-box;
    }

    body.pp-quizmaker #step1 .phone-combo .phone-no.field-control.flex-field {
        width: 56% !important;
        max-width: 56% !important;
    }

    body.pp-quizmaker #step1 .phone-combo .dial_code,
    body.pp-quizmaker #step1 .phone-combo .phone-no input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    body.pp-quizmaker #step1.signup-layout-ready .signup-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    body.pp-quizmaker #step1 .common-field {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.pp-quizmaker #step1 .signup-group > .social-icons,
    body.pp-quizmaker #step1 .signup-group > .field-control {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.pp-quizmaker #step1 .workspace-bottom-row .sterms {
        margin-top: 12px;
    }

    /* Flatten workspace rows so every field uses the same signup-group gap */
    body.pp-quizmaker #step1 .signup-group .workspace-three-row,
    body.pp-quizmaker #step1 .signup-group .workspace-bottom-row {
        display: contents;
    }

    body.pp-quizmaker #step1 .signup-group .workspace-three-row > .field-control,
    body.pp-quizmaker #step1 .signup-group .workspace-bottom-row > .field-control {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Hidden validation lines should not reserve extra vertical space */
    body.pp-quizmaker #step1 .field-control .error-handle {
        min-height: 12px;
    }

    body.pp-quizmaker #step1 .field-control .error-handle > div {
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
    }

    body.pp-quizmaker #step1 .field-control .error-handle > div[style*="visibility: visible"],
    body.pp-quizmaker #step1 .field-control .error-handle > div[style*="visibility:visible"] {
        max-height: none;
        visibility: visible;
        margin-top: 2px;
    }

    body.pp-quizmaker #step1 .field-control.flex-field {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
    }

    body.pp-quizmaker #step1 .phone-combo .field-control.flex-field {
        width: auto !important;
        max-width: none !important;
    }

    body.pp-quizmaker #step1 .select-box,
    body.pp-quizmaker #step1 .field-control input,
    body.pp-quizmaker #step1 .field-control textarea,
    body.pp-quizmaker #step1 .dropdown.product-interest,
    body.pp-quizmaker #step1 .dropdown.product-interest .dropdown-select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    body.pp-quizmaker #step1 .essentials-phone-row .dial_code {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    body.pp-quizmaker #step1.signup-layout-ready .signup-group {
        padding: 19px 12px 4px;
        margin-left: 0;
        margin-right: 0;
    }

    body.pp-quizmaker #step1 .signup-submit-group {
        margin-top: 12px;
    }

    body.pp-quizmaker .loader_email,
    body.pp-quizmaker .loader_button,
    body.pp-quizmaker .loader_phone {
        right: 4px !important;
    }

    body.pp-quizmaker .rule-cols {
        flex-direction: column;
        gap: 0;
    }

    body.pp-quizmaker .signup-submit-group .btn-big {
        width: 100%;
    }
}