/* SmartOffice Form Manager: namespaced styles using theme variables */

/*----------------------------------------
  SECTION
----------------------------------------*/

.sofm-section {
    background: linear-gradient(180deg, #F2F4FA 0%, #F4F7FF 100%);

}

.sofm-section *,
.sofm-section *::before,
.sofm-section *::after {
    box-sizing: border-box;
}

/*----------------------------------------
  LAYOUT
----------------------------------------*/

.sofm-layout {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.9fr);
    background: #fff;
    border: 1px solid #e7eaf0;
    min-height: 620px;
}

.sofm-intro-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #FFFFFF;
    border-width: 1px 0px 0px 1px;
    border-style: solid;
    border-color: #E5E7EB;

}

.sofm-intro-copy {
    padding: 32px 56px 32px 32px;

    border-bottom: 1px solid #E5E7EB;

}

/*----------------------------------------
  INTRO CONTENT
----------------------------------------*/

.sofm-eyebrow {
    margin: 0 0 16px;
    font-family: var(--zo-ff-body);
    font-size: var(--zo-fz-body-1);
    line-height: 24px;
    font-weight: var(--zo-fw-regular);
    text-transform: uppercase;
    color: var(--zo-text-secondary);
}

.sofm-section-title {
    max-width: 660px;
    margin: 0 0 16px;
    font-family: var(--zo-ff-main-heading);
    font-size: 64px;
    line-height: 1.12;

    color: var(--zo-text-primary);
    letter-spacing: -1px;
}

.sofm-section-description {
    max-width: 610px;
    margin: 0;
    font-family: var(--zo-ff-body);
    font-size: var(--zo-fz-text-xi);
    line-height: 1.5;
    font-weight: var(--zo-fw-regular);
    color: var(--zo-text-secondary);
}

/*----------------------------------------
  LOCATIONS
----------------------------------------*/

.sofm-locations {
    display: grid;
    grid-template-rows: repeat(3, minmax(105px, 1fr));
    flex: 1;
}

.sofm-location {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 105px;
    padding: 20px 30px;
    background: linear-gradient(250.95deg, rgba(219, 224, 240, 0.08) 0%, rgba(234, 220, 239, 0.08) 100.42%), #FFFFFF;
    border-bottom: 1px solid #E5E7EB;

}

.sofm-location::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: -30px;
    top: -35px;
    width: 145px;
    height: 190px;
    opacity: 0.45;
    background:
        radial-gradient(ellipse at 35% 45%, #dce5fa 0 9%, transparent 10%),
        radial-gradient(ellipse at 70% 70%, #e4e9f2 0 22%, transparent 23%);
    pointer-events: none;
}

.sofm-flag {
    position: relative;
    z-index: 1;
    flex: 0 0 34px;
    font-size: 38px;
    line-height: 1;
}

.sofm-location-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sofm-location-copy strong {
    font-family: var(--zo-ff-body);
    font-size: 16px;
    font-weight: var(--zo-fw-sbold);
    color: var(--zo-text-primary);
}

.sofm-location-copy span {
    font-family: var(--zo-ff-body);
    font-size: 14px;
    line-height: 22px;
    color: var(--zo-text-secondary);
}

.sofm-location-pin {
    position: absolute;
    right: 2%;
    top: 18px;
    z-index: 1;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1554ed;
    box-shadow: 0 0 0 3px #dbe6ff;
}

/*----------------------------------------
  FORM COLUMN AND CARD
----------------------------------------*/

.sofm-form-column {
    padding: 14px;
    background: #f8f9fb;
    border-left: 1px solid #e5e9ef;
}

.sofm-form-card {
    height: 100%;
    padding: 20px;
    background: #FFFFFF;
    border: 1px solid rgba(145, 158, 171, 0.12);
    /* z1 */
    box-shadow: 0px 1px 2px rgba(145, 158, 171, 0.16);
    border-radius: 6px;

}

.sofm-form-title {
    margin: 0 0 12px;


}

.sofm-form-description {
    margin: 0 0 24px;

    font-size: 14px;
    line-height: 22px;
    color: var(--zo-text-secondary);
}

/*----------------------------------------
  FORM AND FIELDS
----------------------------------------*/

.sofm-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sofm-fields {
    display: grid;
    gap: 10px 12px;
}

.sofm-fields-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sofm-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.sofm-field>label,
.sofm-priority legend {
    display: block;
    margin: 0 0 6px;
    font-family: var(--zo-ff-body);
    font-size: 14px;
    line-height: 22px;
    font-weight: var(--zo-fw-regular);
    color: var(--zo-text-primary);
}

.sofm-field label span,
.sofm-priority legend span {
    color: var(--zo-theme-primary);
    font-size: 12px;
}

.sofm-field input:not([type="file"]):not([type="radio"]),
.sofm-field select,
.sofm-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #dfe4eb;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
    color: var(--zo-text-primary);
    font-family: var(--zo-ff-body);
    font-size: 14px;
    line-height: 1.4;
    outline: none;
}

.sofm-field input:not([type="file"]):not([type="radio"]),
.sofm-field select {
    height: 34px;
}

.sofm-field textarea {
    min-height: 84px;
    resize: vertical;
}

.sofm-field input::placeholder,
.sofm-field textarea::placeholder {
    color: #9CA3AF;
    opacity: 1;
    font-size: 14px;
}

.sofm-field input:focus,
.sofm-field select:focus,
.sofm-field textarea:focus {
    border-color: var(--zo-theme-primary, #063fe0);
    box-shadow: 0 0 0 2px rgba(49, 95, 255, 0.08);
}

.sofm-field select {
    appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6c81' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
}

/*----------------------------------------
  PHONE FIELD
----------------------------------------*/

.sofm-phone-wrap {
    display: flex;
    gap: 6px;
    align-items: center;
}

.sofm-phone-country {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #dfe4eb;
    border-radius: 6px;
    font-family: var(--zo-ff-body);
    font-size: 12px;
}

.sofm-phone-wrap input {
    flex: 1;
    min-width: 0;
}

/*----------------------------------------
  PRIORITY OPTIONS
----------------------------------------*/

.sofm-priority {
    min-width: 0;
}

.sofm-priority legend {
    padding: 0;
}

.sofm-priority-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.sofm-priority-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    margin: 0;
    padding: 6px 4px;
    border: 1px solid #dfe4eb;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--zo-ff-body);
    font-size: 9px;
    color: #344154;
}

.sofm-priority-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sofm-priority-option span::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 5px;
    border-radius: 50%;
    background: #7c8795;
}

.sofm-priority-low span::before {
    background: #16a34a;
}

.sofm-priority-medium span::before {
    background: #06b6d4;
}

.sofm-priority-high span::before {
    background: #f59e0b;
}

.sofm-priority-critical span::before {
    background: #dc2626;
}

.sofm-priority-option:has(input:checked) {
    border-color: #16a34a;
    background: #eaf9f0;
}

.sofm-priority-option:has(input:focus-visible) {
    outline: 2px solid var(--zo-theme-primary, #063fe0);
    outline-offset: 2px;
}

/*----------------------------------------
  ATTACHMENTS
----------------------------------------*/

.sofm-attachments small {
    display: block;
    margin-top: 6px;
    color: #637381;
    font-family: var(--zo-ff-body);
    font-size: 12px;
    line-height: 18px;
}

.sofm-upload {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 68%;
    max-width: 250px;
    min-height: 34px;
    padding: 7px 10px;

    color: #0877ef !important;
    cursor: pointer;
    font-family: var(--zo-ff-body);
    font-size: 20px !important;

    background: rgba(6, 116, 223, 0.04);
    border: 1.5px dashed rgba(6, 116, 223, 0.32);
    border-radius: 900px;

}

.sofm-upload input {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
    overflow: hidden;
}

.sofm-upload-icon {
    font-size: 17px;
    font-weight: var(--zo-fw-bold);
}

.sofm-upload-text {
    text-decoration: underline;
}

/*----------------------------------------
  SUBMIT BUTTON
----------------------------------------*/

.sofm-submit {
    display: block;
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    padding: 11px 22px;
    border: 0;
    border-radius: 24px;
    background: var(--zo-theme-primary);
    color: #FDFDFE;
    font-family: var(--zo-ff-body);
    font-size: 15px;
    line-height: 26px;
    font-weight: var(--zo-fw-bold);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.sofm-submit:hover {
    background: var(--zo-theme-primary);
    transform: translateY(-1px);
    color: var(--zo-text-white, #fff);
    opacity: 0.9;
}

.sofm-submit:disabled {
    opacity: 0.8;
    cursor: wait;
    transform: none;
}

.sofm-submit-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

/*----------------------------------------
  AJAX SPINNER
----------------------------------------*/

.sofm-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sofm-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes sofm-spin {
    to {
        transform: rotate(360deg);
    }
}

/*----------------------------------------
  NOTICES
----------------------------------------*/

.sofm-notice {
    padding: 10px 12px;
    margin: 0 0 4px;
    border-radius: 6px;
    font-family: var(--zo-ff-body);
    font-size: 12px;
}

.sofm-notice-success {
    background: #eaf8ef;
    color: #166534;
    border: 1px solid #b7e4c7;
}

.sofm-notice-error {
    background: #fff1f1;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/*----------------------------------------
  SUBMISSION RESPONSE
----------------------------------------*/

.sofm-response {
    margin-top: 16px;
    padding: 15px 18px;
    border-radius: 10px;
    font-family: var(--zo-ff-body);
    font-size: var(--zo-fz-body-1);
    font-weight: var(--zo-fw-regular);
    line-height: 1.5;
}

.sofm-response[hidden] {
    display: none;
}

.sofm-response-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.sofm-response-error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

/*----------------------------------------
  HONEYPOT
----------------------------------------*/

.sofm-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/*----------------------------------------
  LARGE SCREENS
----------------------------------------*/

@media (min-width: 1500px) {
    .sofm-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(440px, 0.9fr);
    }
}

/*----------------------------------------
  TABLET
----------------------------------------*/

@media (max-width: 991px) {
    .sofm-section {
        padding: 16px;
    }

    .sofm-layout {
        grid-template-columns: minmax(0, 1fr) minmax(350px, 0.95fr);
    }

    .sofm-intro-copy {
        padding: 24px 22px;
    }

    .sofm-section-title {
        font-size: clamp(32px, 4vw, 40px);
    }

    .sofm-location {
        padding: 16px 22px;
    }

    .sofm-form-column {
        padding: 10px;
    }

    .sofm-form-card {
        padding: 20px;
    }
}

/*----------------------------------------
  MOBILE
----------------------------------------*/

@media (max-width: 767px) {
    .sofm-section {
        padding: 12px;
    }

    .sofm-layout {
        display: flex;
        flex-direction: column;
    }

    .sofm-intro-copy {
        padding: 26px 22px;
    }

    .sofm-section-title {
        font-size: var(--zo-fz-h2);
    }

    .sofm-locations {
        grid-template-rows: repeat(3, auto);
    }

    .sofm-location {
        min-height: 88px;
        padding: 16px 22px;
    }

    .sofm-form-column {
        border-left: 0;
        border-top: 1px solid #e5e9ef;
        padding: 12px;
    }

    .sofm-form-card {
        padding: 22px 18px;
    }

    .sofm-form-title {
        font-size: 22px;
    }

    .sofm-fields-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/*----------------------------------------
  SMALL MOBILE
----------------------------------------*/

@media (max-width: 480px) {
    .sofm-fields-two {
        grid-template-columns: 1fr;
    }

    .sofm-field-spacer {
        display: none;
    }

    .sofm-priority-options {
        gap: 5px;
    }

    .sofm-priority-option {
        font-size: 8px;
    }

    .sofm-upload {
        width: 100%;
    }
}

/*----------------------------------------
  REDUCED MOTION
----------------------------------------*/

@media (prefers-reduced-motion: reduce) {
    .sofm-spinner {
        animation-duration: 1.5s;
    }

    .sofm-submit {
        transition: none;
    }
}


/* Full Name: Full Row */
.sofm-field-full {
    grid-column: 1 / -1;
}

/* Work Email + Phone Number: Two Columns */
.sofm-fields-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}

@media (max-width: 480px) {
    .sofm-fields-two {
        grid-template-columns: 1fr;
    }
}


/*----------------------------------------
  SUPPORT & DEMO CTA SECTION
----------------------------------------*/

.sofm-support-cta {

    background: #F5F5F5;
    font-family: var(--zo-ff-body);
    color: var(--zo-text-primary);
}

.sofm-support-cta *,
.sofm-support-cta *::before,
.sofm-support-cta *::after {
    box-sizing: border-box;
}

.sofm-support-cta__container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 35px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
}

/* Support Card */

.sofm-support-card,
.sofm-demo-card {
    min-width: 0;
    min-height: 324px;
    border-radius: 16px;
    background: #FDFDFE;
}

.sofm-support-card {
    padding: 36px 48px;
}

.sofm-support-card__title {
    margin: 0 0 8px;
    font-family: var(--zo-ff-body);
    font-size: 20px;
    line-height: 1.2;
    font-weight: var(--zo-fw-bold);
    color: var(--zo-text-primary);
}

.sofm-support-card__description {
    max-width: 440px;
    margin: 0 0 12px;
    font-family: var(--zo-ff-body);
    font-size: 16px;
    line-height: 24px;
    font-weight: var(--zo-fw-regular);
    color: var(--zo-text-primary);
}

/* Support Hours */

.sofm-support-hours {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.sofm-support-hours__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    color: #8362D0;
    font-size: 20px;
}

.sofm-support-hours strong {
    font-weight: var(--zo-fw-sbold);
    color: var(--zo-text-primary);
}

.sofm-support-card__hours {
    margin: 0 0 6px 28px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--zo-text-secondary);
}

/* Contact Information */

.sofm-support-card__contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 28px;
}

.sofm-support-card__contact p {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
}

.sofm-support-card__contact p span {
    color: var(--zo-text-primary);
}

.sofm-support-card__contact a {
    color: var(--zo-theme-primary);
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.sofm-support-card__contact a:hover {
    color: var(--zo-text-primary);
    text-decoration: underline;
}

/* Demo CTA Card */

.sofm-demo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 30px;
    text-align: center;
}

.sofm-demo-card__title {
    margin: 0 0 16px;
    font-family: var(--zo-ff-body);
    font-size: 24px;
    line-height: 1.2;
    font-weight: var(--zo-fw-bold);
    color: #00164B;
}

.sofm-demo-card__description {
    margin: 0 0 48px;
    font-family: var(--zo-ff-body);
    font-size: 16px;
    line-height: 24px;
    font-weight: var(--zo-fw-regular);
    color: var(--zo-text-secondary);
}

.sofm-demo-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 11px 22px;
    border-radius: 48px;
    background: var(--zo-theme-primary);
    color: #fff;
    font-family: var(--zo-ff-body);
    font-size: 15px;
    line-height: 26px;
    font-weight: var(--zo-fw-bold);
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.sofm-demo-card__button i {
    font-size: 16px;
    line-height: 1;
}

.sofm-demo-card__button:hover {
    background: #0338c4;
    color: #fff;
    transform: translateY(-1px);
}

.sofm-demo-card__button:focus-visible {
    outline: 2px solid #0645e5;
    outline-offset: 4px;
}

/*----------------------------------------
  RESPONSIVE
----------------------------------------*/

@media (max-width: 991.98px) {
    .sofm-support-cta__container {
        gap: 24px;
        padding: 0 24px;
    }

    .sofm-support-card {
        padding: 24px;
    }

    .sofm-demo-card {
        padding: 24px 20px;
    }


}

@media (max-width: 767.98px) {
    .sofm-support-cta {
        padding: 24px 0 40px;
    }

    .sofm-support-cta__container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .sofm-support-card,
    .sofm-demo-card {
        min-height: 0;
        border-radius: 12px;
    }

    .sofm-support-card {
        padding: 24px;
    }

    .sofm-demo-card {
        padding: 36px 20px;
    }

    .sofm-demo-card__description {
        margin-bottom: 24px;
    }
}

@media (max-width: 420px) {
    .sofm-support-card {
        padding: 20px;
    }

    .sofm-support-card__hours,
    .sofm-support-card__contact {
        margin-left: 0;
    }

    .sofm-support-hours {
        gap: 8px;
    }


}

@media (prefers-reduced-motion: reduce) {

    .sofm-support-card__contact a,
    .sofm-demo-card__button {
        transition: none;
    }
}


/*----------------------------------------
  BILLING SUPPORT TEMPLATE
----------------------------------------*/

.sofm-billing-section {
    padding: 40px 24px;
    background: #f1f3fa;
}

.sofm-billing-section .sofm-layout {
    max-width: 1440px;
    grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.95fr);
    border-color: #e7eaf0;
}

/* Billing Introduction */

.sofm-billing-section .sofm-intro-copy {
    padding: 20px 18px 18px;
}

.sofm-billing-section .sofm-eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
    line-height: 1.5;
}

.sofm-billing-section .sofm-section-title {
    max-width: 450px;
    margin-bottom: 16px;
    font-size: clamp(34px, 3.4vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.sofm-billing-section .sofm-section-description {
    max-width: 450px;
    font-size: 12px;
    line-height: 1.55;
}

/* Location Cards */

.sofm-billing-section .sofm-location {
    min-height: 112px;
    padding: 20px 18px;
}

.sofm-billing-section .sofm-location-copy strong {
    font-size: 10px;
}

.sofm-billing-section .sofm-location-copy span {
    font-size: 9px;
}

.sofm-billing-section .sofm-flag {
    flex-basis: 24px;
    font-size: 25px;
}

/* Form Panel */

.sofm-billing-section .sofm-form-column {
    padding: 12px;
}

.sofm-billing-section .sofm-form-card {
    padding: 18px;
    border-color: #edf0f4;
    border-radius: 4px;
}

.sofm-billing-section .sofm-form-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.sofm-billing-section .sofm-form-description {
    font-size: 9px;
    line-height: 1.55;
    margin-bottom: 14px;
}

/* Full Name: Full Width */

.sofm-billing-section>.sofm-layout>.sofm-form-column .sofm-form>.sofm-field {
    width: 100%;
}

/* Email and Transaction ID: Two Columns */

.sofm-billing-section .sofm-fields-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
}

.sofm-billing-section .sofm-field>label {
    font-size: 9px;
    margin-bottom: 5px;
}

.sofm-billing-section .sofm-field input:not([type="file"]):not([type="radio"]),
.sofm-billing-section .sofm-field select {
    height: 34px;
}

.sofm-billing-section .sofm-field input:not([type="file"]):not([type="radio"]),
.sofm-billing-section .sofm-field select,
.sofm-billing-section .sofm-field textarea {
    padding: 8px 10px;
    font-size: 9px;
}

.sofm-billing-section .sofm-field textarea {
    min-height: 84px;
}

/* Submit */

.sofm-billing-section .sofm-submit {
    min-height: 36px;
    margin-top: 0;
    padding: 9px 18px;
    font-size: 10px;
}

/* Responsive */

@media (max-width: 991px) {
    .sofm-billing-section {
        padding: 24px 16px;
    }

    .sofm-billing-section .sofm-layout {
        grid-template-columns: minmax(0, 1fr) minmax(350px, 0.95fr);
    }

    .sofm-billing-section .sofm-intro-copy {
        padding: 24px 18px;
    }

    .sofm-billing-section .sofm-section-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .sofm-billing-section .sofm-layout {
        display: flex;
        flex-direction: column;
    }

    .sofm-billing-section .sofm-section-title {
        max-width: 100%;
        font-size: var(--zo-fz-h2);
    }

    .sofm-billing-section .sofm-location {
        min-height: 88px;
    }

    .sofm-billing-section .sofm-form-column {
        border-left: 0;
        border-top: 1px solid #e5e9ef;
    }
}

@media (max-width: 480px) {
    .sofm-billing-section .sofm-fields-two {
        grid-template-columns: 1fr;
    }
}


/* Demo Request Form */
.sofm-demo {

    background: linear-gradient(180deg, #F2F4FA 0%, #F4F7FF 100%);

}

.sofm-demo__content {
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    background: #FDFDFE;
    /* z1 */
    box-shadow: 0px 1px 2px rgba(145, 158, 171, 0.16);
    border-radius: 24px;
    padding: 32px;
}

.sofm-demo__header {
    margin-bottom: 32px;
    text-align: center;
}

.sofm-demo__header h2 {
    margin-bottom: 12px;
}

.sofm-demo__header p {
    max-width: 623px;
    margin-inline: auto;
    color: var(--zo-text-secondary);
}

.sofm-demo__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sofm-demo .sofm-field {
    min-width: 0;
    margin-bottom: 20px;
}

.sofm-demo .sofm-field label {
    display: block;
    margin-bottom: 8px;
}

.sofm-demo .sofm-field input,
.sofm-demo .sofm-field select,
.sofm-demo .sofm-field textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.sofm-demo .sofm-field textarea {
    resize: vertical;
}

.sofm-demo__products,
.sofm-demo__requirements,
.sofm-demo__submit {
    width: 100%;
}

.sofm-demo__products select[multiple] {
    min-height: 140px;
}

.sofm-demo__products select[multiple] option {
    padding: 6px;
}

.sofm-demo__submit {
    margin-top: 8px;
    text-align: center;
}

.sofm-demo__submit button {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 575.98px) {
    .sofm-demo {
        padding: 32px 16px;
    }

    .sofm-demo__fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
}

.sofm-demo .privacy-policy {
    color: var(--zo-theme-primary);
}



/*----------------------------------------
  DEMO PRODUCT MULTI-SELECT DROPDOWN
----------------------------------------*/

.sofm-demo .sofm-product-dropdown {
    position: relative;
    width: 100%;
}

/* Dropdown toggle */
.sofm-demo .sofm-product-dropdown__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #dfe4eb;
    border-radius: 6px;
    background: #fff;
    color: var(--zo-text-primary);
    font-family: var(--zo-ff-body);
    font-size: 14px;
    line-height: 1.4;
    font-weight: var(--zo-fw-regular);
    text-align: left;
    cursor: pointer;
    box-shadow: none;
}

.sofm-demo .sofm-product-dropdown__toggle:focus-visible {
    outline: 2px solid var(--zo-theme-primary, #063fe0);
    outline-offset: 2px;
}

.sofm-demo .sofm-product-dropdown__selected {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown panel */
.sofm-demo .sofm-product-dropdown__options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 999;
    display: block;
    max-height: 240px;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 5px;
    border: 1px solid #dfe4eb;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

/* Respect the hidden attribute */
.sofm-demo .sofm-product-dropdown__options[hidden] {
    display: none !important;
}

/* Each option row */
.sofm-demo .sofm-product-dropdown__options .sofm-product-dropdown__option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--zo-text-primary);
    font-family: var(--zo-ff-body);
    font-size: 14px;
    font-weight: var(--zo-fw-regular);
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}

/* Prevent global field label styles from changing option labels */
.sofm-demo .sofm-product-dropdown__options .sofm-product-dropdown__option span {
    display: block;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Checkbox: override global input width and height */
.sofm-demo .sofm-product-dropdown__options .sofm-product-dropdown__option input[type="checkbox"] {
    display: inline-block;
    flex: 0 0 16px;
    width: 16px !important;
    min-width: 16px;
    max-width: 16px;
    height: 16px !important;
    min-height: 16px;
    margin: 0;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
    accent-color: var(--zo-theme-primary, #063fe0);
}

.sofm-demo .sofm-product-dropdown__options .sofm-product-dropdown__option:hover {
    background: #f2f5fb;
}

.sofm-demo .sofm-product-dropdown__options .sofm-product-dropdown__option:has(input:checked) {
    background: #f2f5fb;
}

.sofm-demo .sofm-product-dropdown__options .sofm-product-dropdown__option input:focus-visible {
    outline: 2px solid var(--zo-theme-primary, #063fe0);
    outline-offset: 2px;
}


/* Product context on product-specific demo pages */
.sofm-demo__selected-product {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1px solid #dfe4eb;
    border-radius: 6px;
    background: #f7f9fc;
    color: var(--zo-text-primary);
    font-family: var(--zo-ff-body);
    font-size: 14px;
    line-height: 1.4;
}



/*==================================================
  PRODUCT DEMO PAGE FORM SECTION
==================================================*/

.product-demo-page__form-section,
.product-demo-page__form-section *,
.product-demo-page__form-section *::before,
.product-demo-page__form-section *::after {
    box-sizing: border-box;
}

.product-demo-page__form-section {
    position: relative;
    overflow: hidden;

}

.product-demo-page__form-section>.container {
    width: calc(100% - 40px);
    max-width: 1300px;
    margin-inline: auto;
}

/* Main layout */

.product-demo-page__form-section .sofm-demo__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 64px);

    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Left content */

.product-demo-page__form-section .sofm-demo__intro {
    min-width: 0;
    padding: 0;
}

.product-demo-page__form-section .sofm-demo__header {
    max-width: 623px;
    margin: 0 0 24px;
    text-align: left;
}

.product-demo-page__form-section .sofm-demo__header h2 {
    margin: 0 0 16px;
    color: var(--zo-text-primary, #212b36);
    font-family: var(--zo-ff-main-heading, "Lora", Georgia, serif);
    font-size: clamp(36px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -1px;
}

.product-demo-page__form-section .sofm-demo__header p {

    font-size: 20px;
    line-height: 1.5;

}

/* Benefits */

.product-demo-page__form-section .sofm-demo__benefits h3 {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
}

.product-demo-page__form-section .sofm-demo__benefits ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-demo-page__form-section .sofm-demo__benefits li {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    color: var(--zo-text-secondary);
    font-size: 18px;
    line-height: 24px;
}

.product-demo-page__form-section .sofm-demo__benefits li i {
    color: var(--zo-theme-primary);
    font-size: 22px;
}

/* Illustration */

.product-demo-page__form-section .sofm-demo__illustration {
    width: min(100%, 440px);
    margin: 42px 0 0 0;
    pointer-events: none;
}

.product-demo-page__form-section .sofm-demo__illustration svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Form card */

.product-demo-page__form-section .sofm-demo__card {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 32px;

    background: #FDFDFE;
    /* z1 */
    box-shadow: 0px 1px 2px rgba(145, 158, 171, 0.16);
    border-radius: 24px;

}

/* Form heading */

.product-demo-page__form-section .sofm-demo__form-header {
    margin: 0 0 32px;
    text-align: left;
}

.product-demo-page__form-section .sofm-demo__form-header h2 {
    margin: 0 0 12px;
    letter-spacing: -1px;

}

.product-demo-page__form-section .sofm-demo__form-header p {
    margin: 0;
    color: var(--zo-text-secondary);

}

/* Form reset — scoped to product demo only */

.product-demo-page__form-section form.sofm-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

/* Two-column fields */

.product-demo-page__form-section .sofm-demo__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px 10px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.product-demo-page__form-section .sofm-field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.product-demo-page__form-section .sofm-field>label {
    display: block;

}

/* Inputs */

.product-demo-page__form-section .sofm-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.product-demo-page__form-section .sofm-field select,
.product-demo-page__form-section .sofm-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    border: 1px solid #dfe4eb;
    border-radius: 7px;
    background: #fff;

    font-size: 14px;

    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-demo-page__form-section .sofm-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.product-demo-page__form-section .sofm-field select {
    height: 36px;
    min-height: 36px;
    padding: 0 10px;
}

.product-demo-page__form-section .sofm-field textarea {
    min-height: 94px;
    padding: 10px;
    line-height: 1.5;
    resize: vertical;
}

.product-demo-page__form-section .sofm-demo__consent {
    font-size: 12px;
}

.product-demo-page__form-section .sofm-field input::placeholder,
.product-demo-page__form-section .sofm-field textarea::placeholder {
    color: #9CA3AF;
    opacity: 1;
    font-size: 14px;
}

.product-demo-page__form-section .sofm-field input:focus,
.product-demo-page__form-section .sofm-field select:focus,
.product-demo-page__form-section .sofm-field textarea:focus {
    border-color: var(--zo-theme-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgb(6 69 245 / 8%);
    font-size: 14px;
}

/* Product selection dropdown */

.product-demo-page__form-section .sofm-demo__products {
    width: 100%;
    margin: 0;
}

.product-demo-page__form-section .sofm-product-dropdown {
    position: relative;
    width: 100%;
    min-width: 0;
}

.product-demo-page__form-section .sofm-product-dropdown__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 36px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #dfe4eb;
    border-radius: 7px;
    background: #fff;
    color: #263143;
    font-family: var(--zo-ff-body, "Public Sans", sans-serif);
    font-size: 10px;
    text-align: left;
    cursor: pointer;
}

.product-demo-page__form-section .sofm-product-dropdown__selected {
    min-width: 0;
    overflow: hidden;
    color: #8995a8;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-demo-page__form-section .sofm-product-dropdown__options {
    position: absolute;
    z-index: 999;
    top: calc(100% + 5px);
    right: 0;
    left: 0;
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    border: 1px solid #dfe4eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
}

.product-demo-page__form-section .sofm-product-dropdown__options[hidden] {
    display: none !important;
}

.product-demo-page__form-section .sofm-product-dropdown__option {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 9px;
    border-radius: 5px;
    cursor: pointer;
}

.product-demo-page__form-section .sofm-product-dropdown__option:hover {
    background: #f3f6ff;
}

.product-demo-page__form-section .sofm-product-dropdown__option input[type="checkbox"] {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--zo-theme-primary, #0645f5);
}

.product-demo-page__form-section .sofm-product-dropdown__option span {
    min-width: 0;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.product-demo-page__form-section .sofm-product-dropdown__empty {
    margin: 0;
    padding: 9px;
    color: var(--zo-text-secondary, #637381);
    font-size: 11px;
}

/* Selected product for product-specific demos */

.product-demo-page__form-section .sofm-demo__selected-product {
    width: 100%;
    padding: 10px;
    border: 1px solid #dfe4eb;
    border-radius: 7px;
    background: #f8faff;
    font-size: 11px;
    overflow-wrap: anywhere;
}

/* Requirements */

.product-demo-page__form-section .sofm-demo__requirements {
    width: 100%;
    margin: 0;
}

/* Privacy text */

.product-demo-page__form-section .sofm-demo__card>p {
    margin: 0;
    padding: 0;
    color: var(--zo-text-secondary, #637381);
    font-family: var(--zo-ff-body, "Public Sans", sans-serif);
    font-size: 9px;
    line-height: 1.65;
}

.product-demo-page__form-section a.privacy-policy {
    color: var(--zo-theme-primary, #0645f5);
    text-decoration: none;
}

.product-demo-page__form-section a.privacy-policy:hover {
    text-decoration: underline;
}

/* Submit button */

.product-demo-page__form-section .sofm-demo__submit {
    width: 100%;
    margin: 24px 0 0;
    padding: 0;
}

.product-demo-page__form-section .sofm-demo__submit .sofm-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 11px 22px;
    border: 0;
    border-radius: 48px;
    background: var(--zo-theme-primary);
    color: #FDFDFE;
    font-size: 15px;
    font-weight: 700;
    line-height: 26px;
    cursor: pointer;
    box-shadow: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-demo-page__form-section .sofm-demo__submit .sofm-submit:hover {
    transform: translateY(-1px);
    background: var(--zo-theme-primary, #073fe0);
    color: #fff;
    opacity: 0.9;
}

.product-demo-page__form-section .sofm-demo__submit .sofm-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.product-demo-page__form-section .sofm-submit-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Honeypot */

.product-demo-page__form-section .sofm-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* AJAX response */

.product-demo-page__form-section .sofm-response[hidden] {
    display: none !important;
}

.product-demo-page__form-section .sofm-response {
    width: 100%;
    margin-top: 18px;
}

/* Tablet */

@media (max-width: 991px) {
    .product-demo-page__form-section {
        padding: 40px 0;
    }

    .product-demo-page__form-section .sofm-demo__content {
        gap: 28px;
    }

    .product-demo-page__form-section .sofm-demo__card {
        padding: 24px;
    }

    .product-demo-page__form-section .sofm-demo__header h2 {
        font-size: clamp(32px, 4vw, 40px);
    }

    .product-demo-page__form-section .sofm-demo__form-header h2 {
        font-size: 29px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .product-demo-page__form-section {
        padding: 36px 0;
    }

    .product-demo-page__form-section>.container {
        width: calc(100% - 32px);
    }

    .product-demo-page__form-section .sofm-demo__content {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .product-demo-page__form-section .sofm-demo__header {
        margin-bottom: 22px;
    }

    .product-demo-page__form-section .sofm-demo__header h2 {
        font-size: clamp(34px, 7vw, 42px);
    }

    .product-demo-page__form-section .sofm-demo__illustration {
        width: min(100%, 340px);
        margin: 16px auto 0;
    }

    .product-demo-page__form-section .sofm-demo__card {
        padding: 24px;
    }

    .product-demo-page__form-section .sofm-demo__form-header h2 {
        font-size: 30px;
    }
}

/* Small mobile */

@media (max-width: 480px) {
    .product-demo-page__form-section>.container {
        width: calc(100% - 28px);
    }

    .product-demo-page__form-section .sofm-demo__card {
        padding: 20px 16px;
    }

    .product-demo-page__form-section .sofm-demo__fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .product-demo-page__form-section .sofm-demo__header h2 {
        font-size: 34px;
    }

    .product-demo-page__form-section .sofm-demo__form-header h2 {
        font-size: 28px;
    }

    .product-demo-page__form-section .sofm-field>label {
        font-size: 11px;
    }

    .product-demo-page__form-section .sofm-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    .product-demo-page__form-section .sofm-field select {
        height: 42px;
        min-height: 42px;
        font-size: 12px;
    }

    .product-demo-page__form-section .sofm-field textarea {
        min-height: 100px;
        font-size: 12px;
    }

    .product-demo-page__form-section .sofm-product-dropdown__toggle {
        min-height: 42px;
        font-size: 12px;
    }

    .product-demo-page__form-section .sofm-demo__submit .sofm-submit {
        min-height: 44px;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .product-demo-page__form-section *,
    .product-demo-page__form-section *::before,
    .product-demo-page__form-section *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

.product-specific-demo {
    display: none;
}