﻿
.dl-horizontal dt {
    white-space: normal;
}

.flex-faq-accordion .flex-site-feature-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1016px;
    margin: 0 auto;
    gap: 16px;
}

.flex-site-feature-card.flex-faq-item {
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.flex-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 30px;
    color: #0b1730;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.flex-faq-item summary::-webkit-details-marker {
    display: none;
}

.flex-faq-item summary:focus-visible {
    outline: 3px solid rgba(79, 70, 229, .3);
    outline-offset: -3px;
}

.flex-faq-toggle {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eeecff;
    color: #4f46e5;
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
}

.flex-faq-toggle::before {
    content: "+";
}

.flex-faq-item[open] .flex-faq-toggle::before {
    content: "−";
}

.flex-faq-item > p {
    min-height: 0;
    margin: 0;
    padding: 0 30px 24px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.65;
}

.trial-expired-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, .72);
}

.trial-expired-dialog {
    width: min(480px, 100%);
    padding: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .25);
    text-align: center;
}

.trial-expired-dialog h2 {
    margin: 0 0 12px;
    color: #172033;
    font-size: 24px;
}

.trial-expired-dialog p {
    margin: 0 0 24px;
    color: #64748b;
    line-height: 1.6;
}

.trial-expired-plans-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 10px;
    background: #4f46e5;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.trial-expired-plans-link:hover {
    background: #4338ca;
}

.demo-trial-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 11px 16px;
    color: #3730a3;
    background: linear-gradient(100deg, #eef2ff, #f5f3ff 58%, #eff6ff);
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, .08);
    font-size: 13px;
}

.demo-trial-counter span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.demo-trial-counter span .fa {
    color: #4f46e5;
}

.demo-trial-counter strong {
    color: #312e81;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 520px) {
    .demo-trial-counter {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .flex-faq-item summary {
        padding: 20px;
        font-size: 16px;
    }

    .flex-faq-item > p {
        padding: 0 20px 20px;
        font-size: 15px;
    }
}

.lead-detail-page .lead-edit-form {
    display: block;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
}

.lead-detail-page .lead-edit-toolbar,
.lead-detail-page .lead-edit-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lead-detail-page .lead-edit-toolbar {
    justify-content: space-between;
    margin-bottom: 14px;
}

.lead-detail-page .lead-edit-breadcrumb {
    color: #475569;
    font-size: 12px;
}

.lead-detail-page .lead-edit-breadcrumb a,
.lead-detail-page .lead-edit-sidebar a {
    color: #4f46e5;
}

.lead-detail-page .lead-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
    align-items: start;
    gap: 16px;
}

.lead-detail-page .lead-edit-main,
.lead-detail-page .lead-edit-sidebar {
    display: grid;
    gap: 12px;


    min-width: 0;
}

.lead-detail-page .lead-edit-card {
    padding: 16px;
}

.lead-detail-page .lead-edit-card h2 {
    margin: 0 0 14px;
    color: #334155;
    font-size: 15px;
    font-weight: 600;
}

.lead-detail-page .lead-edit-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lead-detail-page .lead-edit-fields label,
.lead-detail-page .lead-edit-sidebar label {
    display: grid;
    gap: 5px;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
}

.lead-detail-page .lead-edit-fields input,
.lead-detail-page .lead-edit-fields select,
.lead-detail-page .lead-edit-fields textarea,
.lead-detail-page .lead-edit-sidebar input {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    color: #334155;
    font: inherit;
    font-size: 13px;
}

.lead-detail-page .lead-edit-fields input[readonly],
.lead-detail-page .lead-edit-fields textarea[readonly] {
    background: #f8fafc;
    color: #64748b;
}

.lead-detail-page .lead-edit-full-width {
    grid-column: 1 / -1;
}

.lead-detail-page .lead-edit-sidebar p,
.lead-detail-page .lead-edit-main p {
    margin: 0 0 8px;
    color: #64748b;
    font-size: 13px;
}

.lead-detail-page .lead-edit-note {
    margin-top: 12px;
    color: #64748b;
    font-size: 12px;
}

@media (max-width: 760px) {
    .lead-detail-page .lead-edit-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .lead-detail-page .lead-edit-fields {
        grid-template-columns: 1fr;
    }

    .lead-detail-page .lead-edit-full-width {
        grid-column: auto;
    }
}



body {
    background-color: rgb(233 238 239) !important;
    font-family: "Poppins", sans-serif;
    font-size: var(--app-base-font-size, 20px);
    /*"SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";*/
}

.modal-backdrop {
    width: 111.11vw;
    height: 111.11vh;
}

.modal-dialog {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5) !important;
}
#toast-container > div {
    transition: all 0.05s ease !important;
    animation-duration: 0.05s !important;
}
ul.pagination{
    overflow:auto;
}

html {
    min-height: 100%;
    overflow-y: auto;
}

body {
    min-height: 100vh;
    overflow-y: auto;
    scrollbar-width: auto;
    -ms-overflow-style: auto;
}

body::-webkit-scrollbar {
    display: block;
    width: 8px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #2876e1;
    color: white !important;
}
@media (min-width: 768px) {
    html {
        overflow-x: hidden;
    }
    body:not(.flex-site) {
        transform: scale(0.90);
        transform-origin: top left;
        width: 111.11%;
        overflow-x: hidden;
    }
}

@media (max-width: 767px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    #content,
    .flx-main-content,
    .tab-area,
    .mobile-tab-container,
    .mobile-tab-content,
    #tab-content,
    .container,
    .container-fluid {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .modal-backdrop {
        width: 100vw !important;
        height: 100vh !important;
    }
}
.dashboard-widget {
    background: white;
    margin: 7px
}

.page-content {
    margin-top: 6px;
}

.row > [class^="col"] {
    padding-right: 5px !important;
    padding-left: 5px !important;
}

.form-control {
    border: 1px solid #7f7e8b !important;
    border-radius: 0px !important;
}

.btn-primary {
    border-radius: 0px !important;
    background: #3c8faa !important;
}

.btn-secondary {
    border-radius: 0px !important;
}

.modal-content {
    border-radius: 0px !important;
}

ptions-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
}

@media print {
    /* undo any desktop/body scaling */
    body {
        transform: none !important;
        width: auto !important;
        overflow: visible !important;
        margin: 0;
        padding: 0;
    }

    /* undo your flex‐wrapper / full‐height layout */
    .flx-wrapper,
    .flx-wrapper *,
    .flx-content,
    .flx-content * {
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        flex: none !important;
        overflow: visible !important;
    }

    /* zero out the printed page margins and let browser size to content */
    @page {
        margin: 0;
        size: auto;
    }

    /* now your existing hide/show logic… */
    /* hide everything */
    body * {
        visibility: hidden !important;
    }
    /* show only the print area */
    .print-area, .print-area * {
        visibility: visible !important;
    }
    /* position the print area at the top left */
    .print-area {
        position: absolute;
        top: 0;
        left: 0;
        width: auto !important;
    }
}


.leads-actions-menu-wrap,
.app-user-actions-menu-wrap {
    position: relative;
    display: inline-block;
}

.leads-actions-menu {
    position: absolute;
    top: 0;
    left: calc(100% + 4px);
    right: auto;
    z-index: 10000;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.app-user-actions-menu {
    position: fixed;
    top: auto;
    right: auto;
    z-index: 1000;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.leads-actions-menu button,
.app-user-actions-menu button {
    display: inline-flex;
    width: auto;
    flex: 0 0 auto;
    align-items: center;
    padding: 7px 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #334155;
    text-align: left;
    white-space: nowrap;
}

.leads-actions-menu button:hover,
.app-user-actions-menu button:hover {
    background: #f1f5f9;
}

.leads-actions-menu .app-user-delete,
.app-user-actions-menu .app-user-delete {
    color: #dc2626;
}

.context-menu {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

    .context-menu ul {
        list-style: none;
        padding: 5px;
        margin: 0;
    }

        .context-menu ul li {
            padding: 8px 12px;
            cursor: pointer;
        }

            .context-menu ul li:hover {
                background: #f0f0f0;
            }

.switch-toggle {
    width: 162px !important;
    height: 38px !important;
    border: 1px solid #a69898 !important;
    border-radius: 0px !important;
    /*--width: 260px;
    --height: 50px;*/
    /* --offset: 2px; */
    /* --radius: 4px;
    /*--offset: 2px;*/
    --radius: 4px;
    position: relative;
    /* width: var(--width);
    height: var(--height);*/
    padding: var(--offset);
    background: rgba(227, 229, 232, 0.5);
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    font-style: normal;
}

.modal-backdrop {
    width: 111.11%;
    height: 111.11vh;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown button {
    border: 0px !important;
}

.dropdown-display {
    padding: 6px 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    background: #fff;
}

.btn-helper {
    color: white !important;
    max-width: 45px;
    background: #3c8faa !important;
}

.highlighted {
    background: #0a58ca !important;
    color: #ffffff !important;
}

.selected td {
    color: white !important;
    background-color: #adb7b9 !important;
}

.products-table th {
    background: #dce0e3 !important;
    color: black !important;
}
table.dropdown-table {
    min-width: 100%;
}

.custom-dropdown-wrapper tr:nth-child(even) {
    background-color: #f2f2f2; /* Light gray */
}

.custom-dropdown-wrapper li:nth-child(even) {
    background-color: #f2f2f2; /* Light gray */
}

.custom-dropdown-menu {
    max-height: 400px !important;
}


.custom-dropdown-wrapper table tr:hover {
    background: #d8dee6;
}

.custom-dropdown-wrapper .custom-dropdown-menu li:hover {
    background: #d8dee6 !important;
}

.toast-container {
    border-radius: 0px;
}
.form-check-input[type=checkbox] {
    border-color: black !important;
}
.btn:hover {
    background-color: #53a0ae;
    border-color: #0a58ca;
}

.custom-dropdown-wrapper table tr {
    border-right: black !important;
    cursor: pointer;
}

table.dropdown-table tr td {
    padding: 4px;
    border-bottom: 1px solid #ffffff !important;
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    width: fit-content;
    /* Ensure it’s visible when open */
}

/*   .custom-dropdown-menu tr {
        border-bottom: 1px solid #c8c8d9;
    }*/
/*.items-table {
    height:32vh;
}*/

.modal-backdrop {
    width: 111.11vw !important;
    height: 111.11vh !important;
}

.nav-tabs .nav-item {
    border: 1px solid #c1b3b3 !important;
}

.table-container {
    height: 66vh;
    overflow: auto;
}
/* The outer wrapper is set to use flexbox and fill the viewport */
.flx-wrapper {
    display: flex;
    flex-direction: column;
}




.navbar-dark {
    --bs-navbar-color: white !important;
    background-color: #1d7faa !important;
}

.bg-dark {
}

/* The form is made a flex container; its content area will grow */
.flx-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0;
}
/* The main content (everything above the footer) */
.flx-content {
    flex: 1;
}
/* The footer remains at the bottom */
.flx-footer {
    background: #fff;
    padding: 15px;
    z-index: 33;
    /* Additional styles (box-shadow, border-top, etc.) can be added here */
}

.items-table td {
    padding: 0px !important;
}



/*workaround form table > tr background not working*/
tr.inputpicker-element.inputpicker-element-1.inputpicker-active td {
    background: blue;
}

.switch-toggle input[type="checkbox"] {
    cursor: pointer;
    position: absolute;
    inset: 0;
    appearance: none;
    z-index: 2;
}

    .switch-toggle input[type="checkbox"]:checked + label.switch-toggle-label:before {
        translate: 100% 0;
    }

    .switch-toggle input[type="checkbox"]:checked + label.switch-toggle-label span:nth-child(1) {
        color: gray;
    }

    .switch-toggle input[type="checkbox"]:checked + label.switch-toggle-label span:nth-child(2) {
        color: #1a1a1a;
    }

    .switch-toggle input[type="checkbox"] + label.switch-toggle-label {
        position: absolute;
        inset: var(--offset, 0);
        padding: 10px 0;
        display: block;
        user-select: none;
        pointer-events: none;
        display: grid;
        gap: 2px;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        place-items: center;
    }

        .switch-toggle input[type="checkbox"] + label.switch-toggle-label:before {
            content: "";
            position: absolute;
            width: 50%;
            inset: 0;
            background: #fff;
            border-radius: calc(var(--radius) - var(--offset));
            box-shadow: 0px 10px 20px 0px rgba(16, 39, 68, 0.1);
            translate: 0 0;
            transition: translate 250ms cubic-bezier(0.93, 0.26, 0.07, 0.69);
        }

        .switch-toggle input[type="checkbox"] + label.switch-toggle-label span {
            position: relative;
            transition: 200ms linear;
        }

            .switch-toggle input[type="checkbox"] + label.switch-toggle-label span:nth-child(1) {
                color: #1a1a1a;
            }

            .switch-toggle input[type="checkbox"] + label.switch-toggle-label span:nth-child(2) {
                color: gray;
            }


.table-row {
    cursor: pointer;
    transition: background-color 0.3s;
}

    .table-row:hover {
        background-color: #f5f5f5;
    }

.selected {
    background-color: #d1ecf1 !important;
}


/* Loading Bar */
.linear-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #4caf50, #2196F3);
    background-size: 200% 100%;
    
    : loading-animation 2s linear infinite;
    z-index: 9999;
}

@keyframes loading-animation {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}

.window {
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.title-bar {
    display: flex;
    justify-content: right;
    align-items: center;
    background-color: #0078d7;
    color: white;
    padding: 5px;
    cursor: move;
}

.window-controls button {
    background: none;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
}

    .window-controls button:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

.content {
    height: calc(100% - 40px); /* Adjust based on title-bar height */
    overflow: auto;
}

.options-btn {
    border: none;
    background: transparent
}

/* Importing Google Fonts and Boxicons */
@import "https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap";
@import "https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css";

/* ═══════════════════════════════════════════════════════════
   FLX SIDEBAR  –  collapsed by default, expands on toggle
   Collapsed width : 52px  (icon only)
   Expanded  width : 240px (icon + label + sub-items)
═══════════════════════════════════════════════════════════ */
:root {
    --flx-sb-w:          52px;
    --flx-sb-w-open:     240px;
    --flx-sb-bg:         #1d7faa;
    --flx-sb-hover:      rgba(0,0,0,0.18);
    --flx-sb-text:       #fff;
    --flx-sb-speed:      0.32s;
}

/* \u2500\u2500 sidebar container \u2500\u2500 */
#flx-sidebar {
    position: fixed;
    top: 40px;           /* below the fixed navbar */
    left: 0;
    height: calc(100vh / 0.9);  /* compensate for body scale(0.90) so sidebar reaches screen bottom */
    width: var(--flx-sb-w);
    background: var(--flx-sb-bg);
    overflow: hidden;
    overflow-y: auto;
    z-index: 9998;
    transition: width var(--flx-sb-speed) ease;
    scrollbar-width: none;
}
#flx-sidebar::-webkit-scrollbar { display: none; }

/* \u2500\u2500 expanded state \u2500\u2500 */
#flx-sidebar.flx-sb-open {
    width: var(--flx-sb-w-open);
}

/* \u2500\u2500 toggle button \u2500\u2500 */
#flx-sidebar-toggle {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           100%;
    height:          48px;
    background:      transparent;
    border:          none;
    cursor:          pointer;
    color:           var(--flx-sb-text);
    font-size:       20px;
    flex-shrink:     0;
}
#flx-sidebar-toggle:hover { background: var(--flx-sb-hover); }

/* \u2500\u2500 nav list \u2500\u2500 */
.flx-sb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: var(--flx-sb-w-open); /* wider than container so text doesn't wrap */
}

/* \u2500\u2500 every top-level item \u2500\u2500 */
.flx-sb-list > li > a,
.flx-sb-group-btn {
    display:         flex;
    align-items:     center;
    width:           100%;
    min-height:      46px;
    padding:         0 0 0 0;
    background:      transparent;
    border:          none;
    color:           var(--flx-sb-text);
    text-decoration: none;
    cursor:          pointer;
    white-space:     nowrap;
    overflow:        hidden;
    font-size:       14px;
    transition:      background var(--flx-sb-speed) ease;
}
.flx-sb-list > li > a:hover,
.flx-sb-group-btn:hover { background: var(--flx-sb-hover); }

/* icons inside every item */
.flx-sb-list > li > a > i,
.flx-sb-group-btn > i:first-child {
    flex-shrink:   0;
    width:         52px;           /* same as collapsed sidebar width → icon always visible */
    text-align:    center;
    font-size:     17px;
    line-height:   46px;
    color:         var(--flx-sb-text);
}

/* labels – hidden when collapsed */
.flx-sb-label,
.flx-sb-group-btn > span {
    flex: 1;
    opacity:    0;
    width:      0;
    overflow:   hidden;
    transition: opacity var(--flx-sb-speed) ease, width var(--flx-sb-speed) ease;
    font-size:  13px;
    color:      var(--flx-sb-text);
}
#flx-sidebar.flx-sb-open .flx-sb-label,
#flx-sidebar.flx-sb-open .flx-sb-group-btn > span {
    opacity: 1;
    width:   auto;
}

/* arrow chevron */
.flx-sb-arrow {
    margin-right: 10px;
    font-size:    11px !important;
    width:        auto !important;   /* override the icon width rule */
    opacity:      0;
    transition:   transform var(--flx-sb-speed) ease, opacity var(--flx-sb-speed) ease;
}
#flx-sidebar.flx-sb-open .flx-sb-arrow { opacity: 1; }
.flx-sb-arrow.flx-sb-arrow-open { transform: rotate(180deg); }

/* \u2500\u2500 sub-menus \u2500\u2500 */
.flx-sb-sub {
    list-style:  none;
    margin:      0;
    padding:     0;
    max-height:  0;
    overflow:    hidden;
    transition:  max-height var(--flx-sb-speed) ease;
    background:  rgba(0,0,0,0.15);
}
.flx-sb-sub.flx-sb-sub-open { max-height: 600px; }

.flx-sb-sub li a {
    display:         flex;
    align-items:     center;
    width:           100%;
    min-height:      38px;
    padding:         0;
    color:           var(--flx-sb-text);
    text-decoration: none;
    font-size:       12px;
    white-space:     nowrap;
    overflow:        hidden;
    transition:      background var(--flx-sb-speed) ease;
}
.flx-sb-sub li a:hover { background: rgba(0,0,0,0.2); }

.flx-sb-sub li a > i {
    flex-shrink:  0;
    width:        52px;
    text-align:   center;
    font-size:    13px;
    line-height:  38px;
    color:        var(--flx-sb-text);
}
.flx-sb-sub li a > span {
    flex:       1;
    opacity:    0;
    width:      0;
    overflow:   hidden;
    transition: opacity var(--flx-sb-speed) ease;
    font-size:  12px;
}
#flx-sidebar.flx-sb-open .flx-sb-sub li a > span {
    opacity: 1;
    width:   auto;
}

/* ═══════════════════════════════════════════════════════════
   MAIN CONTENT SHIFT
   Sidebar only exists on desktop (≥768px), so apply the
   margin-left only on those screens to avoid dead space on mobile.
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .comparison-p{
        display:none;
    }

    .ledger-create-journal-entry {
        margin-top: 5px;
    }

    .flx-main-content,
    #tab-content {
        margin-left:  var(--flx-sb-w);
        transition:   margin-left var(--flx-sb-speed) ease;
    }

    body.flx-sb-expanded .flx-main-content,
    body.flx-sb-expanded #tab-content {
        margin-left: var(--flx-sb-w-open);
    }
}

    /* Floating YouTube Button Styling */
    .youtube-button {
    position: fixed;
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    background-color: #FF0000; /* YouTube red color */
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

    /* Icon Styling */
    .youtube-button i {
        font-size: 24px;
    }

    /* Hover Effect */
    .youtube-button:hover {
        background-color: #e60000; /* Darker shade of red */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px); /* Slight upward movement */
    }
/* ─────────────────────────────────────────────
   UNIVERSAL MODAL LAYERING + FULLSCREEN FOR MOBILE
───────────────────────────────────────────── */

/* 1) Backdrop just under the modal */
.modal-backdrop {
    z-index: 9998 !important;
}

/* 2) Modal itself above everything */
.modal {
    z-index: 99999 !important;
}
/* Existing styles can remain here */



/* SLOW DOWN *ALL* transitions & animations globally */
/**,
*::before,
*::after {*/
    /* tweak these durations to taste */
    /*transition-duration: 0.1s !important;
    transition-timing-function: ease-in-out !important;
    animation-duration: 0.62s !important;
    animation-timing-function: ease-in-out !important;
}*/

.ripple-click {
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ripple-click {
    transition: background-color 0.2s ease;
    border-radius: 6px;
}

    .ripple-click:active {
        background-color: rgba(0, 0, 0, 0.08); /* subtle touch feedback */
    }

/* Mobile drawer styles */
@media (max-width: 767px) {

    #linear-loader{
        top: 10px !important;
    }

    .products-table {
        height: 70vh;
    }

    html {
        font-size: 110%;
    }

    .mt-md-3{
        margin-top:3px;
    }

    .mobile-add-items {
        overflow: hidden;
        overflow-y: visible;
        max-height: 100%;
    }

    .dashboard-widget-tile {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .dashboard-widget-icon{
        margin-left:30px;
    }
    /* SLOW DOWN *ALL* transitions & animations globally */
    /**,
    *::before,
    *::after {*/
        /* tweak these durations to taste */
        /*transition-duration: 0.2s !important;
        transition-timing-function: ease-in-out !important;
        animation-duration: 0.3s !important;
        animation-timing-function: ease-in-out !important;
    }*/

    .mln-md-5{
        margin-left:-5px
    }

    .card-body {
        padding-right: 14px;
        padding-left: 14px;
    }


    .items-card .card-body {
        padding-right: 8px;
        padding-left: 8px;
    }

    /* ─────────────────────────────────────────────
   FORCE BOOTSTRAP MODALS TO TOP-MOST LAYER
───────────────────────────────────────────── */
    .modal {
        height:100vh;
    }
        .modal-backdrop {
            display: none !important;
        }

        /* if you kept your “.fullscreen” helper, bump it too */
        .modal.fullscreen .modal-dialog,
        .modal.fullscreen .modal-content {
            z-index: 100000 !important;
        }

    .mobile-tab-header {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 2000 !important;
        background: #1d7faa; /* match your header bg */
        color: #fff; /* if needed */
    }

    /* 2) Prevent it from covering content */
    .mobile-tab-container {
        /* adjust 50px to whatever your .mobile-tab-header height actually is */
        padding-top: 50px !important;
    }

    /* 3) If you have any direct scrollable area inside the tabs, 
        make sure it doesn’t start under the header */
    .mobile-tab-content {
        margin-top: 0 !important;
    }
    /* 1) hide the thead */
    table.responsive thead {
        display: none;
    }

    /* 2) make each row a flex container that wraps */
    table.responsive tr {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 1rem;
        border-bottom: 1px solid #ddd;
    }

    /* 3) two cells per line → each td is 50% */
    table.responsive td {
        flex: 0 0 50%;
        display: block; /* so ::before starts a new line */
        position: relative;
        padding: 0.5rem;
        text-align: left;
        white-space: normal;
    }

        /* 4) inject header label before the value */
        table.responsive td::before {
            content: attr(data-label) ": ";
            font-weight: bold;
            display: block;
            margin-bottom: 0.25rem;
        }

    .dashboard-widget-tile {
        /*box-shadow: 3px 2px 9px 1px rgba(0, 0, 0, 0.3);*/
    }


        #mobileDrawer.open {
            left: 0;
        }
    /* Overlay to darken the background when drawer is open */
    .mobile-drawer-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 999;
    }

        .mobile-drawer-overlay.show {
            display: block;
        }
    /* Hide desktop navbar on mobile */
    .desktop-navbar {
        display: none;
    }

    .left-drawer,
    #leftDrawer {
        z-index: 200002 !important;
    }

    #overlay.show,
    .mobile-drawer-overlay.show,
    #drawerOverlay.show {
        left: 250px !important;
        width: calc(100% - 250px) !important;
        z-index: 200001 !important;
    }
}

@media (min-width: 768px) {

    .flx-main-content,
    #tab-content {
        margin-left: 28px;
    }

    .products-table {
        height: 31vh;
    }

    /*larger/greater than 992px*/
    /* Disable all Bootstrap transitions for medium and bigger screens*/

    *:not(.force-animation),
    *:not(.force-animation)::before,
    *:not(.force-animation)::after {
        transition: none !important;
        animation: none !important;
    }

    .flx-wrapper {
        min-height: 100vh;
        padding-left: 5px;
        padding-right: 5px;
    }

    .mln-md-5{
        margin-left:-5px
    }

    .ml-4-md {
        margin-left: 4px
    }

    .ml-10-md {
        margin-left: 10px
    }

    /* On desktop, hide mobile drawer elements */
    #mobileDrawer, .mobile-drawer-overlay {
        display: none;
    }

    .dashboard-widget-conatiner {
        margin-right: -107px !important;
    }
}



/* Title Bar Styles */
#titlebar {
    -webkit-app-region: drag;
    background-color: #0078d7;
    color: white;
    height: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    box-sizing: border-box;
    font-family: sans-serif;
    user-select: none;
}

    #titlebar .window-controls {
        display: flex;
    }

        #titlebar .window-controls button {
            -webkit-app-region: no-drag;
            background: transparent;
            border: none;
            color: white;
            width: 45px;
            height: 100%;
            cursor: pointer;
            outline: none;
            font-size: 14px;
        }

            #titlebar .window-controls button:hover {
                background-color: rgba(255,255,255,0.2);
            }

    #titlebar .title {
        font-size: 14px;
    }
/* Sidebar container */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    margin-top: 40px;
    width: 200px;
    height: 100%;
    background: #1d7faa;
    color: #ecf0f1;
    transition: width 0.3s ease;
    overflow: hidden;
}
    /* Minimal view: narrower width */
    .sidebar.collapsed {
        width: 52px;
    }
    /* Toggle button */
    .sidebar .toggle-btn {
        background: #1d7faa;
        border: none;
        color: #ecf0f1;
        width: 100%;
        height: 40px;
        cursor: pointer;
        outline: none;
        font-size: 18px;
    }
    /* Navigation items */
    .sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .sidebar ul li {
            position: relative;
        }

            .sidebar ul li a {
                display: flex;
                align-items: center;
                color: #ecf0f1;
                text-decoration: none;
                transition: background 0.2s;
            }

                .sidebar ul li a:hover {
                    background: #1abc9c;
                }

                .sidebar ul li a i {
                    font-size: 16px;
                    width: 30px;
                    text-align: center;
                }

                .sidebar ul li a span {
                    margin-left: 10px;
                    white-space: nowrap;
                }
    /* Hide text in collapsed mode */
    .sidebar.collapsed ul li a span {
        display: none;
    }

/* Main content area */
.main-content {
    margin-left: 200px;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

.sidebar.collapsed ~ .main-content {
    margin-left: 60px;
}


/*sidebar styles*/
.flx-tooltip {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

    .flx-tooltip::after {
        content: attr(data-label); /* Get text from data-label */
        position: absolute;
        bottom: 120%; /* Adjust above the link */
        left: 50%;
        transform: translateX(-50%);
        background-color: black;
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out;
    }

    .flx-tooltip:hover::after {
        opacity: 1;
        visibility: visible;
    }

/* Left Drawer Styles */
.left-drawer {
    position: fixed;
    top: 0;
    left: -250px; /* Initially hidden off-screen */
    width: 250px;
    height: 100%;
    background: linear-gradient(135deg, #2C3E50, #34495E);
    color: #ecf0f1;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 100001;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: #1A252F;
}

.drawer-title {
    font-size: 1.2em;
    font-weight: bold;
}

.drawer-toggle-btn {
    background: transparent;
    border: none;
    color: #ecf0f1;
    font-size: 1.5em;
    cursor: pointer;
}

/* Menu & Submenu */
.left-drawer ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .left-drawer ul.menu li {
        border-bottom: 1px solid rgba(236, 240, 241, 0.2);
    }

        .left-drawer ul.menu li a {
            display: block;
            padding: 12px 15px;
            color: #ecf0f1;
            text-decoration: none;
            transition: background 0.2s ease;
        }

.left-drawer .dropdown-item {
    color: black !important;
}

.left-drawer ul/menu li a:hover {
    background: rgba(236, 240, 241, 0.1);
}

.left-drawer ul.submenu {
    list-style: none;
    padding-left: 15px;
    display: none;
}

.left-drawer ul.menu li.open > .submenu {
    display: block;
}

/* Drawer Tab (small visible button when drawer is closed) */
.drawer-tab {
    position: fixed;
    right: 10px;
    top: 3px;
    width: 40px;
    height: 45px;
    background: #1d7faa;
    color: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999;
}


/* Overlay for when the drawer is open */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 99999;
}

.overlay.show {
    display: block;
}

.left-drawer.open {
    left: 0;
}
.dashboard-widget-tile {
    margin: 5px !important;
}

<style >
/* ===== Desktop Tab System (existing implementation) ===== */
.desktop-tabs .tab-content {
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
}

/* Each mobile tab starts off-screen (below the view) with 0 opacity */
.mobile-tab {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateY(0);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 0.5s ease-out;
}
    /* The active mobile tab slides from bottom to top and fades in */
    .mobile-tab.active {
        transform: translateY(-100%);
        opacity: 1;
    }

/* Mobile tab header with light blue background and back arrow */
.mobile-tab-header {
    background-color: #ADD8E6; /* light blue */
    padding: 10px;
    display: flex;
    height:42px;
    align-items: center;
}

    .mobile-tab-header .back-button {
        cursor: pointer;
        margin-right: 10px;
        font-size: 1.5rem;
    }

    .mobile-tab-header .tab-title {
        flex-grow: 1;
        text-align: center;
        font-weight: bold;
        font-size: 1.25rem;
    }

/* ===================================================
   Dashtic-inspired Page & Table UI (centralized)
   =================================================== */

/* --- Page Header with breadcrumb --- */
.flx-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 8px 0 10px 0;
    border-bottom: 2px solid #e2e8f0;
}

.flx-page-header .flx-page-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.flx-breadcrumb {
    font-size: 0.78rem;
    color: #718096;
}

    .flx-breadcrumb a {
        color: #3c8faa;
        text-decoration: none;
    }

    .flx-breadcrumb a:hover {
        text-decoration: underline;
    }

    .flx-breadcrumb .flx-sep {
        margin: 0 5px;
        color: #a0aec0;
    }

/* --- Generic card panel --- */
.flx-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.09), 0 0 0 1px rgba(0,0,0,0.04);
    margin-bottom: 14px;
    overflow: hidden;
}

.flx-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    background: #f7fafc;
    border-bottom: 2px solid #3c8faa;
}

    .flx-card-header .flx-card-title {
        font-size: 0.82rem;
        font-weight: 700;
        color: #2d3748;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.flx-card-body {
    padding: 12px 16px 8px 16px;
}

/* --- Table wrapper card --- */
.flx-table-wrapper {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.09), 0 0 0 1px rgba(0,0,0,0.04);
    margin-bottom: 0;
    overflow: hidden;
}

.leads-list-page {
    max-width: 1180px;
    margin: 20px auto;
    padding: 20px 24px;
    color: #334155;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}

.leads-list-header, .leads-list-toolbar, .leads-list-pagination, .leads-dialog-header, .leads-dialog-actions {
    display: flex;
    align-items: center;
}

.leads-list-header, .leads-list-pagination, .leads-dialog-header, .leads-dialog-actions { justify-content: space-between; }
.leads-list-header { margin-bottom: 18px; }
.leads-list-header h1 { display: flex; align-items: center; gap: 8px; margin: 0; color: #1f2937; font-size: 20px; font-weight: 650; }
.leads-title-mark { width: 7px; height: 7px; border-radius: 2px; background: #c084fc; }
.leads-create-button { width: 100px; min-height: 34px; padding: 0 13px; border: 1px solid #4f46e5; border-radius: 6px; color: #fff; background: #4f46e5; font-size: 12px; font-weight: 600; cursor: pointer; }
.app-users-header > .app-button,
.app-user-edit-modal .user-form-actions > .app-button-primary,
.app-user-edit-modal .user-form-actions > .app-button-secondary { width: 100px; box-sizing: border-box; }
.leads-create-button:hover { background: #4338ca; }
.leads-list-toolbar { gap: 8px; margin-bottom: 10px; }
.leads-status-filter select, .leads-search-box input { height: 34px; border: 1px solid #cbd5e1; border-radius: 5px; color: #475569; background: #fff; font-size: 12px; }
.leads-status-filter select { min-width: 120px; padding: 0 8px; }
.leads-search-box { display: flex; flex: 1; max-width: 460px; }
.leads-search-box input { flex: 1; min-width: 0; padding: 0 10px; border-radius: 5px 0 0 5px; }
.leads-search-box > span { display: grid; width: 36px; place-items: center; border: 1px solid #cbd5e1; border-left: 0; border-radius: 0 5px 5px 0; color: #64748b; font-size: 12px; }
.leads-toolbar-icon { width: 30px; height: 30px; border: 0; color: #64748b; background: transparent; cursor: pointer; }
.leads-list-pagination { justify-content: flex-end; gap: 7px; margin: 0 0 8px; color: #64748b; font-size: 11px; }
.leads-list-pagination button { width: 23px; height: 23px; border: 1px solid #e2e8f0; border-radius: 4px; color: #64748b; background: #fff; cursor: pointer; }
.leads-list-pagination button:disabled { opacity: .45; cursor: default; }
.leads-table-wrap { overflow: visible; border: 1px solid #e2e8f0; border-radius: 6px; }
.leads-list-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.leads-list-table th { padding: 9px 8px; color: #64748b; background: #f8fafc; font-weight: 600; text-align: left; white-space: nowrap; }
.leads-list-table td { padding: 8px; border-top: 1px solid #edf0f4; color: #475569; white-space: nowrap; }
.leads-list-table tbody tr:hover { background: #fafbff; }
.leads-list-table .leads-name-cell { color: #334155; font-weight: 550; }
.leads-check-column { width: 30px; text-align: center !important; }
.leads-check-column input { margin: 0; accent-color: #4f46e5; }
.leads-actions-column { width: 28px; text-align: center !important; }
.leads-actions-column button { border: 0; color: #64748b; background: transparent; cursor: pointer; }
.app-user-actions-menu-wrap, .leads-actions-menu-wrap { position: relative; display: inline-flex; flex-direction: row; align-items: center; vertical-align: middle; }
.app-user-actions-menu, .leads-actions-menu { position: absolute; z-index: 20; top: 50%; left: 100%; display: flex; min-width: 0; flex-direction: row; gap: 2px; margin: 0 0 0 4px; padding: 4px; border: 1px solid var(--app-border, #e7eaf0); border-radius: 7px; background: var(--app-surface, #fff); box-shadow: 0 8px 20px rgba(15, 23, 42, .14); transform: translateY(-50%); }
.app-user-actions-menu button, .leads-actions-menu button { width: auto; flex: 0 0 auto; padding: 7px 9px; border: 0; border-radius: 4px; color: var(--app-text, #1f2937); background: transparent; cursor: pointer; text-align: left; white-space: nowrap; }
.app-user-actions-menu button:hover, .leads-actions-menu button:hover { background: var(--app-page, #f8fafc); }
.app-user-actions-menu .app-user-delete, .leads-actions-menu .app-user-delete { color: #b91c1c; }
.leads-status-badge { display: inline-block; padding: 2px 6px; border: 1px solid #dbeafe; border-radius: 4px; color: #2563eb; background: #eff6ff; font-size: 10px; }
.lead-status-new { border-color: #dbeafe; color: #2563eb; background: #eff6ff; }
.lead-status-assigned { border-color: #bfdbfe; color: #1d4ed8; background: #eff6ff; }
.lead-status-in-process { border-color: #fde68a; color: #a16207; background: #fffbeb; }
.lead-status-converted { border-color: #bbf7d0; color: #15803d; background: #f0fdf4; }
.lead-status-recycled { border-color: #ddd6fe; color: #6d28d9; background: #f5f3ff; }
.lead-status-dead { border-color: #fecaca; color: #b91c1c; background: #fef2f2; }
.leads-assignee { display: inline-flex; align-items: center; gap: 5px; color: #475569; }
.leads-assignee i { color: #6366f1; }
.leads-list-message, .leads-empty-state { padding: 22px !important; color: #64748b !important; text-align: center !important; }
.leads-list-error { color: #b91c1c !important; }
.leads-create-overlay { position: fixed; z-index: 8000; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(15, 23, 42, .4); }
.leads-create-dialog { width: min(1040px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 16px 20px; border-radius: 10px; background: #f8fafc; box-shadow: 0 18px 50px rgba(15, 23, 42, .2); }
@media (min-width: 768px) {
    .leads-create-overlay { inset: 0 auto auto 0; width: 111.11vw; height: 111.11vh; }
}
.leads-dialog-header { margin-bottom: 14px; }
.leads-dialog-header h2 { margin: 0; color: #1f2937; font-size: 18px; }
.leads-dialog-header button { border: 0; color: #64748b; background: transparent; font-size: 22px; cursor: pointer; }
.leads-create-dialog label { display: block; margin: 12px 0; color: #475569; font-size: 12px; font-weight: 600; }
.leads-create-dialog label input { display: block; width: 100%; height: 36px; margin-top: 5px; padding: 0 9px; border: 1px solid #cbd5e1; border-radius: 5px; font-weight: 400; }
.lead-form-breadcrumb { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; color: #64748b; font-size: 11px; }
.lead-form-breadcrumb a { color: #4f46e5; text-decoration: none; }
.lead-form-breadcrumb strong { color: #334155; font-weight: 500; }
.lead-form-validation { margin: 0 0 10px; padding: 8px 10px; border: 1px solid #fecaca; border-radius: 5px; color: #b91c1c; background: #fef2f2; font-size: 11px; }
.lead-form-toolbar, .lead-form-toolbar > div, .lead-form-footer { display: flex; align-items: center; gap: 7px; }
.lead-form-toolbar { justify-content: flex-end; margin-bottom: 12px; }
.lead-form-toolbar .app-button, .lead-form-footer .app-button { min-height: 29px; padding: 3px 11px; font-size: 11px; }
.leads-create-dialog .leads-dialog-close { width: 28px; height: 28px; border: 0; border-radius: 5px; color: #64748b; background: transparent; font-size: 22px; cursor: pointer; }
.lead-form-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, .95fr); align-items: start; gap: 10px; }
.lead-form-main, .lead-form-sidebar { display: grid; min-width: 0; gap: 10px; }
.lead-form-card { padding: 12px; border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; }
.lead-form-card h2 { margin: 0 0 10px; color: #475569; font-size: 12px; font-weight: 650; }
.lead-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 10px; }
.leads-create-dialog .lead-form-fields label, .leads-create-dialog .lead-form-card > label { display: grid; min-width: 0; gap: 4px; margin: 0; color: #4b5563; font-size: 12px; font-weight: 500; }
.lead-form-name-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.leads-create-dialog .lead-form-fields input, .leads-create-dialog .lead-form-fields select, .leads-create-dialog .lead-form-fields textarea, .leads-create-dialog .lead-form-card > label input { box-sizing: border-box; width: 100%; min-width: 0; height: 36px; margin: 0; padding: 7px 10px; border: 1px solid #d1d5db; border-radius: var(--app-control-radius); color: var(--app-text); background: #fff; font: inherit; font-size: 12px; }
.leads-create-dialog .lead-form-card > label select { box-sizing: border-box; width: 100%; min-width: 0; height: 36px; margin: 0; padding: 7px 10px; border: 1px solid #d1d5db; border-radius: var(--app-control-radius); color: var(--app-text); background: #fff; font: inherit; font-size: 12px; }
.leads-create-dialog .lead-form-fields textarea { height: auto; min-height: 52px; resize: vertical; }
.lead-form-full { grid-column: 1 / -1; }
.lead-form-meta { display: grid; grid-template-columns: 1fr; gap: 3px; margin-top: 9px; padding-top: 8px; border-top: 1px solid #edf0f4; color: #94a3b8; font-size: 9px; }
.lead-form-meta strong { color: #475569; font-size: 10px; font-weight: 500; }
.lead-form-card p { margin: 0; color: #64748b; font-size: 10px; }
.lead-form-card h2 a { float: right; color: #4f46e5; font-size: 16px; text-decoration: none; }
.lead-form-stream textarea { box-sizing: border-box; width: 100%; padding: 7px; border: 1px solid #d1d5db; border-radius: var(--app-control-radius); font: inherit; font-size: 12px; resize: vertical; }
.lead-form-footer { justify-content: flex-end; margin-top: 10px; padding-top: 9px; border-top: 1px solid #e2e8f0; }
.leads-list-table tbody tr { cursor: pointer; }
.leads-list-table tbody tr:focus { outline: 2px solid #a5b4fc; outline-offset: -2px; }
.leads-form-note { color: #64748b; font-size: 11px; }
.leads-dialog-actions { justify-content: flex-end; gap: 8px; margin-top: 16px; }
.leads-dialog-actions > .app-button { width: 100px; box-sizing: border-box; }
.leads-cancel-button { min-height: 34px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 6px; color: #475569; background: #fff; cursor: pointer; }

.whatsapp-contacts-page .whatsapp-contacts-subtitle { margin: 5px 0 0; color: #64748b; font-size: 12px; }
.whatsapp-contacts-page .whatsapp-contacts-toolbar { flex-wrap: wrap; }
.whatsapp-contacts-page .whatsapp-contacts-toolbar .leads-search-box { min-width: 220px; }
.whatsapp-contacts-page .leads-status-filter select { height: 34px; }
.whatsapp-contacts-page .whatsapp-contact-add-button { display: inline-flex; width: 132px; min-width: 132px; align-items: center; justify-content: center; padding: 0 8px; white-space: nowrap; }
.whatsapp-contacts-page .whatsapp-contacts-csv-input { display: none; }
.whatsapp-contacts-page .whatsapp-contacts-tool-button { min-height: 34px; padding: 0 11px; color: #475569; background: #fff; border: 1px solid #cbd5e1; font-size: 12px; }
.whatsapp-contacts-page .whatsapp-contact-avatar { display: inline-flex; width: 28px; height: 28px; flex: 0 0 28px; align-items: center; justify-content: center; margin-right: 8px; border-radius: 50%; color: #4f46e5; background: #eef2ff; font-size: 10px; font-weight: 700; }
.whatsapp-contacts-page .whatsapp-contact-name { display: table-cell; }
.whatsapp-contacts-page .whatsapp-contact-tags { min-width: 120px; white-space: normal; }
.whatsapp-contacts-page .whatsapp-contacts-table input[type="checkbox"] { accent-color: #4f46e5; }
.whatsapp-contacts-page .whatsapp-contact-actions { white-space: nowrap; }
.whatsapp-contacts-page .whatsapp-contact-actions .app-button { width: 30px; min-height: 28px; margin-right: 4px; padding: 2px 5px; border: 1px solid #e2e8f0; color: #64748b; background: #fff; font-size: 11px; }
.whatsapp-contacts-page .whatsapp-contact-actions .whatsapp-contact-delete { color: #dc2626; }
.whatsapp-contacts-page .whatsapp-contact-dialog { width: min(600px, 100%); }
.app-user-edit-modal .user-modal-close { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 5px; color: #64748b; background: transparent; cursor: pointer; }
.app-user-edit-modal .user-modal-close:hover { color: #1f2937; background: #f1f5f9; }

@media (max-width: 767px) {
    .whatsapp-contacts-page .whatsapp-contacts-toolbar > * { flex: 1 1 auto; }
    .whatsapp-contacts-page .whatsapp-contacts-toolbar .leads-search-box { flex-basis: 100%; max-width: none; }
    .whatsapp-contacts-page .leads-table-wrap { overflow-x: auto; }
    .whatsapp-contacts-page .whatsapp-contacts-table { min-width: 680px; }
}

.lead-detail-page { max-width: 1280px; margin: 18px auto; color: #334155; }
.lead-detail-header { display: flex; align-items: center; justify-content: space-between; min-height: 45px; margin-bottom: 12px; padding: 0 2px; }
.lead-detail-back { color: #64748b; font-size: 12px; text-decoration: none; }
.lead-detail-back i { margin-right: 7px; }
.lead-detail-header-actions { display: flex; gap: 7px; }
.lead-detail-button { min-height: 31px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 5px; color: #475569; background: #fff; font-size: 12px; cursor: pointer; }
.lead-detail-button-primary { border-color: #4f46e5; color: #fff; background: #4f46e5; }
.lead-detail-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(240px, .9fr); align-items: start; gap: 12px; }
.lead-detail-main, .lead-detail-sidebar { display: flex; min-width: 0; flex-direction: column; gap: 12px; }
.lead-detail-card { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 7px; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .04); }
.lead-profile-summary { display: flex; align-items: center; gap: 12px; padding: 16px; }
.lead-profile-avatar { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 50%; color: #4f46e5; background: #eef2ff; font-size: 15px; font-weight: 700; }
.lead-profile-title h1 { margin: 0 0 6px; color: #1f2937; font-size: 16px; font-weight: 650; }
.lead-profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 25px; padding: 15px 18px; border-top: 1px solid #e8edf3; }
.lead-profile-fields > div, .lead-detail-fields > div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.lead-profile-fields span, .lead-detail-fields span, .lead-side-row span { color: #8491a2; font-size: 10px; }
.lead-profile-fields strong, .lead-detail-fields strong, .lead-side-row strong { overflow-wrap: anywhere; color: #334155; font-size: 11px; font-weight: 500; }
.lead-detail-section { padding: 13px 16px 16px; border-top: 1px solid #e8edf3; }
.lead-detail-section h2, .lead-side-card h2, .lead-detail-section-heading h2 { margin: 0 0 12px; color: #475569; font-size: 12px; font-weight: 650; }
.lead-detail-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 25px; }
.lead-detail-tags strong { display: flex; flex-wrap: wrap; gap: 5px; }
.lead-detail-tags em { padding: 2px 6px; border-radius: 4px; color: #4f46e5; background: #eef2ff; font-size: 10px; font-style: normal; font-weight: 500; }
.lead-detail-tags i { color: #64748b; font-size: 11px; font-style: normal; font-weight: 400; }
.lead-edit-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 0 16px 15px; }
.lead-edit-form label { color: #64748b; font-size: 11px; }
.lead-edit-form label:last-child { grid-column: 1 / -1; }
.lead-edit-form input { display: block; width: 100%; height: 34px; margin-top: 4px; padding: 0 8px; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 12px; }
.lead-stream-card { min-height: 135px; padding: 14px 16px; }
.lead-detail-section-heading { display: flex; justify-content: space-between; }
.lead-detail-section-heading span { color: #94a3b8; font-size: 10px; }
.lead-empty-activity { padding: 18px 4px; border-top: 1px solid #edf0f4; color: #94a3b8; font-size: 11px; }
.lead-side-card { padding: 13px 14px; }
.lead-side-card h2 { display: flex; justify-content: space-between; margin-bottom: 10px; }
.lead-side-card h2 a { color: #4f46e5; font-size: 16px; text-decoration: none; }
.lead-side-card p { margin: 0 0 7px; color: #94a3b8; font-size: 11px; }
.lead-side-card > a { color: #4f46e5; font-size: 11px; text-decoration: none; }
.lead-side-row { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid #f1f5f9; }
.lead-detail-state { padding: 30px; color: #64748b; text-align: center; }
.lead-detail-error { color: #b91c1c; }

@media (max-width: 767px) {
    .leads-list-page { margin: 10px; padding: 14px; }
    .lead-detail-page { margin: 10px; }
    .lead-detail-layout { grid-template-columns: 1fr; }
    .leads-list-header { gap: 10px; }
    .leads-list-header h1 { font-size: 18px; }
    .leads-list-toolbar { flex-wrap: wrap; }
    .leads-search-box { max-width: none; order: 1; flex-basis: 100%; }
    .lead-profile-fields, .lead-detail-fields, .lead-edit-form { grid-template-columns: 1fr; }
    .leads-list-page:not(.whatsapp-contacts-page) .leads-table-wrap {
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .leads-list-page:not(.whatsapp-contacts-page) .leads-list-table { min-width: 760px; }
    .leads-create-overlay { align-items: start; justify-items: center; overflow-y: auto; padding: 12px; }
    .leads-create-dialog {
        box-sizing: border-box;
        width: 100%;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 14px;
    }
    .lead-form-layout { grid-template-columns: minmax(0, 1fr); }
    .lead-form-fields { grid-template-columns: minmax(0, 1fr); }
    .lead-form-fields .lead-form-full { grid-column: auto; }
    .lead-form-main, .lead-form-sidebar { min-width: 0; }
    .leads-create-dialog .leads-dialog-actions {
        position: sticky;
        bottom: -14px;
        z-index: 2;
        margin-bottom: -14px;
        padding: 10px 0 max(10px, env(safe-area-inset-bottom));
        background: #fff;
    }
}

.flx-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    background: #f7fafc;
    border-bottom: 2px solid #3c8faa;
}

    .flx-table-header .flx-table-title {
        font-size: 0.82rem;
        font-weight: 700;
        color: #2d3748;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .flx-table-header .flx-record-count {
        font-size: 0.76rem;
        color: #718096;
        background: #edf2f7;
        padding: 2px 10px;
        border-radius: 10px;
        font-weight: 600;
    }

/* --- Enhanced table --- */
.table.flx-table {
    margin-bottom: 0;
}

    .table.flx-table thead tr th {
        background: #2d3748 !important;
        color: #fff !important;
        font-size: 0.76rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        border-color: #4a5568 !important;
        padding: 10px 12px;
        white-space: nowrap;
    }

    .table.flx-table tbody tr {
        transition: background 0.12s;
    }

        .table.flx-table tbody tr:hover {
            background: #ebf8ff !important;
        }

        .table.flx-table tbody tr.selected {
            background: #bee3f8 !important;
        }

    .table.flx-table tbody td {
        vertical-align: middle;
        font-size: 0.84rem;
        padding: 7px 12px;
        color: #4a5568;
    }

/* Row index badge */
.flx-row-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #ebf8ff;
    color: #3c8faa;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Icon action button inside table rows */
.btn-icon-action {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #718096;
    padding: 3px 9px;
    font-size: 1rem;
    border-radius: 3px;
    transition: background 0.12s, color 0.12s;
    line-height: 1.4;
}

    .btn-icon-action:hover {
        background: #edf2f7;
        color: #2d3748;
        border-color: #cbd5e0;
    }

/* --- Pagination bar --- */
.flx-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-top: 1px solid #e2e8f0;
    background: #f7fafc;
    flex-wrap: wrap;
    gap: 8px;
}

    .flx-pagination-bar .flx-page-size-group {
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .flx-pagination-bar .flx-page-size-group label {
            margin: 0;
            font-size: 0.8rem;
            color: #718096;
            white-space: nowrap;
            font-weight: 600;
        }

        .flx-pagination-bar .flx-page-size-group .form-control {
            width: 70px !important;
            font-size: 0.8rem !important;
            padding: 3px 6px !important;
            height: auto !important;
        }

    .flx-pagination-bar .pagination {
        margin: 0;
    }

        .flx-pagination-bar .pagination .page-link {
            border-radius: 3px !important;
            margin: 0 2px;
            font-size: 0.8rem;
            padding: 4px 10px;
            color: #3c8faa;
            border-color: #e2e8f0;
        }

        .flx-pagination-bar .pagination .page-item.active .page-link {
            background: #3c8faa !important;
            border-color: #3c8faa !important;
            color: #fff !important;
        }

        .flx-pagination-bar .pagination .page-item.disabled .page-link {
            color: #a0aec0;
        }

:root {
    --app-base-font-size: 20px;
    --app-primary: #4f46e5;
    --app-primary-hover: #4338ca;
    --app-text: #1f2937;
    --app-muted: #6b7280;
    --app-border: #e7eaf0;
    --app-surface: #ffffff;
    --app-page: #f8fafc;
    --app-primary-soft: #eef2ff;
    --app-card-radius: 12px;
    --app-control-radius: 7px;
    --app-card-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}

body.app-theme {
    color: var(--app-text);
    background-color: var(--app-page) !important;
    font-family: "Poppins", Arial, sans-serif;
    overflow-y: auto;
}

.app-theme .card,
.app-theme .flx-card,
.app-theme .flx-table-wrapper,
.app-theme .modal-content,
.app-card {
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    background: var(--app-surface);
    box-shadow: var(--app-card-shadow);
}

.app-theme .modal-content {
    border-radius: var(--app-card-radius) !important;
}

.app-theme .card-header,
.app-card-header {
    color: var(--app-text);
    background: var(--app-surface);
    border-bottom: 1px solid var(--app-border);
}

.app-theme .flx-card-header,
.app-theme .flx-table-header {
    background: var(--app-surface);
    border-bottom: 1px solid var(--app-border);
}

.app-theme .flx-card-header .flx-card-title,
.app-theme .flx-table-header .flx-table-title {
    color: var(--app-text);
}

.app-theme .table {
    --bs-table-color: var(--app-text);
    --bs-table-border-color: var(--app-border);
}

.app-theme .table thead th {
    color: #4b5563;
    background: var(--app-page);
    border-color: var(--app-border);
    font-weight: 600;
}

.app-theme .table tbody tr:hover {
    background: var(--app-page);
}

.app-theme .table.flx-table thead tr th {
    color: #4b5563 !important;
    background: var(--app-page) !important;
    border-color: var(--app-border) !important;
}

.app-theme .table.flx-table tbody tr:hover {
    background: var(--app-page) !important;
}

.app-theme label,
.app-label {
    color: #4b5563;
    font-weight: 600;
}

.app-theme .form-control,
.app-theme select.form-control,
.app-theme textarea.form-control,
.app-control {
    min-height: 36px;
    padding: 7px 10px;
    color: var(--app-text);
    background-color: var(--app-surface);
    border: 1px solid #d1d5db !important;
    border-radius: var(--app-control-radius) !important;
    box-shadow: none;
}

.app-theme .form-control:focus,
.app-control:focus {
    border-color: var(--app-primary) !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .14) !important;
}

.app-theme .btn,
.app-button {
    min-height: 36px;
    border-radius: var(--app-control-radius) !important;
    font-weight: 600;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.app-theme .btn-primary,
.app-button-primary {
    color: #fff !important;
    background: var(--app-primary) !important;
    border-color: var(--app-primary) !important;
}

.app-theme .btn-primary:hover,
.app-button-primary:hover {
    background: var(--app-primary-hover) !important;
    border-color: var(--app-primary-hover) !important;
}

.app-theme .btn-secondary,
.app-button-secondary {
    color: #374151;
    background: var(--app-surface);
    border-color: var(--app-border);
}

body.app-theme.user-welcome-body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    transform: none;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5 0%, #6655e8 52%, #8b5cf6 100%) !important;
    font-family: "Poppins", Arial, sans-serif;
}

.user-welcome-page {
    width: min(1160px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 28px 0 22px;
}

.user-welcome-header { position: relative; }
.user-welcome-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 19px; font-weight: 700; letter-spacing: -.4px; }
.user-welcome-brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 10px; background: rgba(255,255,255,.16); font-size: 16px; }
.user-welcome-heading { max-width: 700px; margin: 38px auto 32px; text-align: center; }
.user-welcome-heading .eyebrow { margin-bottom: 11px; color: rgba(255,255,255,.76); font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.user-welcome-heading h1 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 650; letter-spacing: -1.4px; line-height: 1.16; }
.user-welcome-heading .intro { max-width: 560px; margin: 14px auto 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.7; }
.user-welcome-body .options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.user-welcome-body .option { display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 0; border: 1px solid rgba(255,255,255,.6); border-radius: 18px; color: var(--app-text); background: #fff; box-shadow: 0 18px 38px rgba(30, 27, 75, .2); text-align: left; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.user-welcome-body .option:hover { transform: translateY(-5px); box-shadow: 0 24px 44px rgba(30, 27, 75, .28); }
.user-welcome-body .option:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.option-preview { position: relative; display: flex; height: 220px; flex: 0 0 220px; align-items: center; justify-content: center; overflow: hidden; padding: 20px; background: linear-gradient(145deg, #eef2ff, #e0e7ff); }
.signup-preview { background: radial-gradient(ellipse at 20% 15%, #c7d2fe 0, transparent 48%), linear-gradient(145deg, #eef2ff, #ddd6fe); }
.conversation-preview { align-items: stretch; flex-direction: column; gap: 12px; background: radial-gradient(ellipse at 85% 15%, #c4b5fd 0, transparent 42%), linear-gradient(145deg, #ede9fe, #e0e7ff); }
.support-preview { background: radial-gradient(ellipse at 85% 18%, #c7d2fe 0, transparent 45%), linear-gradient(145deg, #e0e7ff, #ede9fe); }
.preview-window-bar { position: absolute; top: 18px; left: 20px; display: flex; gap: 5px; }
.preview-window-bar span { width: 7px; height: 7px; border-radius: 50%; background: #a5b4fc; }
.preview-signup-card { display: flex; width: min(190px, 90%); align-items: center; flex-direction: column; padding: 15px 18px 13px; border: 1px solid rgba(79,70,229,.1); border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 10px 24px rgba(49,46,129,.12); }
.preview-avatar { display: grid; width: 34px; height: 34px; place-items: center; border: 3px solid #e0e7ff; border-radius: 50%; color: #fff; background: var(--app-primary); font-size: 13px; font-weight: 700; }
.preview-signup-card strong { margin-top: 7px; color: #312e81; font-size: 12px; }
.preview-signup-card small { margin: 2px 0 9px; color: #8b91a1; font-size: 8px; }
.preview-field { width: 100%; height: 16px; margin-bottom: 6px; border: 1px solid #e5e7eb; border-radius: 5px; background: #f8fafc; }
.preview-field.short { width: 72%; align-self: flex-start; }
.preview-submit { width: 100%; margin-top: 2px; padding: 5px; border-radius: 5px; color: #fff; background: var(--app-primary); font-size: 8px; font-weight: 600; text-align: center; }
.preview-chat-header { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(79,70,229,.08); border-radius: 9px; background: rgba(255,255,255,.9); }
.preview-avatar.small { width: 28px; height: 28px; flex: 0 0 28px; border: 0; background: #818cf8; font-size: 10px; }
.preview-chat-header strong, .preview-chat-header small { display: block; }
.preview-chat-header strong { color: #334155; font-size: 9px; }
.preview-chat-header small { margin-top: 2px; color: #10b981; font-size: 7px; }
.preview-dots { margin-left: auto; color: #818cf8; font-size: 13px; letter-spacing: 1px; }
.preview-chat-body { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 7px; }
.chat-bubble { max-width: 82%; padding: 7px 9px; border-radius: 9px; color: #475569; background: #fff; box-shadow: 0 2px 6px rgba(49,46,129,.06); font-size: 8px; }
.chat-bubble.outgoing { align-self: flex-end; color: #fff; background: var(--app-primary); }
.chat-bubble.short-bubble { max-width: 70%; }
.preview-chat-input { display: flex; justify-content: space-between; padding: 7px 9px; border: 1px solid #e5e7eb; border-radius: 7px; color: #a0a6b4; background: #fff; font-size: 8px; }
.preview-chat-input span { display: grid; width: 17px; height: 17px; place-items: center; margin: -3px -4px; border-radius: 5px; color: #fff; background: var(--app-primary); font-size: 10px; }
.support-glow { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(79,70,229,.12); filter: blur(2px); }
.support-chat-card { position: relative; display: flex; width: min(210px, 94%); flex-direction: column; padding: 17px; border: 1px solid rgba(255,255,255,.9); border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: 0 10px 24px rgba(49,46,129,.12); }
.support-icon { display: grid; width: 29px; height: 29px; place-items: center; margin-bottom: 10px; border-radius: 9px; color: #fff; background: var(--app-primary); font-size: 15px; }
.support-label { color: #818cf8; font-size: 7px; font-weight: 700; letter-spacing: 1px; }
.support-chat-card strong { margin-top: 5px; color: #312e81; font-size: 15px; line-height: 1.25; }
.support-message { margin-top: 6px; color: #7b8190; font-size: 8px; line-height: 1.5; }
.support-cta { display: flex; justify-content: space-between; margin-top: 11px; padding: 7px 9px; border-radius: 6px; color: #fff; background: var(--app-primary); font-size: 8px; font-weight: 600; }
.option-content { display: flex; flex: 1; flex-direction: column; padding: 19px 20px 21px; }
.option-number { color: var(--app-primary); font-size: 9px; font-weight: 700; letter-spacing: .8px; }
.option-content h2 { margin: 9px 0 6px; color: #1f2937; font-size: 20px; font-weight: 650; letter-spacing: -.35px; }
.option-content p { min-height: 60px; margin: 0; color: #6b7280; font-size: 12px; line-height: 1.65; }
.option-content .action { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 13px; border-top: 1px solid #eef0f5; color: var(--app-primary); font-size: 11px; font-weight: 700; }
.option-content .action span { font-size: 16px; }
.user-welcome-body .signin { margin: 22px 0 0; color: rgba(255,255,255,.8); font-size: 12px; text-align: center; }
.user-welcome-body .signin a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.user-welcome-body .video-backdrop { position: fixed; z-index: 10000; inset: 0; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(15,23,42,.78); }
.user-welcome-body .video-backdrop.open { display: flex; }
.user-welcome-body .video-dialog { position: relative; width: min(900px, 100%); overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: #111827; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.user-welcome-body .video-dialog iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.user-welcome-body .close-video { position: absolute; z-index: 1; top: 9px; right: 10px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(15,23,42,.7); font-size: 24px; cursor: pointer; }

@media (max-width: 900px) {
    .user-welcome-page { width: min(720px, calc(100% - 36px)); }
    .user-welcome-body .options { grid-template-columns: 1fr; gap: 14px; }
    .user-welcome-body .option { display: grid; grid-template-columns: minmax(200px, .9fr) minmax(0, 1.1fr); }
    .option-preview { height: 100%; min-height: 220px; }
    .option-content p { min-height: 0; }
}

@media (max-width: 560px) {
    .user-welcome-page { width: calc(100% - 30px); padding-top: 18px; }
    .user-welcome-heading { margin: 34px auto 25px; }
    .user-welcome-heading h1 { font-size: 31px; letter-spacing: -.8px; }
    .user-welcome-heading .intro { font-size: 12px; }
    .user-welcome-body .option { display: flex; }
    .option-preview { height: 190px; min-height: 190px; flex-basis: 190px; }
    .option-content { padding: 16px 17px 18px; }
    .option-content p { font-size: 11px; }
    .user-welcome-body .signin { margin-top: 18px; }
}

body.app-theme.user-welcome-body {
    min-height: 100vh;
    color: #334155;
    background-color: #fff !important;
    background-image: none !important;
}

.user-welcome-page {
    width: min(1160px, calc(100% - 40px));
    padding: 20px 0 18px;
}

.user-welcome-brand { color: #334155; font-size: 17px; }
.user-welcome-brand-mark { border-color: #c7d2fe; color: #4f46e5; background: #eef2ff; }
.user-welcome-heading { margin: 12px auto 18px; }
.user-welcome-heading .eyebrow { margin-bottom: 5px; color: #4f46e5; }
.user-welcome-heading h1 { color: #1f2937; font-size: clamp(27px, 3.5vw, 38px); letter-spacing: -.8px; }
.user-welcome-heading .intro { margin-top: 6px; color: #64748b; font-size: 12px; }
.user-welcome-body .options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.user-welcome-body .option {
    display: flex;
    min-height: 420px;
    flex-direction: column;
    color: #334155;
    background: #fff;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 26px;
    box-shadow: 0 18px 30px rgba(100, 22, 105, .25);
}
.user-welcome-body .option:hover { transform: translateY(-4px); box-shadow: 0 23px 36px rgba(79, 70, 229, .28); }
.user-welcome-body .option:focus-visible { outline-color: #4f46e5; }
.user-welcome-body .option-preview {
    height: 270px;
    min-height: 270px;
    flex: 0 0 270px;
    padding: 18px;
    background: #fff;
}
.user-welcome-body .signup-preview,
.user-welcome-body .conversation-preview,
.user-welcome-body .support-preview { background: #fff; }
.user-welcome-body .preview-signup-card,
.user-welcome-body .support-chat-card {
    width: min(220px, 96%);
    padding: 18px;
    border-radius: 15px;
    box-shadow: 0 10px 22px rgba(97, 23, 95, .2);
}
.user-welcome-body .preview-signup-card,
.user-welcome-body .support-chat-card,
.user-welcome-body .preview-chat-header,
.user-welcome-body .chat-bubble,
.user-welcome-body .preview-chat-input { color: #334155; background: #fff; }
.user-welcome-body .preview-field { background: #fff; }
.user-welcome-body .preview-window-bar span,
.user-welcome-body .preview-avatar,
.user-welcome-body .preview-submit,
.user-welcome-body .preview-chat-input span,
.user-welcome-body .chat-bubble.outgoing,
.user-welcome-body .support-icon,
.user-welcome-body .support-cta { background: #4f46e5; }
.user-welcome-body .preview-dots,
.user-welcome-body .support-label { color: #4f46e5; }
.user-welcome-body .preview-chat-header { border-radius: 13px; }
.user-welcome-body .option-content { padding: 15px 17px 17px; }
.user-welcome-body .option-number { color: #4f46e5; }
.user-welcome-body .option-content h2 { margin-top: 6px; color: #1f2937; font-size: 18px; }
.user-welcome-body .option-content p { min-height: 40px; color: #64748b; font-size: 11px; }
.user-welcome-body .option-content .action { width: fit-content; max-width: 100%; align-self: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.65); border-radius: 6px; color: #fff; background: #4f46e5; text-align: center; }
.user-welcome-body .option-content .action:hover { background: #3730a3; }
.user-welcome-body .signin { margin-top: 14px; color: #64748b; }
.user-welcome-body .signin a { color: #4f46e5; }
.user-welcome-video-fallback { margin: 12px 0 0; color: #64748b; font-size: 12px; text-align: center; }
.user-welcome-video-fallback a { color: #4f46e5; font-weight: 700; }
.onboarding-page .onboarding-video-fallback { margin: 12px 0 0; color: #64748b; font-size: 12px; text-align: center; }
.onboarding-page .onboarding-video-fallback a { color: #4f46e5; font-weight: 700; }
.demo-trial-expired-modal .demo-welcome-intro { margin-bottom: 20px; }
.demo-trial-plan-button { display: block; width: 100%; min-height: 44px; padding: 13px 16px; border-radius: 10px; color: #fff !important; background: linear-gradient(100deg,#4f46e5,#6d5ce8); font-size: 13px; font-weight: 700; text-align: center; text-decoration: none !important; box-shadow: 0 8px 18px rgba(79,70,229,.18); }
.demo-trial-plan-button:hover { color: #fff !important; background: #4338ca; }

@media (max-width: 680px) {
    .user-welcome-page { width: min(420px, calc(100% - 28px)); padding-top: 16px; }
    .user-welcome-heading { margin: 18px auto 20px; }
    .user-welcome-heading h1 { font-size: 29px; }
    .user-welcome-body .options { grid-template-columns: 1fr; gap: 14px; }
    .user-welcome-body .option { min-height: 0; }
    .user-welcome-body .option-preview { height: 230px; min-height: 230px; flex-basis: 230px; }
    .user-welcome-body .option-content p { min-height: 0; }
}

.app-users-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 4px 24px;
    color: var(--app-text);
}

.app-users-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.app-users-header h1 { margin: 0; color: var(--app-text); font-size: 21px; font-weight: 650; }
.app-users-header p { margin: 4px 0 0; color: var(--app-muted); font-size: 12px; }
.app-users-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 12px; }
.app-users-toolbar input { flex: 1; min-width: 0; width: 100%; max-width: 460px; }
.app-users-table-wrap { overflow: hidden; padding: 0 12px; }
.app-users-table { margin: 0; }
.app-users-table tbody tr { vertical-align: middle; }
.app-user-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.app-user-actions .app-button { min-height: 29px; padding: 3px 9px; font-size: 11px; }
.app-user-actions .app-user-delete { color: #b91c1c; border-color: #fecaca; background: #fff; }
.app-user-actions .app-user-delete:hover { background: #fef2f2; }

@media (min-width: 768px) {
    .app-users-table-wrap,
    .app-users-table-wrap .table-responsive { overflow: visible; }
}

.app-users-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--app-muted); font-size: 12px; }
.app-users-modal-header { background: var(--app-surface); border-bottom: 1px solid var(--app-border); }
.app-user-details { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px 14px; margin: 0; font-size: 13px; }
.app-user-details dt { color: var(--app-muted); font-weight: 500; }
.app-user-details dd { margin: 0; color: var(--app-text); overflow-wrap: anywhere; }
.user-form-dialog { width: min(640px, 100%); color: var(--app-text); background: var(--app-surface); }
.user-form-dialog .leads-dialog-header { padding-bottom: 12px; border-bottom: 1px solid var(--app-border); }
.user-form-body { padding-top: 14px; color: var(--app-text); }
.user-form-actions { padding-top: 14px; border-top: 1px solid var(--app-border); }
.app-user-edit-modal label { display: block; margin-bottom: 5px; color: #4b5563; font-size: 12px; font-weight: 600; }
.app-user-edit-modal .nav-tabs { border-bottom-color: var(--app-border); }
.app-user-edit-modal .nav-tabs .nav-link { color: var(--app-muted); border-color: transparent; border-radius: 7px 7px 0 0; }
.app-user-edit-modal .nav-tabs .nav-link.active { color: var(--app-primary); background: var(--app-surface); border-color: var(--app-border) var(--app-border) var(--app-surface); font-weight: 600; }
.app-user-edit-modal .form-control { border-radius: var(--app-control-radius); }
.app-user-edit-modal .custom-multiselect { border-color: #d1d5db; border-radius: var(--app-control-radius); }

@media (max-width: 640px) {
    .app-users-header { align-items: flex-start; flex-direction: column; }
    .app-users-header .app-button { width: 100%; }
    .app-users-table-wrap { padding: 0 8px; }
    .app-user-details { grid-template-columns: 1fr; gap: 3px; }
    .app-user-details dd { margin-bottom: 8px; }
    .app-user-edit-modal .user-form-tabs {
        display: grid;
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        flex-wrap: nowrap;
    }
    .app-user-edit-modal .user-form-tabs .nav-item { min-width: 0; }
    .app-user-edit-modal .user-form-tabs .nav-link {
        width: 100%;
        padding: .65rem .25rem;
        font-size: clamp(13px, 3.7vw, 16px);
        text-align: center;
        white-space: nowrap;
    }
}

.app-theme .nav-tabs {
    border-bottom: 1px solid var(--app-border);
}

.app-theme .nav-tabs .nav-item {
    border: 0 !important;
}

.app-theme .nav-tabs .nav-link {
    color: var(--app-muted);
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
}

.app-theme .nav-tabs .nav-link.active {
    color: var(--app-primary);
    background: transparent;
    border-bottom-color: var(--app-primary);
    font-weight: 600;
}

.app-page-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.app-page-initial {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: var(--app-primary, #4f46e5);
    font-size: 19px;
    font-weight: 700;
}

.app-settings-page .tab-content .col-md-2,
.app-settings-page .tab-content .col-md-3,
.app-settings-page .tab-content .col-md-4 {
    margin-bottom: 10px !important;
}

.app-settings-page {
    padding: 15px;
    color: var(--app-text);
    font-size: 12px;
}

.app-settings-page button:not(.dropdown-item):not(.btn-close) {
    box-sizing: border-box;
    width: 100px;
    min-width: 100px;
    height: 34px;
    min-height: 34px;
    padding: 0 6px;
    font-size: 12px;
    white-space: nowrap;
}

.app-settings-page button:not(.dropdown-item):not(.btn-close).leads-create-button {
    width: 160px;
    min-width: 160px;
}

.app-settings-page .fu-rule-modal-footer button.temperature-save-button {
    width: 160px;
    min-width: 160px;
}

.app-settings-page .tab-content button.leads-create-button:hover {
    color: #fff;
    background-color: #4f46e5;
    border-color: #4f46e5;
    box-shadow: none;
}

.app-settings-page .card {
    margin-bottom: 0;
}

.app-settings-page .ai-crm-action-menu.show {
    display: flex;
    align-items: center;
    gap: 2px;
    width: max-content;
    min-width: 0;
    padding: 4px;
    white-space: nowrap;
}

.app-settings-page .ai-crm-action-menu .dropdown-item {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    padding: 6px 8px;
    white-space: nowrap;
}

.app-settings-page .ai-crm-action-area > button:hover {
    color: var(--bs-btn-color);
    background-color: var(--bs-btn-bg);
    border-color: var(--bs-btn-border-color);
    box-shadow: none;
}

.app-settings-page .ai-crm-action-menu .dropdown-item:hover {
    color: var(--bs-dropdown-link-color) !important;
    background-color: transparent;
}

.app-settings-page .ai-crm-action-menu .dropdown-item.text-danger:hover {
    color: #dc3545 !important;
}

.app-settings-page label,
.app-settings-page .form-check-label {
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
}

.app-settings-page .form-control,
.app-settings-page input:not([type="checkbox"]):not([type="radio"]),
.app-settings-page select,
.app-settings-page textarea {
    font-size: 12px !important;
}

.app-profile-page {
    font-size: 12px;
}

.app-profile-page .text-3xl {
    font-size: 16px !important;
    line-height: 1.4 !important;
}

.app-profile-page .text-sm {
    font-size: 12px !important;
}

.app-profile-page .text-xs {
    font-size: 11px !important;
}

.app-profile-page .app-control {
    min-height: 36px;
    font-size: 12px;
}

.fu-rule-modal-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 20000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .55);
}

@media (min-width: 768px) {
    .fu-rule-modal-overlay {
        width: 111.11vw;
        height: 111.11vh;
    }
}

.fu-rule-modal-dialog {
    width: 900px;
    max-width: 96vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: contain;
    color: var(--app-text);
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    box-shadow: 0 16px 48px rgba(15, 23, 42, .3);
}

.fu-rule-modal-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.fu-rule-modal-header,
.fu-rule-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--app-surface);
}

.fu-rule-modal-header {
    border-bottom: 1px solid var(--app-border);
}

.fu-rule-modal-footer {
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid var(--app-border);
}

.fu-rule-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 18px;
    background: var(--app-surface);
}

.fu-rule-modal-body::-webkit-scrollbar {
    display: none;
}

.app-dashboard-page {
    min-height: 100%;
    padding: 20px 24px 32px;
    background: #f4f6fb;
}

.app-dashboard-page > .container-fluid {
    max-width: 100%;
    padding: 0;
}

.app-dashboard-page .dashboard-header,
.app-dashboard-page .dashboard-section-heading,
.app-dashboard-page .dashboard-metric-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-dashboard-page .dashboard-header {
    margin-bottom: 18px;
}

.app-dashboard-page .dashboard-header h1,
.app-dashboard-page .dashboard-section-heading h2 {
    margin: 0;
    color: var(--app-text);
    font-size: 22px;
    font-weight: 700;
}

.app-dashboard-page .dashboard-header p,
.app-dashboard-page .dashboard-section-heading p {
    margin: 4px 0 0;
    color: var(--app-muted);
    font-size: 12px;
}

.app-dashboard-page .dashboard-refresh-link {
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    text-decoration: none;
}

.app-dashboard-page .dashboard-banner {
    position: relative;
    display: flex;
    min-height: 154px;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    margin-bottom: 16px;
    padding: 24px 30px;
    color: #fff;
    background: linear-gradient(110deg, #315fe7 0%, #2446b8 100%);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(37, 78, 190, .16);
}

.app-dashboard-page .dashboard-banner-copy {
    position: relative;
    z-index: 1;
}

.app-dashboard-page .dashboard-banner-eyebrow {
    color: rgba(255, 255, 255, .75);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.app-dashboard-page .dashboard-banner h2 {
    margin: 6px 0 4px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.app-dashboard-page .dashboard-banner p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
}

.app-dashboard-page .dashboard-banner-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 15px;
}

.app-dashboard-page .app-button-light {
    padding: 8px 12px;
    color: #2446b8;
    background: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.app-dashboard-page .app-button-light .fa {
    margin-left: 5px;
}

.app-dashboard-page .dashboard-banner-secondary {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.app-dashboard-page .dashboard-banner-art {
    display: grid;
    width: 118px;
    height: 118px;
    flex: 0 0 118px;
    place-items: center;
    margin-right: 18px;
    color: rgba(255, 255, 255, .35);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    font-size: 42px;
}

.app-dashboard-page .dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.app-dashboard-page .dashboard-metric-card,
.app-dashboard-page .dashboard-action-card,
.app-dashboard-page .dashboard-chart-card {
    min-width: 0;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 9px;
    box-shadow: var(--app-card-shadow);
}

.app-dashboard-page .dashboard-metric-card {
    min-height: 112px;
    padding: 14px 16px;
}

.app-dashboard-page .dashboard-metric-top {
    color: var(--app-muted);
    font-size: 11px;
    font-weight: 600;
}

.app-dashboard-page .dashboard-metric-icon,
.app-dashboard-page .dashboard-action-icon {
    display: inline-grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 8px;
    font-size: 12px;
}

.app-dashboard-page .metric-icon-indigo {
    color: #3f63dc;
    background: #e9efff;
}

.app-dashboard-page .metric-icon-green {
    color: #16a36a;
    background: #e5f8ef;
}

.app-dashboard-page .metric-icon-amber {
    color: #b78108;
    background: #fff5d8;
}

.app-dashboard-page .metric-icon-rose {
    color: #df5262;
    background: #ffeaec;
}

.app-dashboard-page .dashboard-metric-card h2 {
    overflow: hidden;
    margin: 10px 0 5px;
    color: var(--app-text);
    font-size: 20px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-dashboard-page .dashboard-metric-card > p {
    margin: 0;
    color: #16a36a;
    font-size: 10px;
}

.app-dashboard-page .dashboard-metric-card > p small,
.app-dashboard-page .dashboard-metric-card > .dashboard-metric-caption {
    color: var(--app-muted);
    font-size: 10px;
}

.app-dashboard-page .dashboard-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.app-dashboard-page .dashboard-action-card {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    color: var(--app-text);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

.app-dashboard-page .dashboard-action-card:hover {
    border-color: #c5d2f7;
    color: var(--app-text);
    transform: translateY(-1px);
}

.app-dashboard-page .dashboard-action-card > span:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.app-dashboard-page .dashboard-action-card strong {
    font-size: 11px;
}

.app-dashboard-page .dashboard-action-card small {
    color: var(--app-muted);
    font-size: 10px;
}

.app-dashboard-page .dashboard-action-arrow {
    color: #94a3b8;
}

.app-dashboard-page .dashboard-section-heading {
    margin-bottom: 12px;
}

.app-dashboard-page .dashboard-section-heading h2 {
    font-size: 17px;
}

.app-dashboard-page .dashboard-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.app-dashboard-page .dashboard-chart-card {
    min-height: 250px;
    padding: 15px 16px 12px;
}

.app-dashboard-page .dashboard-chart-card-wide {
    grid-column: span 2;
}

.app-dashboard-page .dashboard-chart-card h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--app-text);
    font-size: 12px;
    font-weight: 700;
}

.app-dashboard-page .dashboard-chart-card h3 span {
    color: var(--app-muted);
    font-size: 9px;
    font-weight: 400;
}

.app-dashboard-page .chart-container {
    position: relative;
    height: 205px;
}

.app-dashboard-page .dashboard-chart-card-wide .chart-container {
    height: 230px;
}

.app-dashboard-page .chart-container canvas {
    width: 100% !important;
    max-width: 100%;
}

@media (max-width: 900px) {
    .app-dashboard-page .dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .app-dashboard-page {
        padding: 14px 12px 24px;
    }

    .app-dashboard-page .dashboard-banner {
        min-height: 145px;
        padding: 20px;
    }

    .app-dashboard-page .dashboard-banner-art {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
        margin-right: 0;
        font-size: 28px;
    }

    .app-dashboard-page .dashboard-banner h2 {
        font-size: 18px;
    }

    .app-dashboard-page .dashboard-banner p {
        max-width: 240px;
        font-size: 10px;
    }

    .app-dashboard-page .dashboard-quick-actions,
    .app-dashboard-page .dashboard-chart-grid {
        grid-template-columns: 1fr;
    }

    .app-dashboard-page .dashboard-chart-card-wide {
        grid-column: auto;
    }

    .app-dashboard-page .dashboard-chart-card {
        min-height: 235px;
    }

    .app-dashboard-page .chart-container,
    .app-dashboard-page .dashboard-chart-card-wide .chart-container {
        height: 190px;
    }
}

.wa-overview-page {
    padding: 18px 22px 30px;
    background: #f4f6fa;
}

.wa-overview-page .dashboard-content {
    max-width: 1500px;
    padding: 0;
}

.wa-overview-page .dashboard-header {
    margin-bottom: 16px;
}

.wa-overview-page .dashboard-header h1,
.wa-overview-page .dashboard-header p {
    text-align: left;
}

.wa-overview-page .dashboard-header h1 {
    font-size: 20px;
}

.wa-overview-page .dashboard-header p {
    font-size: 11px;
}

.wa-overview-page .dashboard-refresh-link {
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
}

.wa-overview-page .wa-banner-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    border-radius: 10px;
}

.wa-overview-page .wa-banner-track {
    display: flex;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.wa-overview-page .wa-banner-slide {
    position: relative;
    display: flex;
    min-width: 100%;
    min-height: 136px;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 20px 25px 28px;
    color: #fff;
}

.wa-overview-page .wa-banner-blue {
    background: linear-gradient(120deg, #2863e9, #2447b9);
}

.wa-overview-page .wa-banner-green {
    background: linear-gradient(120deg, #16a34a, #15803d);
}

.wa-overview-page .wa-banner-purple {
    background: linear-gradient(120deg, #7c3aed, #5b21b6);
}

.wa-overview-page .wa-banner-slide > div {
    position: relative;
    z-index: 1;
}

.wa-overview-page .wa-banner-eyebrow {
    color: rgba(255, 255, 255, .76);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.wa-overview-page .wa-banner-slide h2 {
    margin: 5px 0 3px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.wa-overview-page .wa-banner-slide p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 10px;
}

.wa-overview-page .wa-banner-button {
    display: inline-block;
    margin-top: 11px;
    padding: 6px 10px;
    color: #1e40af;
    background: #fff;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.wa-overview-page .wa-banner-art {
    display: grid;
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    place-items: center;
    margin-right: 16px;
    color: rgba(255, 255, 255, .32);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    font-size: 32px;
}

.wa-overview-page .wa-banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    display: flex;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, .15);
    border-radius: 100px;
    backdrop-filter: blur(4px);
    transform: translateX(-50%);
}

.wa-overview-page .wa-banner-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    background: rgba(255, 255, 255, .55);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all .25s ease;
}

.wa-overview-page .wa-banner-dots button:hover {
    background: rgba(255, 255, 255, .85);
}

.wa-overview-page .wa-banner-dots button.active {
    background: #fff;
    width: 24px;
    border-radius: 100px;
}

.wa-overview-page .wa-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

.wa-overview-page .wa-stat-card,
.wa-overview-page .wa-quick-action,
.wa-overview-page .wa-panel,
.wa-overview-page .wa-performance-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e0e5ed;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .03);
}

.wa-overview-page .wa-stat-card {
    display: block;
    min-height: 84px;
    padding: 9px 10px;
    color: #1e293b;
    font-family: inherit;
    text-align: left;
    text-decoration: none;
}

.wa-overview-page button.wa-stat-card {
    width: 100%;
    cursor: pointer;
}

.wa-overview-page .wa-stat-card:hover {
    border-color: #cbd5e1;
    color: #1e293b;
}

.wa-overview-page .wa-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.wa-overview-page .wa-stat-icon,
.wa-overview-page .wa-quick-icon {
    display: inline-grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    border-radius: 6px;
    font-size: 11px;
}

.wa-overview-page .wa-stat-hint {
    overflow: hidden;
    color: #94a3b8;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-overview-page .wa-stat-card > strong {
    display: block;
    margin-top: 5px;
    color: #111827;
    font-size: 16px;
    line-height: 1.1;
}

.wa-overview-page .wa-stat-label {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 9px;
}

.wa-overview-page .wa-icon-blue {
    color: #2563eb;
    background: #dbeafe;
}

.wa-overview-page .wa-icon-green {
    color: #15803d;
    background: #dcfce7;
}

.wa-overview-page .wa-icon-red {
    color: #dc2626;
    background: #fee2e2;
}

.wa-overview-page .wa-icon-purple {
    color: #7c3aed;
    background: #ede9fe;
}

.wa-overview-page .wa-icon-teal {
    color: #059669;
    background: #d1fae5;
}

.wa-overview-page .wa-icon-amber {
    color: #b45309;
    background: #fef3c7;
}

.wa-overview-page .wa-icon-cyan {
    color: #0891b2;
    background: #cffafe;
}

.wa-overview-page .wa-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.wa-overview-page .wa-quick-action {
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: 9px;
    padding: 7px 9px;
    color: #1e293b;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

.wa-overview-page .wa-quick-action:hover {
    color: #1e293b;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.wa-overview-page .wa-quick-action > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.wa-overview-page .wa-quick-action strong {
    font-size: 10px;
}

.wa-overview-page .wa-quick-action small {
    overflow: hidden;
    color: #94a3b8;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-overview-page .wa-quick-action > .fa-angle-right {
    color: #94a3b8;
    font-size: 12px;
}

.wa-overview-page .wa-overview-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(270px, 1fr);
    gap: 10px;
    margin-bottom: 17px;
}

.wa-overview-page .wa-panel {
    padding: 12px 14px;
}

.wa-overview-page .wa-panel-heading,
.wa-overview-page .wa-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wa-overview-page .wa-panel-heading h2,
.wa-overview-page .wa-section-heading h2 {
    margin: 0;
    color: #1e293b;
    font-size: 11px;
    font-weight: 700;
}

.wa-overview-page .wa-panel-heading p,
.wa-overview-page .wa-section-heading p {
    margin: 3px 0 0;
    color: #94a3b8;
    font-size: 8px;
}

.wa-overview-page .wa-chart-legend {
    display: flex;
    gap: 10px;
    color: #64748b;
    font-size: 8px;
}

.wa-overview-page .wa-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wa-overview-page .wa-chart-legend i,
.wa-overview-page .wa-legend-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 2px;
}

.wa-overview-page .wa-legend-sent {
    background: #16a34a;
}

.wa-overview-page .wa-legend-received {
    background: #86efac;
}

.wa-overview-page .wa-legend-failed {
    background: #f87171;
}

.wa-overview-page .wa-activity-chart {
    position: relative;
    height: 132px;
    margin-top: 7px;
}

.wa-overview-page .wa-activity-chart canvas,
.wa-overview-page .wa-performance-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.wa-overview-page .wa-delivery-content {
    display: flex;
    min-height: 114px;
    align-items: center;
    gap: 15px;
}

.wa-overview-page .wa-delivery-gauge {
    display: grid;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    place-items: center;
    border-radius: 50%;
}

.wa-overview-page .wa-delivery-gauge > div {
    display: flex;
    width: 62px;
    height: 62px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
}

.wa-overview-page .wa-delivery-gauge strong {
    color: #16a34a;
    font-size: 16px;
}

.wa-overview-page .wa-delivery-gauge span {
    color: #94a3b8;
    font-size: 8px;
}

.wa-overview-page .wa-delivery-legend {
    min-width: 0;
    flex: 1;
}

.wa-overview-page .wa-delivery-legend p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 5px 0;
    color: #64748b;
    font-size: 9px;
}

.wa-overview-page .wa-delivery-legend p strong {
    margin-left: auto;
    color: #1e293b;
}

.wa-overview-page .wa-delivery-legend small {
    display: block;
    margin-top: 8px;
    color: #94a3b8;
    font-size: 8px;
}

.wa-overview-page .wa-plan-current-name {
    display: block !important;
    margin: 0 0 7px !important;
    color: #1e293b !important;
    font-weight: 700;
}

.wa-overview-page .wa-plan-usage-state {
    display: flex;
    min-height: 114px;
    align-items: center;
    margin: 0;
    color: #64748b;
    font-size: 10px;
}

.wa-overview-page .wa-panel-link {
    color: #16a34a;
    font-size: 9px;
    font-weight: 600;
    text-decoration: none;
}

.wa-overview-page .wa-panel-link .fa {
    margin-left: 4px;
}

.wa-overview-page .wa-performance-section {
    margin-bottom: 10px;
}

.wa-overview-page .wa-section-heading {
    margin-bottom: 10px;
}

.wa-overview-page .wa-section-heading h2 {
    font-size: 13px;
}

.wa-overview-page .wa-performance-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 9px;
}

.wa-overview-page .wa-performance-card {
    display: grid;
    min-height: 72px;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 8px;
    padding: 9px;
}

.wa-overview-page .wa-performance-card .wa-stat-icon {
    grid-row: span 2;
}

.wa-overview-page .wa-performance-card strong {
    color: #111827;
    font-size: 13px;
    line-height: 1.2;
}

.wa-overview-page .wa-performance-card small {
    color: #64748b;
    font-size: 8px;
}

.wa-overview-page .wa-performance-chart-panel {
    position: relative;
}

.wa-overview-page .wa-performance-chart {
    position: relative;
    height: 185px;
    margin-top: 10px;
}

.wa-overview-page .wa-chart-empty {
    position: absolute;
    right: 0;
    bottom: 66px;
    left: 0;
    color: #64748b;
    font-size: 10px;
    pointer-events: none;
    text-align: center;
}

.wa-overview-page .wa-dashboard-feedback {
    margin: 8px 0 0;
    color: #b91c1c;
    font-size: 10px;
}

.wa-overview-page .wa-modal-backdrop {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, .48);
}

.wa-overview-page .wa-numbers-modal,
.wa-overview-page .wa-connect-modal {
    width: min(560px, 100%);
    max-height: min(80vh, 680px);
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .24);
}

.wa-overview-page .wa-modal-header {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #e8edf3;
}

.wa-overview-page .wa-modal-header h2 {
    margin: 0;
    color: #182230;
    font-size: 14px;
    font-weight: 700;
}

.wa-overview-page .wa-modal-header h2 small {
    color: #64748b;
    font-size: 10px;
    font-weight: 400;
}

.wa-overview-page .wa-modal-header p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 10px;
}

.wa-overview-page .wa-modal-close {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    color: #64748b;
    background: #f1f5f9;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.wa-overview-page .wa-modal-toolbar {
    display: grid;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid #e8edf3;
}

.wa-overview-page .wa-modal-toolbar input {
    width: 100%;
    min-height: 34px;
    padding: 7px 10px;
    color: #1e293b;
    background: #fff;
    border: 1px solid #dbe2ea;
    border-radius: 7px;
    font-size: 11px;
}

.wa-overview-page .wa-modal-export-actions {
    display: flex;
    gap: 6px;
}

.wa-overview-page .wa-modal-export-actions button {
    min-height: 28px;
    padding: 5px 9px;
    color: #fff;
    background: #16a34a;
    border: 1px solid #16a34a;
    border-radius: 6px;
    cursor: pointer;
    font-size: 9px;
    font-weight: 600;
}

.wa-overview-page .wa-modal-export-actions button.wa-export-csv {
    color: #334155;
    background: #fff;
    border-color: #dbe2ea;
}

.wa-overview-page .wa-modal-export-actions button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.wa-overview-page .wa-modal-results {
    min-height: 100px;
    max-height: 360px;
    overflow: auto;
}

.wa-overview-page .wa-modal-state {
    margin: 0;
    padding: 28px 16px;
    color: #475569;
    font-size: 11px;
    text-align: center;
}

.wa-overview-page .wa-modal-error {
    color: #b91c1c;
}

.wa-overview-page .wa-modal-results table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.wa-overview-page .wa-modal-results th,
.wa-overview-page .wa-modal-results td {
    padding: 9px 12px;
    border-bottom: 1px solid #eef2f6;
    text-align: left;
    white-space: nowrap;
}

.wa-overview-page .wa-modal-results th {
    position: sticky;
    top: 0;
    color: #64748b;
    background: #f8fafc;
    font-size: 9px;
    font-weight: 600;
}

.wa-overview-page .wa-connect-modal {
    padding-bottom: 2px;
}

.wa-overview-page .wa-connect-modal form {
    padding: 14px 16px;
}

.wa-overview-page .wa-connect-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.wa-overview-page .wa-connect-form-grid label {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
    color: #475569;
    font-size: 10px;
    font-weight: 600;
}

.wa-overview-page .wa-connect-form-grid label.wa-connect-full {
    grid-column: span 2;
}

.wa-overview-page .wa-connect-form-grid input {
    width: 100%;
    min-height: 34px;
    padding: 7px 9px;
    color: #1e293b;
    background: #fff;
    border: 1px solid #dbe2ea;
    border-radius: 6px;
    font-size: 11px;
}

.wa-overview-page .wa-connect-error {
    margin: 10px 0 0;
    color: #b91c1c;
    font-size: 10px;
}

.wa-overview-page .wa-connect-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.wa-overview-page .wa-connect-actions button {
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
}

.wa-overview-page .wa-connect-cancel {
    color: #475569;
    background: #fff;
    border: 1px solid #dbe2ea;
}

.wa-overview-page .wa-connect-submit {
    color: #fff;
    background: #16a34a;
    border: 1px solid #16a34a;
}

.wa-overview-page .wa-connect-submit:disabled {
    cursor: wait;
    opacity: .65;
}

@media (max-width: 1050px) {
    .wa-overview-page .wa-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .wa-overview-page {
        padding: 14px 12px 24px;
    }

    .wa-overview-page .wa-overview-columns {
        grid-template-columns: 1fr;
    }

    .wa-overview-page .wa-activity-chart {
        height: 170px;
    }
}

@media (max-width: 520px) {
    .wa-overview-page .wa-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wa-overview-page .wa-quick-actions {
        grid-template-columns: 1fr;
    }

    .wa-overview-page .wa-banner-slide {
        min-height: 150px;
        padding: 18px 16px 27px;
    }

    .wa-overview-page .wa-banner-art {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        margin-right: 0;
        font-size: 23px;
    }

    .wa-overview-page .wa-banner-slide h2 {
        max-width: 230px;
        font-size: 16px;
    }

    .wa-overview-page .wa-banner-slide p {
        max-width: 225px;
    }

    .wa-overview-page .wa-performance-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wa-overview-page .wa-performance-stats .wa-performance-card:last-child {
        grid-column: span 2;
    }

    .wa-overview-page .wa-panel-heading {
        align-items: flex-start;
    }

    .wa-overview-page .wa-chart-legend {
        gap: 6px;
    }

    .wa-overview-page .wa-connect-form-grid {
        grid-template-columns: 1fr;
    }

    .wa-overview-page .wa-connect-form-grid label.wa-connect-full {
        grid-column: auto;
    }
}

.wa-overview-page .dashboard-header p,
.wa-overview-page .wa-banner-eyebrow,
.wa-overview-page .wa-banner-slide p,
.wa-overview-page .wa-banner-button,
.wa-overview-page .wa-stat-hint,
.wa-overview-page .wa-stat-label,
.wa-overview-page .wa-quick-action strong,
.wa-overview-page .wa-quick-action small,
.wa-overview-page .wa-panel-heading h2,
.wa-overview-page .wa-panel-heading p,
.wa-overview-page .wa-chart-legend,
.wa-overview-page .wa-delivery-gauge span,
.wa-overview-page .wa-delivery-legend p,
.wa-overview-page .wa-delivery-legend small,
.wa-overview-page .wa-panel-link,
.wa-overview-page .wa-section-heading p,
.wa-overview-page .wa-performance-card small,
.wa-overview-page .wa-chart-empty,
.wa-overview-page .wa-dashboard-feedback,
.wa-overview-page .wa-modal-header h2 small,
.wa-overview-page .wa-modal-header p,
.wa-overview-page .wa-modal-toolbar input,
.wa-overview-page .wa-modal-export-actions button,
.wa-overview-page .wa-modal-state,
.wa-overview-page .wa-modal-results table,
.wa-overview-page .wa-modal-results th,
.wa-overview-page .wa-connect-form-grid label,
.wa-overview-page .wa-connect-form-grid input,
.wa-overview-page .wa-connect-error,
.wa-overview-page .wa-connect-actions button {
    font-size: 13px;
}

.alertify {
    z-index: 30000 !important;
}

.whatsapp-lite .wa-audio-wave {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 50px;
    height: 28px;
}

.whatsapp-lite .wa-audio-wave-bars {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    overflow: hidden;
    pointer-events: none;
}

.whatsapp-lite .wa-chat-followups-scroll {
    max-height: min(62vh, 680px);
    overflow-x: auto;
    overflow-y: auto;
}

.whatsapp-lite .wa-chat-followups-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8f9fa;
}

.whatsapp-followups-page { display: grid; gap: 16px; padding: 22px; color: #334155; }
.wa-followups-header, .wa-followups-toolbar, .wa-followups-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wa-followups-header h1 { margin: 0; color: #0f172a; font-size: 25px; font-weight: 700; }
.wa-followups-eyebrow { margin: 0 0 4px; color: #4f46e5; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.wa-followups-subtitle { margin: 4px 0 0; color: #64748b; font-size: 13px; }
.wa-followups-filters { display: grid; grid-template-columns: minmax(180px, 2fr) repeat(4, minmax(120px, 1fr)) repeat(2, minmax(135px, 1fr)) auto; align-items: end; gap: 10px; padding: 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .04); }
.wa-followups-scheduled-from { grid-column: 1; }
.wa-followups-filters label, .wa-followups-dialog > label, .wa-followups-edit-grid label { display: grid; gap: 5px; color: #475569; font-size: 12px; font-weight: 600; }
.wa-followups-filters input, .wa-followups-filters select, .wa-followups-dialog input:not([type="checkbox"]), .wa-followups-dialog select, .wa-followups-dialog textarea { width: 100%; min-width: 0; padding: 8px 9px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; color: #334155; font: inherit; font-size: 13px; }
.wa-followups-toolbar { color: #64748b; font-size: 13px; }
.wa-followups-toolbar label { display: flex; align-items: center; gap: 8px; }
.wa-followups-toolbar select { padding: 5px 8px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; }
.wa-followups-table-wrap { overflow: auto; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.wa-followups-table-wrap.wa-followups-menu-open { overflow: visible; }
.wa-followups-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.wa-followups-table th, .wa-followups-table td { padding: 11px 12px; border-bottom: 1px solid #eef2f7; text-align: left; vertical-align: middle; }
.wa-followups-table th { position: sticky; top: 0; z-index: 1; background: #f8fafc; color: #475569; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.wa-followups-table tbody tr:hover { background: #fafaff; }
.wa-followups-phone { white-space: nowrap; font-weight: 600; }
.wa-followups-table td small { display: block; margin-top: 3px; color: #94a3b8; }
.wa-followups-status, .wa-followups-content-kind { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.wa-followups-status.is-sent { background: #dcfce7; color: #166534; }
.wa-followups-status.is-scheduled { background: #e0e7ff; color: #4338ca; }
.wa-followups-status.is-inactive { background: #f1f5f9; color: #64748b; }
.wa-followups-content-kind { margin-right: 6px; background: #f1f5f9; color: #475569; }
.wa-followups-content-text { display: inline-block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; }
.wa-followups-actions { position: relative; display: flex; width: fit-content; margin-left: auto; white-space: nowrap; }
.wa-followups-more { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #475569; }
.wa-followups-more:hover, .wa-followups-more:focus { background: #f1f5f9; }
.wa-followups-action-menu { position: absolute; top: 0; right: calc(100% + 8px); left: auto; z-index: 20; display: flex; align-items: center; gap: 4px; min-width: 0; padding: 5px; border: 1px solid #e2e8f0; border-radius: 9px; background: #fff; box-shadow: 0 8px 24px rgba(15, 23, 42, .14); white-space: nowrap; }
.wa-followups-action-menu button { padding: 7px 10px; border: 0; border-radius: 6px; background: transparent; color: #334155; text-align: left; white-space: nowrap; }
.wa-followups-action-menu button:hover { background: #f1f5f9; }
.wa-followups-action-menu button.is-delete { color: #b91c1c; }
.wa-followups-empty, .wa-followups-message { padding: 28px; color: #64748b; text-align: center; }
.wa-followups-error { color: #b91c1c; }
.wa-followups-pagination { justify-content: center; color: #64748b; font-size: 13px; }
.wa-followups-overlay { position: fixed; inset: 0; z-index: 30000; display: grid; place-items: center; padding: 18px; background: rgba(15, 23, 42, .45); }
.wa-followups-dialog { display: grid; gap: 14px; width: min(620px, 100%); max-height: min(90vh, 850px); overflow: auto; padding: 20px; border-radius: 14px; background: #fff; box-shadow: 0 20px 60px rgba(15, 23, 42, .25); }
.wa-followups-dialog header, .wa-followups-dialog footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wa-followups-dialog:not(.wa-followups-edit-dialog) header .wa-followups-close { margin-left: auto; }
.wa-followups-dialog:not(.wa-followups-edit-dialog) footer { justify-content: flex-end; }
.wa-followups-edit-dialog footer { justify-content: flex-end; }
.wa-followups-edit-dialog footer button { font-size: 14px; }
.wa-followups-dialog h2 { margin: 0; color: #0f172a; font-size: 18px; }
.wa-followups-close { position: relative; display: grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 0; background: transparent; color: #64748b; cursor: pointer; }
.wa-followups-close::before, .wa-followups-close::after { position: absolute; width: 16px; height: 1px; background: currentColor; content: ""; }
.wa-followups-close::before { transform: rotate(45deg); }
.wa-followups-close::after { transform: rotate(-45deg); }
.wa-followups-dialog dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 9px 14px; margin: 0; overflow-wrap: anywhere; }
.wa-followups-dialog dt { color: #64748b; font-weight: 600; }
.wa-followups-dialog dd { margin: 0; color: #334155; }
.wa-followups-dialog .wa-followups-check { display: flex; align-items: center; gap: 8px; }
.wa-followups-edit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .wa-followups-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wa-followups-search { grid-column: span 2; } }
@media (max-width: 700px) { .whatsapp-followups-page { padding: 12px; } .wa-followups-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wa-followups-search { grid-column: span 2; } .wa-followups-table { min-width: 900px; } .wa-followups-edit-grid { grid-template-columns: 1fr; } }

.whatsapp-lite .wa-audio-wave-bars span {
    flex: 1 1 0;
    min-width: 2px;
    max-width: 4px;
    border-radius: 3px;
    background: #9aa7a2;
    transition: background-color .12s linear;
}

.whatsapp-lite .wa-audio-wave-bars span.wa-audio-wave-played {
    background: #00a884;
}

.whatsapp-lite .wa-audio-seek {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
}

.whatsapp-lite .wa-audio-seek:disabled {
    cursor: default;
}

.whatsapp-lite .wa-audio-seek::-webkit-slider-runnable-track {
    height: 100%;
    background: transparent;
}

.whatsapp-lite .wa-audio-seek::-moz-range-track {
    height: 100%;
    background: transparent;
}

.whatsapp-lite .wa-audio-seek::-webkit-slider-thumb {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    background: #00a884;
    opacity: 0 !important;
}

.whatsapp-lite .wa-audio-seek::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: #00a884;
    opacity: 0 !important;
}

.whatsapp-lite .wa-audio-wave-cursor {
    position: absolute;
    top: 5px;
    bottom: 5px;
    z-index: 2;
    width: 2px;
    border-radius: 2px;
    background: #00a884;
    transform: translateX(-50%);
    pointer-events: none;
}

.flex-site {
    --flex-site-ink: #172033;
    --flex-site-muted: #667085;
    --flex-site-indigo: #5146e5;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    color: var(--flex-site-ink);
    background: #fff !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

.flex-site > main {
    flex: 1 0 auto;
}

.flex-site * { box-sizing: border-box; }
.flex-site a { color: inherit; text-decoration: none; }
.flex-site-container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.flex-site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #edf0f5; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.flex-site-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.flex-site-brand { display: inline-flex; align-items: center; gap: 9px; color: #172033; font-size: 24px; font-weight: 800; letter-spacing: -1.2px; }
.flex-site-brand-mark { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: var(--flex-site-indigo); color: #fff; font-size: 19px; letter-spacing: 0; }
.flex-site-brand-period { color: var(--flex-site-indigo); }
.flex-site-nav { display: flex; align-items: center; gap: 30px; color: #5b6475; font-size: 14px; font-weight: 700; }
.flex-site-nav a:hover, .flex-site-nav a.active, .flex-site-footer a:hover { color: #0f172a; }
.flex-site-nav .flex-site-nav-login { padding: 10px 19px; border: 1px solid #4f46e5; border-radius: 10px; background: #4f46e5; color: #fff; }
.flex-site-nav .flex-site-nav-login:hover { border-color: #4338ca; background: #4338ca; color: #fff; }
.flex-site-menu-toggle { display: none; }
.flex-site-hero { overflow: hidden; padding: 78px 0 0; background: radial-gradient(ellipse at 82% 26%, #f0eeff 0, rgba(247,246,255,.6) 30%, transparent 55%), linear-gradient(180deg, #fff 0%, #fbfbff 100%); }
.flex-site-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 42px; min-height: 460px; }
.flex-site-hero-copy { position: relative; z-index: 2; padding-bottom: 35px; }
.flex-site-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--flex-site-indigo); font-size: 11px; font-weight: 800; letter-spacing: 1.3px; }
.flex-site-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #6b5ce7; box-shadow: 0 0 0 4px #eeecff; }
.flex-site-hero h1 { margin: 21px 0 19px; color: #182033; font-size: clamp(42px, 5vw, 62px); font-weight: 750; letter-spacing: -3px; line-height: 1.08; }
.flex-site-hero h1 span, .flex-site-section-heading h2 span { color: var(--flex-site-indigo); }
.flex-site-hero-copy > p { max-width: 520px; margin: 0; color: var(--flex-site-muted); font-size: 17px; line-height: 1.8; }
.flex-site-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.flex-site-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 15px; padding: 0 20px; border-radius: 10px; font-size: 14px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease; }
.flex-site-button:hover { transform: translateY(-2px); }
.flex-site-button-primary { background: var(--flex-site-indigo); color: #fff !important; box-shadow: 0 8px 18px rgba(81,70,229,.2); }
.flex-site-button-primary:hover { box-shadow: 0 12px 24px rgba(81,70,229,.28); }
.flex-site-button-secondary { border: 1px solid #e1e4ed; background: #fff; color: #30384b; }
.flex-site-proof { display: flex; align-items: center; gap: 9px; margin-top: 25px; color: #6b7280; font-size: 12px; font-weight: 600; }
.flex-site-proof-icon { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #e9f8ef; color: #198754; font-size: 12px; }
.flex-site-hero-art { position: relative; min-height: 410px; display: flex; align-items: center; justify-content: center; }
.flex-site-glow { position: absolute; inset: 8% 4% 6%; border-radius: 50%; background: #e9e6ff; filter: blur(55px); opacity: .8; }
.flex-site-dashboard { position: relative; z-index: 1; width: min(100%, 510px); padding: 20px; border: 1px solid #e9eaf1; border-radius: 17px; background: rgba(255,255,255,.96); box-shadow: 0 28px 70px rgba(34,37,72,.13); transform: rotate(-1deg); }
.flex-site-dashboard-top, .flex-site-dashboard-welcome, .flex-site-dashboard-bottom { display: flex; align-items: center; justify-content: space-between; }
.flex-site-dashboard-top { padding-bottom: 17px; border-bottom: 1px solid #f0f1f5; }
.flex-site-dashboard-logo { display: flex; align-items: center; gap: 8px; color: #30364a; font-size: 12px; font-weight: 700; }
.flex-site-dashboard-logo > span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; background: var(--flex-site-indigo); color: white; font-size: 12px; }
.flex-site-dashboard-period { color: #9298a7; font-size: 9px; }
.flex-site-dashboard-period span { padding-left: 8px; color: #555d6c; }
.flex-site-dashboard-welcome { padding: 17px 0 16px; }
.flex-site-dashboard-welcome div { display: grid; gap: 3px; }
.flex-site-dashboard-welcome small, .flex-site-dashboard-label { color: #969cac; font-size: 8px; font-weight: 800; letter-spacing: .8px; }
.flex-site-dashboard-welcome strong { color: #242b3e; font-size: 16px; }
.flex-site-dashboard-avatar { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #eeecff; color: var(--flex-site-indigo); font-size: 11px; font-weight: 800; }
.flex-site-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.flex-site-metric { min-height: 102px; padding: 12px 11px; border: 1px solid #eceef4; border-radius: 10px; background: #fff; }
.flex-site-metric > span { display: block; color: #8790a0; font-size: 9px; }
.flex-site-metric strong { display: block; margin: 3px 0 8px; color: #292f41; font-size: 16px; }
.flex-site-metric small { display: flex; align-items: center; gap: 5px; color: #88909f; font-size: 8px; white-space: nowrap; }
.flex-site-metric-icon { display: inline-grid; width: 16px; height: 16px; place-items: center; border-radius: 5px; font-size: 10px; font-style: normal; }
.flex-site-icon-indigo { background: #efedff; color: #5b50df; }
.flex-site-icon-green { background: #e7f7ef; color: #219260; }
.flex-site-icon-orange { background: #fff2e6; color: #dd8733; }
.flex-site-icon-blue { background: #e8f3ff; color: #4286d4; }
.flex-site-icon-pink { background: #ffedf3; color: #db5c8a; }
.flex-site-icon-teal { background: #e5f8f6; color: #209b91; }
.flex-site-dashboard-bottom { gap: 16px; margin-top: 13px; padding: 12px; border-radius: 9px; background: #fafaff; }
.flex-site-workflow-chips { display: flex; gap: 5px; margin-top: 8px; }
.flex-site-workflow-chips span { padding: 5px 7px; border: 1px solid #e9e9f2; border-radius: 5px; background: white; color: #727a8a; font-size: 8px; }
.flex-site-chart { display: flex; height: 39px; align-items: end; gap: 4px; }
.flex-site-chart span { width: 8px; border-radius: 3px 3px 0 0; background: #aea8f5; }
.flex-site-chart span:nth-child(3n+1) { background: #d4d0fb; }
.flex-site-chart span:nth-child(1) { height: 40%; }.flex-site-chart span:nth-child(2) { height: 65%; }.flex-site-chart span:nth-child(3) { height: 50%; }.flex-site-chart span:nth-child(4) { height: 75%; }.flex-site-chart span:nth-child(5) { height: 57%; }.flex-site-chart span:nth-child(6) { height: 85%; }.flex-site-chart span:nth-child(7) { height: 62%; }.flex-site-chart span:nth-child(8) { height: 95%; }.flex-site-chart span:nth-child(9) { height: 70%; }.flex-site-chart span:nth-child(10) { height: 88%; }.flex-site-chart span:nth-child(11) { height: 66%; }.flex-site-chart span:nth-child(12) { height: 100%; }
.flex-site-float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid #edf0f5; border-radius: 11px; background: white; box-shadow: 0 12px 30px rgba(34,37,72,.12); }
.flex-site-float-card > span:nth-child(2) { display: grid; gap: 1px; }
.flex-site-float-card b { color: #30364a; font-size: 10px; }
.flex-site-float-card small { color: #8b92a1; font-size: 9px; }
.flex-site-float-whatsapp { right: -12px; top: 52px; }
.flex-site-float-ai { left: -16px; bottom: 46px; }
.flex-site-float-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; font-size: 16px; }
.flex-site-float-green { background: #e8f8ef; color: #1c9b60; }
.flex-site-float-purple { background: #f0edff; color: #6758e8; }
.flex-site-online-dot { width: 7px; height: 7px; border-radius: 50%; background: #32b879; }
.flex-site-capabilities { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px 0; border-top: 1px solid #eeeff5; }
.flex-site-capabilities > span { color: #9299a8; font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.flex-site-capabilities > div { display: flex; align-items: center; gap: 19px; color: #666e7d; font-size: 12px; }
.flex-site-capabilities i { width: 4px; height: 4px; border-radius: 50%; background: #c1c5d0; }
.flex-site-section { padding: 94px 0; }
.flex-site-features { background: #fff; }
.flex-site-section-heading { max-width: 650px; margin: 0 auto 43px; text-align: center; }
.flex-site-section-heading h2, .flex-site-workflow-copy h2, .flex-site-audience h2, .flex-site-contact h2 { margin: 13px 0 12px; color: #192136; font-size: clamp(30px, 4vw, 42px); font-weight: 740; letter-spacing: -1.7px; line-height: 1.17; }
.flex-site-section-heading p, .flex-site-workflow-copy > p, .flex-site-audience-inner > p, .flex-site-contact p { margin: 0; color: var(--flex-site-muted); font-size: 15px; line-height: 1.8; }
.flex-site-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flex-site-feature-card { min-height: 220px; padding: 23px; border: 1px solid #eceef4; border-radius: 14px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.flex-site-feature-card:hover { transform: translateY(-4px); border-color: #dcd9ff; box-shadow: 0 14px 32px rgba(31,35,69,.07); }
.flex-site-feature-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 11px; font-size: 19px; }
.flex-site-feature-card h3 { margin: 17px 0 7px; color: #252c3e; font-size: 16px; }
.flex-site-feature-card p { min-height: 55px; margin: 0 0 16px; color: #747c8c; font-size: 13px; line-height: 1.7; }
.flex-site-feature-card a, .flex-site-text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--flex-site-indigo); font-size: 12px; font-weight: 700; }
.flex-site-workflow { padding: 88px 0; background: #f7f7fc; }
.flex-site-workflow-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.flex-site-workflow-copy h2 { max-width: 440px; margin-top: 17px; }
.flex-site-workflow-copy > p { max-width: 470px; margin-bottom: 22px; }
.flex-site-flow-list { padding: 7px 24px; border: 1px solid #e9eaf2; border-radius: 15px; background: #fff; }
.flex-site-flow-item { display: grid; grid-template-columns: 38px 1fr 32px; align-items: center; gap: 13px; padding: 21px 0; }
.flex-site-flow-item + .flex-site-flow-item { border-top: 1px solid #eff0f5; }
.flex-site-flow-number { color: #8178e7; font-size: 11px; font-weight: 800; }
.flex-site-flow-item b { color: #293044; font-size: 14px; }
.flex-site-flow-item p { margin: 3px 0 0; color: #858c9a; font-size: 12px; }
.flex-site-flow-symbol { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; background: #f1efff; color: #655ae0; }
.flex-site-audience { padding: 75px 0; }
.flex-site-audience-inner { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 42px; }
.flex-site-audience h2 { max-width: 460px; font-size: 31px; }
.flex-site-audience-inner > p { font-size: 14px; }
.flex-site-contact { padding: 61px 0; background: linear-gradient(110deg, #3730a3, #5b50df 65%, #7166ed); }
.flex-site-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.flex-site-contact .flex-site-eyebrow { color: #d5d2ff; }
.flex-site-contact h2 { max-width: 570px; margin: 10px 0 8px; color: #fff; font-size: 33px; }
.flex-site-contact p { color: #e1e0ff; font-size: 14px; }
.flex-site-button-light { flex: 0 0 auto; background: white; color: #4c43cc !important; }
.flex-site-footer { padding: 54px 0 24px; background: #0f172a; color: #cbd5e1; }
.flex-site-footer a { color: #cbd5e1; transition: color .18s ease; }
.flex-site-footer a:hover { color: #fff; }
.flex-site-footer-main { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(120px, 1fr)); gap: 40px; padding-bottom: 46px; }
.flex-site-footer-brand-column { max-width: 390px; }
.flex-site-footer .flex-site-brand { color: #fff; font-size: 24px; }
.flex-site-footer .flex-site-brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 18px; }
.flex-site-footer-brand-column p { max-width: 380px; margin: 18px 0 0; color: #aab5c7; font-size: 15px; line-height: 1.75; }
.flex-site-footer-column { display: grid; align-content: start; gap: 12px; }
.flex-site-footer-column h2 { margin: 0 0 7px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.flex-site-footer-column a { width: fit-content; color: #aab5c7; font-size: 14px; }
.flex-site-footer-column a:hover { color: #fff; }
.flex-site-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #2a3447; color: #aab5c7; font-size: 13px; }
.flex-site-home-stats { padding: 24px 0; border-bottom: 1px solid #eeeff5; background: #fff; }
.flex-site-home-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.flex-site-home-stats-grid article { display: grid; gap: 4px; padding: 17px 19px; border: 1px solid #eceef4; border-radius: 12px; background: #fff; }
.flex-site-home-stats-grid strong { color: #252c3e; font-size: 15px; }
.flex-site-home-stats-grid span { color: #747c8c; font-size: 12px; }
.flex-site-home-highlights { padding: 76px 0; background: #f7f7fc; }
.flex-site-home-highlights-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.flex-site-home-highlights-copy h2 { margin: 14px 0 12px; color: #192136; font-size: clamp(30px, 4vw, 40px); font-weight: 740; letter-spacing: -1.6px; line-height: 1.2; }
.flex-site-home-highlights-copy p { max-width: 440px; color: var(--flex-site-muted); font-size: 15px; line-height: 1.8; }
.flex-site-home-highlight-list { padding: 6px 23px; border: 1px solid #e9eaf2; border-radius: 15px; background: #fff; }
.flex-site-home-highlight-list article { display: grid; grid-template-columns: 35px 1fr; gap: 13px; padding: 20px 0; }
.flex-site-home-highlight-list article + article { border-top: 1px solid #eff0f5; }
.flex-site-home-highlight-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #efedff; color: var(--flex-site-indigo); font-size: 11px; font-weight: 800; }
.flex-site-home-highlight-list h3 { margin: 2px 0 4px; color: #293044; font-size: 14px; }
.flex-site-home-highlight-list p { margin: 0; color: #858c9a; font-size: 12px; line-height: 1.65; }

@media (max-width: 900px) {
    .flex-site-hero { padding-top: 48px; }
    .flex-site-hero-grid { grid-template-columns: 1fr; gap: 0; }
    .flex-site-hero-copy { max-width: 670px; padding-bottom: 0; }
    .flex-site-hero-art { min-height: 380px; }
    .flex-site-capabilities { align-items: flex-start; flex-direction: column; }
    .flex-site-workflow-grid { gap: 38px; }
    .flex-site-home-highlights-grid { gap: 38px; }
    .flex-site-audience-inner { grid-template-columns: 1fr 1fr; gap: 20px 32px; }
    .flex-site-audience-inner > .flex-site-button { justify-self: start; }
}

@media (max-width: 640px) {
    .flex-site-container { width: min(100% - 32px, 520px); }
    .flex-site-header-inner { min-height: 66px; }
    .flex-site-menu-toggle { display: grid; gap: 5px; padding: 9px; border: 1px solid #e8eaf0; border-radius: 9px; background: white; }
    .flex-site-menu-toggle span { width: 19px; height: 2px; border-radius: 2px; background: #30364a; }
    .flex-site-nav { position: absolute; top: 65px; right: 16px; left: 16px; display: none; align-items: stretch; gap: 0; padding: 9px; border: 1px solid #eceef4; border-radius: 12px; background: white; box-shadow: 0 15px 30px rgba(31,35,69,.12); }
    .flex-site-nav.is-open { display: flex; flex-direction: column; }
    .flex-site-nav > a { padding: 11px 12px; }
    .flex-site-nav .flex-site-nav-login { margin-top: 4px; text-align: center; }
    .flex-site-hero { padding-top: 43px; }
    .flex-site-hero h1 { font-size: 43px; letter-spacing: -2px; }
    .flex-site-hero-copy > p { font-size: 15px; }
    .flex-site-hero-art { min-height: 315px; margin: 4px -8px 0; }
    .flex-site-dashboard { padding: 13px; border-radius: 13px; }
    .flex-site-dashboard-period { font-size: 8px; }
    .flex-site-metrics { gap: 5px; }
    .flex-site-metric { min-height: 93px; padding: 9px 7px; }
    .flex-site-metric strong { font-size: 14px; }
    .flex-site-metric small { white-space: normal; font-size: 7px; }
    .flex-site-metric-icon { flex: 0 0 15px; }
    .flex-site-dashboard-bottom { gap: 7px; padding: 9px; }
    .flex-site-workflow-chips { gap: 3px; }
    .flex-site-workflow-chips span { padding: 4px; font-size: 7px; }
    .flex-site-chart { gap: 2px; }
    .flex-site-chart span { width: 6px; }
    .flex-site-float-whatsapp { top: 13px; right: -1px; }
    .flex-site-float-ai { bottom: 15px; left: -2px; }
    .flex-site-float-card { padding: 8px; }
    .flex-site-capabilities { padding: 21px 0; }
    .flex-site-capabilities > div { flex-wrap: wrap; gap: 8px 12px; font-size: 11px; }
    .flex-site-section { padding: 68px 0; }
    .flex-site-section-heading { margin-bottom: 30px; }
    .flex-site-section-heading h2, .flex-site-workflow-copy h2 { font-size: 33px; }
    .flex-site-home-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .flex-site-home-stats-grid article { padding: 13px; }
    .flex-site-home-highlights { padding: 62px 0; }
    .flex-site-home-highlights-grid { grid-template-columns: 1fr; gap: 23px; }
    .flex-site-home-highlights-copy h2 { font-size: 32px; }
    .flex-site-home-highlight-list { padding: 3px 15px; }
    .flex-site-feature-grid { grid-template-columns: 1fr; gap: 11px; }
    .flex-site-feature-card { min-height: 0; padding: 19px; }
    .flex-site-feature-card p { min-height: 0; }
    .flex-site-workflow { padding: 65px 0; }
    .flex-site-workflow-grid { grid-template-columns: 1fr; gap: 28px; }
    .flex-site-flow-list { padding: 4px 15px; }
    .flex-site-flow-item { grid-template-columns: 28px 1fr 28px; gap: 8px; padding: 17px 0; }
    .flex-site-flow-item p { font-size: 11px; }
    .flex-site-audience-inner { grid-template-columns: 1fr; gap: 13px; }
    .flex-site-audience h2 { font-size: 29px; }
    .flex-site-audience-inner > .flex-site-button { margin-top: 8px; }
    .flex-site-contact { padding: 47px 0; }
    .flex-site-contact-inner { align-items: flex-start; flex-direction: column; gap: 22px; }
    .flex-site-contact h2 { font-size: 30px; }
    .flex-site-footer { padding-top: 42px; }
    .flex-site-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding-bottom: 34px; }
    .flex-site-footer-brand-column { grid-column: 1 / -1; }
    .flex-site-footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
    .flex-site *, .flex-site *::before, .flex-site *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.flex-site-chat-art { min-height: 430px; }
.flex-site-chat-art .flex-site-glow { inset: 6% 8% 5%; }
.flex-site-phone { position: relative; z-index: 1; width: min(100%, 360px); padding: 9px; border: 1px solid #e5e8f0; border-radius: 29px; background: #fff; box-shadow: 0 28px 70px rgba(34,37,72,.16); transform: rotate(-2deg); }
.flex-site-phone-status { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 7px; color: #606779; font-size: 9px; font-weight: 700; }
.flex-site-phone-status-icons { letter-spacing: 2px; }
.flex-site-phone-header { display: flex; align-items: center; gap: 9px; padding: 10px 8px 12px; border-bottom: 1px solid #edf0f5; }
.flex-site-chat-avatar { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border-radius: 12px; background: #5146e5; color: #fff; font-size: 16px; font-weight: 800; }
.flex-site-phone-header > div:not(.flex-site-phone-actions) { display: grid; flex: 1; gap: 2px; }
.flex-site-phone-header strong { color: #20283a; font-size: 12px; }
.flex-site-phone-header small { color: #768195; font-size: 9px; }
.flex-site-phone-header small i { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: #20b879; }
.flex-site-phone-actions { display: flex; align-items: center; gap: 2px; margin: -5px 0; }
.flex-site-phone-action { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; color: #68748a; }
.flex-site-phone-action svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.flex-site-phone-actions .flex-site-chat-menu { color: #68748a; font-size: 17px; line-height: 1; }
.flex-site-chat-messages { display: grid; gap: 9px; padding: 13px 10px 11px; border-radius: 0 0 17px 17px; background: #f3f5f7; }
.flex-site-chat-date { justify-self: center; padding: 3px 8px; border-radius: 10px; background: #e8ebf2; color: #747d8d; font-size: 8px; font-weight: 700; letter-spacing: .6px; }
.flex-site-chat-message { width: 94%; padding: 10px 11px 8px; border: 1px solid #e7eaf0; border-radius: 5px 14px 14px 14px; background: #fff; box-shadow: 0 3px 9px rgba(28,38,62,.06); }
.flex-site-chat-customer { justify-self: start; color: #374257; }
.flex-site-chat-assistant { justify-self: end; border-color: #ddd7ff; border-radius: 14px 5px 14px 14px; background: #eeebff; color: #30364a; }
.flex-site-chat-message > strong { display: block; margin-bottom: 6px; color: #68748a; font-size: 8px; font-weight: 700; letter-spacing: .02em; }
.flex-site-chat-assistant > strong { color: #5146c8; }
.flex-site-voice-row { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.flex-site-play-icon { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border-radius: 50%; background: #efedff; color: #5146e5; }
.flex-site-play-icon svg { width: 11px; height: 11px; fill: currentColor; }
.flex-site-chat-assistant .flex-site-play-icon { background: #fff; color: #5146e5; }
.flex-site-voice-wave { display: flex; height: 23px; flex: 1; align-items: center; justify-content: space-between; gap: 2px; overflow: hidden; }
.flex-site-voice-wave i { width: 3px; min-width: 2px; border-radius: 3px; background: #8278df; }
.flex-site-voice-wave i:nth-child(6n+1) { height: 7px; }.flex-site-voice-wave i:nth-child(6n+2) { height: 13px; }.flex-site-voice-wave i:nth-child(6n+3) { height: 9px; }.flex-site-voice-wave i:nth-child(6n+4) { height: 17px; }.flex-site-voice-wave i:nth-child(6n+5) { height: 11px; }.flex-site-voice-wave i:nth-child(6n) { height: 5px; }
.flex-site-chat-assistant .flex-site-voice-wave i { background: #7569d5; }
.flex-site-voice-row small { color: #778196; font-size: 8px; white-space: nowrap; }
.flex-site-chat-assistant .flex-site-voice-row small { color: #68708a; }
.flex-site-chat-message p { margin: 7px 0 4px; padding-top: 6px; border-top: 1px solid #edf0f4; color: #3f4a5e; font-size: 10px; line-height: 1.45; }
.flex-site-chat-assistant p { border-top-color: #dcd6ff; color: #30364a; }
.flex-site-chat-message time { display: block; color: #8992a2; font-size: 8px; text-align: right; }
.flex-site-chat-assistant time { color: #6e65be; }
.flex-site-chat-assistant time span { padding-left: 2px; color: #5146e5; }
.flex-site-chat-text { width: 88%; }
.flex-site-chat-text p { margin: 0 0 4px; padding: 0; border: 0; font-size: 10px; }
.flex-site-phone-composer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 7px 8px 4px; border: 1px solid #e8ebf1; border-radius: 18px; color: #9aa1ae; font-size: 9px; }
.flex-site-composer-send { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: #5146e5; color: #fff; }
.flex-site-composer-send svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.flex-site-chat-callout { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid #edf0f5; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(34,37,72,.12); }
.flex-site-chat-callout-top { top: 56px; right: -18px; }
.flex-site-chat-callout-bottom { bottom: 43px; left: -22px; }
.flex-site-chat-callout-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; background: #efedff; color: #5b50df; font-size: 14px; }
.flex-site-chat-callout > span:last-child { display: grid; gap: 1px; }
.flex-site-chat-callout b { color: #30364a; font-size: 9px; white-space: nowrap; }
.flex-site-chat-callout small { color: #8b92a1; font-size: 8px; white-space: nowrap; }

@media (max-width: 900px) {
    .flex-site-chat-art { min-height: 430px; }
}

@media (max-width: 640px) {
    .flex-site-chat-art { min-height: 400px; }
    .flex-site-phone { width: min(300px, calc(100% - 28px)); }
    .flex-site-chat-callout-top { top: 41px; right: -2px; }
    .flex-site-chat-callout-bottom { bottom: 23px; left: -2px; }
}

.flex-site-feature-showcase, .flex-site-pricing-showcase, .flex-site-about-showcase, .flex-site-faq-showcase { min-height: 430px; }
.flex-site-showcase-window, .flex-site-pricing-window, .flex-site-about-window, .flex-site-faq-window { position: relative; z-index: 1; width: min(100%, 540px); padding: 21px; border: 1px solid #e9eaf1; border-radius: 19px; background: rgba(255,255,255,.97); box-shadow: 0 28px 70px rgba(34,37,72,.13); transform: rotate(-1deg); }
.flex-site-showcase-top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #f0f1f5; }
.flex-site-showcase-mark { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 11px; background: #5146e5; color: #fff; font-size: 17px; font-weight: 800; }
.flex-site-showcase-top > div { display: grid; gap: 2px; }
.flex-site-showcase-top strong { color: #283044; font-size: 12px; }
.flex-site-showcase-top small { color: #9298a7; font-size: 8px; font-weight: 800; letter-spacing: .8px; }
.flex-site-showcase-status { display: flex; align-items: center; gap: 5px; margin-left: auto; color: #768195; font-size: 9px; white-space: nowrap; }
.flex-site-showcase-status i { width: 6px; height: 6px; border-radius: 50%; background: #22b879; }
.flex-site-showcase-heading, .flex-site-pricing-window-heading, .flex-site-about-heading, .flex-site-faq-heading { display: grid; gap: 5px; margin: 18px 0 14px; }
.flex-site-showcase-heading small, .flex-site-pricing-window-heading small, .flex-site-about-heading small, .flex-site-faq-heading small { color: #8178e7; font-size: 8px; font-weight: 800; letter-spacing: .9px; }
.flex-site-showcase-heading strong, .flex-site-pricing-window-heading strong, .flex-site-about-heading strong, .flex-site-faq-heading strong { color: #20283a; font-size: 18px; letter-spacing: -.4px; }
.flex-site-feature-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flex-site-feature-tile { display: flex; min-width: 0; align-items: center; gap: 9px; padding: 12px 10px; border: 1px solid #eceef4; border-radius: 12px; background: #fff; }
.flex-site-tile-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; font-size: 15px; }
.flex-site-feature-tile > div { display: grid; min-width: 0; gap: 3px; }
.flex-site-feature-tile strong { overflow: hidden; color: #293044; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.flex-site-feature-tile small { color: #858c9a; font-size: 8px; line-height: 1.35; }
.flex-site-tile-arrow { margin-left: auto; color: #a0a6b3; font-size: 12px; }
.flex-site-showcase-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding: 11px 12px; border-radius: 10px; background: #f8f8fd; }
.flex-site-showcase-footer > span { color: #9298a7; font-size: 7px; font-weight: 800; letter-spacing: .7px; white-space: nowrap; }
.flex-site-showcase-footer > span i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #5b50df; }
.flex-site-showcase-footer b { color: #5c6475; font-size: 8px; font-weight: 600; white-space: nowrap; }
.flex-site-showcase-footer em { display: inline-block; width: 3px; height: 3px; margin: 0 4px 2px; border-radius: 50%; background: #b7bbc5; }
.flex-site-showcase-note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid #edf0f5; border-radius: 11px; background: #fff; box-shadow: 0 12px 30px rgba(34,37,72,.12); }
.flex-site-showcase-note span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: #efedff; color: #5b50df; font-size: 13px; }
.flex-site-showcase-note b { color: #30364a; font-size: 9px; white-space: nowrap; }
.flex-site-showcase-note-top { top: 54px; right: -14px; }
.flex-site-showcase-note-bottom { bottom: 39px; left: -17px; }

.flex-site-pricing-window { width: min(100%, 560px); padding: 20px; }
.flex-site-pricing-window-heading p, .flex-site-about-heading p, .flex-site-faq-heading p { margin: 0; color: #747c8c; font-size: 10px; }
.flex-site-plan-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.flex-site-plan-tile { position: relative; display: flex; min-width: 0; min-height: 184px; flex-direction: column; align-items: flex-start; gap: 8px; padding: 13px 11px; border: 1px solid #e9eaf1; border-radius: 12px; background: #fff; }
.flex-site-plan-tile.is-popular { border: 2px solid #6558e8; background: #faf9ff; box-shadow: 0 8px 20px rgba(81,70,229,.1); }
.flex-site-plan-symbol { color: #a1a7b4; font-size: 8px; font-weight: 800; letter-spacing: .6px; }
.flex-site-plan-tile > strong { color: #242b3e; font-size: 14px; }
.flex-site-plan-tile > small { color: #747c8c; font-size: 8px; }
.flex-site-plan-detail { padding-top: 8px; border-top: 1px solid #edf0f5; color: #6f7889; font-size: 8px; }
.flex-site-plan-tile > b { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 7px; color: #5146e5; font-size: 8px; }
.flex-site-plan-tile > b span { font-size: 12px; }
.flex-site-plan-popular { position: absolute; top: -8px; right: 7px; padding: 3px 6px; border-radius: 7px; background: #5146e5; color: #fff; font-size: 6px; font-weight: 800; letter-spacing: .4px; }
.flex-site-pricing-window-footer { margin-top: 11px; padding: 9px 10px; border-radius: 9px; background: #f8f8fd; color: #657084; font-size: 8px; }

.flex-site-about-window { width: min(100%, 540px); }
.flex-site-about-heading { margin-bottom: 16px; }
.flex-site-journey-list { display: grid; gap: 8px; }
.flex-site-journey-list article { display: grid; grid-template-columns: 25px 35px minmax(0, 1fr) 22px; align-items: center; gap: 9px; padding: 11px 10px; border: 1px solid #edf0f5; border-radius: 11px; background: #fff; }
.flex-site-journey-number { color: #9ba2b0; font-size: 8px; font-weight: 800; }
.flex-site-journey-icon { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 10px; background: #efedff; color: #5146e5; font-size: 15px; }
.flex-site-journey-list article:nth-child(2) .flex-site-journey-icon { background: #e5f8f6; color: #209b91; }
.flex-site-journey-list article:nth-child(3) .flex-site-journey-icon { background: #fff2e6; color: #dd8733; }
.flex-site-journey-list article > div { display: grid; gap: 3px; }
.flex-site-journey-list strong { color: #293044; font-size: 10px; }
.flex-site-journey-list small { color: #858c9a; font-size: 8px; }
.flex-site-journey-check { color: #20a875; font-size: 12px; font-weight: 800; }
.flex-site-about-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding: 11px 12px; border-radius: 10px; background: #f8f8fd; }
.flex-site-about-footer > span { color: #9298a7; font-size: 7px; font-weight: 800; letter-spacing: .7px; }
.flex-site-about-footer b { color: #5c6475; font-size: 8px; font-weight: 600; white-space: nowrap; }
.flex-site-about-footer em { display: inline-block; width: 3px; height: 3px; margin: 0 4px 2px; border-radius: 50%; background: #b7bbc5; }

.flex-site-faq-window { width: min(100%, 540px); padding: 20px; }
.flex-site-faq-heading { margin-bottom: 12px; }
.flex-site-faq-search { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 10px 12px; border: 1px solid #e7eaf1; border-radius: 9px; background: #fafbfe; color: #969eac; font-size: 9px; }
.flex-site-faq-search span { color: #6b7280; font-size: 16px; transform: rotate(-45deg); }
.flex-site-faq-list { display: grid; gap: 7px; }
.flex-site-faq-list article { display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; align-items: start; gap: 9px; padding: 10px; border: 1px solid #edf0f5; border-radius: 10px; background: #fff; }
.flex-site-faq-list article.is-open { border-color: #dedaff; background: #faf9ff; }
.flex-site-faq-question-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: #efedff; color: #5b50df; font-size: 12px; }
.flex-site-faq-list article > div { display: grid; gap: 4px; }
.flex-site-faq-list strong { color: #30364a; font-size: 9px; }
.flex-site-faq-list small { color: #7f8898; font-size: 8px; line-height: 1.4; }
.flex-site-faq-chevron { justify-self: end; color: #7b73d9; font-size: 16px; line-height: 1; }
.flex-site-faq-footer { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 10px; border-radius: 10px; background: #f8f8fd; }
.flex-site-faq-help-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: #e9f8ef; color: #1c9b60; font-size: 12px; }
.flex-site-faq-footer > span:nth-child(2) { display: grid; flex: 1; gap: 2px; }
.flex-site-faq-footer strong { color: #30364a; font-size: 8px; }
.flex-site-faq-footer small { color: #8b92a1; font-size: 7px; }
.flex-site-faq-footer > b { color: #5146e5; font-size: 8px; white-space: nowrap; }

@media (max-width: 900px) {
    .flex-site-feature-showcase, .flex-site-pricing-showcase, .flex-site-about-showcase, .flex-site-faq-showcase { min-height: 430px; }
}

@media (max-width: 640px) {
    .flex-site-feature-showcase, .flex-site-pricing-showcase, .flex-site-about-showcase, .flex-site-faq-showcase { min-height: 405px; margin: 4px -8px 0; }
    .flex-site-showcase-window, .flex-site-pricing-window, .flex-site-about-window, .flex-site-faq-window { padding: 14px; }
    .flex-site-feature-tiles { gap: 7px; }
    .flex-site-feature-tile { gap: 6px; padding: 9px 7px; }
    .flex-site-tile-icon { width: 28px; height: 28px; flex-basis: 28px; }
    .flex-site-feature-tile strong { font-size: 9px; }
    .flex-site-feature-tile small { font-size: 7px; }
    .flex-site-showcase-footer > span { font-size: 6px; }
    .flex-site-showcase-footer b { font-size: 7px; }
    .flex-site-showcase-note-top { top: 28px; right: 0; }
    .flex-site-showcase-note-bottom { bottom: 15px; left: 0; }
    .flex-site-pricing-window-heading strong, .flex-site-about-heading strong, .flex-site-faq-heading strong { font-size: 16px; }
    .flex-site-plan-tiles { gap: 5px; }
    .flex-site-plan-tile { min-height: 170px; padding: 11px 7px; }
    .flex-site-plan-tile > strong { font-size: 12px; }
    .flex-site-plan-tile > small, .flex-site-plan-detail { font-size: 7px; }
    .flex-site-plan-tile > b { font-size: 7px; }
    .flex-site-journey-list article { grid-template-columns: 20px 30px minmax(0, 1fr) 16px; gap: 6px; padding: 9px 7px; }
    .flex-site-journey-icon { width: 29px; height: 29px; }
    .flex-site-journey-list strong { font-size: 9px; }
    .flex-site-journey-list small { font-size: 7px; }
    .flex-site-about-footer > span { font-size: 6px; }
    .flex-site-about-footer b { font-size: 7px; }
}

.demo-welcome-backdrop {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: grid;
    place-items: center;
    overflow-y: auto;
    padding: 24px;
    background: rgba(17, 24, 39, .68);
    backdrop-filter: blur(5px);
}

.demo-welcome-modal {
    width: min(100%, 620px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 30px;
    color: #334155;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 22px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .3);
}

.demo-welcome-heading {
    display: flex;
    align-items: center;
    gap: 15px;
}

.demo-welcome-mark {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #0ea5e9 55%, #6366f1);
    border-radius: 17px;
    box-shadow: 0 8px 20px rgba(14, 165, 233, .25);
    font-size: 24px;
}

.demo-welcome-kicker {
    color: #4f46e5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.demo-welcome-heading h2 {
    margin: 4px 0 0;
    color: #172554;
    font-size: 23px;
    font-weight: 750;
}

.demo-welcome-intro {
    margin: 20px 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.demo-welcome-number {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 16px 18px;
    color: #166534;
    background: linear-gradient(110deg, #ecfdf5, #eff6ff);
    border: 1px solid #bbf7d0;
    border-radius: 14px;
}

.demo-welcome-number span {
    color: #64748b;
    font-size: 11px;
    font-weight: 650;
}

.demo-welcome-number strong {
    color: #166534;
    font-size: 21px;
    overflow-wrap: anywhere;
}

.demo-welcome-steps {
    display: grid;
    gap: 12px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.demo-welcome-steps li {
    display: grid;
    grid-template-columns: 27px 1fr;
    align-items: start;
    gap: 10px;
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
}

.demo-welcome-steps li > span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: #4f46e5;
    background: #eef2ff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 750;
}

.demo-welcome-steps a {
    color: #4f46e5;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.demo-welcome-ok {
    width: 100%;
    padding: 12px 18px;
    color: #fff;
    background: linear-gradient(100deg, #4f46e5, #7c3aed);
    border: 0;
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(79, 70, 229, .22);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.demo-welcome-ok:hover {
    filter: brightness(1.06);
}

@media (max-width: 520px) {
    .demo-welcome-backdrop { padding: 12px; }
    .demo-welcome-modal { max-height: calc(100vh - 24px); padding: 22px 18px; border-radius: 17px; }
    .demo-welcome-heading h2 { font-size: 19px; }
    .demo-welcome-number strong { font-size: 18px; }
}

.app-shell {
    min-height: 100vh;
    min-height: 100dvh;
}

.app-shell-mobile-backdrop {
    display: none;
}

.wa-empty-prompt {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #667781;
    text-align: center;
}

.wa-empty-prompt .fa {
    margin-bottom: 8px;
    color: var(--app-primary, #4f46e5);
    font-size: 42px;
}

.wa-empty-prompt strong {
    color: #111b21;
    font-size: 18px;
}

@media (min-width: 768px) {
    .whatsapp-lite .wa-empty-state {
        display: grid;
        place-items: center;
    }

    .whatsapp-lite .wa-empty-prompt {
        min-height: 0;
        flex: none;
    }
}

@media (max-width: 767px) {
    .app-shell {
        position: relative;
        width: 100%;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 0;
        overflow: hidden;
    }

    .app-shell-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 5000;
        width: min(84vw, 300px) !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding-top: max(1.25rem, env(safe-area-inset-top));
        overflow-x: hidden;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform .2s ease;
        box-shadow: 0 12px 32px rgba(15, 23, 42, .2);
    }

    .app-shell-nav-open .app-shell-sidebar {
        transform: translateX(0);
    }

    .app-shell-mobile-backdrop {
        position: fixed;
        inset: 0;
        z-index: 4999;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(15, 23, 42, .42);
    }

    .app-shell > main {
        width: 100%;
        min-width: 0;
        height: 100vh !important;
        height: 100dvh !important;
    }

    .app-shell-header {
        z-index: 10;
        flex: 0 0 56px;
        height: 56px !important;
        min-height: 56px;
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .app-shell-route-section {
        min-height: 0;
        padding: 12px !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .app-shell-route-section input:not([type="checkbox"]):not([type="radio"]),
    .app-shell-route-section select,
    .app-shell-route-section textarea {
        font-size: 16px;
    }

    .app-shell-route-section .table-responsive {
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .app-shell-route-section .btn {
        min-height: 38px;
    }

    .whatsapp-lite {
        width: 100%;
        height: calc(100vh - 80px) !important;
        height: calc(100dvh - 80px) !important;
        min-height: 0;
        overflow: hidden;
    }

    .whatsapp-lite .wa-left,
    .whatsapp-lite .wa-right {
        width: 100%;
        height: 100% !important;
        min-height: 0;
    }

    .whatsapp-lite .wa-left {
        flex: 1 1 100%;
    }

    .whatsapp-lite .wa-right {
        flex: 1 1 100%;
    }

    .whatsapp-lite .wa-history {
        padding: 12px 10px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }

    .whatsapp-lite .wa-compose {
        padding: 8px 10px max(8px, env(safe-area-inset-bottom));
    }

    .whatsapp-lite .wa-bubble {
        max-width: 86%;
    }

    .whatsapp-lite .wa-empty-state {
        display: none;
    }
}

@media (min-width: 768px) {
    .whatsapp-lite {
        height: calc(100vh - 130px) !important;
        height: calc(100dvh - 130px) !important;
        min-height: 0;
    }

    body.wa-chat-fullscreen .whatsapp-lite {
        height: 100vh !important;
        height: 100dvh !important;
    }
}

body.wa-chat-mobile.wa-chat-history-mobile .app-shell-sidebar,
body.wa-chat-mobile.wa-chat-history-mobile .app-shell-header,
body.wa-chat-mobile.wa-chat-history-mobile .app-shell-mobile-backdrop {
    display: none !important;
}

body.wa-chat-mobile .app-shell > main {
    height: 100vh !important;
    height: 100dvh !important;
}

body.wa-chat-mobile .app-shell-route-section {
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.wa-chat-mobile .app-shell-route-section > [ng-view] {
    height: 100%;
    min-height: 0 !important;
}

body.wa-chat-mobile .whatsapp-lite {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0;
}

body.wa-chat-mobile:not(.wa-chat-history-mobile) .whatsapp-lite {
    height: 100% !important;
}

@media (max-width: 767px) {
    .app-notification-dropdown {
        position: fixed !important;
        top: calc(56px + env(safe-area-inset-top, 0px) + 8px) !important;
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100vh - 76px) !important;
        max-height: calc(100dvh - 76px) !important;
        margin: 0 !important;
        transform: none !important;
    }

    .app-notification-list {
        max-height: calc(100vh - 140px) !important;
        max-height: calc(100dvh - 140px) !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .app-notification-item {
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}
