@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


/*== custom colors ==*/
:root {
    /*    --sz-color: #5A70CD; purple */
    --sz-color: #0A5BD4;
    --sz-gray: #4D4D4D;
    --sz-light-gray: #F6F8FA;
    --sz-gray-button-hover: #e0e0e0;
    --salezbird-tooltip-bg: #ffffff; /* white bubble background */
    --salezbird-tooltip-border: #cfcfcf; /* light grey border */
    --salezbird-tooltip-text: #6b6b6b; /* medium grey text */
    --sz-gray2: #6B6B6B;
    --sz-gray2-button-hover: #F5F5F5;
}

/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}*/
html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

.title.title-secondary {
    padding-top: 0.313rem;
    padding-bottom: 0;
    color: var(--bs-secondary-color);
}

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

/*== Customization ==*/

a {
    text-decoration: none;
}

.cw-160 {
    max-width: 160px;
    width: 100%;
}

.cw-240 {
    max-width: 240px;
    width: 100%;
}

.cw-320 {
    max-width: 320px;
    width: 100%;
}

.cw-400 {
    max-width: 400px;
    width: 100%;
}

.cw-480 {
    max-width: 480px;
    width: 100%;
}

.cw-480-large {
    max-width: 480px;
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    padding: 3px 0 3px 0;
}

.grid-icon-delete {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/grid-toolbar-delete.svg");
    margin: 0 8px 0 0;
}
.grid-toolbar-new {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/grid-toolbar-new.svg");
    margin: 0 8px 0 0;
}
.button-icon-add {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/add.svg");
    margin: 0 0 0 0;
}
.icon-Products {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/Products.svg");
    margin: 0 0 0 0;
}
.icon-Supplier {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/user-profile.svg");
    margin: 0 0 0 0;
}
.icon-Invoice {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/SalesInvoice.svg");
    margin: 0 0 0 0;
}
.dx-card {
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-radius: 4px;
    background-color: #fff;
    margin: 2px 2px 3px;
    width: 100%;
    height: 100%;
}

/*== Page Standard Style ==*/
h4 {
    font-weight: bold;
}

/*== DxTree - Tree menu style ==*/
.sz-dxtr-nd {
    color: var(--sz-gray);
    margin: 0px 0px 0px 0px;
}

.sz-dxtr-nd2 {
    color: red;
    margin: 0px 0px 0px 0px;
}

.sz-dxtr-nd-i {
    -webkit-text-stroke: 0.8px;
}

/*== Drawer DxTree menu vertical scrollbar ==*/
::-webkit-scrollbar {
    width: 1em;
}

/*== DxGrid - Set Search Text box container size ==*/
.dxbl-grid > .dxbl-grid-top-panel > .dxbl-grid-search-box-container {
    width: 100%;
}

/*== DxGrid - Standard Search container style ==*/
.sz-dxgrd-srch-cntr {
    display: flex;
    gap: 10px;
}

/*== DxGrid - Button Link Style ==*/
.sz-dxgrd-btn-link {
    font-weight: 400;
    font-size: 14px;
    text-underline-offset: 3px;
}
    
/*== DxGrid - grid container style ==*/
.grid-container {
    margin-top: 16px; /* Adjust the value as needed */
}

/*== Login Register box style ==*/
.sb-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    padding-top: 12px
}

/* On small viewport heights, pin content to the top and add breathing room */
@media (max-height: 600px) {
    .sb-login-container {
        align-items: flex-start; /* top-align: prevents "floating up" */
    }
}

/*== Login Register box style ==*/
.sb-register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    padding-top: 12px
}

/* On small viewport heights, pin content to the top and add breathing room */
@media (max-height: 800px) {
    .sb-register-container {
        align-items: flex-start; /* top-align: prevents "floating up" */
    }
}

.sb-login-box {
    background: white;
    border-radius: 15px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    margin: 10px 20px 80px 20px;
}

.small-grey {
    font-size: 13px;
    color: #808080;
}

/*== Label style ==*/
.sb-label {
    font-weight: 400;
    font-size: 15px;
    padding-right: 10px;
}

/*== Validation Error Message ==*/
.sb-validate-err {
    font-weight: 500;
    font-size: 13px;
    color: red;
}

/*== DxButton - Standard button and button icon style ==*/
.sz-dxbtn {
    font-weight: 500;
    font-size: 15px;
}
.sz-dxbtn-i {
    -webkit-text-stroke: 1px;
}

.sb-btn-login {
    font-weight: 500;
    font-size: 16px;
    border-radius: 2px;
    padding: 10px 0 10px 0;
    margin: 10px 0 10px 0;
}

.sz-btn-popup {
    width: 100px;
    height: 35px;
}

/*== Form layout style ==*/
.sz-form-block {
    padding: 10px 0 0 0;
    width: 100%;
}

.sz-textbox-block {
    padding: 10px 0 10px 0;
}

.sz-button-block {
    padding: 10px 0 10px 0;
}

/*== DxButton - Link Hover Style ==*/
.dxbl-btn.dxbl-btn-link, .dxbl-btn.dxbl-btn-outline-link, .dxbl-btn.dxbl-btn-text-link {
    --dxbl-btn-hover-color: var(--sz-color);
}

/*== DxButton - Secondary Style Hover Color - remove extra shading ==*/
.dxbl-btn-standalone.dxbl-btn-text-secondary {
/*    --dxbl-btn-hover-color: var(--sz-color);*/
    --dxbl-btn-hover-background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
}

/*== DxButton - Secondary Style Color ==*/
.dxbl-btn.dxbl-btn-text-secondary {
    --dxbl-btn-color: var(--sz-gray);
}


/*== Round Panel ==*/
.sz-round-panel {
    border-radius: 15px;
    border: 1px solid #ccc;
    padding: 10px 30px 10px 30px;
    margin-bottom: 20px;
}

/*== Logo ==*/
.logo {
    width: 213px;
    height: 50px;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 2rem;
}

.logo-side {
    width: 170px;
    height: 40px;
    background-position: center;
    background-repeat: no-repeat;
}

/*== settings button bottom margin ==*/
.sz-bottom-margin {
    margin: 0 0 10px 0;
}

@media (max-width: 768px) {
    .sz-bottom-margin {
        margin: 0 0 80px 0;
    }
}

@media (min-width: 768px) {
    .PC-PopupWindows {
        display: flex;
        min-width: 800px;
        height: 700px;
    }
}

.sb-chart-box {
    background: white;
    border-radius: 15px;
    border: 1px solid #ccc;
    width: 100%;
    /*max-width: 400px;*/
    padding: 20px;
    /*margin: 10px 20px 80px 20px;*/
}

    /*::-webkit-scrollbar-track-piece {
    background: #d6eaf8;
}

::-webkit-scrollbar-thumb {
    background: #0a58ca;
}*/




/* salezbird topbar */
.salezbird-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--sz-light-gray); /* salezbird's light grey */
    color: #24292f;
    padding: 0 16px;
    height: 56px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 14px;
    border-bottom: 1px solid #d0d7de;
    z-index: 1000;
}

.salezbird-topbar-left {
    display: flex;
    align-items: center;
    gap: 0px;
}

.salezbird-logo {
    color: #24292f; /* dark for visibility */
    font-size: 2rem;
    margin-left: 8px;
    margin-right: 16px;
    text-decoration: none;
    margin-top: -10px; /* Adjust this value as needed */
}

.salezbird-search {
    background: #22272e;
    border: 1px solid #444d56;
    border-radius: 6px;
    color: #c9d1d9;
    padding: 4px 12px;
    margin-right: 16px;
    width: 200px;
    font-size: 14px;
}

.salezbird-link {
    color: #24292f; /* dark for visibility */
    text-decoration: none;
    margin-right: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

    .salezbird-link:hover {
        background: #eaecef;
    }

.salezbird-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.salezbird-icon-link {
    color: #24292f; /* dark for visibility */
    font-size: 1.3rem;
    margin-right: 8px;
    text-decoration: none;
    position: relative;
}

    .salezbird-icon-link:hover {
        color: #0969da;
    }

.salezbird-profile-menu {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 4px;
}

.salezbird-profile-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #444d56;
    object-fit: cover;
}



/* salezbird topbar nav */
.salezbird-topbar-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 24px;
}

.salezbird-topbar-link {
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: 1rem;
    font-weight: 400;
    background: none;
    border: none;
}

    .salezbird-topbar-link.active,
    .salezbird-topbar-link:hover {
        background: var(--sz-gray-button-hover);
    }

@media (max-width: 768px) {
    .salezbird-topbar-nav {
        display: none !important;
    }
}

/* salezbird dropdown menu */
.salezbird-dropdown-menu {
    position: absolute;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 1000;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 6px;
    padding: 4px 0;
}

    .salezbird-dropdown-menu .dropdown-item {
        width: 100%;
        background: none;
        border: none;
        text-align: left;
        padding: 8px 16px;
        font-size: 1rem;
        color: #24292f;
        cursor: pointer;
        transition: background 0.15s;
    }

        .salezbird-dropdown-menu .dropdown-item:hover {
            background: var(--sz-gray-button-hover);
        }



/*salezbird sidebar*/
.salezbird-sidebar {
    position: fixed;
    top: 56px; /* height of your topbar */
    left: 0;
    width: 180px;
    height: calc(100% - 48px);
    background: #fff;
    border-right: none !important; /* remove vertical right border line */
    /* box-shadow: 2px 0 8px rgba(149, 157, 165, 0.2); */ /* remove vertical right border line */
    border-right: 1px solid #e1e4e8;
    display: flex;
    flex-direction: column;
    z-index: 200;
    padding-top: 16px;
    margin-left: 10px;
}

.salezbird-sidebar-link {
    color: #24292f;
    text-decoration: none;
    padding: 10px 24px;
    font-size: 1rem;
    transition: background 0.1s;
    border-radius: 6px;
    font-weight: 400;
    line-height: 2rem;
    letter-spacing: 0rem;
}

    .salezbird-sidebar-link:hover {
        background: var(--sz-light-gray);
    }

    .salezbird-sidebar-link.active {
        background: #eaeef2;
        font-weight: 500;
    }

@media (max-width: 768px) {
    .salezbird-sidebar {
        display: none !important;
    }
}

.salezbird-top-btn {
    background-color: var(--sz-light-gray);
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 2px 8px;
    color: #24292f;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    box-shadow: 0 1px 0 rgba(27,31,35,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .salezbird-top-btn:hover,
    .salezbird-top-btn:focus {
        background-color: #eaeef2;
        border-color: #b6bac0;
        outline: none;
    }

    .salezbird-top-btn:active {
        background-color: #d8dee4;
        border-color: #b6bac0;
    }


.hamburger-icon {
    font-size: 1.1rem;
    display: inline-flex; /* Use flex for centering */
    align-items: center; /* Vertical centering */
    justify-content: center; /* Horizontal centering */
    text-align: center;
    line-height: 1;
}


/* Hide hamburger by default */
.salezbird-hamburger {
    display: none;
}

/* Show hamburger only on screens <= 768px (mobile/tablet) */
@media (max-width: 768px) {
    .salezbird-hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}



/* Hamburger sidebar styles */
.salezbird-hamburger-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #161b22;
    color: #c9d1d9;
    box-shadow: 2px 0 12px rgba(0,0,0,0.15);
    z-index: 1101;
    padding-top: 20px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: transform 0.2s cubic-bezier(.4,0,.2,1);
    font-size: 1rem;
    overflow-y: auto;
}

.salezbird-hamburger-link {
    color: #c9d1d9;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    margin: 0 8px;
    transition: background 0.15s;
    font-weight: 500;
}

    .salezbird-hamburger-link:hover,
    .salezbird-hamburger-link:focus {
        background: #21262d;
        color: #58a6ff;
    }

.salezbird-sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(22,27,34,0.6);
    z-index: 1100;
    display: block;
}

/* Hide sidebar and backdrop by default on desktop */
@media (min-width: 769px) {
    .salezbird-hamburger-sidebar,
    .salezbird-sidebar-backdrop {
        display: none !important;
    }
}

/* Show hamburger button only on mobile */
@media (max-width: 768px) {
    .salezbird-hamburger {
        display: inline-block;
    }
}


/* salezbird body container */
.salezbird-body-container {
    width: 100vw;
    max-width: none;
    margin: 0;
    height: calc(100vh - 56px); /* Adjust for your topbar */
    overflow: auto;
    padding: 0; /* Remove side padding if you want true edge-to-edge */
    box-sizing: border-box;
}

/* Inner content stays centered and max-width */
.salezbird-body-inner {
    max-width: 1400px;
    margin: 0 auto;
    /*padding: 0.5rem 1rem 3rem 200px !important;*/ /* Adjust left padding for sidebar */
    padding: 0.5rem 1.5rem 3rem 1.5rem !important;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .salezbird-body-container {
        padding-left: 15px !important;
    }
    .salezbird-body-inner {
        padding: 0.5rem 1rem 3rem 0px !important;
    }
}



/* salezbird profile btn */
.salezbird-profile-btn {
    display: flex;
    align-items: center;
    justify-content: center; /* Add this for horizontal centering */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 50px;
    transition: background 0.15s;
    min-width: 40px;
    min-height: 40px;
}

    .salezbird-profile-btn:hover,
    .salezbird-profile-btn:focus {
        background: var(--sz-light-gray);
        outline: none;
    }

.salezbird-profile-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #0A5BD4;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50%;
    margin-right: 0; /* Ensure no margin on the right */
    user-select: none;
    letter-spacing: 0.5px;
}




/* salezbird profile dropdown */
.salezbird-profile-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-width: 200px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 4px 0;
    margin-top: 8px;
}

    .salezbird-profile-dropdown .dropdown-item {
        display: block;
        width: 100%;
        padding: 10px 30px;
        background: none;
        border: none;
        text-align: left;
        color: #333;
        font-weight: 400;
        font-size: 15px;
        cursor: pointer;
        text-decoration: none;
        transition: background 0.15s, color 0.15s;
    }

        .salezbird-profile-dropdown .dropdown-item:hover,
        .salezbird-profile-dropdown .dropdown-item:focus {
            background: var(--sz-gray-button-hover);
            outline: none;
        }

.salezbird-profile-dropdown-header {
    padding: 10px 30px;
    font-weight: 600;
    color: #444;
    font-size: 16px;
    /*background: #f8f9fa;*/ /* Optional: subtle background */
    /*border-bottom: 1px solid #eee;*/ /* Optional: subtle separator */
}


/* salezbird separator */
.salezbird-separator-dropdown {
    margin: 8px 0px 0 0px; /* top, right, bottom, left */
    border-top: 1px solid #e0e0e0;
    height: 0;
}

.salezbird-page-separator {
    margin: 8px 0px 16px 0px; /* top, right, bottom, left */
    border-top: 1px solid #e0e0e0;
    height: 0;
}

.salezbird-page-separator-blankline {
    height: 8px; /* Adjust the height as needed */
    width: 100%;
    display: block;
}


/* profile view */
.salezbird-profile-view {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px 24px 24px 24px;
    max-width: 800px;
    margin: 16px 0 0 0; /* Remove auto centering, add top margin only */
    box-shadow: none !important;
}


    .salezbird-profile-view > div {
        margin-bottom: 18px;
    }

    .salezbird-profile-view strong {
        min-width: 120px;
        display: inline-block;
        color: #333;
    }

    .salezbird-profile-view .btn {
        min-width: 100px;
    }


.salezbird-profile-edit {
    max-width: 800px;
    width: 100%;
/*    margin: 0 auto;*/
}


/* salezbird btn */
.salezbird-btn {
    background: #0A5BD4;
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 6px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0px;
}
.salezbird-btn:hover,
.salezbird-btn:focus {
    background: #084aaf;
    color: #fff;
}

.salezbird-btn-cancel {
    background: #e0e0e0; /* Light gray background */
    color: #333; /* Dark text for contrast */
    border: none;
    border-radius: 2px;
    padding: 6px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

    .salezbird-btn-cancel:hover,
    .salezbird-btn-cancel:focus {
        background: #bdbdbd; /* Slightly darker gray on hover */
        color: #222;
    }

.salezbird-btn-delete {
    background: #fdeaea; /* Light red background */
    color: #c82333; /* Bootstrap's danger color for text */
    border: none;
    border-radius: 2px;
    padding: 6px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

    .salezbird-btn-delete:hover,
    .salezbird-btn-delete:focus {
        background: #f8d7da; /* Slightly darker light red on hover */
        color: #a71d2a;
    }

.salezbird-btn-outline {
    background: transparent;
    color: var(--sz-gray2);
    border: 1px solid var(--sz-gray2);
    border-radius: 6px;
    padding: 0.375rem 1rem;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

    .salezbird-btn-outline:hover,
    .salezbird-btn-outline:focus {
        background: var(--sz-light-gray);
        color: var(--sz-color);
        border-color: var(--sz-color);
    }


.salezbird-btn-lg {
    padding: 0.75rem 2rem;
    font-size: 16px;
    font-weight: 600;
}

/* strong */
strong {
    font-weight: 500; /* or 400 for normal, adjust as needed */
}

/* salezbird combobox */
.salezbird-combobox {
    min-width: 240px;
    max-width: 480px;
}

    .salezbird-combobox:focus,
    .salezbird-combobox:active {
        border-color: #0969da;
    }

/* Small combobox: fixed width inside salezbird-form-row */
.salezbird-combobox-small {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    flex: 0 0 120px !important; /* overrides flex:1 1 0 from .salezbird-textbox/.salezbird-combobox */
}

    .salezbird-combobox-small :focus,
    .salezbird-combobox-small :active {
        border-color: #0969da;
    }

/* salezbird combobox dropdown */
.salezbird-combobox-dropdown,
.salezbird-combobox-dropdown .dxbl-list-box-render-container,
.salezbird-combobox-dropdown .dxbl-list-item {
    font-size: 16px !important; /* Or any size you require */
}


/* salezbird textbox */
.salezbird-textbox {
    min-width: 220px;
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 2px 8px;
    font-size: 1rem;
    background-color: #fff;
    color: #212529;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-top: 4px;
}

    .salezbird-textbox:focus,
    .salezbird-textbox:active {
        border-color: #0969da;
    }

.salezbird-textonly {
    border: none !important;
    background: transparent !important;
    padding-left: 0 !important;
    box-shadow: none !important;
    color: inherit;
    min-height: 38px; /* match input height if needed */
    display: flex;
    align-items: center;
}

/* Make native Bootstrap selects match Salezbird/DevExpress editor height */
select.form-select.salezbird-textbox {
    height: 36px;
    min-height: 36px;
    padding: 2px 8px;
    font-size: 1rem;
}



/* salezbird dateedit */
.salezbird-dateedit,
.salezbird-dateedit .dxbl-dateedit-input,
.salezbird-dateedit input {
    min-width: 140px !important;
    max-width: 220px !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    font-size: 1rem !important;

}

    .salezbird-dateedit .dxbl-dateedit-input:focus,
    .salezbird-dateedit input:focus {
        border-color: #0969da !important;
        outline: none !important;
    }



/* salezbird chart container */
.salezbird-chart-container {
    width: 100%;
    max-width: 900px;
    margin: 10px 0; /* auto - centering, 0 - remove centering */
    padding: 1.5rem 1rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.salezbird-chart-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.month-nav-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row !important;
}

@media (max-width: 576px) {
    .salezbird-chart-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    .month-nav-row {
        flex-direction: row !important;
        gap: 4px;
    }

}


/* salezbird std panel */
.salezbird-std-panel {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 16px 20px 16px 20px;
    margin-bottom: 24px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    width: 100%;
}

    .salezbird-std-panel legend,
    .salezbird-std-panel-title {
        font-weight: 600;
        font-size: 1.2rem;
        margin-bottom: 12px;
        color: #333;
        display: block;
    }

.salezbird-panel-separator {
    border-bottom: 2px solid #e0e0e0;
    margin: 8px 0 20px 0;
    width: calc(100% + 40px); /* 20px left + 20px right panel padding */
    position: relative;
    left: -20px;
}


/* accountsettings password row */
.accountsettings-password-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

    .accountsettings-password-row > * {
        flex: 1 1 200px;
        min-width: 0;
    }

.accountsettings-change-password-btn {
    max-width: 220px;
    width: 100%;
    min-width: 120px;
    white-space: normal;
    word-break: break-word;
}

@media (max-width: 600px) {
    .accountsettings-password-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

        .accountsettings-password-row > * {
            flex: unset;
            width: 100%;
        }
}



/* salezbird page headline */
.salezbird-page-headline {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Moves button to the right */
    gap: 2px; /* Optional: adds space between headline and button */
    font-size: 22px;
    font-weight: 600;
    padding: 5px 0 5px 0px;
    color: var(--sz-gray)
}

.salezbird-page-subheadline {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Moves button to the right */
    gap: 1rem; /* Optional: adds space between headline and button */
    font-size: 16px;
    font-weight: 400;
    color: var(--sz-gray)
}


/* salezbird report popup */
.salezbird-report-popup {
    width: 90vw !important;
    height: 90vh !important;
    max-width: 1000px !important;
    max-height: 90vh !important;
}

@media (max-width: 576px) {
    .salezbird-report-popup {
        margin-left: 12px !important;
        width: 95vw !important;
    }
}

/* salezbird popup */
.salezbird-popup {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border: 1px solid #e0e0e0;
    padding: 24px 24px 16px 24px;
    min-height: 300px;
    color: #212529;
    font-size: 1rem;
    /* Responsive height */
    max-height: 100vh;
    overflow-y: auto;
}


@media (max-width: 576px) {
    .salezbird-popup {
        max-width: 95vw;
    }
}

.salezbird-popup-item {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.25rem;
}

@media (max-width: 576px) {
    .salezbird-popup-item {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0.5rem 0.25rem !important;
    }
}

.salezbird-popup-caption {
    font-weight: 500;
    font-size: 1rem;
    color: #0A5BD4;
    padding-bottom: 0.25rem;
    letter-spacing: 0.01em;
    /* Add more styles as needed for your design */
}

@media (max-width: 576px) {
    .salezbird-popup-caption {
        font-size: 0.95rem;
        padding-bottom: 0.15rem;
    }
}

.salezbird-popup-layout-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.25rem 0;
}

@media (max-width: 576px) {
    .salezbird-popup-layout-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.15rem 0;
    }
}


/* salezbird modal wide */
.modal-dialog.salezbird-modal-wide {
    max-width: 1000px;
    width: 95%;
    padding-left: 16px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 576px) {
    .modal-dialog.salezbird-modal-wide {
        padding-left: 0 !important;
    }
}

/* salezbird grid */
.salezbird-grid {
    min-width: 220px;
    border-radius: 4px;
    border: 1px solid #ced4da;
    font-size: 1rem;
    background-color: #fff;
    color: #212529;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin: 8px 0px;
    white-space: normal;
    --dxbl-grid-font-size: 1rem; /* override default dxbl grid font size*/
    --dxbl-grid-header-font-weight: 400 !important; /* override grid header font weight */
}
@media (max-width: 576px) {
    .salezbird-grid {
        white-space: nowrap;
    }
}



/* salezbird form layout */
.salezbird-form-layout .dxbl-fl,
.salezbird-form-layout .dxbl-fl-item,
.salezbird-form-layout .dxbl-fl-col,
.salezbird-form-layout .dxbl-fl-row {
    padding-left: 0 !important;
    margin-left: 0 !important;
}


/* salezbird form row */
.salezbird-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.salezbird-form-row-tight {
    margin-bottom: 0.25rem !important; /* or 0 for no gap */
}

    .salezbird-form-row label {
        min-width: 120px; /* Adjust as needed */
        margin-right: 12px;
        margin-bottom: 0;
        text-align: left;
    }

        .salezbird-form-row label.salezbird-label-info {
            color: var(--sz-gray);
            background: var(--sz-light-gray);
            border-radius: 4px;
            font-size: 1rem;
        }

    .salezbird-form-row .salezbird-textbox,
    .salezbird-form-row .salezbird-combobox {
        flex: 1 1 0;
    }


.salezbird-form-row-flex {
    display: flex;
    gap: 16px; /* Adjust spacing between columns as needed */
}

.salezbird-form-row-inputgroup {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}

    .salezbird-form-row-inputgroup .salezbird-textbox {
        flex: 1 1 150px; /* Adjust as needed */
        min-width: 150px;
        width: 100%;
    }

    .salezbird-form-row-inputgroup .salezbird-icon-btn {
        flex-shrink: 0;
        margin-left: 0.5rem;
        padding: 0.25rem 0.75rem;
        font-size: 1.2rem;
    }

/* Right-align a form-row (label + control grouped on the right) */
.salezbird-form-row-right {
    justify-content: flex-end; /* push the group to the right edge */
}

    /* When right-aligned, keep label width but right-align its text */
    .salezbird-form-row-right label {
        min-width: 120px;
        text-align: right;
        margin-right: 12px;
    }

    /* Ensure the fixed field keeps its width and the inner editor fills it */
    .salezbird-form-row-right .salezbird-fixed-field {
        margin-left: 0;
        width: auto;
    }


/* Responsive form row for mobile */
@media (max-width: 768px) {
    .salezbird-form-row-flex {
        flex-direction: column !important;
        gap: 0.5rem;
    }

    .salezbird-form-row {
        width: 100% !important;
        min-width: 0;
        flex: 1 1 100% !important;
        margin-bottom: 0px;
    }

    .salezbird-form-row2 {
        margin-bottom: 6px !important;
    }

    .salezbird-textbox,
    .dx-texteditor-input,
    .dx-spinedit-input {
        width: 100% !important;
        min-width: 0;
        box-sizing: border-box;
    }

    .salezbird-form-row-inputgroup {
        gap: 0.25rem;
    }

        .salezbird-form-row-inputgroup .salezbird-icon-btn {
            margin-left: 0.25rem;
            padding: 0.25rem 0.5rem;
            font-size: 1.1rem;
        }
}


/* salezbird card */
.salezbird-card {
    background: #fff;
    border: 1px solid #e3e6ed;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
    padding: 1.25rem 1.5rem;
    margin-bottom: 0rem;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

    .salezbird-card:hover {
        box-shadow: 0 4px 16px rgba(44, 62, 80, 0.13);
        border-color: #b6c1d2;
    }

    .salezbird-card .card-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .salezbird-card .badge {
        font-size: 0.85em;
        vertical-align: middle;
    }

    .salezbird-card .card-footer {
        background: none;
        border: none;
        padding: 0.5rem 0 0 0;
        margin-top: auto;
        text-align: right;
    }


/* salezbird memo */
.salezbird-memo {
    min-width: 220px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 8px;
    font-size: 1rem;
    background-color: #fff;
    color: #212529;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-top: 4px;
    resize: vertical;
    box-sizing: border-box;
}

    .salezbird-memo:focus {
        border-color: #0969da;
        outline: none;
    }


/* salezbird icon btn */
.salezbird-icon-btn {
    background: none;
    border: none;
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: inherit;
    transition: background 0.2s;
    line-height: 1;
    font-size: 1rem; /* General icon size, override as needed */
}

    .salezbird-icon-btn:hover,
    .salezbird-icon-btn:focus {
        background: var(--sz-gray-button-hover);
        outline: none;
    }

    /* General icon alignment for all icons inside the button */
    .salezbird-icon-btn .bi,
    .salezbird-icon-btn .oi,
    .salezbird-icon-btn i,
    .salezbird-icon-btn svg {
        font-size: 1.5em;
        line-height: 1;
        vertical-align: middle;
        display: inline-block;
    }

/* stronger highlight for generated-state icons */
.salezbird-icon-generated {
    color: #16a34a !important; /* strong green */
    text-shadow: 0 0 0.5px currentColor; /* slightly thicker look */
}

/* optional: add a subtle "badge" background to make it stand out more */
.salezbird-icon-btn.salezbird-icon-generated {
    background: rgba(22, 163, 74, 0.12);
}

    /* hover/focus effect for generated-state */
    .salezbird-icon-btn.salezbird-icon-generated:hover,
    .salezbird-icon-btn.salezbird-icon-generated:focus {
        background: rgba(22, 163, 74, 0.22); /* stronger bg on hover */
    }



/* salezbird workflow container */
.salezbird-workflow-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
    margin: 10px 0;
    position: relative;
}
@media (max-width: 768px) {
    .salezbird-workflow-container {
        overflow-x: auto;
        flex-wrap: wrap;
        gap: 20px 60px;
        -webkit-overflow-scrolling: touch;
    }
}

.salezbird-workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.salezbird-workflow-arrow {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}
    .salezbird-workflow-arrow line,
    .salezbird-workflow-arrow polygon {
        stroke-width: 1px !important;
        stroke: #7a7a7a;
        fill: #7a7a7a;
    }



/* Make filter labels wide enough for long languages (e.g., Chinese) and responsive */
.filter-label {
    display: inline-block;
    vertical-align: middle;
    text-align: right; /* <-- right-align the label text on desktop */
    white-space: nowrap; /* prevent wrapping on desktop */
}

/* Keep controls aligned in the filter-item */
.filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile: stack label above control and let label span full width */
@media (max-width: 576px) {
    .filter-item {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .filter-label {
        min-width: 0;
        width: 100%;
        margin-bottom: 0.25rem;
        text-align: left; /* left-align when stacked */
    }

    .filter-item .form-control,
    .filter-item .form-select,
    .filter-item .salezbird-btn {
        width: 100%;
        min-width: 0;
    }

    /* Exception: keep Search + Reset + Info on one row */
    .filter-item.filter-actions {
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        gap: 8px;
    }

        .filter-item.filter-actions .salezbird-btn-outline {
            width: auto !important;
            white-space: nowrap;
            padding-left: 12px;
            padding-right: 12px;
        }

        .filter-item.filter-actions .salezbird-tooltip__trigger {
            width: auto !important;
            flex: 0 0 auto;
        }
}

/* salezbird footer */
.salezbird-footer {
    color: #555555;
    font-size: 13px;
    font-weight: 400;
}


/* salezbird checkbox */
.salezbird-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    line-height: 1;
    font-size: 1rem;
}




/* Salezbird tooltip ¡X responsive, accessible, hover/focus/tap-friendly
   Place this block in site.css (variables are expected in :root) */

.salezbird-tooltip {
    position: relative;
    display: inline-block;
    line-height: 0;
}

/* Trigger (icon/button) */
.salezbird-tooltip__trigger {
    background: transparent;
    border: 0;
    padding: .25rem;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Bubble */
.salezbird-tooltip__bubble {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) translateY(6px);
    background: var(--salezbird-tooltip-bg, #fff);
    color: var(--salezbird-tooltip-text, #6b6b6b);
    border: 1px solid var(--salezbird-tooltip-border, #cfcfcf);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    padding: .35rem .6rem;
    border-radius: 4px;
    white-space: nowrap;
    font-size: .85rem;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s ease, transform .12s ease;
    z-index: 1200;
    max-width: 600px;
    text-align: center;
}

    /* Two-layer arrow (outer border + inner background) */
    .salezbird-tooltip__bubble::before,
    .salezbird-tooltip__bubble::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
    }

    .salezbird-tooltip__bubble::before {
        top: 100%;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 7px solid var(--salezbird-tooltip-border, #cfcfcf);
    }

    .salezbird-tooltip__bubble::after {
        top: calc(100% + 1px);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid var(--salezbird-tooltip-bg, #fff);
    }

/* Show on hover / focus-within / programmatic .is-open */
.salezbird-tooltip:hover .salezbird-tooltip__bubble,
.salezbird-tooltip:focus-within .salezbird-tooltip__bubble,
.salezbird-tooltip.is-open .salezbird-tooltip__bubble {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Mobile: show below trigger and allow wrapping */
@media (max-width: 576px) {
    .salezbird-tooltip__bubble {
        transform: translateX(-50%) translateY(6px);
        white-space: normal;
        text-align: left;
        left: 80px;
        padding: .5rem .6rem;
        min-width: 50vw;
        max-width: 90vw;
    }

        .salezbird-tooltip__bubble::before {
            top: auto;
            bottom: 100%;
            border-top: none;
            border-bottom: 7px solid var(--salezbird-tooltip-border, #cfcfcf);
        }

        .salezbird-tooltip__bubble::after {
            top: auto;
            bottom: calc(100% + 1px);
            border-top: none;
            border-bottom: 6px solid var(--salezbird-tooltip-bg, #fff);
        }
}

/* Screen-reader only helper */
.salezbird-tooltip__sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* Tooltip anchored to an input/select (always positioned relative to the field wrapper) */
.salezbird-tooltip-field {
    position: relative;
    display: inline-block;
    width: 100%;
}

    /* Variant: left-aligned bubble above the field */
    .salezbird-tooltip-field .salezbird-tooltip__bubble {
        left: 0;
        bottom: calc(100% + 14px);
        transform: translateX(0) translateY(0);
    }

    /* Variant: force bubble visible when wrapper is ".is-open" */
    .salezbird-tooltip-field.is-open .salezbird-tooltip__bubble {
        opacity: 1;
        pointer-events: auto;
    }





/* Salezbird Quick actions */
/* container: allow wrapping so items go to new row on small screens */
.salezbird-qaction-container {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap; /* changed to wrap */
}

/* each item should be flexible; widths adjusted via media queries below */
.salezbird-qaction-item {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.salezbird-qaction-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #dbe7fb;
    background: #fff;
    cursor: pointer;
    transition: box-shadow .12s ease, transform .08s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

    .salezbird-qaction-card:focus,
    .salezbird-qaction-card:hover {
        box-shadow: 0 6px 18px rgba(10, 91, 212, 0.14);
        transform: translateY(-2px);
        outline: none;
    }

.salezbird-qaction-card-icon {
    font-size: 1.6rem;
    color: #0A5BD4;
    margin-bottom: 6px;
}

.salezbird-qaction-card-label {
    font-size: 0.9rem;
    color: #1f2937;
    white-space: nowrap;
}

/* Responsive breakpoints:
       - >= 769px: items keep intrinsic size, will flow in a single row if space.
       - <= 768px: three columns (approx) so items wrap to next row.
       - <= 480px: two columns (full width) for small phones.
    */
@media (max-width: 768px) {
    .salezbird-qaction-item {
        flex: 1 1 calc(33.333% - 8px);
    }

    .salezbird-qaction-card-label {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .salezbird-qaction-item {
        flex: 1 1 50%;
    }
}


/* Ensure DevExpress editors inside the fixed wrapper fill it and use border-box */
.salezbird-fixed-field {
    max-width: 300px; /* keep your chosen width */
    width: 100%;
}

    .salezbird-fixed-field,
    .salezbird-fixed-field * {
        box-sizing: border-box;
    }

        /* Target common DevExpress editor wrappers and native inputs */
        .salezbird-fixed-field input,
        .salezbird-fixed-field .dx-texteditor,
        .salezbird-fixed-field .dx-texteditor-input,
        .salezbird-fixed-field .dx-dateedit,
        .salezbird-fixed-field .dx-datebox,
        .salezbird-fixed-field .dx-textbox {
            width: 100% !important;
            max-width: 100% !important;
        }




/* Global placeholder styling for inputs and textareas */
input::placeholder,
textarea::placeholder {
    font-weight: 300; /* lighter weight */
}


/* Required field star */
.required-star {
    color: #d93025; /* red */
    margin-right: 6px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
}

/* Keep accessibility: hide star from screen readers (aria-hidden used above) */








/* Notifications: top-right fixed area */
.notification-wrapper {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 1050; /* above most UI elements (Bootstrap modals use 1050+) */
    pointer-events: none; /* allow clicks to pass through outside the alert */
    width: 500px;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

/* Make alerts responsive on small screens */
@media (max-width: 576px) {
    .notification-wrapper {
        transform: translate(0%, 0%);
        width: calc(100% - 2rem);
        right: 1rem;
        left: 1rem;
    }
}


/* lighter, less prominent text for empty grid areas */
.salezbird-empty-grid-text {
    font-weight: 300; /* lighter weight */
    color: var(--sz-gray2);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    opacity: 0.9;
}



/* Add near other form layout rules (end of form-row styles is fine) */
.salezbird-summary-row {
    display: flex;
    gap: 16px;
    row-gap: 4px; /* smaller vertical spacing between wrapped rows */
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap; /* allow wrapping on narrow widths */
}

/* Each item keeps label + control layout like existing .salezbird-form-row */
.salezbird-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px; /* ensures editors keep reasonable width on desktop */
    box-sizing: border-box;
}

    /* Right-align labels to match existing right-aligned rows on desktop */
    .salezbird-summary-item > label {
        min-width: 160px;
        text-align: right;
        margin-right: 12px;
    }

/* Mobile: stack vertically and make controls full width */
@media (max-width: 576px) {
    .salezbird-summary-row {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        justify-content: flex-start;
    }

    .salezbird-summary-item {
        width: 100%;
        justify-content: flex-start; /* label above control would also work, but keep label inline */
    }

        .salezbird-summary-item > label {
            min-width: 0;
            width: 100%;
            text-align: left;
            margin-bottom: 4px;
        }

        .salezbird-summary-item .salezbird-fixed-field,
        .salezbird-summary-item .salezbird-textbox,
        .salezbird-summary-item input,
        .salezbird-summary-item .dx-spinedit-input {
            width: 100% !important;
            box-sizing: border-box;
        }
}





/* Language selector top bar */
.sb-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 12px;
}

/* Globe icon trigger */
.sb-lang-trigger {
    position: relative;
    border: none;
    background: transparent;
    color: #0A5BD4;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}

/* Dropdown menu */
.sb-lang-menu {
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    min-width: 160px;
    z-index: 1000;
    padding: 6px;
}

/* Language option item */
.sb-lang-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 6px 8px;
    border-radius: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

    .sb-lang-item:hover {
        background: #f3f4f6;
    }

/* Current selection */
.sb-lang-current {
    font-weight: 600;
    color: #0A5BD4;
}

/* Mobile: center menu under icon and allow wider bubble content if needed */
@media (max-width: 576px) {
    .sb-lang-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        min-width: 200px;
        max-width: 92vw;
    }
}


/* salezbird-image-input */
.salezird-image-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* smaller + lighter icon (keeps button size unchanged) */
.salezbird-icon-muted-sm {
    font-size: 1em !important;
    opacity: 0.55;
}


/* salezbird home kpi */
.salezbird-startbtn {
    margin: 0 auto; /* Centers the button */
    padding: 10px 0 10px 0;
    width: 100%;
    font-weight: 500;
    font-size: 16px;
}


.salezbird-kpi-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    margin-bottom: 8px;
}

.salezbird-kpi-title {
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
}

.salezbird-kpi-value {
    color: #111;
}

.sb-kpi-sub {
    color: #888;
    font-size: 12px;
    margin-top: 6px;
}

.salezbird-kpi-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .sb-kpi-title-row .sb-kpi-title {
        margin-bottom: 0; /* override existing 8px */
    }



/* Settings page: item links without border (but still clickable) */
.salezbird-settings-item {
    display: block;
    padding: 0.375rem 1rem;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--sz-gray2);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

    .salezbird-settings-item:hover,
    .salezbird-settings-item:focus {
        background: var(--sz-light-gray);
        color: var(--sz-color);
        outline: none;
    }

/* Settings page: slightly larger item title + description */
.salezbird-settings-item-title {
    color: var(--sz-color);
    font-size: 16px;
}

.salezbird-settings-item-desc {
    font-size: 14px;
}

.salezbird-selected-plan {
    border: 2px solid #007bff;
    box-shadow: 0 0 0 2px #007bff33;
    background-color: #f0f8ff;
}

.salezbird-trial-notification {
    background: #fff3cd;
    color: #856404;
    padding: 8px 16px;
    text-align: center;
    font-weight: 500;
    border-bottom: 1px solid #ffeeba;
}

.salezbird-expired-notification {
    background: #fdeaea;
    color: #b71c1c;
    padding: 8px 16px;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid #f8d7da;
    border-radius: 4px;
    margin: 12px 0;
}
