.xcx_contact_form{
    min-height:400px
}
textarea:disabled {
    background-color: #f0f0f0 !important;
    color: #666 !important;
    cursor: not-allowed;
}
/* Override Avada's grey textarea text colour */
#xcx_message {
    color: #000 !important;
}
.xcx_form_column_one p{
    text-align:left;
}
.xcx_form_column_one{
    width:14%;
    border-right:1px solid #0596d4;
    margin-right:2%;
    padding-right:2%;
}
.xcx_form_column_two{
    flex:1
}
.xcx_contact_form .xcx_form_input{
    max-width:unset;
}
.xcx_form_input_textarea .xcx_span_label{
    color:rgba(0,0,0,.54);
    font-size:.8em
}
.xcx_span_h_label {
    font-size: 19px !important;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000000;
}
.xcx_form_select_input:after{
    color: #0596d4 !important;
}
/* Quote */ 
.xcx_form_input .xcx_span_label, .xcx_form_select .xcx_span_label{
    font-size: 0.84em !important;
}
.xcx_wizard .xcx_wizard_steps .xcx_wizard_step, .xcx_wizard .xcx_wizard_step_content{
    display:none;
}
.xcx_wizard .xcx_wizard_steps .xcx_wizard_step.active , .xcx_wizard .xcx_wizard_step_content.active{
    display:initial;
}
.xcx_wizard .xcx_wizard_btns .xcx_wizard_prev{
    float:left;
}
.xcx_wizard .xcx_wizard_btns .xcx_wizard_next{
    float:right;
}
.xcx_wizard .xcx_wizard_btns .xcx_wizard_btn{
    border: 1px solid rgb(0 0 0 / 20%);
    background-color: white;
    min-width: 64px;
    line-height: 32px;
    padding: 0 16px;
    cursor:pointer;
}
.xcx_form_input input, .xcx_form_input_textarea textarea {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background-color: transparent;
    transition: all .35s linear;
}
.xcx_form_input input:focus, .xcx_form_input_textarea textarea:focus{
    border-color:#0596d4;
}
.xcx_form_select_input::after{
    pointer-events: none !important;
}
.xcx_wizard_title{
   margin-bottom:10px;margin-top:0; border-bottom: 2px solid #0596d4;
}
.xcx_wizard_btn.hide{
    display: none;
}
.xcx_form_input:focus, .xcx_form_input:focus .xcx_span_label, .xcx_form_input:focus input{
    border-color:#0596d4 !important;
    border-width: 2px;
    color:#0596d4;
}
.xcx_form_input_promote_other{
    display: flex;
}
.xcx_get_a_quote_success{
    display: none;
}
.xcx_get_a_quote_form_submit{
    position: relative;
    float: right;
}
.xcx_get_a_quote_form_submit .xcx_get_a_quote_form_errors{
    position: absolute;
    bottom: 35px;
    padding: 4px 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: .85em;
    z-index: 798374983479237849;
    color: red;
    display: none;
    min-width: 252px;
    right: 0;
}
.xcx_wizard_steps{
position:relative;
}
.xcx_current_step{
position: absolute;
right: 0;
top: 0px;
font-size: 1.5em;
opacity: 0.4;
line-height: 1.5;
z-index: 1;
}
.xcx_form_error_{
    white-space: nowrap
}
.xcx_form_input.disabled input, .xcx_form_input.disabled span{
    opacity: 0.3;
}
.xcx_form_columns .xcx_form_column_two{
    overflow: inherit !important;
}
.xcx_quote_content {
  padding: 0 18px;
}
.xcx_form_input {
    width: 100%;
}
#xcx_it_infrastructure_header #xcx_company_needs_header #xcx_company_information_header {
    padding-bottom: 20px;
}
.xcx_get_a_quote_form{
    min-height:400px
}
.xcx_form_column_one p{
    text-align:left;
}
.xcx_form_column_one{
    width:14%;
    border-right:1px solid #0596d4;
    margin-right:2%;
    padding-right:2%
}
.xcx_form_column_two{
    flex:1
}
.xcx_form_input_textarea .xcx_span_label{
    color:rgba(0,0,0,.54);
    font-size:.8em
}

/* div.xcx-footer-cta-element-wrapper > div:first-child {
    display: block !important;
} */

.xcx_form_select_input .xcx_form_select_field {
    cursor: pointer !important;
}

.xcx_form_select_input {
    cursor: unset !important;
}

.fusion-footer-widget-area .fusion-fullwidth .fusion-row {
    z-index: unset !important;
}
.fusion-footer-widget-area .fusion-fullwidth .fusion-row {
    z-index: unset !important;
}

.ss-content.ss-open {
    background-color: #fff !important;
}

.xcx_remove_arrow::after{
    display: none !important;
}
.xcx-contact-boxes p {
    min-height: 50px;
}

form .xcx_form_row {
    padding: 20px;
    background-color: #ffffff;
    border-radius: var(--xcx-radius, 5px);
    border: 1px solid #e3e6ea;
}

/* ── Single card wrapping all form steps — one border, not one per step ── */
.xcx_steps_card {
    border: 1px solid #e3e6ea;
    border-radius: var(--xcx-radius, 5px);
    background-color: #ffffff;
}
.xcx_steps_card .xcx_form_row {
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
}

/* ── Proceed spinner ──────────────────────────────────────────────────── */
#xcx_proceed_loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 18px;
}
.xcx_proceed_spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #dce8f0;
    border-bottom-color: #0596D4;
    border-radius: 50%;
    box-sizing: border-box;
    animation: xcx_rotation 0.85s linear infinite;
}
#xcx_proceed_loader p {
    color: #555;
    font-size: 15px;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* ── Inline submit spinners (ticket + quote) ─────────────────────────── */
#xcx_ticket_submit_loader,
#xcx_quote_submit_loader {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}
.xcx_inline_spinner {
    width: 26px;
    height: 26px;
    border-width: 3px;
    flex-shrink: 0;
}
#xcx_ticket_submit_loader span,
#xcx_quote_submit_loader span {
    color: #555;
    font-size: 14px;
    font-weight: 500;
}
.xcx_bordered_text_input, .xcx_bordered_text_input_nopadding {
    padding-bottom: 8px !important;

}
.xcx_bordered_text_input input {
    border: 1px solid #707070 !important;
    border-radius: 5px;
    padding: 10px !important;
    height: 44px !important;
    width: 50%;
    transition: all .35s linear;
}

.xcx_bordered_text_input_nopadding input {
    border: 1px solid #707070 !important;
    border-radius: 5px;
    height: 44px !important;
    width: 50%;
    transition: all .35s linear;
}
.contact-back-icon {
    margin: 20px !important;
    margin-bottom: 0 !important;
    display: block;
}
.contact-back-icon:hover{
    background-color: #08b1f9 !important;
    border-color:#0596d4 !important
}
.xcx-contact-boxes {
    display: flex;       
    flex-wrap: wrap;   
    gap: 13px;
    margin: 0 !important;
}
.xcx-contact-boxes .fusion-button {
    width:100%;
    padding: 12px 20px;
    font-size: 17px;
}
.xcx-contact-boxes > div {
     flex: 1 1 calc(33.33% - 13px); 
    box-sizing: border-box;       
    background-color: #ffffff;   
    padding: 10px;               
}
.xcx-contact-boxes h3 {
    display: inline-flex;
    font-size: 16px;
    font-weight: bold;
}

.xcx-contact-boxes img {
    margin: 8px 8px 8px 0px;
    width:24px;
}

.xcx_remove_padding{
    padding: 0 !important
}

.xcx_border_input{
    padding: 15px !important;
    height: 44px !important;
    border: 1px solid #707070 !important;
    border-radius: 5px;
}
.xcx_cf_input textarea{
    border: 1px solid #707070 !important;
    border-radius: 5px;
}
.xcx_remove_padding:after {
    top: 12px !important;
    right: 15px !important;
}

ul.xcx_form_select_options {
    border-radius: 5px;
    max-height: 300px;
    overflow-y: scroll;
}
.xcx_cf_input {
    margin-top: 30px;
}
.xcx_form_select_input {
    margin-top: 10px;
}
.xcx_form_error_ {
    position: relative !important;
    color: #B00020 !important;
    font-size: 14px !important;
    display: flex;
    margin-top: 5px !important;
}
.tcx-contact-form-login{
    transition:all .35s linear;
}
.login-disabled {
    opacity: 0.4;
    pointer-events: none;
}
.xcx_form_error_:before, .xcx_form_success_:before, .xcx_form_submit .xcx_form_errors:before {
    font-family: "Font Awesome 5 Free";
    content: "\f06a";
    font-weight: 900;
    margin-right: 5px;
}
.xcx_form_success_{
    right:40px !important;
}
.xcx_form_success_:before{
    content: "\f058";
    color:#0596d4;
    
}
.xcx_input_in_label {
    position: absolute;
    height: 20px;
    display: flex;
    align-items: center;
    top: -10px;
    left: 10px;
    background-color: #ffffff;
    z-index: 2;
    padding-right: 5px;
    padding-left: 5px;
    transition: all .35s ease-out;
    opacity: 0;
}
.xcx_input_in_label.active {
    opacity: 1;
}
.xcx_form_select_field.placeholder{
    color: #AAA9A9 !important;
}
.xcx_cf_input textarea {
    padding: 20px;
    overflow: auto;
}
ul.xcx_form_select_options  > li {
    padding: 10px;
}
ul.xcx_form_select_options > li:not(.select-active):hover {
    background-color: #0596d49e !important;
}
li.select-active{
    background-color: #0596d4 !important;
    color:#fff !important;
}
.xcx_blue_border, .xcx_cf_input textarea:focus, .xcx_bordered_text_input input:focus,  .xcx_bordered_text_input_nopadding input:focus {
    border: 2px solid #0596d4 !important;
}

.xcx_form_input {
    margin-top: 20px !important;
    padding: 0 !important;
}
.xcx_form_input input {
    margin: 0 !important;
}
.xcx_cf_slims {
    border: 1px solid #707070 !important;
    padding: 8px 10px !important;
    border-radius: 5px;
}

.ss-content {
    bottom: 50px;
    border-radius: 5px;
}
.xcx_general_form_submit, .xcx_quote_form_submit {
    display: none;
}
.xcx_cf_active_btn {
    display: block;
}
div#xcx_contact_form_general_authentication > .step_1 {
    display: flex;
    align-items: center;
    gap: 15px;
}
.xcx_form_error_[data-inputfield="xcx_user_license_key"], .xcx_form_success_[data-inputfield="xcx_user_license_key"] {
    position: absolute !important;
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    left: 0;
    bottom: -20px;
    height: 21px;
}
div#xcx_contact_form_general_authentication > .step_1 > * {
    flex: 00 auto;
    max-width: max-content;
    margin: 0 !important;
}
div#xcx_contact_form_general_authentication > .step_1 > .xcx_form_input.xcx_bordered_text_input {
    max-width: 250px;
}
div#xcx_contact_form_general_authentication > .step_1 > .xcx_form_input.xcx_bordered_text_input input.xcx_user_license_key {
    width: 100% !important;
}
div#xcx_contact_form_quote {
    flex-direction: column;
}
.xcx_loader {
    width: 20px;
    height: 20px;
    border: 5px solid #0596D4;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: xcx_rotation 1s linear infinite;
    position: absolute;
    top: 10px;
    margin-left: 5px;
    opacity: 0;
    transition: all .35s linear;
}
.iti .iti__selected-dial-code {
    top: 1px;
    position: relative;
}
@keyframes xcx_rotation {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
}
.xcx_license_key_input_container.login_help {
    left: -14px !important;
    padding-top: 10px !important;
}
.xcx_license_key_input_container.login_help > .xcx_input_in_label {
    top: 0;
}
.xcx_license_key_input_container.login_help .xcx_form_error_[data-inputfield="xcx_user_license_key"], 
.xcx_license_key_input_container.login_help .xcx_form_success_[data-inputfield="xcx_user_license_key"]{
top:21px;
}
.xcx_license_key_input_container.login_help .xcx_loader {
    top:21px;
}
.xcx-slider-right-box {
    z-index: 4;
    position: relative;
}
.xcx_form_submit .xcx_form_errors {
    padding: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    top: 7px !important;
    left: 100px !important;
    color: #B00020 !important;
    font-size: 14px !important;
    display: flex;
    margin-top: 0 !important;
}
/* Hide error containers when they have no content */
.xcx_form_submit .xcx_form_errors:empty {
    display: none !important;
}

.ss-main .ss-single-selected .ss-arrow span{
    padding: 2.3px !important;
    border-color: #0596d4  !important;
}

input#xcx_contact_number {
    width: 100%;
}

.iti.iti--allow-dropdown.iti--show-flags.iti--inline-dropdown {
    z-index: 25;
    width: 50%;
}

.iti__selected-country-primary:hover {
    background-color: transparent !important;
}

input.iti__search-input {
    margin: 10px !important;
    padding-left: 10px !important;
    width: 50% !important;
}
.xcx_cf_slims_open {
    z-index: 26;
    position: relative;
}
@media screen and (min-width:961px){
    .xcx_form_select_input {
        max-width: 50% !important;
    }
}
@media screen and (max-width:960px){
    .xcx-contact-boxes > div {
        flex: 1 1 100%;
    }
    .xcx_remove_arrow{
        display: flex;
    }
    .ss-main {
        margin-right: 22px;
    }

}
@media screen and (max-width:800px){
    .xcx_contact_form .xcx_form_row{
        display:block
    }
    .xcx_form_column_one{
        padding-right:0;
        width:auto;
        border-right:0;
        display:none
    }
    .xcx_form_error_{
        font-size: 0.7em !important;
    }
    div#xcx_contact_form_general_authentication > .step_1 {
        flex-direction: column;
        align-items: flex-start;
    }
    .xcx_form_input  input{
        width: 100%;
    }
    .iti.iti--allow-dropdown.iti--show-flags.iti--inline-dropdown{width: 100% !important;}
    .xcx_form_column_two.xcx_form_input.xcx_form_select_input.xcx_remove_arrow.xcx_remove_padding.xcx_cf_slims {
        margin-right: 0;
    }
    .ss-main .ss-single-selected .ss-arrow {
        margin-right: -20px !important;
    }
    .xcx_form_error_[data-inputfield="xcx_user_license_key"], .xcx_form_success_[data-inputfield="xcx_user_license_key"] {
        top: -24px;
        display: block;
        right: 10px;
    }
    #xcx_contact_form_quote .xcx_form_input_textarea, #xcx_contact_form_quote .xcx_form_input {
        margin-top: 25px !important;
    }
    .xcx_input_in_label {
        line-height: 13px;
        top: -15px;
    }
}

@media (max-width:450px){
    .xcx_current_step{
        display:none;
    }
    .xcx_form_error_{
        position: relative !important;
        white-space: normal;
    }
}

.xcx_form_select_input_license:after{
    display: none !important;
}

.xcx-contact-faqs:not(.xcx-contact-faqs-en) {
    display: none;
}

.xcx_smb_submit,
.xcx_4scfree_submit {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background-color: #fff8e1;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 18px 20px;
    margin-top: 10px;
}

.xcx_smb_submit_desc {
    color: #5c4200;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

.xcx_smb_submit_btn {
    display: inline-block;
    background-color: #0596d4;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 5px;
    text-decoration: none !important;
    text-align: center;
    align-self: flex-start;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    border: 2px solid #0596d4;
    cursor: pointer;
}

.xcx_smb_submit_btn:hover {
    background-color: #0478aa;
    border-color: #0478aa;
    color: #ffffff !important;
}

@media screen and (max-width: 800px) {
    .xcx_smb_submit_btn {
        align-self: stretch;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════
   NEW MULTI-STEP FORM REDESIGN STYLES
═══════════════════════════════════════════════════ */

/* Step fade transitions — display/opacity animation is handled by jQuery fadeIn/fadeOut */
.xcx_cf_step {
    /* no opacity rule here — jQuery controls opacity during animation */
}

/* Proceed button */
.xcx_proceed_btn {
    background-color: #0596d4;
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    transition: background-color 0.2s ease;
}
.xcx_proceed_btn:hover {
    background-color: #0478aa;
}
#xcx_proceed_wrap {
    margin-top: 10px;
}

/* AI answer box */
.xcx_ai_heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    margin-top: 0;
    color: #1a1a1a;
}
.xcx_ai_box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    background: #fff;
    margin-bottom: 24px;
}
.xcx_ai_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef4fb;
    color: #2c5282;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
.xcx_ai_info_icon {
    cursor: help;
    font-style: normal;
    opacity: 0.7;
    font-size: 13px;
}
.xcx_ai_content {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}
.xcx_ai_content p {
    margin: 0 0 12px;
}
.xcx_ai_content ol {
    padding-left: 20px;
    margin: 0 0 12px;
}
.xcx_ai_content li {
    margin-bottom: 6px;
}
.xcx_ai_docs {
    margin: 20px 0;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.xcx_ai_docs_title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.xcx_ai_docs_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.xcx_ai_doc_link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 13px;
    color: #333 !important;
    text-decoration: none !important;
    line-height: 1.4;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.xcx_ai_doc_link:hover {
    border-color: #0596d4;
    background-color: #f5faff;
    color: #0596d4 !important;
}
.xcx_ai_doc_icon {
    flex-shrink: 0;
    font-size: 16px;
}

/* Feedback buttons */
.xcx_ai_feedback {
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}
.xcx_ai_feedback_label {
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 12px;
    color: #1a1a1a;
}
.xcx_ai_feedback_btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.xcx_feedback_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #ccc;
    background: #fff;
    border-radius: 6px;
    padding: 9px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
}
.xcx_feedback_btn:hover {
    border-color: #999;
}
.xcx_feedback_btn.xcx_yes_active {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
}
.xcx_feedback_btn.xcx_no_active {
    background: #f44336;
    border-color: #f44336;
    color: #fff;
}
.xcx_feedback_btn.xcx_feedback_locked {
    opacity: 0.5;
    cursor: not-allowed;
}
.xcx_ai_feedback_msg {
    margin-top: 10px;
    font-size: 13px;
    color: #2e7d32;
    font-weight: 500;
}
.xcx_ai_low_confidence {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    color: #795548;
    margin-bottom: 14px;
}

/* "Still need help" section */
#xcx_still_need_help {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}
#xcx_still_help_title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 8px;
    color: #1a1a1a;
}
#xcx_still_help_desc {
    font-size: 14px;
    color: #555;
    margin: 0 0 16px;
    line-height: 1.6;
}
.xcx_ticket_btn {
    background-color: #0596d4;
    color: #ffffff !important;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-block;
}
.xcx_ticket_btn:hover {
    background-color: #0478aa;
}
#xcx_ticket_errors {
    color: #B00020;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
}

/* Spacing between steps */
#xcx_step_details,
#xcx_step_question,
#xcx_step_ai {
    margin-top: 20px;
}

@media screen and (max-width: 800px) {
    .xcx_ai_docs_grid {
        grid-template-columns: 1fr;
    }
    .xcx_ai_feedback_btns {
        flex-direction: column;
    }
    .xcx_feedback_btn {
        justify-content: center;
    }
}

/* ── Two-column layout: form + FAQ panel ──────────────────────────────────── */
.xcx_cf_layout {
    display: grid;
    grid-template-columns: 2fr 1fr;         /* main 2/3, FAQ 1/3 */
    grid-template-areas:
        "header header"
        "screens faq";
    column-gap: 24px;
    align-items: stretch;
    text-align: left;                        /* scope default text alignment to the contact form only */
    padding-top: 50px;
    padding-bottom: 50px;
}
.xcx_cf_layout > .xcx_form,
.xcx_cf_layout > #xcx_screens {
    grid-area: screens;
    min-width: 0;
    width: auto;
    align-self: start;
}
/* Centered intro header spanning both columns (only rendered/visible on landing) */
.xcx_landing_header {
    grid-area: header;
    text-align: center;
    margin-bottom: 32px;
}

@media screen and (max-width: 700px) {
    .xcx_only_proposal #xcx_get_a_quote_form_wizard .xcx_wizard_no_step { grid-template-columns: 1fr; }
}

/* ── FAQ panel card (right 1/3 column, always visible; matches left column height) ─ */
.xcx_faq_panel_card {
    grid-area: faq;
    align-self: start;
    min-width: 0;
    border: 1px solid #e3e6ea;
    border-radius: var(--xcx-radius, 5px);
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 465px;          /* fixed height; JS still sets margin-top to align to the active screen's body */
    min-height: 465px;
}

/* ── Panel header ─────────────────────────────────────────────────────────── */
.xcx_faq_panel_header {
    padding: 18px 18px 14px;
    border-bottom: 1px solid #ebebeb;
}
.xcx_faq_panel_title {
    margin: 0 0 12px;
    font-size: 20px !important;      /* match the h3 scale */
    font-weight: 700 !important;
    color: #333333;
    line-height: 28px !important;
    font-family: var(--xcx-font) !important;
}
.xcx_faq_search_wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.xcx_faq_search_icon {
    position: absolute;
    left: 10px;
    width: 16px;
    height: 16px;
    pointer-events: none;
    flex-shrink: 0;
}
.xcx_faq_search_input,
#xcx_faq_search {
    border-radius: 5px !important;
}
.xcx_faq_search_input {
    width: 100%;
    padding: 8px 12px 8px 34px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
    color: #333;
    background: #f8f8f8;
    outline: none;
    transition: border-color 0.18s ease, background 0.18s ease;
    box-sizing: border-box;
}
.xcx_faq_search_input:focus {
    border-color: #0596d4;
    background: #fff;
}

/* ── AI related section (shown after Proceed) ─────────────────────────────── */
.xcx_faq_ai_related {
    padding: 12px 18px 14px;
    border-bottom: 1px solid #d6eaf8;
    background: #eaf5fd;
}
.xcx_faq_related_title {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0573a8;
}
.xcx_faq_ai_doc_link {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #0596d4;
    text-decoration: none;
    padding: 5px 0;
    line-height: 1.3;
    transition: color 0.15s ease;
}
.xcx_faq_ai_doc_link:hover {
    color: #0473a6;
    text-decoration: underline;
}
.xcx_faq_ai_doc_link svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

/* ── FAQ list ─────────────────────────────────────────────────────────────── */
.xcx_faq_list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding: 4px 18px 12px;      /* left/right inset matches the header title + search input */
    transition: opacity 0.15s ease;
}
.xcx_faq_list.xcx_faq_transitioning {
    opacity: 0;
}
.xcx_faq_list::-webkit-scrollbar {
    width: 4px;
}
.xcx_faq_list::-webkit-scrollbar-track {
    background: transparent;
}
.xcx_faq_list::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 2px;
}

/* ── Loading dots ─────────────────────────────────────────────────────────── */
.xcx_faq_loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 0;
}
.xcx_faq_loading_dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c0c0c0;
    animation: xcxFaqDotPulse 1.2s ease-in-out infinite;
}
.xcx_faq_loading_dot:nth-child(2) { animation-delay: 0.2s; }
.xcx_faq_loading_dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes xcxFaqDotPulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40%            { opacity: 1;   transform: scale(1);   }
}

/* ── Individual FAQ item ──────────────────────────────────────────────────── */
.xcx_faq_item {
    border-bottom: 1px solid #eeeeee;
}
.xcx_faq_item:last-child {
    border-bottom: none;
}
.xcx_faq_open { border-bottom-color: transparent; }

.xcx_faq_q {
    display: flex;
    align-items: flex-start;
    gap: 12px;                 /* toggle icon is now on the LEFT */
    width: 100%;
    padding: 12px 10px;
    background: transparent;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    transition: background 0.14s ease;
}
.xcx_faq_q:hover {
    background: rgba(5, 150, 212, 0.10);
}
/* Accordion +/- toggle on the LEFT (fa-plus closed, fa-minus open — swapped in JS) */
.xcx_faq_toggle {
    flex: none;
    width: 14px;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.4;
    color: #949494;
    text-align: center;
    transition: color 0.2s ease;
}
.xcx_faq_open .xcx_faq_toggle { color: #0596d4; }
.xcx_faq_q_text {
    flex: 1 1 auto;
    font-size: 13px;
    color: #222;
    font-weight: 500;
    line-height: 1.4;
}

/* Open state: question tinted (top rounded), answer grey (bottom rounded) */
.xcx_faq_open .xcx_faq_q {
    background: #E0EFF5;
    border-radius: 5px 5px 0 0;
}
.xcx_faq_open .xcx_faq_q_text {
    color: #0596d4;
}

/* ── Answer panel ─────────────────────────────────────────────────────────── */
.xcx_faq_answer {
    display: none;
    background: #F8F8F8;
    border-radius: 0 0 5px 5px;
    padding: 12px;
    font-size: 13px;
    color: #444;
    line-height: 1.6;
}
.xcx_faq_answer p { margin: 0 0 8px; }
.xcx_faq_answer p:last-child { margin-bottom: 0; }
.xcx_faq_answer ul, .xcx_faq_answer ol {
    margin: 6px 0;
    padding-left: 18px;
}
.xcx_faq_answer li { margin-bottom: 4px; }
.xcx_faq_answer a {
    color: #0596d4;
    text-decoration: none;
}
.xcx_faq_answer a:hover { text-decoration: underline; }

/* ── Answer links (open in new tab; arrow on the RIGHT of the text) ───────── */
.xcx_faq_links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 12px;
}
.xcx_faq_link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #0596d4;
    text-decoration: none;
    transition: color 0.15s ease;
}
.xcx_faq_link:hover { color: #0473a6; text-decoration: underline; }
.xcx_faq_link svg,
.xcx_faq_link_icon {
    width: 11px;
    height: 11px;
    font-size: 11px;
    line-height: 1;
    flex-shrink: 0;
}

/* ── Empty/no results state ───────────────────────────────────────────────── */
.xcx_faq_empty {
    padding: 28px 18px;
    text-align: center;
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* ── Responsive: stack on narrow viewports ────────────────────────────────── */
@media screen and (max-width: 900px) {
    .xcx_cf_layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "screens"
            "faq";
    }
    .xcx_faq_panel_card {
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 0;
        margin-top: 24px;
    }
    .xcx_faq_list {
        flex: 0 1 auto;
        max-height: 480px;
    }
    /* Cards stack on narrow viewports */
    .xcx_card_grid.xcx_card_grid_3,
    .xcx_card_grid.xcx_card_grid_center2 {
        grid-template-columns: 1fr !important;
    }
}
textarea#xcx_ai_user_feedback {
    color: #000 !important;
}
.xcx_ai_vote {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
}
.xcx_ai_vote_label {
    font-size: 13px;
    color: #555;
}
.xcx_vote_btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.15s;
}
.xcx_vote_btn:hover:not(:disabled) {
    border-color: #999;
}

/* ══════════════════════════════════════════════════════════════════════════
   REDESIGN 2026 — design system: 5-card landing + single-page screen swap
   ══════════════════════════════════════════════════════════════════════════ */
:root {
    --xcx-blue: #0596D4;
    --xcx-blue-dark: #0a6aa1;
    --xcx-blue-tint: rgba(5, 150, 212, 0.10);
    --xcx-page-dark: #2F2F2F;
    --xcx-panel-dark: #373737;
    --xcx-divider: #949494;
    --xcx-card-bg: #ffffff;
    --xcx-text: #333333;
    --xcx-text-muted: #949494;
    --xcx-radius: 5px;
    --xcx-card-pad-y: 24px;
    --xcx-card-pad-x: 20px;
    --xcx-gap: 20px;
    --xcx-font: Arial, Helvetica, sans-serif;
    --xcx-fs-body: 15px;
    --xcx-fs-card-title: 20px;
    --xcx-fs-section: 20px;
    --xcx-fs-screen-title: 32px;
    --xcx-transition: .3s ease;
}

/* ── Screen container + transitions ───────────────────────────────────────── */
#xcx_screens {
    position: relative;
    width: 100%;
}
.xcx_screen {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--xcx-transition), transform var(--xcx-transition);
}
.xcx_screen.is-active {
    display: block;
    opacity: 1;
    transform: none;
}
/* is-prep: rendered but transparent — set for one frame before is-active so the
   opacity/transform transition actually runs (transitions don't fire from display:none) */
.xcx_screen.is-prep {
    display: block;
}

/* ── Screen header (back button + title + subtitle) ───────────────────────── */
.xcx_screen_header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.xcx_screen_header_row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.xcx_back_btn {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background var(--xcx-transition), transform var(--xcx-transition);
}
.xcx_back_btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-2px);
}
.xcx_back_btn svg { width: 16px; height: 16px; display: block; }
.xcx_back_btn i { font-size: 14px; line-height: 1; }
.xcx_screen_title {
    color: #ffffff;
    font-family: var(--xcx-font);
    font-size: var(--xcx-fs-screen-title);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}
.xcx_screen_subtitle {
    color: #ffffff;
    font-family: var(--xcx-font);
    font-size: var(--xcx-fs-body);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* ── Landing intro header (centered): eyebrow h3 / headline h2 / subtitle p ──
   !important throughout to beat the WordPress theme's heading/paragraph rules. */
.xcx_landing_header,
.xcx_landing_eyebrow,
.xcx_landing_title,
.xcx_landing_sub {
    text-align: center !important;
    font-family: var(--xcx-font) !important;
    color: #ffffff !important;
}
.xcx_landing_eyebrow {
    margin: 0 0 6px !important;
    font-size: 20px !important;            /* h3 */
    font-weight: 700 !important;
    line-height: 1.3 !important;
}
.xcx_landing_title {
    margin: 0 0 12px !important;
    font-size: 32px !important;            /* h2 */
    font-weight: 700 !important;
    line-height: 1.25 !important;
}
.xcx_landing_sub {
    margin: 0 !important;                   /* full width, not a centered 720px block */
    max-width: none !important;
    font-size: 15px !important;            /* p */
    font-weight: 400 !important;
    line-height: 25px !important;
}

/* ── Beat the theme: option/card + section text must be left-aligned, titles 700 ── */
.xcx_cf_layout .xcx_card_title,
.xcx_cf_layout .xcx_card_desc,
.xcx_cf_layout .xcx_card_action,
.xcx_cf_layout .xcx_section_header,
.xcx_cf_layout .xcx_screen_title,
.xcx_cf_layout .xcx_screen_subtitle,
.xcx_cf_layout .xcx_screen_intro {
    text-align: left !important;
}
/* Intro paragraph shown above the Partner options / before the VoIP form */
.xcx_screen_intro {
    margin: 0 0 20px !important;
    color: #ffffff !important;
    font-family: var(--xcx-font);
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    max-width: 1000px;
}
.xcx_screen_intro a {
    color: var(--xcx-blue) !important;
    text-decoration: none;
}
.xcx_cf_layout .xcx_card_title {
    font-weight: 700 !important;
    color: #000000 !important;
    line-height: 23px !important;
}
.xcx_cf_layout .xcx_section_header {
    font-weight: 700 !important;
    color: #ffffff !important;
}

/* ── Card section (grouped grids: Partnerships & Sales / Help & Support) ───── */
.xcx_card_section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}
.xcx_card_section:last-child { margin-bottom: 0; }
.xcx_section_header {
    color: #ffffff;
    font-family: var(--xcx-font);
    font-size: var(--xcx-fs-section);
    font-weight: 700;
    line-height: 1.3;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--xcx-divider);
}

/* ── Card grid + cards ────────────────────────────────────────────────────── */
.xcx_card_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--xcx-gap);
    max-width: 1290px;
}
/* 2-card row sized like the 3-across cards above, centered in the container
   (Help & Support: Licensing + Technical Support). Higher specificity + plain calc
   (20px gap hardcoded ×2) so it reliably overrides the auto-fit base. */
/* Help & Support: two equal halves (1/2 + 1/2) */
.xcx_card_grid.xcx_card_grid_center2 {
    grid-template-columns: repeat(2, 1fr) !important;
}
/* Partnerships & Sales: 3 cards on one line, 1/3 each */
.xcx_card_grid.xcx_card_grid_3 {
    grid-template-columns: repeat(3, 1fr);
}
.xcx_card {
    background: var(--xcx-card-bg);
    border-radius: var(--xcx-radius);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;                      /* exact 20px between title row / desc / action */
    cursor: pointer;
    border: 1px solid transparent;
    transition: box-shadow var(--xcx-transition), border-color var(--xcx-transition), transform var(--xcx-transition);
}
.xcx_card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    border-color: var(--xcx-blue);
    transform: translateY(-2px);
}
.xcx_card_head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.xcx_card_icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: rgba(5, 150, 212, 0.10);   /* light-blue tile behind the icon */
    color: var(--xcx-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.xcx_card_icon svg { width: 22px; height: 22px; display: block; }
.xcx_card_icon i { font-size: 20px; line-height: 1; }
/* Duotone: primary (dark) = brand blue at full opacity, secondary (light) = brand blue @ 40% */
.xcx_card_icon .fa-duotone,
.xcx_card_icon i {
    --fa-primary-color: var(--xcx-blue);
    --fa-secondary-color: var(--xcx-blue);
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 0.4;
}
.xcx_card_title {
    flex: 1 1 0;
    color: #000000;
    font-family: var(--xcx-font);
    font-size: var(--xcx-fs-card-title);
    font-weight: 700;
    line-height: 23px;
    margin: 0;
}
.xcx_card_desc {
    color: #000000;
    font-family: var(--xcx-font);
    font-size: var(--xcx-fs-body);
    font-weight: 400;
    line-height: 1.66;
    margin: 0 !important;          /* no theme <p> bottom margin; spacing comes from the card gap */
}
.xcx_card_action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--xcx-blue);
    font-family: var(--xcx-font);
    font-size: var(--xcx-fs-body);
    font-weight: 400;
    line-height: 1.4;
    margin-top: 0;                 /* exact 20px from the paragraph (via the card gap) */
}
.xcx_card_action svg,
.xcx_card_action i { width: 17px; font-size: 14px; transition: transform var(--xcx-transition); }
.xcx_card:hover .xcx_card_action svg,
.xcx_card:hover .xcx_card_action i { transform: translateX(4px); }

/* ── Sub-option screens: 2 cards stack full width like the Figma ───────────── */
.xcx_card_grid.xcx_card_grid_stack {
    grid-template-columns: 1fr;
}

/* ── Book a Demo iframe frame ─────────────────────────────────────────────── */
.xcx_demo_frame_wrap {
    background: #fff;
    border-radius: var(--xcx-radius);
    padding: 12px;
    max-width: 1290px;
}
.xcx_demo_frame_wrap iframe {
    width: 100%;
    min-height: 720px;
    border: 0;
    display: block;
    border-radius: var(--xcx-radius);
}
.xcx_demo_placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    border: 2px dashed var(--xcx-divider);
    border-radius: var(--xcx-radius);
    color: var(--xcx-text-muted);
    font-family: var(--xcx-font);
    font-size: var(--xcx-fs-body);
    text-align: center;
    padding: 24px;
}

/* ── AJAX embed containers ────────────────────────────────────────────────── */
.xcx_embed_container { max-width: 1290px; }
.xcx_embed_loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}
.xcx_embed_error {
    color: #c0392b;
    font-family: var(--xcx-font);
    font-size: var(--xcx-fs-body);
    text-align: center;
    padding: 40px 0;
}

/* ── Primary/secondary buttons (align existing submit buttons to the system) ─ */
.xcx_btn_primary,
.xcx_form_submit_input {
    background: var(--xcx-blue);
    color: #fff;
    border: 1.5px solid var(--xcx-blue);
    border-radius: var(--xcx-radius);
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background var(--xcx-transition), border-color var(--xcx-transition);
}
.xcx_btn_primary:hover,
.xcx_form_submit_input:hover {
    background: var(--xcx-blue-dark);
    border-color: var(--xcx-blue-dark);
}
.xcx_btn_secondary {
    background: #F1F1F1;
    color: #000;
    border: 1px solid #F1F1F1;
    border-radius: var(--xcx-radius);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media screen and (max-width: 768px) {
    /* One card per line on mobile — must override the center2/3 `!important` base rules above */
    .xcx_card_grid,
    .xcx_card_grid.xcx_card_grid_center2,
    .xcx_card_grid.xcx_card_grid_3 { grid-template-columns: 1fr !important; }
    .xcx_screen_title { font-size: 26px; }
    .xcx_demo_frame_wrap iframe { min-height: 560px; }
}

/* ── Reduced motion ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .xcx_screen,
    .xcx_card,
    .xcx_card_action svg,
    .xcx_back_btn { transition: none; }
    .xcx_screen { transform: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PHASE 5 — align the inner forms (quote / partner wizard / voip / AI / chat)
   to the design system. Restyle-in-place via shared classes (no markup churn).
   ══════════════════════════════════════════════════════════════════════════ */

/* Radius normalization to the 5px token */
.xcx_ai_box { border-radius: var(--xcx-radius, 5px); border-color: #e3e6ea; }
.xcx_ai_doc_link,
.xcx_ai_low_confidence,
.xcx_feedback_btn,
.xcx_ticket_btn,
.xcx_proceed_btn { border-radius: var(--xcx-radius, 5px); }

/* Softer, consistent input borders + blue focus across every form */
.xcx_bordered_text_input input,
.xcx_bordered_text_input_nopadding input,
.xcx_border_input,
.xcx_cf_input textarea {
    border-color: #ccd2d8 !important;
}
.xcx_bordered_text_input input:focus,
.xcx_bordered_text_input_nopadding input:focus,
.xcx_border_input:focus,
.xcx_cf_input textarea:focus {
    border-color: var(--xcx-blue, #0596D4) !important;
}

/* Multi-step wizard (partner / quote) — buttons on the design-system palette */
.xcx_wizard .xcx_wizard_btns .xcx_wizard_btn {
    border-radius: var(--xcx-radius, 5px);
    border: 1px solid #d3d8dd;
    background: #F1F1F1;
    color: #000;
    font-weight: 400;
    transition: background var(--xcx-transition), border-color var(--xcx-transition);
}
.xcx_wizard .xcx_wizard_btns .xcx_wizard_next {
    background: var(--xcx-blue, #0596D4);
    border-color: var(--xcx-blue, #0596D4);
    color: #fff;
}
.xcx_wizard .xcx_wizard_btns .xcx_wizard_next:hover {
    background: var(--xcx-blue-dark, #0a6aa1);
    border-color: var(--xcx-blue-dark, #0a6aa1);
}
.xcx_wizard_title { border-bottom-color: var(--xcx-blue, #0596D4) !important; }

/* SlimSelect — match radius + blue focus */
.ss-main { border-radius: var(--xcx-radius, 5px) !important; }
.ss-main.ss-open-below,
.ss-main.ss-open-above { border-color: var(--xcx-blue, #0596D4) !important; }
.ss-content { border-radius: var(--xcx-radius, 5px) !important; }

/* VoIP file upload + consent rows */
#xcx_embed_voip input[type="file"] {
    border: 1px dashed #ccd2d8;
    border-radius: var(--xcx-radius, 5px);
    padding: 14px;
    width: 100%;
    background: #fafbfc;
    box-sizing: border-box;
}
.xcx_vp_checkbox_row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
}

/* ── Embedded standalone forms (Partner / VoIP) → render on a white card ──── */
.xcx_embed_container {
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: var(--xcx-radius, 5px);
    padding: 28px 24px;
}
/* Logged-out VoIP screen: no white embed card — show just the login button under the intro */
.xcx_embed_container:has(> .xcx_vp_login_prompt) {
    background: transparent;
    border: none;
    padding: 0;
}
.xcx_embed_container .xcx_form { min-height: 0; opacity: 1 !important; }
.xcx_embed_container .xcx_form_intro { display: none; }
/* avoid a double card: inner surfaces go flat inside the embed card */
.xcx_embed_container .xcx_steps_card,
.xcx_embed_container form .xcx_form_row {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Partner/VoIP fields use .xcx_span_label + bare .xcx_form_input inputs. Their own
   page stylesheet isn't loaded in the embed, so replicate the contact form's
   floating-label look here (label = placeholder inside, floats to the top border). */
.xcx_embed_container .xcx_form_input {
    margin-bottom: 22px;
    width: 100%;
}
/* only real text/textarea fields get the floating label — never custom SELECT wrappers
   (.xcx_form_select_input carry a hidden <input> for their value) */
.xcx_embed_container .xcx_form_input:not(.xcx_form_select_input):has(> input:not([type="hidden"])),
.xcx_embed_container .xcx_form_input:not(.xcx_form_select_input):has(> textarea) {
    position: relative;
}
.xcx_embed_container .xcx_form_input:not(.xcx_form_select_input):has(> input:not([type="hidden"])) > .xcx_span_label,
.xcx_embed_container .xcx_form_input:not(.xcx_form_select_input):has(> textarea) > .xcx_span_label {
    position: absolute;
    left: 12px;
    top: 22px;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 5px;
    background: #fff;
    color: #949494;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1;
    pointer-events: none;
    transition: all .18s ease-out;
    z-index: 2;
    max-width: calc(100% - 30px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.xcx_embed_container .xcx_form_input:not(.xcx_form_select_input):has(> input:not([type="hidden"]):focus) > .xcx_span_label,
.xcx_embed_container .xcx_form_input:not(.xcx_form_select_input):has(> input:not([type="hidden"]):not(:placeholder-shown)) > .xcx_span_label,
.xcx_embed_container .xcx_form_input:not(.xcx_form_select_input):has(> textarea:focus) > .xcx_span_label,
.xcx_embed_container .xcx_form_input:not(.xcx_form_select_input):has(> textarea:not(:placeholder-shown)) > .xcx_span_label {
    top: 0;
    font-size: 12px !important;
    font-weight: 600;
    color: var(--xcx-blue, #0596D4);
}
/* hide the native placeholder — the label is the single visible placeholder */
.xcx_embed_container .xcx_form_input:not(.xcx_form_select_input) > input:not([type="hidden"])::placeholder,
.xcx_embed_container .xcx_form_input:not(.xcx_form_select_input) > textarea::placeholder { color: transparent; }
.xcx_embed_container .xcx_form_input input[type="text"],
.xcx_embed_container .xcx_form_input input[type="email"],
.xcx_embed_container .xcx_form_input input[type="url"],
.xcx_embed_container .xcx_form_input input[type="tel"],
.xcx_embed_container .xcx_form_input input[type="number"],
.xcx_embed_container .xcx_form_input input:not([type]),
.xcx_embed_container .xcx_form_input select,
.xcx_embed_container .xcx_form_input textarea {
    width: 100%;
    border: 1px solid #ccd2d8 !important;
    border-radius: var(--xcx-radius, 5px);
    padding: 10px 12px !important;
    min-height: 44px;
    background: #fff !important;
    box-sizing: border-box;
    transition: border-color .2s ease;
}
.xcx_embed_container .xcx_form_input input:focus,
.xcx_embed_container .xcx_form_input select:focus,
.xcx_embed_container .xcx_form_input textarea:focus {
    border-color: var(--xcx-blue, #0596D4) !important;
    outline: none;
}
/* errors flow below the field instead of the standalone-form's absolute offset,
   and empty error slots are hidden (no stray red icons before submit) */
.xcx_embed_container .xcx_form_error_ {
    position: relative !important;
    top: unset !important;
    bottom: unset !important;
    margin-top: 5px !important;
}
.xcx_embed_container .xcx_form_error_:empty { display: none !important; }

/* ══ Button consistency — align the Avada login button (+ any square button) ══ */
a.tcx-contact-form-login,
.fusion-button.tcx-contact-form-login,
.xcx_form .fusion-button {
    border-radius: var(--xcx-radius, 5px) !important;
    background: var(--xcx-blue, #0596D4) !important;
    background-image: none !important;
    border: 1.5px solid var(--xcx-blue, #0596D4) !important;
    color: #fff !important;
    padding: 11px 26px !important;
    box-shadow: none !important;
    transition: background var(--xcx-transition), border-color var(--xcx-transition) !important;
}
a.tcx-contact-form-login:hover,
.fusion-button.tcx-contact-form-login:hover,
.xcx_form .fusion-button:hover {
    background: var(--xcx-blue-dark, #0a6aa1) !important;
    border-color: var(--xcx-blue-dark, #0a6aa1) !important;
    color: #fff !important;
}
a.tcx-contact-form-login .fusion-button-text,
.fusion-button.tcx-contact-form-login .fusion-button-text {
    color: #fff !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   PARTNER APPLICATION FORM (inlined) — redesign onto the design system.
   Functionality/markup IDs unchanged; visual only. Replaces the old inline CSS.
   ══════════════════════════════════════════════════════════════════════════ */
.xcx_become_a_partner_form .xcx_wizard_steps { position: relative; }
.xcx_become_a_partner_form .xcx_current_step {
    position: absolute; right: 0; top: 2px;
    font-size: 14px; font-weight: 400; line-height: 1.4;
    color: var(--xcx-text-muted, #949494); opacity: 1;
}
.xcx_become_a_partner_form .xcx_wizard_title {
    border-bottom: 1px solid var(--xcx-divider, #949494);
    padding-bottom: 8px; margin: 0 0 22px;
    font-size: 20px; font-weight: 700; color: #000; line-height: 1.3;
}
/* two-up fields (city/zip, etc.) */
.xcx_become_a_partner_form .xcx_form_columns { display: flex; flex-wrap: wrap; gap: 0 20px; }
.xcx_become_a_partner_form .xcx_form_columns .xcx_form_column_two { flex: 1 1 300px; min-width: 0; margin: 0; }

/* wizard button row: Back left, Next/Submit right, all rounded */
.xcx_become_a_partner_form .xcx_wizard_btns { display: flow-root; margin-top: 24px; }
.xcx_become_a_partner_form .xcx_wizard_btns .xcx_wizard_btn { border-radius: var(--xcx-radius, 5px); }
.xcx_become_a_partner_form_submit { display: none; float: right; position: relative; }
.xcx_become_a_partner_form_submit input[type="submit"] {
    border-radius: var(--xcx-radius, 5px) !important;
    background: var(--xcx-blue, #0596D4); color: #fff;
    border: 1.5px solid var(--xcx-blue, #0596D4);
    padding: 11px 28px; font-size: 15px; cursor: pointer;
    transition: background var(--xcx-transition), border-color var(--xcx-transition);
}
.xcx_become_a_partner_form_submit input[type="submit"]:hover:not(:disabled) {
    background: var(--xcx-blue-dark, #0a6aa1); border-color: var(--xcx-blue-dark, #0a6aa1);
}
.xcx_become_a_partner_form_submit input[type="submit"]:disabled { opacity: .5; cursor: not-allowed; }
.xcx_become_a_partner_form_errors {
    display: none; color: #B00020; font-size: 13px; margin-bottom: 8px; text-align: right;
}

/* success card — centered, matches the contact-form success */
.xcx_become_a_partner_success { display: none; text-align: center; padding: 48px 24px; min-height: 300px; }
.xcx_become_a_partner_success .xcx_bap_success_icon {
    font-size: 52px; line-height: 1; color: var(--xcx-blue, #0596D4); margin-bottom: 18px;
}
.xcx_become_a_partner_success .xcx_bap_success_title {
    border: none; padding: 0; margin: 0 0 12px; font-size: 24px; font-weight: 700; color: #333; line-height: 1.3;
}
.xcx_become_a_partner_success .xcx_bap_success_msg {
    max-width: 540px; margin: 0 auto; font-size: 15px; line-height: 1.6; color: #333;
}

/* ══════════════════════════════════════════════════════════════════════════
   UNIFIED FLOATING LABELS — main / quote / CSR text fields (.xcx_input_in_label)
   Same behavior as the partner form: the label sits as an in-field placeholder and
   floats (blue) to the top border on focus OR when the field has a value — including
   values set programmatically by Google Places autofill (pure CSS, no JS needed).
   Scoped with :has(> input|textarea) so custom SELECT fields keep their own label.
   ══════════════════════════════════════════════════════════════════════════ */
/* Only real text/textarea fields — never custom SELECT wrappers (.xcx_form_select_input,
   which carry a hidden <input> for their value) — so dropdown labels are untouched. */
.xcx_form_input:not(.xcx_form_select_input):has(> input:not([type="hidden"])),
.xcx_form_input:not(.xcx_form_select_input):has(> textarea),
.xcx_form_input_textarea:has(> textarea) { position: relative; }

.xcx_form_input:not(.xcx_form_select_input):has(> input:not([type="hidden"])) > .xcx_input_in_label,
.xcx_form_input:not(.xcx_form_select_input):has(> textarea) > .xcx_input_in_label,
.xcx_form_input_textarea:has(> textarea) > .xcx_input_in_label {
    position: absolute;
    left: 12px; top: 22px; transform: translateY(-50%);
    margin: 0; padding: 0 5px; background: #fff; opacity: 1 !important;
    color: #949494; font-size: 15px !important; font-weight: 400; line-height: 1;
    pointer-events: none; transition: all .18s ease-out; z-index: 2;
    max-width: calc(100% - 30px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.xcx_form_input:not(.xcx_form_select_input):has(> input:not([type="hidden"]):focus) > .xcx_input_in_label,
.xcx_form_input:not(.xcx_form_select_input):has(> input:not([type="hidden"]):not(:placeholder-shown)) > .xcx_input_in_label,
.xcx_form_input:not(.xcx_form_select_input):has(> textarea:focus) > .xcx_input_in_label,
.xcx_form_input:not(.xcx_form_select_input):has(> textarea:not(:placeholder-shown)) > .xcx_input_in_label,
.xcx_form_input_textarea:has(> textarea:focus) > .xcx_input_in_label,
.xcx_form_input_textarea:has(> textarea:not(:placeholder-shown)) > .xcx_input_in_label {
    top: 0; font-size: 12px !important; font-weight: 600; color: var(--xcx-blue, #0596D4);
}
.xcx_form_input:not(.xcx_form_select_input) > input:not([type="hidden"])::placeholder,
.xcx_form_input:not(.xcx_form_select_input) > textarea::placeholder,
.xcx_form_input_textarea > textarea::placeholder { color: transparent; }

/* ══════════════════════════════════════════════════════════════════════════
   CUSTOM SELECT DROPDOWNS — consistent box + floating blue label (all forms).
   Partner selects lacked .xcx_border_input (no box) and use .xcx_span_label;
   proposal/others use .xcx_input_in_label + .xcx_border_input. This unifies both.
   ══════════════════════════════════════════════════════════════════════════ */
.xcx_form_select_input { position: relative; }

/* box for selects that don't already carry .xcx_border_input (e.g. the partner form) */
.xcx_form_select_input > .xcx_form_select_field:not(.xcx_border_input) {
    border: 1px solid #ccd2d8;
    border-radius: var(--xcx-radius, 5px);
    min-height: 44px;
    padding: 11px 34px 11px 12px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1.3;
    color: #333;
    display: flex;
    align-items: center;
}

/* the label acts as an in-field placeholder (custom-widget selects only — never native <select>) */
.xcx_form_select_input:has(> .xcx_form_select_field) > .xcx_input_in_label,
.xcx_form_select_input:has(> .xcx_form_select_field) > .xcx_span_label {
    position: absolute; left: 12px; top: 22px; transform: translateY(-50%);
    margin: 0; padding: 0 5px; background: #fff; opacity: 1 !important;
    color: #949494; font-size: 15px !important; font-weight: 400; line-height: 1;
    pointer-events: none; transition: all .18s ease-out; z-index: 2;
    max-width: calc(100% - 40px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* …and floats (blue) when the dropdown is opened (.active) OR a value is chosen */
.xcx_form_select_input:has(> .xcx_form_select_field) > .xcx_input_in_label.active,
.xcx_form_select_input:has(> .xcx_form_select_field) > .xcx_span_label.active,
.xcx_form_select_input:has(> .xcx_form_select_field:not(.placeholder):not(:empty)) > .xcx_input_in_label,
.xcx_form_select_input:has(> .xcx_form_select_field:not(.placeholder):not(:empty)) > .xcx_span_label {
    top: 0; font-size: 12px !important; font-weight: 600; color: var(--xcx-blue, #0596D4);
}
/* the field's own placeholder text is hidden — the label serves as the placeholder */
.xcx_form_select_input > .xcx_form_select_field.placeholder { color: transparent; }

/* vertically center the dropdown chevron for selects that lack .xcx_remove_padding
   (e.g. the partner form — theme default placed it at the bottom of the box) */
.xcx_form_select_input:not(.xcx_remove_padding)::after {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%);
    right: 14px !important;
}

/* Force rounded submit buttons — the partner & VoIP submits are <input type="submit">,
   which a theme input[type=submit] reset (border-radius:0) can outrank. Higher specificity: */
input[type="submit"].xcx_form_submit_input,
input[type="button"].xcx_form_submit_input,
.xcx_embed_container input[type="submit"],
.xcx_become_a_partner_form input[type="submit"] {
    border-radius: var(--xcx-radius, 5px) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   FLOATING LABELS for SlimSelect dropdowns (.xcx_cf_slims) and the phone input
   (intl-tel-input .iti) — these are library widgets, so JS toggles .active on the
   label when a value exists; CSS floats it (blue) on .active or focus. Matches the
   text-input / custom-select animation.
   ══════════════════════════════════════════════════════════════════════════ */
.xcx_form_input.xcx_cf_slims,
.xcx_form_input:has(.iti) { position: relative; }

/* base: label chip pinned to the top border (float position) */
.xcx_form_input.xcx_cf_slims > .xcx_input_in_label,
.xcx_form_input:has(.iti) > .xcx_input_in_label {
    position: absolute; left: 12px; top: 0; transform: translateY(-50%);
    margin: 0; padding: 0 5px; background: #fff;
    color: #949494; font-size: 12px !important; font-weight: 400; line-height: 1;
    pointer-events: none; transition: all .18s ease-out; z-index: 3;
    max-width: calc(100% - 44px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* SlimSelect: keep the widget's OWN placeholder + selected value fully visible.
   Our label stays hidden until a value is chosen, then it floats in (blue) at the top —
   so the selected value is never covered/hidden. */
.xcx_form_input.xcx_cf_slims > .xcx_input_in_label { opacity: 0; }
.xcx_form_input.xcx_cf_slims > .xcx_input_in_label.active,
.xcx_form_input.xcx_cf_slims:focus-within > .xcx_input_in_label {
    opacity: 1; font-weight: 600; color: var(--xcx-blue, #0596D4);
}

/* Phone: the dial code (+1) is always shown, so keep the label floated; blue on focus/value */
.xcx_form_input:has(.iti) > .xcx_input_in_label { opacity: 1; }
.xcx_form_input:has(.iti) > .xcx_input_in_label.active,
.xcx_form_input:has(.iti):focus-within > .xcx_input_in_label {
    font-weight: 600; color: var(--xcx-blue, #0596D4);
}

/* ══════════════════════════════════════════════════════════════════════════
   REDESIGN v2 — Customer-Service topic picker + tech-redirect alert + /support
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Conversational topic picker (Customer Service) ───────────────────────── */
.xcx_topic_chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}
.xcx_topic_chip {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
    padding: 16px 18px;
    background: var(--xcx-card-bg);
    border: 1.5px solid #e3e6ea;
    border-radius: var(--xcx-radius);
    cursor: pointer;
    font-family: var(--xcx-font);
    font-size: var(--xcx-fs-body);
    color: var(--xcx-text);
    transition: border-color var(--xcx-transition), box-shadow var(--xcx-transition), transform var(--xcx-transition);
}
.xcx_topic_chip:hover,
.xcx_topic_chip:focus-visible {
    border-color: var(--xcx-blue);
    box-shadow: 0 3px 12px rgba(5, 150, 212, 0.12);
    transform: translateY(-1px);
    outline: none;
}
.xcx_topic_chip.is-selected {
    border-color: var(--xcx-blue);
    background: var(--xcx-blue-tint);
}
/* Match the main landing card icons exactly (.xcx_card_icon): 5px tile, duotone brand colors */
.xcx_topic_chip_ic {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: rgba(5, 150, 212, 0.10);
    color: var(--xcx-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.xcx_topic_chip_ic svg { width: 22px; height: 22px; display: block; }
.xcx_topic_chip_ic i { font-size: 20px; line-height: 1; }
.xcx_topic_chip_ic .fa-duotone,
.xcx_topic_chip_ic i {
    --fa-primary-color: var(--xcx-blue);
    --fa-secondary-color: var(--xcx-blue);
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 0.4;
}
/* fa-tag (Sales) reads better fully filled */
.xcx_topic_chip_ic .fa-tag { --fa-secondary-opacity: 1; }
.xcx_topic_chip_txt { font-weight: 600; line-height: 1.3; }
/* The 5th chip ("Something Else") spans the full width on the 2-col grid */
.xcx_topic_chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 620px) {
    .xcx_topic_chips { grid-template-columns: 1fr; }
    .xcx_topic_chip:last-child:nth-child(odd) { grid-column: auto; }
}

/* ── CSR AI → Technical Support redirect alert ────────────────────────────── */
.xcx_tech_redirect {
    margin: 16px 0;
    padding: 16px 18px;
    border: 1.5px solid var(--xcx-blue);
    border-radius: var(--xcx-radius);
    background: var(--xcx-blue-tint);
}
.xcx_tech_redirect_head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.xcx_tech_redirect_ic {
    flex: none;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--xcx-blue);
    font-size: 17px;
}
.xcx_tech_redirect_title { margin: 0 0 4px; font-weight: 700; color: var(--xcx-text); }
.xcx_tech_redirect_desc  { margin: 0; color: var(--xcx-text); font-size: 14px; line-height: 1.5; }
.xcx_tech_redirect_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    text-decoration: none;
    width: auto;
}
.xcx_tech_redirect_btn i { font-size: 13px; transition: transform var(--xcx-transition); }
.xcx_tech_redirect_btn:hover i { transform: translateX(4px); }

/* ── Standalone /support page layout ──────────────────────────────────────── */
/* No FAQ side panel on /support → drop the contact form's 2-col grid and use the
   full container width. */
.xcx_support_layout {
    display: block;
    max-width: none;
    width: 100%;
    margin: 0;
}
.xcx_support_layout .xcx_landing_header {
    text-align: left;
    margin-bottom: 24px;
}
.xcx_support_layout > .xcx_form,
.xcx_support_layout .xcx_support_form,
.xcx_support_layout .xcx_steps_card {
    width: 100%;
    max-width: none;
}
.xcx_support_layout #xcx_sup_login_gate .tcx-contact-form-login { margin-top: 6px; }

/* ── ?options=2: single dropdown directly on the landing screen ────────────── */
/* Wrapped in .xcx_steps_card so it looks identical to the Customer Service step
   (white card + same field padding from .xcx_form_row). */
.xcx_landing_dropdown { width: 100%; margin: 8px 0 0; }
/* Support hint under the subtitle — centered + white to match the landing header */
.xcx_landing_support_hint {
    text-align: center !important;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff !important;
}
.xcx_landing_support_hint a {
    color: var(--xcx-blue);
    text-decoration: none;
    font-weight: 600;
}
.xcx_landing_support_hint a:hover { text-decoration: underline; }
