@import url('./custom-styles.css');


.tab-content>.active {
    opacity: 1;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --body-fonts: "Inter", sans-serif;
    --color-white: #FFFFFF;
    --PB-bg-color: #F3F4F6;
    --PB-bg-light: #F9FAFB;
    --color-dark: #000000;
    --PB_color-primary: #155DFC;
    --color-primary-light: #155DFCCC;
    --border-color: #E5E7EB;
    --text-color: #6A7282;
    --text-color-secondary: #364153;
    --color-danger: #E7000B;
    --color-danger-extra-light: #E7000B1A;
    --color-danger-light: #e7000bad;
    --color-warning: #f0b100;
    --muted-color: #99A1AF;
    --title-color: #101828;
    --PB_hover-bg: #E4EBFE;
    --PB_color-theme: #4367B0;
    --PB_box-shadow: 0 8px 10px -6px #0000001A;
    --btn-light-hover-bg: #E6E8EC;
    --PB_primary-gradient: linear-gradient(180deg, var(--PB_color-theme) 0%, #4C70BA 50%, #3A5A9A 100%);
    scrollbar-width: thin !important;
    scrollbar-color: #7A7A7A #E8E8E8;
    --kendo-color-primary:#155CFC;
}

:root::-webkit-scrollbar {
    width: 8px !important;
    border-radius: 20px !important;
}

:root::-webkit-scrollbar-track {
    background: #E8E8E8 !important;
    width: 8px !important;
}

:root::-webkit-scrollbar-thumb {
    background-color: #7A7A7A !important;
    border-radius: 20px !important;
    border: 2px solid transparent !important;
    width: 8px !important;
    background-clip: content-box !important;
}

body {
    font-family: var(--body-fonts);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: -0.15px;
    color: var(--text-color);
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.PB__db-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: auto;
    background-color: var(--PB-bg-light);
}

.PB__db-wrapper .PB__db-content {
    width: calc(100% - 240px);
    margin: 0 0 0 auto;
    padding: 20px;
    transition: width .35s ease-in-out;
    flex: 1 0 auto;
}

body.PB__sidebar-inactive .PB__db-content {
    width: calc(100% - 64px);
}

.PB__db-content>.bootstrap-container>.content,
.PB__db-content>.bootstrap-container {
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent;
}

html body .btn {
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--body-fonts);
    color: var(--text-color);
    text-decoration: none;
    line-height: 1;
    border: 1px solid transparent !important;
    background-color: transparent;
    margin: 0;
    transition: 0.35s all ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    outline: none !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: auto !important;
    opacity: 1;
}

html body .btn-sm {
    padding-left: 10px;
    padding-right: 10px;
}

html body .btn-lg {
    min-width: 160px;
}

html body .btn-xl {
    min-width: 200px;
}

html body .btn:hover {
    color: var(--text-color);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10) !important;
}

@media (min-width: 1024px) {
    .hidden-dropdown-desktop {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .hidden-md {
        display: none !important;
    }
}

html body .btn-primary {
    background-color: var(--PB_color-primary) !important;
    border-color: var(--PB_color-primary) !important;
    color: var(--color-white) !important;
}

html body .btn-primary:hover {
    background-color: var(--color-primary-light) !important;
    border-color: var(--color-primary-light) !important;
    color: var(--color-white) !important;
}

html body .btn-danger {
    background-color: var(--color-danger) !important;
    border-color: var(--color-danger) !important;
    color: var(--color-white) !important;
}

html body .btn-danger:hover {
    background-color: var(--color-danger-light) !important;
    border-color: var(--color-danger-light) !important;
    color: var(--color-white) !important;
}

html body .btn__primary-theme {
    border-radius: 10px;
    background: var(--PB_color-theme);
    color: var(--color-white);
    border-color: var(--PB_color-theme);
}

html body .btn__primary-theme:hover {
    filter: brightness(110%);
    color: var(--color-white);
}

html body .btn-outline-light {
    background-color: var(--color-white) !important;
    border-color: var(--border-color) !important;
    color: var(--text-color-secondary) !important;
}

html body .btn-outline-light:hover,
html body .btn-outline-light:focus {
    background-color: var(--btn-light-hover-bg) !important;
    border-color: var(--btn-light-hover-bg) !important;
}
div.action_buttons .button {
    background-color: var(--color-white) !important;
    border-color: var(--border-color) !important;
    color: var(--text-color-secondary) !important;
}

div.action_buttons .button:hover,
div.action_buttons .button:focus {
    background-color: var(--PB-bg-light) !important;
    border-color: var(--border-color) !important;
    color: var(--text-color-secondary) !important;
}
html body .btn-link {
    font-size: 16px;
    color: var(--PB_color-primary);
    font-weight: 500;
    line-height: 1.5;
    padding: 0;
    text-decoration: none;
    transition: 0.35s all ease-in-out;
    font-family: var(--body-fonts);
    display: inline-block;
}

html body .btn-link:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}


body label {
    font-family: var(--body-fonts);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    color: var(--title-color);
    margin-bottom: 8px;
}

html body .form-control:not([type="checkbox"]):not([type="radio"]),
html body select.form-control,
html body select {
    border: 1px solid var(--border-color) !important;
    padding: 10px 12px !important;
    font-family: var(--body-fonts) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    letter-spacing: -0.15px !important;
    height: 40px !important;
    color: var(--title-color) !important;
    border-radius: 8px !important;
    background-color: var(--color-white) !important;
    box-shadow: none !important;
    width: 100% !important;
}

html body .form-control:not([type="checkbox"]):not([type="radio"]):focus,
html body select.form-control:focus,
html body select:focus,
html body .form-control:not([type="checkbox"]):not([type="radio"]):focus-visible,
html body select.form-control:focus-visible {
    border-color: var(--PB_color-primary) !important;
    outline: none !important;
    height: 40px !important;
}


/*--- Global Checkbox Style Start ---*/
html body .custom-checkbox {
    color: var(--text-color-secondary);
    font-size: 14px;
    font-weight: 400 !important;
    letter-spacing: -0.15px;
    font-family: var(--body-fonts);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

html body .custom-checkbox input {
    display: none;
}

html body .custom-checkbox .checkmark {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #0000001A;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
    background: #fff;
    box-shadow: 0px 1px 2px 0px #0000000D;
}

html body .custom-checkbox input:checked+.checkmark {
    background: #4a6db6;
    border-color: #445485;
}

html body .custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

html body .custom-checkbox input:checked+.checkmark::after {
    opacity: 1;
}

/*--- Global Checkbox Style End ---*/

@media (max-width: 991.98px) {
    .PB__db-wrapper .PB__db-content {
        width: 100% !important;
        padding: 20px 15px;
    }
}

@media (max-width: 767.98px) {

    body,
    body p {
        font-size: 13px;
    }

    html body .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ===================================
   GLOBAL STYLE END
=================================== */


/* ===================================
   PB HEADER STYLE START
=================================== */
.PB__header {
    z-index: 100;
    background-color: var(--color-white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: 0.35s all ease;
    width: calc(100% - 240px);
    margin: 0 0 0 auto;
    position: fixed;
    right: 0;
    top: 0;
}

body.PB__sidebar-inactive .PB__header {
    width: calc(100% - 64px);
}

.PB__header .PB__header-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.PB__header .PB__header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.PB__header .PB__header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.PB__header .PB__header-action-btn {
    background: var(--color-white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    transition: 0.35s all ease-in-out;
}

.PB__header .PB__header-action-btn:hover,
.PB__header-action-btn.active {
    background-color: var(--PB-bg-color) !important;
}


/*--- Notifications Style Start ---*/
.recent__bar {
    position: relative;
    z-index: 2;
}

.recent__bar .recent__icon.active {
    background-color: var(--PB-bg-color);
}

.recent__bar .recent__icon.active svg path {
    stroke: var(--PB_color-primary);
}

.recent__dropdown {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    width: 320px;
    background: #FFF;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    display: none;
    overflow: hidden;
    border: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.recent__dropdown.active {
    display: block;
}

.recent__dropdown-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(249, 250, 251, .5);
    border-bottom: 1px solid var(--PB-bg-color);
    font-family: "Inter", sans-serif;
}

.recent__dropdown-header span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.15px;
    color: var(--title-color);
}

.recent__dropdown-header button {
    background: none;
    border: none !important;
    color: var(--PB_color-primary);
    cursor: pointer;
    margin-left: auto !important;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06px;
}

.recent__dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    max-height: 500px;
    overflow: auto;
}

.recent__dropdown-list li {
    display: flex !important;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: "Inter", sans-serif;
}

.recent__dropdown-list li img {
    height: auto;
    width: auto;
    object-fit: none;
}

.recent__dropdown-list li:hover {
    background: var(--PB_hover-bg);
}

.recent__dropdown-list .recent__dropdown-list-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: var(--PB-bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6A7282;
}

.recent__dropdown-list strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.15px;
    color: var(--title-color);
}

.recent__dropdown-list span {
    font-size: 11px;
    color: #6A7282;
    letter-spacing: 0.61px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
}

.recent__dropdown-footer {
    padding: 0 10px;
}

.recent__dropdown-footer a {
    font-size: 13px;
    color: #6A7282;
    text-decoration: none;
    padding: 4px 16px;
    text-align: center;
    background-color: rgba(249, 250, 251, .5);
    font-family: "Inter", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*--- Notifications Style End ---*/

.PB__header .PB__header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 70%;
    justify-content: flex-end;
}

.PB__header-search {
    max-width: 300px;
    width: 100%;
}

.PB__header-search .PB__header-search-group {
    width: 100%;
}

.PB__header-search .PB__header-search-input {
    width: 100%;
    border: 1px solid var(--border-color);
    padding: 11px 12px 11px 35px !important;
    color: var(--text-color);
    background-color: var(--PB-bg-light);
    border-radius: 10px;
    font-family: var(--body-fonts);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: -0.15px;
    outline: none !important;
    box-shadow: none;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjAwMjcgMTRMMTEuMTA5NCAxMS4xMDY3IiBzdHJva2U9IiM5OUExQUYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNNy4zMzMzMyAxMi42NjY3QzEwLjI3ODkgMTIuNjY2NyAxMi42NjY3IDEwLjI3ODkgMTIuNjY2NyA3LjMzMzMzQzEyLjY2NjcgNC4zODc4MSAxMC4yNzg5IDIgNy4zMzMzMyAyQzQuMzg3ODEgMiAyIDQuMzg3ODEgMiA3LjMzMzMzQzIgMTAuMjc4OSA0LjM4NzgxIDEyLjY2NjcgNy4zMzMzMyAxMi42NjY3WiIgc3Ryb2tlPSIjOTlBMUFGIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==");
    background-size: 20px;
    background-position: 9px center;
    background-repeat: no-repeat;
}

.PB__header-search .PB__header-search-input:focus {
    border-color: var(--PB_color-primary);
}

/* HEADER SEARCH STYLE END */

.PB__gdd-container {
    position: relative;
}

.PB__gdd-container .PB__gdd-trigger {
    cursor: pointer;
}

.PB__header .PB__header-create-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 108px;
    height: 36px;
    padding: 0 14px !important;
    gap: 8px;
    font-family: var(--body-fonts);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #4A5565;
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 10px;
    box-sizing: border-box;
}

.PB__header .PB__header-create-btn span {
    display: inline-flex;
    align-items: center;
}

.PB__header .PB__header-create-btn svg {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.PB__header .PB__header-create-btn svg path {
    stroke: #4A5565;
}

.PB__header .PB__header-create-btn:hover,
.PB__header .PB__header-create-btn.active {
    background: #dbe0e5 !important;
    border-color: #E5E7EB !important;
}

.PB__gdd-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    overflow: hidden;
    z-index: 999;
}

.PB__gdd-dropdown.right {
    float: none;
    left: auto;
    right: 0;
}

.PB__gdd-dropdown .PB__gdd-card {
    border: 1px solid var(--border-color);
    margin-top: 2px;
    width: 200px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--PB_box-shadow);
    overflow: hidden;
}

.PB__gdd-trigger:hover+.PB__gdd-dropdown,
.PB__gdd-dropdown:hover,
.PB__gdd-dropdown.active {
    display: block;
}

.PB__gdd-dropdown a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    font-family: var(--body-fonts);
    color: var(--title-color);
}

.PB__gdd-dropdown .delete {
    background-color: transparent;
    color: var(--color-danger);
}

.PB__gdd-dropdown a:hover {
    background: var(--PB_hover-bg);
}

.PB__gdd-dropdown .delete:hover {
    background-color: var(--color-danger-extra-light);
}

.PB__gdd-dropdown.show {
    display: block;
}

/* GLOBAL DROPDOWN STYLE END */


.PB__header-user {
    padding: 0 0 0 15px;
    border-left: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.PB__header-user .PB__avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--PB-bg-color);
    font-size: 16px;
    text-transform: uppercase;
    color: var(--title-color);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.PB__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.PB__header-user h4 {
    padding: 0;
    margin: 0;
    color: var(--title-color);
    font-weight: 500;
    font-size: 14px;
}

.PB__header-user .PB__header-user-info {
    margin-top: 2px;
}

.PB__header-user .PB__header-user-info span {
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    line-height: 1.25;
}

.header__search-form.active {
    display: block !important;
}

/*--- PB NOTIFICATION DROPDOWN STYLE START ---*/
.PB__notifications-container {
    position: relative;
}

.PB__notifications-container .notifications__dd-trigger {
    position: relative;
}

.PB__notifications-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 999px;
    background-color: #fb2c36;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    padding: 0 5px;
}

.notifications__dropdown {
    position: absolute;
    right: -10px;
    top: calc(100% + 6px);
    z-index: 10;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 500px;
    box-shadow: var(--PB_box-shadow);
    background-color: var(--color-white);
    overflow: hidden;
    display: none;
}

.notifications__dropdown.active {
    display: block;
}

.notifications__dropdown .notifications__dropdown-head {
    padding: 15px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notifications__dropdown h4 {
    font-family: var(--body-fonts);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: -0.31px;
    margin: 0;
}

.notifications__dropdown .notifications__dropdown-close {
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    margin: 0 !important;
    transition: 0.35s all ease-in-out;
    border-radius: 5px;
}

.notifications__dropdown-close:hover {
    background-color: var(--PB-bg-color) !important;
}

.notifications__dropdown .notifications__tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    border-bottom: 1px solid var(--border-color);
}

.notifications__tabs-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: transparent;
    border: none;
    font-size: 20px;
    color: var(--text-color);
    transition: 0.35s all ease-in-out;
}

.notifications__tab-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 999px;
    background-color: #fb2c36;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    padding: 0 4px;
}

.notifications__dropdown .notifications__tabs-btn:hover,
.notifications__dropdown .notifications__tabs-btn.active {
    background-color: #3D355475;
    color: var(--color-white);
}

.notifications__dropdown .notifications__tabs-content {
    max-height: 540px;
    overflow: auto;
    padding-bottom: 10px;
    display: none;
}

.notifications__dropdown .notifications__tabs-content.show {
    display: block;
}

.notifications__tabs-content .notifications__list {
    padding: 0;
}

.notifications__tabs-content .notifications__list a {
    padding: 15px 24px 15px 44px;
    border-bottom: 1px solid #F3F4F6;
    text-decoration: none;
    color: var(--text-color);
    display: block;
    position: relative;
}

.notifications__tabs-content .notifications__list li:last-child a {
    border-bottom: none;
}

.notifications__tabs-content .notifications__list a:before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--border-color);
    display: inline-block;
    border-radius: 50%;
    position: absolute;
    left: 24px;
    top: 20px;
}

.notifications__tabs-content .notifications__list a.unread {
    background-color: #FAF5FF4D;
}

.notifications__tabs-content .notifications__list a:hover {
    background-color: var(--PB-bg-light);
}

.notifications__tabs-content .notifications__list a.unread:before {
    background-color: #AD46FF;
}

.notifications__tabs-content .notifications__list a>div>* {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notifications__tabs-content .notifications__list span {
    display: block;
    font-size: 12px;
}

.notifications__dropdown .notification__tag {
    color: #9810FA;

}

.notifications__tabs-content .notifications__list a.unread p {
    color: var(--title-color);
}

/* Notification row: main link + dismiss (X) */
.notifications__tabs-content .notifications__list li.notifications__list-item {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #F3F4F6;
}

.notifications__tabs-content .notifications__list li.notifications__list-item:last-child {
    border-bottom: none;
}

.notifications__tabs-content .notifications__list li.notifications__list-item > a.unread {
    flex: 1;
    min-width: 0;
    border-bottom: none;
}

.notifications__tabs-content .notifications__list .notifications__dismiss {
    flex-shrink: 0;
    width: 44px;
    align-self: stretch;
    border: none;
    border-left: 1px solid #F3F4F6;
    background: transparent;
    color: #6A7282;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.notifications__tabs-content .notifications__list .notifications__dismiss:hover {
    background: var(--PB-bg-light, #f3f4f6);
    color: #101828;
}

.notifications__dropdown .notifications__dropdown-footer {
    padding: 15px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.notifications__dropdown-footer .btn {
    flex: 1;
}

.PB__logo a {
    font-size: 0;
}

/*--- PB NOTIFICATION DROPDOWN STYLE END ---*/

@media (max-width: 1199.98px) {
    .PB__header .PB__header-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .PB__header .PB__header-row {
        gap: 15px;
    }

    .notifications__dropdown {
        width: 400px;
    }
}

@media (max-width: 991.98px) {
    .PB__header {
        width: 100% !important;
    }

    .PB__header-search {
        max-width: max-content;
        position: relative;
    }

    .header__search-form {
        position: absolute;
        right: -40px;
        top: calc(100% + 5px);
        width: 270px;
        padding: 12px;
        border-radius: 0 0 5px 5px;
        box-shadow: var(--PB_box-shadow);
        background-color: var(--color-white);
    }


    .PB__header .PB__header-row {
        justify-content: initial;
    }
}

@media (max-width: 767.98px) {
    .PB__header {
        padding: 10px 0;
    }

    .PB__header-user .PB__header-user-info {
        display: none;
    }

    .PB__header .PB__header-right {
        gap: 5px;
        width: auto;
        margin-left: auto;
    }

    .PB__header .PB__header-actions,
    .PB__header .PB__header-row {
        gap: 5px;
    }

    .notifications__dropdown {
        width: 320px;
        right: -40px;
    }

    .notifications__dropdown .notifications__dropdown-head,
    .notifications__dropdown .notifications__tabs,
    .notifications__dropdown .notifications__dropdown-footer {
        padding: 12px 15px;
    }

    .notifications__tabs-content .notifications__list a {
        padding: 12px 20px 12px 30px;
    }

    .notifications__tabs-content .notifications__list a:before {
        left: 14px;
        top: 16px;
    }

    .notifications__dropdown .notifications__tabs {
        gap: 5px;
    }

    .notifications__tabs-btn {
        font-size: 16px;
    }

    .notifications__dropdown .notifications__tabs-content {
        max-height: 400px;
    }

    .PB__header-user {
        padding-left: 5px;
        border-left: none;
    }

    .PB__header-user .PB__avatar {
        width: 30px;
        height: 30px;
        border: 1px solid var(--border-color);
        font-size: 14px;
    }

    .PB__header .PB__header-action-btn {
        width: 30px;
        height: 30px;
    }

    .PB__notifications-count {
        top: -5px;
        right: -6px;
        min-width: 16px;
        height: 16px;
        line-height: 16px;
        font-size: 10px;
        padding: 0 4px;
    }

    .PB__logo {
        max-width: 150px;
    }

    .PB__logo img,
    .PB__logo svg {
        width: 100%;
        object-fit: contain;
    }
}

/* ===================================
   PB HEADER STYLE END
=================================== */


/* ===================================
   PB SIDEBAR STYLE START
=================================== */
.PB__sidebar {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--PB_primary-gradient);
    width: 240px;
    height: 100%;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    overflow: auto;
    z-index: 110;
    transition: 0.35s all ease-in-out;
}

.PB__sidebar-overlay {
    background-color: rgba(0, 0, 0, .6);
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    transition: 0.35s all ease-in-out;
}

body.PB__sidebar-mobile-show .PB__sidebar-overlay {
    opacity: 1;
    z-index: 105;
    visibility: visible;
}

.PB__sidebar-container {
    display: flex;
    flex-direction: column;
}

.PB__sidebar .PB__sidebar-container .PB__sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
}

.PB__sidebar .PB__sidebar-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.31px;
    text-decoration: none;
    color: var(--color-white);
    white-space: nowrap;
}

.PB__sidebar .PB__sidebar-toggle {
    cursor: pointer;
}

.PB__sidebar .PB__sidebar-nav li+li {
    margin-top: 7px;
}

.PB__sidebar .PB__sidebar-link {
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: rgba(255, 255, 255, .8);
    letter-spacing: -0.1px;
    text-decoration: none;
    transition: 0.35s all ease-in-out;
}

.PB__sidebar .PB__sidebar-link i {
    font-size: 17px;
}

.PB__sidebar .PB__sidebar-link:hover,
.PB__sidebar .PB__sidebar-link.active {
    background: rgba(255, 255, 255, .20);
    color: var(--color-white);

}

/*--- Sidebar inactive style start ---*/
.PB__sidebar.inactive {
    width: 64px;
    padding: 16px 8px;
}

.PB__sidebar.inactive .PB__sidebar-head {
    justify-content: center;
}

.PB__sidebar.inactive .PB__sidebar-logo {
    display: none;
}

.PB__sidebar.inactive .PB__sidebar-link {
    font-size: 0;
    gap: 0;
}

.PB__sidebar.inactive .PB__sidebar-link i {
    font-size: 20px;
}

.PB__sidebar.inactive .sidebar__recent-box {
    display: none;
}


/*--- PB Sidebar submenu styles ---*/
.PB__sidebar .PB__sidebar-item--has-submenu {
    margin-top: 7px;
}

.PB__sidebar .PB__sidebar-nav .PB__sidebar-chevron {
    font-size: 12px;
    transition: transform 0.25s ease;
    margin: 0 0 0 auto;
}

.PB__sidebar .PB__sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 12px;
}

.PB__sidebar .PB__sidebar-submenu li {
    margin: 0;
}

.PB__sidebar .PB__sidebar-nav .PB__sidebar-submenu li+li {
    margin-top: 2px;
}

.PB__sidebar .PB__sidebar-submenu-link {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: 0.2s ease;
}

.PB__sidebar .PB__sidebar-submenu-link:hover,
.PB__sidebar .PB__sidebar-submenu-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.PB__sidebar.inactive .PB__sidebar-submenu,
.PB__sidebar.inactive .PB__sidebar-chevron {
    display: none !important;
}

/*--- PB Sidebar flyout (collapsed state hover) ---*/
.PB__sidebar.inactive {
    overflow: visible;
}

.PB__sidebar .PB__sidebar-flyout {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    z-index: 1050;
}

.PB__sidebar.inactive .PB__sidebar-item--has-submenu {
    position: relative;
}

.PB__sidebar.inactive .PB__sidebar-item--has-submenu:hover .PB__sidebar-flyout {
    display: block;
}

.PB__sidebar .PB__sidebar-flyout__content {
    margin-left: 16px;
    min-width: 215px;
    background: var(--PB_primary-gradient, #3A5A9A);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    padding: 0;
    position: relative;
    list-style: none;
    max-height: 450px;
    overflow-y: auto;
}

.PB__sidebar .PB__sidebar-flyout__content::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 19px;
    border-width: 6px 6px 6px 0;
    border-style: solid;
    border-color: transparent;
    border-right-color: #3A5A9A;
}

.PB__sidebar .PB__sidebar-flyout__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-white);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 0;
    text-transform: uppercase;
}

.PB__sidebar .PB__sidebar-flyout__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 4px 6px !important;
    display: block !important;
}

.PB__sidebar .PB__sidebar-flyout__list li {
    margin: 0;
}

.PB__sidebar .PB__sidebar-flyout__list li a {
    display: block;
    padding: 8px 15px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    background: transparent;
    white-space: nowrap;
    margin: 0;
}

.PB__sidebar .PB__sidebar-flyout__list li a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
}

.PB__sidebar:not(.inactive) .PB__sidebar-flyout {
    display: none !important;
}


/*--- Sidebar inactive style end ---*/


.sidebar__recent-box {
    margin-top: 30px;
}

.PB__sidebar .sidebar__recent-head {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .5);
    text-transform: uppercase;
    cursor: pointer;
}

.PB__sidebar .sidebar__recent-list {
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 14px;
    padding: 10px 5px;
    max-height: 220px;
    overflow: auto;
    margin-top: 12px;
    background: #FFFFFF0D;

}

.PB__sidebar .sidebar__recent-list li {
    margin: 0 !important;
}

.PB__sidebar .sidebar__recent-list li a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, .7) !important;
    cursor: pointer;
    white-space: nowrap;
    padding: 8px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
    text-decoration: none !important;
    border-radius: 5px !important;
    line-height: 1 !important;
    margin: 0 !important
}

.PB__sidebar .sidebar__recent-list a:hover {
    background: rgba(255, 255, 255, .20);
    color: var(--color-white);
}

.PB__sidebar .sidebar__recent-list svg,
.PB__sidebar .sidebar__recent-list img {
    width: 16px;
    flex: 0 0 16px;
    object-position: center;
    object-fit: contain;
}

.PB__sidebar .sidebar__recent-list {
    display: block !important;
}

@media (max-width: 991.98px) {
    .PB__sidebar {
        left: -100%;
    }

    .PB__sidebar.show {
        left: 0;
    }
}

/* ===================================
   PB SIDEBAR FAVORITES VIEW ALL LINK STYLE START
=================================== */
.favorites-view-all-link {
    display: block;
    color: rgba(255, 255, 255, 0.50) !important;
    text-align: center;
    font-family: var(--body-fonts);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 16.5px;
    letter-spacing: 1.164px;
    text-transform: uppercase;
    text-decoration: underline !important;
    cursor: pointer;
    margin-top: 8px;
}

.favorites-view-all-link:hover,
.favorites-view-all-link:visited {
    color: #fff !important;
}







/* ===================================
   PB SIDEBAR STYLE END
=================================== */


/* ===================================
   PB LOGIN PAGE STYLE START
=================================== */
.PB__login-wrapper {
    min-height: 100vh;
    height: 100%;
}

.PB__login-wrapper .PB__login-row {
    display: flex;
    min-height: 100vh;
    height: 100%;
}

.PB__login-wrapper .PB__login-row>div {
    width: 50%;
}

.PB__login-wrapper .PB__login-content {
    position: relative;
    background-image:
        linear-gradient(180deg, rgba(6, 21, 41, 0.58) 0%, rgba(8, 27, 50, 0.48) 34%, rgba(8, 23, 43, 0.72) 100%),
        url('../../images/power_buyer_login_back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 52px 28px 40px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.PB__login-wrapper .PB__login-brand {
    position: relative;
    z-index: 1;
}

.PB__login-wrapper .PB__login-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 24px 24px 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(8, 23, 43, 0.70) 0%, rgba(8, 23, 43, 0.58) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 40px rgba(3, 10, 22, 0.28);
    backdrop-filter: blur(10px);
}

.PB__login-wrapper .PB__login-logo {
    color: var(--color-white);
    font-family: var(--body-fonts);
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.4px;
    margin-bottom: 0;
}

.PB__login-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
}

.PB__login-wrapper h1 {
    color: var(--color-white);
    font-family: var(--body-fonts);
    font-size: 58px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0;
    max-width: 640px;
}

.PB__login-wrapper .PB__login-content p {
    color: var(--color-white);
    opacity: .9;
    font-family: var(--body-fonts);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -0.3px;
    margin: 0;
}

.PB__login-callout {
    max-width: 610px;
    margin-bottom: 2px;
}

.PB__login-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.PB__login-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.2px;
    backdrop-filter: blur(10px);
}

.PB__login-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-direction: column;
}

.PB__login-form {
    max-width: 448px;
    width: 100%;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: #FFF;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
    font-family: var(--body-fonts);
}

.PB__login-form .PB__login-title {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.07px;
    margin: 0 0 8px 0;
    font-family: inherit;
    color: var(--title-color);
}

.PB__login-subtitle {
    color: var(--text-color);
    font-family: inherit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.312px;
    margin: 0 0 17px 0;
}

.PB__login-form .error {
    margin-bottom: 20px;
}

.PB__login-group+.PB__login-group {
    margin-top: 20px;
}

body .PB__login-form label {
    color: var(--text-color-secondary);
    font-family: inherit;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.15px;
}

.PB__login-form .PB__login-input-wrapper {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--PB-bg-light);
    padding: 8px 8px 8px 14px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.PB__login-form .PB__login-input-wrapper input {
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #717182;
    font-family: inherit;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.15px;
    padding: 4px !important;
    width: 100%;
    min-height: auto !important;
    height: auto !important;
}

.PB__login-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.PB__login-options {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
}

.PB__login-forgot-pw {
    color: var(--PB_color-theme);
    font-family: var(--body-fonts);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.15px;
    cursor: pointer;
}

.PB__login-form .btn__primary-theme {
    width: 100%;
    margin-top: 20px;
}

.PB__login-divider {
    margin: 44px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-family: var(--body-fonts);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    height: 16px;
    position: relative;
}

.PB__login-divider .PB__login-divider-line {
    border-top: 1px solid var(--border-color);
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.PB__login-divider:last-child {
    margin-bottom: 0;
}

.PB__login-divider-text {
    padding: 2px 8px;
    background-color: var(--color-white);
    position: relative;
    z-index: 1;
}

.PB__login-form .btn-outline-light {
    width: 100%;
}

.PB__login-eye .fa-eye-slash {
    display: none;
}

.PB__forgot-pw-form {
    margin: 30px 0 0 0;
}

.PB__forgot-pw-form .btn,
.PB__forgot-pw-form .btn:hover {
    text-transform: capitalize;
    font-size: inherit;
}

@media (max-width: 991.98px) {
    .PB__login-wrapper {
        padding: 48px;
        background:
            linear-gradient(180deg, rgba(6, 21, 41, 0.58) 0%, rgba(8, 27, 50, 0.48) 34%, rgba(8, 23, 43, 0.72) 100%),
            url('../../images/power_buyer_login_back.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        overflow: auto;
    }

    .PB__login-wrapper .PB__login-row {
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .PB__login-wrapper .PB__login-row>div {
        width: 100%;
    }

    .PB__login-wrapper .PB__login-content {
        display: none;
    }

    .PB__login-wrapper .PB__login-block {
        padding: 0;
        max-width: 400px;
        width: 100%;
    }

    .PB__login-wrapper .PB__login-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 45px;
    }
}

@media (max-width: 767.98px) {
    .PB__login-wrapper {
        padding: 48px 20px;
    }

    .PB__login-form {
        padding: 15px;
    }

    .PB__login-wrapper .PB__login-logo {
        margin-bottom: 30px;
        font-size: 20px;
    }
}

@media (max-width: 1400px) {
    .PB__login-wrapper h1 {
        font-size: 50px;
    }
}

/* ===================================
   PB LOGIN PAGE STYLE END
=================================== */


/* ===================================
   UPSHEETS PAGE STYLE START
=================================== */
/*.PB__content-title-wrap {*/
/*    display: flex;*/
/*    align-items: flex-start;*/
/*    gap: 15px;*/
/*    justify-content: space-between;*/
/*    margin-bottom: 23px;*/
/*}*/

.PB__content-title {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    margin-bottom: 23px;
    text-align: left;
}

.PB__content-title .PB__content-title-text {
    color: var(--title-color);
    font-family: var(--body-fonts);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.07px;
    margin: 0 0 4px 0;
    float: none;
    text-align: left;
}

.PB__content-title-wrap p {
    font-family: var(--body-fonts);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 142.857%;
    letter-spacing: -0.15px;
    margin: 0;
    text-align: left;
}

body .PB__cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.PB__card {
    padding: 25px;
    box-shadow: var(--PB_box-shadow);
    border-radius: 10px;
    background-color: var(--color-white);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 7px;
    height: 100%;
}

.PB__card span {
    font-size: 30px;
    color: var(--title-color);
    font-weight: 400;
    display: block;
}

.PB__card span small {
    font-size: 65%;
    position: relative;
    bottom: -4px;
}

.PB__card p {
    margin: 0;
}

.PB__card p:last-child {
    color: var(--muted-color);
    font-size: 12px;
}


.leads__filters-card {
    padding: 25px;
    box-shadow: var(--PB_box-shadow);
    border-radius: 10px;
    background-color: var(--color-white);
    border: 1px solid var(--border-color);
    height: 100%;
    margin-top: 24px;
}


body .filters__form-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

body .filters__form-row>div {
    margin: 0;
}

body .filters__buttons {
    /*max-width: 300px;*/
    margin: 23px 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Applied filters display row (red label + Clear / Edit buttons) */
body .filters__applied-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    flex-shrink: 9999;
}

body .filters__applied-label {
    color: #c0392b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

body .filters__applied-row .filters__buttons {
    margin-top: 0;
}


@media (max-width: 1199.98px) {
    .PB__card {
        padding: 15px;
    }

    body .PB__cards-row {
        gap: 15px;
    }

    body .filters__form-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    body .filters__form-row>.leads__group-first {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    body .PB__cards-row {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 10px;
        column-gap: 15px;
    }

    html body .PB__db-content .filters__form-row .leads__search-input {
        border: 1px solid var(--border-color) !important;
        background-color: var(--PB-bg-light) !important;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjAwMjcgMTRMMTEuMTA5NCAxMS4xMDY3IiBzdHJva2U9IiM5OUExQUYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNNy4zMzMzMyAxMi42NjY3QzEwLjI3ODkgMTIuNjY2NyAxMi42NjY3IDEwLjI3ODkgMTIuNjY2NyA3LjMzMzMzQzEyLjY2NjcgNC4zODc4MSAxMC4yNzg5IDIgNy4zMzMzMyAyQzQuMzg3ODEgMiAyIDQuMzg3ODEgMiA3LjMzMzMzQzIgMTAuMjc4OSA0LjM4NzgxIDEyLjY2NjcgNy4zMzMzMyAxMi42NjY3WiIgc3Ryb2tlPSIjOTlBMUFGIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==) !important;
        background-size: 20px;
        background-position: 9px center;
        background-repeat: no-repeat;
        padding-left: 35px !important;
    }

    body .filters__form-row {
        column-gap: 10px;
    }
}

@media (max-width: 767.98px) {
    body .PB__cards-row {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 10px;
        column-gap: 10px;
    }

    .PB__content-title .btn {
        padding: 10px;
    }

    .PB__content-title .btn span {
        display: none;
    }

    .PB__content-title>div {
        max-width: 260px;
    }

    .PB__card span {
        font-size: 24px;
    }

    .leads__filters-card {
        padding: 15px;
    }

    body .filters__buttons {
        width: 100%;
        flex-direction: row-reverse;
        gap: 15px;
    }

    body .filters__buttons .btn {
        flex: 1;
    }

    body .filters__applied-row {
        flex-direction: column;
        align-items: stretch;
    }

    body .filters__applied-row .filters__buttons {
        justify-content: flex-end;
    }
}


/*Functional Table Style Start*/
.functional__table {
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: var(--PB_box-shadow);
    overflow: hidden;
    font-family: var(--body-fonts);
    margin-top: 24px;
    border: 1px solid var(--border-color);
}

.functional__table .functional__table-container {
    max-height: none;
    overflow-y: visible;
    overflow-x: auto;
    min-height: 300px;
}


.functional__table th.listview-resizable-th {
    position: relative;
    box-sizing: border-box;
}

.functional__table table th.listview-resizable-th[data-lv-col],
.functional__table table td[data-lv-col] {
    width: 130px;
}

.functional__table .listview-col-resize-handle {
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    cursor: col-resize;
    z-index: 2;
    user-select: none;
    -webkit-user-select: none;
    background: rgba(0, 0, 0, 0.06);
}

.functional__table .listview-col-resize-handle:hover {
    background: rgba(0, 0, 0, 0.06);
}

.functional__table .listview-col-resize-handle.active {
    background: rgba(0, 0, 0, 0.1);
}

body.listview-col-resizing {
    cursor: col-resize !important;
    user-select: none !important;
}

.functional__table table {
    width: 100%;
    border-collapse: collapse;
}

.functional__table table thead {
    background-color: var(--PB-bg-color);
}

.functional__table table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: var(--title-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.functional__table table td {
    padding: 6px 1px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-color);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    align-content: center;
}


.functional__table table tr:hover {
    background-color: var(--PB-bg-light);
}

.functional__table .selectActions .ddopen {
    max-height: 194px;
    overflow: auto;
}

.table__footer {
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--PB-bg-light);
    border-top: 1px solid var(--border-color);
}

.table__footer span {
    font-family: var(--body-fonts);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    color: var(--text-color);
    display: inline-block;
}

.table__footer__buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table__footer .table__footer__button {
    padding: 8px;
    border: none !important;
    background-color: transparent;
    cursor: pointer;
    margin: 0 !important;
}


.functional__table .functional__table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 27px;
    background-color: var(--color-white);
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.functional__table .functional__table-filters {
    display: flex;
    align-items: center;
    gap: 20px;
}

.functional__table .filter__select-all {
    font-family: "Inter", sans-serif;
    font-weight: 600 !important;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin: 0 !important;
    color: #6A7282;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.functional__table .filter__select-all input {
    margin: 0 !important;
}

.functional__table-filters button {
    border: 1px solid var(--border-color) !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    cursor: pointer;
    background-color: var(--color-white);
    font-family: var(--body-fonts);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    text-align: center;
    border-radius: 8px;
    margin: 0 !important;
}

.functional__table .functional__table-pagination {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 !important;
}

.functional__table .pagination_text {
    font-family: var(--body-fonts);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    color: var(--text-color);
}

.functional__table-pagination button {
    padding: 0;
    border: none !important;
    cursor: pointer;
    background-color: transparent;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.functional__table-pagination button:disabled {
    opacity: .6;
}


.functional__table th div,
.functional__table th div a {
    display: flex;
    align-items: start;
    white-space: nowrap;
    color: var(--title-color);
    text-decoration: none;
}

.functional__table th:hover,
.functional__table th div a:hover {
    color: var(--PB_color-primary);
}

.functional__table table td {
    white-space: nowrap;
}

.functional__table table .td__wrapper {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: wrap;
}


.functional__table .sugar_action_button {
    border: 1px solid var(--border-color) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 11px !important;
    cursor: pointer !important;
    background-color: var(--color-white) !important;
    font-family: var(--body-fonts);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    text-align: center;
    border-radius: 8px !important;
    margin: 0 !important;
    color: var(--text-color);
    height: auto;
}

.functional__table .sugar_action_button label,
.functional__table .sugar_action_button .selectedRecords.label,
.functional__table #actionLinkTop li.sugar_action_button a {
    color: var(--title-color) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: -0.15px !important;
    margin: 0 !important;
    text-transform: capitalize !important;
    gap: 4px !important;
}

.functional__table #actionLinkTop .sugar_action_button .subnav,
.functional__table #actionLinkTop .sugar_action_button .subnav li,
.functional__table #actionLinkTop .sugar_action_button .subnav li a {
    background-color: var(--color-white) !important;
    text-align: left;
}

.functional__table #actionLinkTop .sugar_action_button .subnav {
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
}

.functional__table .sugar_action_button.hover.opened {
    top: 0 !important
}

.functional__table .clickMenu li ul.subnav {
    top: calc(100% + 4px) !important;
    left: 0 !important;
}

.functional__table #actionLinkTop .sugar_action_button .subnav li a:hover {
    color: var(--text-color) !important;
    background-color: var(--PB_hover-bg) !important;
}

.functional__table .suitepicon.suitepicon-action-caret {
    margin-left: 8px;
}

/* Fail-safe: keep Bulk Action visible if ListView JS fails to toggle hidden classes. */
.functional__table #actionLinkTop,
.functional__table #actionLinkBottom,
.functional__table #actionLinkTop.hide,
.functional__table #actionLinkBottom.hide {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.table__footer {
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--PB-bg-light);
    border-top: 1px solid var(--border-color);
}

.table__footer span {
    font-family: var(--body-fonts);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    color: var(--text-color);
    display: inline-block;
}

.table__footer__buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table__footer .table__footer__button {
    padding: 8px;
    border: none !important;
    background-color: transparent;
    cursor: pointer;
    margin: 0 !important;
}

#selectLinkTop .sugar_action_button {
    background-color: var(--PB-bg-light);
    padding: 0 4px 0 0;
    border: 1px solid transparent;
    border-radius: 4px;
    min-width: 32px;
    margin-left: 0
}

#selectLinkBottom {
    margin-right: 5px;
    position: relative;
    line-height: 0;
    min-height: 16px;
    min-width: 32px;
    margin-left: 0
}

#selectLinkBottom .sugar_action_button {
    background-color: #94A6B5;
    padding: 0 4px 0 0;
    border: 1px solid transparent;
    border-radius: 4px;
    min-width: 32px;
    margin-left: 0
}

#selectLinkTop .selectActionsDisabled {
    min-width: 32px;
    margin-left: 0px
}

#selectLinkTop li.sugar_action_button {
    padding: 0px;
    background-color: var(--primary);
    border: 1px solid transparent;
    border-radius: 4px
}

@-moz-document url-prefix() {
    #selectLinkTop li.sugar_action_button {
        padding-left: 7px
    }
}

#selectLinkBottom li.sugar_action_button {
    padding: 0px;
    background-color: #94A6B5;
    border: 1px solid transparent;
    border-radius: 4px
}

@-moz-document url-prefix() {
    #selectLinkBottom li.sugar_action_button {
        padding-left: 7px
    }
}

#selectLinkTop>.sugar_action_button>.subnav {
    background-color: var(--color-white) !important;
    border: 1px solid var(--border-color) !important;
    font-family: var(--body-fonts);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    text-align: center;
    border-radius: 8px !important;
    margin: 0 !important;
    color: var(--text-color);
    height: auto;
}

#selectLinkTop>.sugar_action_button>.subnav a {
    padding: 5px 10px;
    color: var(--text-color) !important;
    font-family: var(--body-fonts);
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: -0.15px !important;
    margin: 0 !important;
    text-transform: capitalize !important;
}

#selectLinkTop>.sugar_action_button>.subnav a:hover {
    color: var(--text-color) !important;
    background-color: var(--PB-bg-light) !important;
}

#selectLinkTop .selectedRecords.label {
    color: #6a7282 !important;
    font-family: "Inter", sans-serif;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: -0.15px !important;
    margin: 0 !important;
    text-transform: capitalize !important;
    padding: 0 7px !important;
}

#selectLinkTop>li>label {
    display: flex;
}

html body .evenListRowS1 {
    background-color: var(--color-white);
}

.photo-uploads .upload-photos {
    margin-top: 6px;
}

body .link,
.td__wrapper a,
body .subpanel-table a:not(.listViewThLinkS1,
    body .listViewTdToolsS1) {
    color: var(--PB_color-primary) !important;
}

.functional__table .label {
    font-family: var(--body-fonts) !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 133.333% !important;
    padding: 4px 8px !important;
    border-radius: 8px !important;
}

body form#MassAssign_SecurityGroups {
    float: none;
    padding: 30px 20px;
    background: var(--PB-bg-color);
    margin-top: 24px !important;
    border-radius: 8px;
}

body #massassign_form {
    display: flex;
    gap: 30px;
}

body #massassign_form h3,
body #massassign_form h3 span {
    color: var(--title-color);
}

#massassign_form table {
    float: none;
}

body .listViewButtons .button {
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--body-fonts);
    color: var(--text-color);
    text-decoration: none;
    line-height: 1;
    border: 1px solid var(--PB-bg-color) !important;
    background-color: var(--PB-bg-color);
    margin: 0;
    transition: 0.35s all ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    outline: none !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: auto !important;
    opacity: 1;
    background-color: var(--PB_color-primary) !important;
    border-color: var(--PB_color-primary) !important;
    color: var(--color-white) !important;
}

body .listViewButtons .button:hover,
body .listViewButtons .button:hover:not(#delete_button, .primary):hover {
    background-color: var(--color-primary-light) !important;
    border-color: var(--color-primary-light) !important;
    color: var(--color-white) !important;
}

@media (max-width: 767.98px) {
    body #massassign_form {
        flex-direction: column;
        gap: 10px;
    }

    .functional__table .functional__table-head {
        background-color: var(--PB-bg-color);
        padding: 15px 10px;
        gap: 5px;
    }

    .functional__table .pagination_text {
        display: none;
    }

    .functional__table-pagination button {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        border-radius: 8px;
        background-color: var(--color-white);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .functional__table-pagination button:disabled {
        opacity: .8;
    }

    .functional__table #listViewStartButton_top,
    .functional__table #listViewEndButton_top {
        display: none;
    }

    .functional__table .functional__table-filters {
        gap: 3px;
    }

    .functional__table-filters button {
        font-size: 0;
        gap: 0;
    }

    .functional__table .functional__table-pagination {
        gap: 5px;
    }

    #selectLinkTop {
        margin-right: 0 !important;
    }

    .functional__table .sugar_action_button {
        padding: 7px !important;
    }
}

/* List view mobile cards – hidden on desktop */

.list__view-mobile {
    display: none;
}

.list__view-mobile-card {
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color, #e5e7eb);
    padding: 16px;
    margin-bottom: 12px;
    font-family: var(--body-fonts, inherit);
}

.list__view-mobile-card:last-child {
    margin-bottom: 0;
}

.list__view-mobile-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.list__view-mobile-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.list__view-mobile-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--PB_color-primary, #2563eb);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.list__view-mobile-photo-label {
    font-size: 13px;
    color: var(--text-color, #374151);
}

.list__view-mobile-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #667085;
    margin-bottom: 4px;
}

.list__view-mobile-card__name {
    margin-bottom: 14px;
}

.list__view-mobile-name-link,
.list__view-mobile-value-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--PB_color-primary, #2563eb);
    text-decoration: none;
}

.list__view-mobile-name-link:hover,
.list__view-mobile-value-link:hover {
    text-decoration: underline;
}

.list__view-mobile-name-value,
.list__view-mobile-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--title-color, #0a0a0a);
}

.list__view-mobile-card__twocol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-bottom: 14px;
}

.list__view-mobile-twocol-item--right {
    text-align: right;
}

.list__view-mobile-twocol-item--right .list__view-mobile-label,
.list__view-mobile-twocol-item--right .list__view-mobile-value,
.list__view-mobile-twocol-item--right .list__view-mobile-value-link {
    justify-content: flex-end;
}

.list__view-mobile-twocol-item--right .list__view-mobile-value-link {
    display: inline-block;
}

.list__view-mobile-card__fourcol {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 12px;
    margin-bottom: 14px;
}

.list__view-mobile-fourcol-item {
    min-width: 0;
}

.list__view-mobile-fourcol-item .list__view-mobile-value {
    font-size: 12px;
    font-weight: 700;
    word-break: break-word;
    color: var(--title-color);
}


.list__view-mobile-card__dates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 16px;
    margin-bottom: 14px;
}

.list__view-mobile-dates-item .list__view-mobile-value {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-color);
}

.list__view-mobile-card input[type=checkbox] {
    margin: 0 !important;
}

.list__view-mobile-card__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.list__view-mobile-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--PB_color-primary);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.list__view-mobile-action:hover {
    text-decoration: underline;
}

.list__view-mobile-action-icon {
    flex-shrink: 0;
}

.list__view-mobile-empty {
    padding: 15px;
    text-align: center;
    color: var(--text-color);
    font-size: 14px;
}


@media (max-width: 991.98px) {

    /* Mobile list view: show cards, hide table */
    .functional__table .list__view-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }

    .functional__table .functional__table-container {
        display: none !important;
    }

    .list__view-mobile-card__fourcol {
        grid-template-columns: repeat(2, 1fr);
    }

    .list__view-mobile-card__dates {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .functional__table .list__view-mobile {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*Functional Table Style End*/

/* ===================================
   UPSHEETS PAGE STYLE END
=================================== */


/* ===================================
   EMAILS PAGE STYLE START
=================================== */
.email__page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.email__page-head h3 {
    font-size: 16px;
    font-weight: 400;
    color: var(--title-color);
    margin: 0;
    line-height: 1.2;
    padding: 0 12px;
}

.email__head-btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#container.email,
#container.email div.yui-layout-doc {
    width: 100% !important;
    background-color: transparent !important;
    height: calc(100vh - 200px) !important;
}

body #container .yui-layout-unit-left .yui-layout-wrap,
body .yui-layout .yui-layout-unit div.yui-layout-bd,
body .yui-layout div.yui-layout-hd,
body .yui-layout #lefttabs,
body .yui-layout #lefttabs .yui-content {
    background-color: transparent !important;
    border: none !important;
}

body .yui-layout-unit-left.yui-resize .yui-layout-wrap .yui-layout-hd {
    padding: 0;
}

body .yui-layout .yui-layout-unit div.yui-layout-hd h2 {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    color: #4A5565;
    padding: 0 12px !important;
    background-color: transparent;
    margin: 0 0 12px 0 !important;
}

body .yui-layout #lefttabs .yui-content {
    padding: 0;
}

body .yui-layout .ygtvlabel {
    padding: 12px 12px 12px 42px !important;
    border-radius: 12px;
    /*box-shadow: 0 1px 3px 0 #0000001A;*/
    font-size: 16px;
    color: var(--text-color);
    line-height: 1;
    background-position: 12px center !important;
    background-size: 20px !important;
    display: flex;
    align-items: center;
}


body .yui-layout-unit {
    padding: 20px !important;
}

body .yui-layout .yui-layout-wrap,
body .yui-layout-unit {
    width: 100% !important;
}

/* ===================================
   EMAILS PAGE STYLE END
=================================== */


/* ===================================
   LEADS DETAIL PAGE STYLE START
=================================== */
body .panel {
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
}

.bidsTab .titleBar {
    background-color: #E8EAED;
    padding: 12px;
    color: #1E2939;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.312px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.panel-default>.panel-body {
    padding: 18px 24px 18px 24px;
}

.action-dropdown {
    position: relative;
    display: inline-flex;
    font-family: Arial, sans-serif;
}

.GMTV__card-head .action-dropdown .btn {
    border-radius: 7px !important;
    padding-inline: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.GMTV__card-content .action-dropdown .btn {
    border-radius: 7px !important;
    padding-inline: 1.5rem;
    padding-top: 7px;
    padding-bottom: 7px;
}

.action-main,
.action-toggle {
    background: #1e5bff;
    color: #fff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 0px;
}

.action-toggle {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0 8px 8px 0;
}

.action-main {
    border-radius: 8px 0 0 8px;
}



.action-toggle.open i {
    transform: rotate(180deg);
}

.action-dropdown .btn+.btn {
    border-left: 1px solid var(--color-white) !important;
    margin-left: -8px;
    border-radius: 0 10px 10px 0
}

.action-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 6px 0;
    min-width: 200px;
    display: none;
    z-index: 99;
    max-height: 300px;
    overflow-y: auto;
}

.action-menu li a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.action-delete-item:hover {
    background-color: #E7000B1A !important;
    color: #E7000B !important;
    font-weight: 500 !important;
}

.action-menu li a:hover {
    background: #E4EBFE;
}

.action-menu .active {
    background: #E4EBFE !important;
    color: #4571B5 !important;
}


/*--- GMTV Upload Card Style Start ---*/
.uploaded__images-container {
    margin-left: -12px;
    margin-right: -12px;
}

.uploaded__images-container>div {
    margin: 12px 0;
    padding-left: 12px;
    padding-right: 12px;
}

.GMTV__upload-card {
    background: #fff;
    border-radius: 12px;
    /* overflow: hidden; */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.GMTV__upload-card .GMTV__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
}

html body .GMTV__upload-card .custom-checkbox {
    font-weight: 600 !important;
    font-size: medium;
}

.GMTV__upload-card .GMTV__card-image {
    background: var(--PB-bg-light);
    padding-bottom: 56%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-color);
    font-family: var(--body-fonts);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 142.857%;
    letter-spacing: -0.15px;
}

.GMTV__upload-card .GMTV__card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}

.GMTV__upload-card .GMTV__card-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
}

.GMTV__upload-card .GMTV__upload-type {
    color: #E7000B;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    font-family: "Inter", sans-serif;
}

.GMTV__upload-card .GMTV__title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.GMTV__upload-card .GMTV__title-row h3 {
    font-size: 14px;
    margin: 0;
    color: #101828;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: -0.15px;
    font-family: "Inter", sans-serif;
}

.GMTV__upload-card .GMTV__card-menu-btn {
    font-size: 18px;
    cursor: pointer;
    color: #4A5565;
    padding: 0 5px;
}

.GMTV__upload-card .GMTV__upload-date {
    font-size: 12px;
    color: #6A7282;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.GMTV__upload-card .GMTV__upload-date button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.GMTV__upload-card .GMTV__menu-dropdown {
    position: absolute;
    right: 25px;
    top: 10px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    width: 120px;
    display: none;
}

.GMTV__upload-card .GMTV__menu-dropdown li {
    padding: 3px 5px;
    font-size: 12px;
    cursor: pointer;
    color: #6A7282;
    font-family: "Inter", sans-serif;
}

.GMTV__upload-card .GMTV__menu-dropdown li:hover {
    background: #f1f5f9;
}

.GMTV__upload-card .GMTV__menu-dropdown li a {
    display: block;
}

/*--- GMTV Upload Card Style End ---*/

.SubPanel__table .link-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    color: #4466AB;
}

.SubPanel__table .link-text:hover {
    text-decoration: underline;
}



/*--- SubPanel Style End ---*/



.detailView__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 30px;
    padding-top: 25px;
}

body .detailView__head .right__side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0;
    margin: 0;
    margin-left: auto;
    flex-wrap: wrap;
}

.detailView__head h2 {
    color: var(--title-color);
    font-family: var(--body-fonts);
    font-size: 20px;
    font-weight: 500 !important;
    line-height: 120% !important;
    letter-spacing: -0.312px !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.detailView__head .favorite {
    margin: 0;
    float: none;
}

@media (min-width: 992px) {
    .leads-sticky-header-wrap {
        min-height: 80px;
    }

    .leads-sticky-header {
        position: fixed;
        top: 68px;
        left: 240px;
        right: 0;
        z-index: 95;
        margin-bottom: 0;
        padding: 14px 30px;
        background-color: var(--color-white);
        border-bottom: 1px solid var(--border-color);
    }

    body.PB__sidebar-inactive .leads-sticky-header {
        left: 64px;
    }

    .leads-sticky-header .right__side .action-dropdown {
        margin-right: 5px;
    }
}

@media (min-width: 992px) {
    .opportunities-sticky-header-wrap {
        min-height: 80px;
    }

    .opportunities-sticky-header {
        position: fixed;
        top: 68px;
        left: 240px;
        right: 0;
        z-index: 95;
        margin-bottom: 0;
        padding: 14px 30px;
        background-color: var(--color-white);
        border-bottom: 1px solid var(--border-color);
    }

    body.PB__sidebar-inactive .opportunities-sticky-header {
        left: 64px;
    }
}

body .upsheets_detail_view {
    padding: 25px;
    background-color: var(--color-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

table.list.report-team thead th {
    color: #101828 !important; /* or #000000 */
}

table.list.report-team thead th a {
    color: inherit !important; /* or same hex */
}

.detail_nav {
    background: rgba(233, 233, 233, 0.60);
    border: 1px solid #E9E9E9 !important;
    padding: 0 !important;
    border-radius: 6px;
    display: flex;
    height: 63px;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    margin-bottom: 20px !important;

}

.detail_nav>li>a {
    gap: 8px;
    border-radius: 10px !important;
    padding: 12px !important;
    align-items: center !important;
    color: #4A5565 !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    letter-spacing: -0.31px !important;
    cursor: pointer;
    border: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.detail_nav>li>a path {
    fill: #4A5565;
}

.detail_nav>li.active>a,
.detail_nav>li>a:hover {
    background: var(--color-white) !important;
    color: #4571B5 !important;
}

.detail_nav>li.active>a path,
.detail_nav>li>a:hover path {
    fill: #4571B5;
}

.detail-view-tab-header {
    background: #E4EBFE;
    margin-top: 0px;
    padding: 16px 20px !important;
    border-radius: 8px 8px 0px 0px;
}

.tab-header-title {
    color: var(--title-color);
    font-family: var(--body-fonts);
    font-size: 18px;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.312px;
    margin: 0;
}

#vehicle-information-header {
    margin-top: 0 !important;
    padding: 16px 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible;
}

#vehicle-information-header .tab-header-title {
    font-weight: 400 !important;
    line-height: 1.35 !important;
    padding: 0;
    margin: 0;
    position: static;
}

body .light-color {
    color: var(--muted-color);
}

/* GMTV Cards */
.GMTV__container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-left: 35px;
    width: 100%;
    box-sizing: border-box;
}

/*--- Body Style End ---*/
.pricing__card {
    border: 1px solid #BEDBFF;
    border-radius: 10px;
    background: linear-gradient(135deg, #EFF6FF 0%, #EEF2FF 100%);
    font-family: "Inter", sans-serif;
    overflow: hidden;
}

.pricing__card .price__title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 500;
    color: #101828;
    line-height: 1.4;
    margin: 0;
    font-family: inherit;
}

.pricing__card .pricing__row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px 12px 14px;
}

.pricing__card .pricing__row>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    flex: 0 0 auto;
}

.pricing__card .pricing__row span {
    font-size: 12px;
    font-weight: 400;
    color: #155DFC;
    line-height: 1.4;
    display: block;
    font-family: inherit;
}


.pricing__card .pricing__bid {
    font-size: 24px;
    color: #101828;
    font-weight: 600;
    font-family: inherit;
}

.pricing__card .recommended__bid {
    color: #1447E6;
}

.pricing__card .pricing__percent {
    font-size: 12px;
    color: #00A63E;
    font-weight: 400;
    line-height: 1.4;
    display: block;
}


.pricing__accordion .pricing__accordion_head {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.15px;
    color: #1447E6;
    font-family: inherit;
    margin: 0;
    padding: 12px 20px;
    background-color: rgba(219, 234, 254, .5);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}

.pricing__accordion_head svg {
    line-height: 1;
}


.pricing__accordion_head svg {
    transition: transform 0.3s ease;
}

.pricing__accordion_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
    padding: 0 16px;
}

/* ACTIVE STATE */
.pricing__accordion.active .pricing__accordion_content {
    max-height: 300px;
    padding: 12px 16px 16px;
}

.pricing__accordion.active .pricing__accordion_head svg {
    transform: rotate(180deg);
}

/*--- Pricing Card Style End ---*/

.chatAI__card {
    padding: 15px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    border: 1px solid #E9D4FF;
    border-radius: 10px;
    background: linear-gradient(135deg, #FAF5FF 0%, #EEF2FF 100%);
    overflow: hidden;
    font-family: "Inter", sans-serif;
}

.chatAI__card .chatAI__title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    color: #101828;
    line-height: 1.4;
    font-family: inherit;
    width: 100%;
}

.chatAI__card p {
    font-size: 14px;
    color: #364153;
    letter-spacing: -0.15px;
    margin: 0;
    line-height: 1.65;
    width: 100%;
    font-family: inherit;
}

.chatAI__card a {
    background-color: #9810FA;
    font-size: 14px;
    color: #FFFFFF;
    letter-spacing: -0.15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 8px;
    line-height: 1.15;
    padding: 10px 24px;
    text-decoration: none;
    transition: 0.35s all ease-in-out;
    font-family: inherit;
}

.chatAI__card a:hover {
    filter: brightness(120%);
}

/*--- ChatAI Card Style End ---*/

.notes__card {
    border: 1px solid #FFF085;
    border-radius: 10px;
    background: linear-gradient(135deg, #FEFCE8 0%, #FFFBEB 100%);
    overflow: hidden;
    font-family: "Inter", sans-serif;
}

.notes__card .notes__head {
    padding: 20px;
    background: linear-gradient(135deg, #FEFCE8 0%, #FFFBEB 100%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notes__card .notes__card_title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    color: #101828;
    line-height: 1.4;
    font-family: inherit;
    width: 100%;
}

.notes__card label {
    width: 100%;
}

.notes__card textarea {
    border: 1px solid #FFDF20;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 400;
    color: #364153;
    letter-spacing: -0.15px;
    line-height: 1.4;
    resize: none;
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
}

.notes__card textarea::placeholder {
    color: #99A1AF;
}

.notes__card textarea:focus {
    outline: none;
}

.notes__card .notes__btn {
    background-color: #BAA002;
    border: none;
    font-size: 14px;
    color: #FFFFFF;
    letter-spacing: -0.15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 8px;
    line-height: 1.15;
    padding: 10px 24px;
    text-decoration: none;
    transition: 0.35s all ease-in-out;
    font-family: inherit;
    cursor: pointer;
}

.notes__card .notes__btn:hover {
    filter: brightness(120%);
}

.notes__card .notes__body {
    padding: 16px 20px;
    border-top: 1px solid #FFF085;
    ;
}

.notes__card .notes__body_title {
    font-size: 14px;
    font-weight: 500;
    color: #A65F00;
    letter-spacing: -0.15px;
    margin: 0 0 12px 0;
    line-height: 1.4;
}


.notes__card .saved__note {
    padding: 12px;
    border: 1px solid #FFF085;
    background-color: #fff;
    border-radius: 8px;
}

.notes__card .saved__note_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    font-size: 12px;
    font-weight: 400;
    font-family: inherit;
    margin-bottom: 10px;
}

.notes__card .saved__note_head span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.notes__card .saved__note_head span:first-child {
    font-weight: 500;
    color: #A65F00;
}

.notes__card .saved__note_head span:last-child {
    color: #99A1AF;
}

.notes__card .saved__note p {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    color: #364153;
    letter-spacing: -0.15px;
    margin: 0;
}


.saved__note+.saved__note {
    margin-top: 12px;
}

.detail-view-field .badge {
    border-width: 1px;
    border-radius: 8px;
    padding-top: 2px;
    padding-right: 8px;
    padding-bottom: 2px;
    padding-left: 8px;
    color: #fff;
}

.notes__card .show-more-notes {
    color: #A65F00;
    margin: 10px 0px;
    text-decoration: underline;
}

#notes-body .note-hidden {
    display: none;
}


.photos__slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    font-family: "Inter", sans-serif;
}

.photos__slider .photos__slider-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 69%;
    border: 1px solid #E5E7EB;
    font-size: 0;
}

.photos__slider .photos__slider-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.4s ease;
    position: absolute;
    left: 0;
    top: 0;
}

.photos__slider .photos__btn-prev,
.photos__slider .photos__btn-next {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    border: none !important;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    transition: 0.3s;
}

.photos__slider .photos__btn-prev:hover,
.photos__slider .photos__btn-next:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.photos__slider .photos__btn-next {
    left: auto;
    right: 12px;
}

.photos__slider .photos__counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    font-family: inherit;
    color: #101828;
    line-height: 1.5;
}

.photos__slider .photos__slider-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    background-color: #F9FAFB;
    padding: 8px 5px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.photos__slider-thumbs::-webkit-scrollbar {
    display: none;
}

.photos__slider .photos__slider-thumbs img {
    width: 64px;
    height: 48px;
    flex: 0 0 64px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid #D1D5DC;
    transition: 0.3s;
}

.photos__slider .photos__slider-thumbs img.active {
    opacity: 1;
    border-color: #2B7FFF;
}

.photos__slider #photos__mainImage {
    cursor: pointer;
}

.gallery__modal {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery__modal-container {
    max-width: 1160px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    padding: 100px;
    background-color: #FFF;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.gallery__modal-container:after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
}

.gallery__modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    z-index: 10;
}

.photos__modal .gallery__modal-container {
    padding: 60px 40px 60px;
}

.photos__modal .photos__modal-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 85vh;
}

.photos__modal .photos__modal-content img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gallery__modal .gallery__modal-prev,
.gallery__modal .gallery__modal-next {
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none !important;
}

.gallery__modal .gallery__modal-prev {
    left: 15px;
}

.gallery__modal .gallery__modal-next {
    right: 15px;
}

.gallery__modal .gallery__modal-prev img,
.gallery__modal .gallery__modal-next svg,
.gallery__modal .gallery__modal-next img,
.gallery__modal .gallery__modal-prev svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery__modal-slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
}

.gallery__modal-img {
    width: 100%;
    height: 100%;
    text-align: center;
    transition: 0.5s all ease-in-out;
    overflow: hidden;
    padding-bottom: 60%;
    font-size: 0;
}


.gallery__modal-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    left: 0;
    top: 30px;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    transition: 0.5s all ease-in-out;
    border-radius: 10px;
}

.gallery__modal-img.active img {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    top: 0;
    cursor: zoom-in;
}

.gallery__modal-img.active img.zoomed {
    transform: scale(2);
    cursor: zoom-out;
    transition: transform 0.3s ease-in-out;
    transform-origin: center center;
}

.gallery__modal-img.active.zoomed {
    overflow: auto;
    cursor: zoom-out;
}

.gallery__modal-img.active.zoomed img {
    cursor: zoom-out;
}

.photos__slider-main {
    cursor: pointer;
}

.photos__slider-main img {
    transition: opacity 0.2s;
}

.gallery__slides-counter {
    background-color: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .5);
    font-size: 14px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    padding: 8px 15px;
    border-radius: 35px;
    color: #FFF;
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
}

@media (max-width: 1700px) {
    .gallery__modal-container {
        padding: 60px;
    }

    .gallery__modal .gallery__modal-prev,
    .gallery__modal .gallery__modal-next {
        width: 40px;
    }

    .gallery__slides-counter {
        bottom: 15px;
    }
}

/*--- Photos Slider Style End ---*/


/* SubPanel style start */

.SubPanel__table {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: "Inter", sans-serif;
    margin-bottom: 20px;
}

.SubPanel__table .SubPanel__header {
    background-color: #E4EBFE;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
}

.SubPanel__table .SubPanel__header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.SubPanel__table .SubPanel__header-left.SubPanel__toggle {
    cursor: pointer;
    user-select: none;
}

.SubPanel__table .SubPanel__chevron {
    transition: transform 0.3s ease;
    display: inline-block;
}

.SubPanel__table .SubPanel__chevron.SubPanel__chevron-rotated {
    transform: rotate(180deg);
}

.SubPanel__table .SubPanel__header-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.SubPanel__table .SubPanel__header h3 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.44px;
    color: #101828;
    font-family: inherit;
    line-height: 1.5;
    margin: 0;
}

.SubPanel__table .SubPanel__btn {
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1;
    letter-spacing: -0.15px;
    border: 1px solid rgba(0, 0, 0, .1);
    background-color: #fff;
    color: #0A0A0A;
    transition: background-color 0.2s;
}

.SubPanel__table .SubPanel__btn:hover {
    background-color: #f5f5f5;
}

.SubPanel__table .SubPanel__btn-primary {
    background-color: #155DFC;
    border-color: #155DFC;
    color: #fff;
}

.SubPanel__table .SubPanel__btn-primary:hover {
    background-color: #0056b3;
}

.SubPanel__btn span {
    line-height: 1
}


.SubPanel__table-container {
    overflow-x: auto;
}

.SubPanel__table table {
    width: 100%;
    border-collapse: collapse;
}

.SubPanel__table thead {
    background-color: #f8f9fa;
}

.SubPanel__table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #4A5565;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: none;
}

.SubPanel__table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    color: #4A5565;
}

.SubPanel__table tbody tr:hover {
    background-color: #f8f9fa;
}

.SubPanel__table .type-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.SubPanel__table .type-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.SubPanel__table .icon-call {
    color: #1976d2;
}

.SubPanel__table .icon-email {
    color: #7b1fa2;
}

.SubPanel__table .icon-text {
    color: #388e3c;
}

.SubPanel__table .icon-note {
    color: #616161;
}

.SubPanel__table .type-text {
    font-weight: 500;
    width: 80px;
}

.SubPanel__table .status {
    padding: 0;
    display: inline-block;
}

.SubPanel__table .status-completed,
.SubPanel__table .status-sent,
.SubPanel__table .status-delivered,
.SubPanel__table .status-logged {
    color: #00A63E;
}

.SubPanel__table .status-received {
    color: #155DFC;
}

.SubPanel__table .subject {
    max-width: 600px;
    display: block;
    color: #101828;

}

.SubPanel__table .SubPanel__pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 20px;
    background-color: transparent;
    gap: 12px;
}

.SubPanel__table .pagination-info {
    font-size: 12px;
    color: #6A7282;
    font-weight: 400;
    line-height: 1;
    margin-right: 8px;
}

.SubPanel__table .pagination-btn {
    width: 25px;
    height: 25px;
    border-radius: 4px;
    border: none;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    margin: 0;
}

.SubPanel__table .pagination-btn:hover {
    background-color: #f5f5f5;
}

.SubPanel__table .pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: transparent;
}

.SubPanel__table .arrow-icon {
    width: 24px;
    height: 24px;
    color: #4A5565;
}

.SubPanel__table .type-email {
    color: #a735fa;
}

.SubPanel__table .type-call {
    color: #2367fc;
}

.SubPanel__table .type-sms {
    color: #35b866;
}

.SubPanel__table .priority {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;

}

.SubPanel__table .priority-High {
    color: #E7000B;
}

.SubPanel__table .priority-Medium {
    color: #D08700;

}

.SubPanel__table .priority-Low {
    color: #D08700;

}

.SubPanel__table .bid-status {
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0px;
}

.SubPanel__table .bid-status-approved {
    background-color: #DCFCE7;
    color: #008236;
}

.SubPanel__table .bid-status-rejected {
    background-color: #FEE2E2;
    color: #A65F00;
}

.SubPanel__table .bid-status-review {
    background-color: #FEF9C2;
    color: #A65F00;
}

.SubPanel__table #top-bid-amount {
    color: #00A63E;
}

.SubPanel__table .bid-amount {
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.SubPanel__table .direction {
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;

}

.SubPanel__table .direction-incoming {
    color: #155DFC;
}

.SubPanel__table .direction-outgoing {
    color: #9810FA;
}

.SubPanel__table .message-status {
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.SubPanel__table .message-status-delivered {
    color: #00A63E;
}

.SubPanel__table .message-status-failed {
    color: #155DFC;
}

/*--- GMTV Modal Style Sart ---*/
.GMTV__modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: "Inter", sans-serif;
    transition: 0.35s all ease-in-out;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
}

.GMTV__modal .GMTV__modal-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0, 0, 0, .5);
}

.GMTV__modal .GMTV__modal-container {
    background-color: #FFFFFF;
    border-radius: 10px;
    max-width: 512px;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .1);
}

.GMTV__modal .GMTV__modal-header {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #E5E7EB;
}

.GMTV__modal .GMTV__modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.44px;
    color: #101828;
    margin: 0;
    font-family: "Inter", sans-serif;
}

.GMTV__modal .GMTV__modal-close {
    background-color: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
    line-height: 1;
}


.GMTV__modal .GMTV__modal-body {
    padding: 20px 24px;
    max-height: calc(100vh - 170px);
    overflow: auto;
}

.GMTV___form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
}

.GMTV___form-group:last-child {
    margin-bottom: 0;
}

.GMTV___form-group>* {
    margin: 0;
}

.GMTV___form-group label {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: #364153;
    font-family: "Inter", sans-serif;
    margin: 0;
}

.GMTV___form-group .GMTV__form-element {
    background-color: #F3F3F5;
    padding: 7px 12px;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 400;
    color: #717182;
    line-height: 1.55;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #F3F3F5;
    outline: none;
    box-shadow: none;
}

.GMTV___form-group textarea.GMTV__form-element {
    height: 64px;
    resize: none;
}

.GMTV___form-group .GMTV__form-element:focus {
    border-color: #155DFC;
}

.GMTV__radios {
    display: flex;
    flex-wrap: wrap;
    column-gap: 15px;
    row-gap: 10px;
}

.GMTV__modal-footer {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #E5E7EB;
}

.GMTV__btn-light {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.15px;
    color: #0A0A0A;
    padding: 8px 15px;
    border: 1px solid rgba(0, 0, 0, .1);
    background-color: #FFFFFF;
    border-radius: 8px;
    transition: 0.35s all ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.GMTV__btn-light:hover {
    background-color: #f5f5f5;
}

.GMTV__btn-primary {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.15px;
    color: #FFFFFF;
    padding: 8px 15px;
    border: 1px solid #155DFC;
    background-color: #155DFC;
    border-radius: 8px;
    transition: 0.35s all ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.GMTV__btn-primary:hover {
    background-color: #0056b3;
}

.GMTV__upload-box {
    border: 2px solid #D1D5DC;
    border-radius: 10px;
    padding: 34px 18px;
    text-align: center;
    margin: auto;
    background: #F9FAFB;
    position: relative;
    width: 100%;
}

.GMTV__upload-box .GMTV__upload-icon {
    font-size: 40px;
    color: #aab0bd;
    margin-bottom: 12px;
}

.GMTV__upload-box .GMTV__upload-text {
    font-size: 16px;
    color: #101828;
    margin: 0;
    font-weight: 400;
    line-height: 1.35;
    font-family: "Inter", sans-serif;
}

.GMTV__upload-or {
    display: block;
    margin: 12px 0;
    color: #6A7282;
    font-size: 14px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
}

.GMTV__upload-btn {
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid #e1e4ea;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
}

/* Hidden file input */
.GMTV__upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.GMTV__members {
    width: 100%;
}

.GMTV__members .GMTV__members-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #364153;
    font-family: "Inter", sans-serif;
}

.GMTV__members .GMTV__members-header a {
    color: #155DFC;
    text-decoration: none;
    font-weight: 500;
    font-family: inherit;
}

.GMTV__members .GMTV__members-list {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow-y: auto;
    height: 500px;
}

.GMTV__members .GMTV__member {
    display: flex;
    gap: 12px;
    cursor: pointer;
    padding: 10px;
}

.GMTV__member+.GMTV__member {
    border-top: 1px solid #E5E7EB;
}

.GMTV__member input {
    margin-top: 4px;
}

.GMTV__members-info strong {
    display: block;
    font-size: 16px;
    color: #101828;
    letter-spacing: -0.31px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
}

.GMTV__members-info span {
    display: block;
    font-size: 14px;
    color: #6A7282;
    font-weight: 400;
    letter-spacing: -0.15px;
    font-family: "Inter", sans-serif;
}


body.modal-open {
    overflow: hidden;
}

.GMTV__modal.active {
    z-index: 99999999;
    opacity: 1;
    visibility: visible;
}

/*--- GMTV Modal Style End ---*/


.basic_info-card-top {
    display: flex;
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 0.794px solid #BEDBFF;
    background: #EFF6FF;
    margin-bottom: 20px;
    width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .basic_info-card-top {
        display: none;
    }
}

.basic_info-card-top h3 {
    color: #101828;
    font-family: var(--body-fonts);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.439px;
    margin: 0 0 12px 0;
}

.basic_info-card-top>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    gap: 5px;
}

.basic_info-card-top>div p,
.basic_info-card-top>div span {
    color: var(--text-color);
    font-family: var(--body-fonts);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.basic_info-card-top>div span {
    color: var(--title-color);
}

.basic_info-card-top .basic-ino-current-bid {
    color: #00A63E !important;
}


.right_side .vhr-card {
    box-shadow: 0px 0px 4px 1px #0000001A;
    border-radius: 10px;
    padding: 15px;
    background-color: var(--color-white);
}

.light-color {
    color: #b1b6be;
}

.fw-600 {
    font-weight: 600;
}

.mileage-span {
    font-weight: 600;
    background: #F9FAFB;
    padding: 4px 10px;
    border: 1px solid #D1D5DC;
    border-radius: 20px;
    font-size: 12px;
    line-height: 16px;
}

.vhr-report {
    padding: 8px;
    font-size: 12px;
    line-height: 16px;
    border-radius: 10px;
    font-weight: 600;
}

.vhr-report-container {
    gap: 30px;
}

.overview-cards {
    margin-bottom: 30px;
    box-shadow: 0px 1px 3px 0px #0000001A;
    border-radius: 10px;
    padding: 0 0 18px;
    overflow: hidden;

}

.overview-cards .detail-label {
    position: relative;
    display: inline-block;
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475467;
    margin-bottom: 6px;
    padding-bottom: 4px;
}

.overview-cards .detail-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    border-radius: 2px;
    background-color: #4A6EB7;
}

.overview-cards .detail-value {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.2px;
    color: #101828;
}

.overview-cards .detail-phone-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.overview-cards .detail-phone-row .detail-value {
    margin: 0;
}

.overview-cards .detail-phone-row .detail-mobile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.overview-cards .seller-info-edit .edit-view-label,
.overview-cards .std-section .std-label,
.overview-cards .std-section .detail-label {
    position: relative;
    display: inline-block;
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475467;
    margin-bottom: 6px;
    padding-bottom: 4px;
}

.overview-cards .seller-info-edit .edit-view-label::after,
.overview-cards .std-section .std-label::after,
.overview-cards .std-section .detail-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    border-radius: 2px;
    background-color: #4A6EB7;
}

.overview-cards .seller-info-edit .detail-view-value,
.overview-cards .std-section .detail-view-value {
    display: block;
    color: #101828;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.2px;
}

/* Subtle grouped cards for dense read-only sections */
.overview-cards .detail-info-group {
    border: 1px solid #E7ECF5;
    border-radius: 10px;
    background: #FBFCFF;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.overview-cards .detail-info-group:last-child {
    margin-bottom: 0;
}

.overview-cards .detail-info-group .detail-view-row-item,
.overview-cards .detail-info-group .edit-view-row-item {
    margin-bottom: 8px !important;
    padding-bottom: 8px;
    border-bottom: 1px solid #EEF2F8;
}

.overview-cards .detail-info-group .detail-view-row-item:last-child,
.overview-cards .detail-info-group .edit-view-row-item:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0;
    border-bottom: 0;
}

/* Row separation for Seller Info / More Info / STD
   Option 1 (active): subtle divider lines
   Option 2 (optional): zebra rows, enable by adding class "row-style-zebra" to .overview-cards */
.overview-cards .seller-info-edit .detail-view-row-item,
.overview-cards .more-info-section .detail-view-row-item,
.overview-cards .std-section .detail-view-row-item,
.overview-cards .std-section .edit-view-row-item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #E9EEF7;
}

.overview-cards .seller-info-edit .detail-view-row-item:last-child,
.overview-cards .more-info-section .detail-view-row-item:last-child,
.overview-cards .std-section .detail-view-row-item:last-child,
.overview-cards .std-section .edit-view-row-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.overview-cards.row-style-zebra .seller-info-edit .detail-view-row-item,
.overview-cards.row-style-zebra .more-info-section .detail-view-row-item,
.overview-cards.row-style-zebra .std-section .detail-view-row-item,
.overview-cards.row-style-zebra .std-section .edit-view-row-item {
    border-bottom: 0;
    margin-bottom: 6px;
    padding: 8px 10px;
    border-radius: 8px;
}

.overview-cards.row-style-zebra .seller-info-edit .detail-view-row-item:nth-child(odd),
.overview-cards.row-style-zebra .more-info-section .detail-view-row-item:nth-child(odd),
.overview-cards.row-style-zebra .std-section .detail-view-row-item:nth-child(odd),
.overview-cards.row-style-zebra .std-section .edit-view-row-item:nth-child(odd) {
    background-color: #F8FAFF;
}

.overview-cards .detail-view-row {
    padding: 8px 20px;
}

.overview-cards .detail-view-row-item {
    margin-bottom: 8px;
}

.overview-cards .detail-view-row-item .form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.overview-cards .detail-view-row-item .form-group br {
    display: none;
}

.overview-cards .status-highlight-card {
    width: 60%;
    max-width: 420px;
    padding: 12px 14px;
    border: 1px solid #C9D8F3;
    border-left: 4px solid #4A6EB7;
    border-radius: 10px;
    background: linear-gradient(180deg, #F6F9FF 0%, #EDF3FE 100%);
    box-shadow: inset 0 0 0 1px #E0EAFC;
    margin-left: -6px;
}

.overview-cards .status-highlight-card .detail-label {
    margin-bottom: 8px;
}

.overview-cards .status-highlight-card .badge {
    box-shadow: 0 2px 8px rgba(74, 110, 183, 0.25);
}

.overview-cards .status-detail-highlight-card {
    width: 60%;
    max-width: 420px;
    padding: 12px 14px;
    border: 1px solid #D8E4F8;
    border-left: 4px solid #4A6EB7;
    border-radius: 10px;
    background: #F8FAFF;
    margin-left: -6px;
}

.overview-cards .status-detail-highlight-card .detail-label::after {
    width: 24px;
    opacity: 0.7;
}

.overview-cards .email-address {
    color: #155DFC;
}

.overview-cards .email-address:hover {
    text-decoration: underline;
}

.action__bar .first-heading {
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.31px;
    color: #101828;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.overview-cards .detail-view-row:last-child,
.overview-cards:last-child {
    margin-bottom: 0;
}

.ovreview__inner-box {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--PB-bg-light);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-left: 15px;
    margin-right: 15px;
}

.ovreview__inner-box+.ovreview__inner-box {
    margin-top: 24px;
}

.ovreview__inner-box h5 {
    color: var(--title-color);
    font-family: var(--body-fonts);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
}

.ovreview__inner-box-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 5px;
    row-gap: 15px;
}

.ovreview__inner-box-content.with__bg {
    background-color: var(--color-white);
    border-radius: 10px;
    border: 1px solid rgba(164, 164, 164, 0.50);
    background: #FFF;
    box-shadow: 0 0.5px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 15px;
}

.ovreview__inner-box .ovreview__inner-box-content>div>p {
    position: relative;
    display: inline-block;
    color: #475467;
    font-family: var(--body-fonts);
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 6px;
    padding-bottom: 4px;
}

.ovreview__inner-box .ovreview__inner-box-content>div>p::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    border-radius: 2px;
    background-color: #4A6EB7;
}

.ovreview__inner-box .ovreview__inner-box-content>div>span {
    display: block;
    color: var(--title-color);
    font-family: var(--body-fonts);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: -0.2px;
    margin: 0;
}

.ovreview__inner-box .ovreview__inner-box-content.with__bg span {
    color: var(--color-dark);
    font-size: 16px;
}


html body .nav__outside-tabs {
    display: none !important;
}

@media (max-width: 1199.98px) {

    html body .nav__outside-tabs,
    .details___row_wrapper .nav-tabs,
    body .detail_nav {
        width: 100%;
        margin-bottom: 0 !important;
    }

    html body .nav__outside-tabs {
        display: flex !important;
    }

    html body .nav__inside-tabs {
        display: none !important;
    }

    body .details___row_wrapper {
        row-gap: 30px;
    }

    body .details__content-col {
        order: 12;
    }

    body .details___row_wrapper:before {
        content: none;
    }

    body .details___row_wrapper>div {
        width: 100%;
        float: none;
    }

    body .GMTV__container {
        padding-left: 0;
    }

    .detailView__head {
        padding-top: 50px;
    }


}

@media (max-width: 991.98px) {
    .detailView__head {
        flex-wrap: wrap;
        justify-content: initial;
        gap: 0;
        row-gap: 20px;
    }

    .detailView__head h2 {
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    .detailView__head {
        padding-top: 15px;
    }

    body .detailView__head .right__side {
        gap: 5px;
    }

    body .detailView__head .right__side .btn {
        padding: 10px 12px;
    }

    body .upsheets_detail_view {
        padding: 20px 15px;
        padding: 0;
        border: none;
        box-shadow: none;
        background-color: transparent;
    }

    body .overview-cards {
        background-color: var(--color-white);
        padding: 0;
    }

    .chatAI__card a {
        width: 100%;
    }

    .details___row_wrapper .nav-tabs {
        gap: 4px;
    }

    .details___row_wrapper .panel-default>.panel-body {
        overflow-x: auto;
        padding: 20px 0 !important;
    }

    .detail-view-row,
    .edit-view-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .overview-cards .detail-view-row-item+.detail-view-row-item,
    .overview-cards .edit-view-row-item+.edit-view-row-item {
        border-top: 1px solid #F2F4F7;
        margin-bottom: 0;
    }

    .overview-cards .detail-view-row-item,
    .overview-cards .edit-view-row-item {
        margin-bottom: 0 !important;
        padding: 15px 10px !important;
        justify-content: space-between !important;
        width: 100%;
    }

    .detail-view-row-item .form-group,
    .edit-view-row-item .form-group {
        display: flex;
        gap: 5px;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
        padding: 0 !important;
    }

    .detail-view-row-item .form-group label,
    .edit-view-row-item .form-group label,
    .seller-info-edit .edit-view-label {
        color: #667085;
        font-size: 13px;
        font-style: normal;
        font-weight: 700;
        line-height: 1.5;
        letter-spacing: -0.325px;
        text-transform: uppercase;
        margin-bottom: 0;
        font-family: var(--body-fonts);
    }

    body .detail-view-row-item .detail-value,
    body .edit-view-row-item .detail-value,
    .seller-info-edit .edit-view-field {
        color: var(--title-color);
        text-align: right;
        font-size: 13px;
        font-style: normal;
        font-weight: 900;
        line-height: 1.5;
        font-family: var(--body-fonts);
    }

    .seller-info-edit .seller-info-col,
    .seller-info-edit {
        padding: 0 !important;
    }

    .details___row_wrapper .nav-tabs>li>a {
        padding: 10px 12px !important;
        background-color: transparent !important;
        font-size: 12px !important;
        flex-direction: column;
    }

    body .detail_nav,
    body .detail_nav {
        background-color: transparent;
        border: none !important;
        border-bottom: 1px solid #E9E9E9 !important;
        height: auto !important;
        border-radius: 0 !important;
    }

    .details___row_wrapper .nav-tabs,
    body .detail_nav {
        padding: 0 !important;
        justify-content: space-between;
    }

    .details___row_wrapper .nav-tabs>li>a,
    body .detail_nav>li>a {
        padding: 8px 4px !important;
        background-color: transparent !important;
        font-size: 11px !important;
        white-space: nowrap;
        font-weight: 600;
        border-bottom: 2px solid rgba(0, 0, 0, 0.00) !important;
        border-radius: 0 !important;

    }

    .details___row_wrapper .nav-tabs>.active>a,
    body .detail_nav>.active>a {
        border-bottom: 2px solid #4367B0 !important;
        background: rgba(239, 246, 255, 0.30) !important;
    }
}

@media (max-width: 767.98px) {


    .overview-cards .detail-view-row-item {
        flex-wrap: nowrap;
        display: flex;
        width: 100% !important;
    }

    .uploaded__images-container>div {
        width: 100% !important;
    }

    .bidsTab .titleBar {
        font-weight: 700 !important;
        font-size: 14px !important;
    }

    .bidsTab .titleBar .action-dropdown .btn {
        padding: 10px 10px !important;
    }

    .details___row_wrapper .nav-tabs {
        gap: 1px;
    }
}

/* ===================================
   LEADS DETAIL PAGE STYLE END
=================================== */





/* ===================================
    DEALS Edit View PAGE AUTOCOMPLETE Input STYLE START
=================================== */

.yui-ac-content li.yui-ac-highlight {
    color: #101828 !important;
    border-bottom: 1px solid rgba(229, 231, 235, 0.40) !important;
    background: #E4EBFE !important;
}

/* Related to (parent_type + parent_name): beat html body #EditView_tabs input{width:100%} in style.css.
   Do not rely on #whole_subpanel_tasks — this #EditView_tabs is often not nested under that li in custom layouts.
   :has(select#parent_type) limits rules to the Parent/Related-to widget only (not Contact Name / other relates). */
html body #EditView_tabs .yui-ac:has(select#parent_type) {
    gap: 8px;
}

html body #EditView_tabs .yui-ac:has(select#parent_type) select#parent_type {
    width: auto !important;
    max-width: 220px;
    flex: 0 0 auto !important;
}

html body #EditView_tabs .yui-ac:has(select#parent_type) .yui-ac-container {
    width: auto !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    min-width: 0 !important;
    float: none !important;
}

html body #EditView_tabs .yui-ac:has(select#parent_type) span.id-ff.multiple {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
}

html body #EditView_tabs .yui-ac:has(select#parent_type) input#parent_name.sqsEnabled.yui-ac-input,
html body #EditView_tabs .yui-ac:has(select#parent_type) input#parent_name {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    margin-right: 8px;
}

html body #EditView_tabs .yui-ac:has(select#parent_type) select#parent_type+input:not([type="checkbox"]):not([type="radio"]) {
    margin-top: 0 !important;
}

html body #EditView_tabs .yui-ac:has(select#parent_type) #parent_name {
    margin-top: 0 !important;
}

#EditView_tabs .detail-view-row-item {
    margin: 7px 0px !important;
}
#EditView_tabs .detail-view-row-item .form-group {
    display: block !important;
}

/* ===================================
    DEALS Edit View PAGE AUTOCOMPLETE Input STYLE END
=================================== */


/* Mobile list view: vehicle and other value links – blue link style */
.list__view-mobile-value-link {
    color: #0066cc !important;
    text-decoration: none !important;
}

.list__view-mobile-value-link:hover {
    color: #004499 !important;
    text-decoration: underline !important;
}

.list__view-mobile-value-link:visited {
    color: #551a8b !important;
}


/* ===================================
    COMPOSE EMAIL PAGE MASK STYLE START
=================================== */

body .mask {
    z-index: 2 !important;
}

/* Keep dashlet configure dialog above the YUI page mask on Home. */
body.yui-skin-sam.masked .yui-panel-container.yui-dialog.yui-simple-dialog.shadow#dlg_c {
    z-index: 1000 !important;
}

body .yui-module .hd,
body .yui-panel .hd {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #FFF;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}

body .yui-module .hd {
    border-radius: 10px 10px 0 0;
    color: #101828;
    font-family: var(--body-fonts);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: -0.439px;
}

body .yui-panel .bd {
    border-radius: 0 0 10px 10px;
}

/*
 * Quick compose: keep the YUI panel as a true floating dialog so the built-in
 * drag handle and bottom-right resize control remain usable.
 */
body.masked:has(#container1_c),
body.yui-skin-sam.masked:has(#container1_c) {
    overflow-y: auto !important;
}

body.masked:has(#container1_c) .mask,
body.yui-skin-sam.masked:has(#container1_c) .mask {
    pointer-events: none !important;
    background: rgba(15, 23, 42, 0.12) !important;
}

@media (min-width: 992px) {

    #container1_c.yui-panel-container,
    #container1_c.yui-panel-container.shadow {
        position: fixed !important;
        max-width: calc(100vw - 48px) !important;
        max-height: calc(100vh - 48px) !important;
        box-sizing: border-box !important;
        z-index: 16000 !important;
    }

    body.PB__sidebar-inactive #container1_c.yui-panel-container,
    body.PB__sidebar-inactive #container1_c.yui-panel-container.shadow {
        z-index: 16000 !important;
    }

    #container1.yui-panel.yui-overlay,
    #container1.yui-module.yui-overlay.yui-panel {
        max-width: calc(100vw - 48px) !important;
        max-height: calc(100vh - 48px) !important;
        min-width: 400px !important;
        min-height: 550px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        top: auto !important;
    }

    #container1 .hd {
        cursor: move !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    #container1 .hd .container-close {
        order: 3 !important;
        margin-left: 8px !important;
        width: 32px !important;
        height: 32px !important;
        border: 1px solid #d7deea !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        color: #334155 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
        transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease !important;
    }

    #container1 .hd .container-close:hover {
        background: #eff6ff !important;
        border-color: #93c5fd !important;
        color: #2563eb !important;
        box-shadow: 0 10px 22px rgba(37, 99, 235, 0.12) !important;
    }

    .pb-compose-window-controls {
        order: 2;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        margin-right: 4px;
    }

    .pb-compose-window-btn {
        width: 32px;
        height: 32px;
        border: 1px solid #d7deea;
        border-radius: 10px;
        background: #fff;
        color: #334155;
        line-height: 1;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
        transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
    }

    .pb-compose-window-btn:hover {
        background: #eff6ff;
        border-color: #93c5fd;
        color: #2563eb;
        box-shadow: 0 10px 22px rgba(37, 99, 235, 0.12);
        transform: translateY(-1px);
    }

    .pb-compose-window-icon {
        position: relative;
        display: block;
        width: 14px;
        height: 14px;
    }

    .pb-compose-window-icon-minimize::before {
        content: "";
        position: absolute;
        left: 1px;
        right: 1px;
        bottom: 2px;
        height: 1.75px;
        border-radius: 999px;
        background: currentColor;
    }

    .pb-compose-window-icon-maximize::before,
    .pb-compose-window-icon-maximize::after {
        content: "";
        position: absolute;
        border: 1.75px solid currentColor;
        border-radius: 3px;
        width: 9px;
        height: 9px;
        box-sizing: border-box;
    }

    .pb-compose-window-icon-maximize::before {
        top: 2px;
        left: 2px;
    }

    .pb-compose-window-icon-maximize::after {
        display: none;
    }

    .pb-compose-maximize.is-restore .pb-compose-window-icon-maximize::before {
        top: 4px;
        left: 1px;
    }

    .pb-compose-maximize.is-restore .pb-compose-window-icon-maximize::after {
        display: block;
        top: 1px;
        left: 4px;
        background: #ffffff;
    }

    #container1 .bd {
        padding: 0 !important;
        max-height: calc(100vh - 120px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    #container1_c.pb-compose-is-maximized,
    #container1_c.pb-compose-is-maximized.shadow {
        top: 16px !important;
        left: 16px !important;
        right: 16px !important;
        width: calc(100vw - 32px) !important;
        height: calc(100vh - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        max-height: calc(100vh - 32px) !important;
    }

    #container1.pb-compose-is-maximized {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
    }

    #container1 .bd .yui-layout-bd.yui-layout-bd-nohd.yui-layout-bd-noft {
        height: auto !important;
        min-height: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* YUI Layout: force the compose stack to span the full panel body width (no inset “dead” strip on the right). */
    #container1 .bd .email,
    #container1 .bd .email .yui-layout,
    #container1 .bd .email .yui-layout-doc,
    #container1 .bd .email .yui-layout-unit,
    #container1 .bd .email .yui-layout-wrap {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    div[id^="composeOverFrame"] {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        /* space-between + margin-left:auto on the rail + form width:calc(100%-280px) leaves free space; use normal flex fill instead */
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    div[id^="composeOverFrame"] > form[id^="emailCompose"] {
        order: 1 !important;
    }

    div[id^="composeOverFrame"] > [id^="composeTSContainer"] {
        order: 2 !important;
    }

    div[id^="composeOverFrame"] > :not(form):not([id^="composeTSContainer"]) {
        display: none !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        overflow: hidden !important;
    }

    form[id^="emailCompose"] {
        flex: 1 1 0% !important;
        /* Override JS inline width/max-width so flex allocates: [grow] | 280px rail flush right */
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
        padding-bottom: 24px !important;
        box-sizing: border-box !important;
    }

    [id^="composeTSContainer"] {
        flex: 0 0 280px !important;
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        flex-shrink: 0 !important;
        align-self: stretch !important;
        margin: 0 !important;
        border-left: 1px solid var(--border-color, #e0e0e0) !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        background: #f7f8fa !important;
        /* Full-height right rail: sticky inside scrolling .bd broke the visual column;
           stretch with flex + inner flex fills the pane so border/background read as one bar. */
        position: relative !important;
        top: auto !important;
        right: auto !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        height: auto !important;
        overflow: visible !important;
    }

    [id^="composeHeaderTable"] {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Left padding for the Related To row (direct child of composeHeaderTable) */
    [id^="composeHeaderTable"] > .row,
    [id^="composeHeaderTable"] > .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }

    /* Left padding for From/To/Subject/Message rows inside the margin:5px wrapper */
    [id^="composeHeaderTable"] > div[style*="margin:5px"] > .row {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }

    /* Attachments panel */
    [id^="composeAttachmentsPanel"] {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }

    div[id^="composeOverFrame"] #emailFooterButtons,
    div[id^="composeOverFrame"] #send_later_date_row {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }

    .compose-ts-tabs-panel {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
        background: #f7f8fa !important;
    }

    .compose-ts-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-bottom: 1px solid var(--border-color, #e0e0e0);
        background: #f3f4f6;
    }

    .compose-ts-tab {
        border: 0;
        background: transparent;
        padding: 12px 10px;
        font-size: 14px;
        font-weight: 500;
        color: #6b7280;
        border-bottom: 2px solid transparent;
    }

    .compose-ts-tab.is-active {
        color: #111827;
        background: #f7f8fa;
        border-bottom-color: #2563eb;
    }

    .compose-ts-tab-body {
        padding: 12px;
        background: #f7f8fa;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow: auto !important;
    }

    .compose-ts-tab-body[style*="display:none"],
    .compose-ts-tab-body[style*="display: none"] {
        flex: 0 0 auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .compose-ts-tab-body select {
        width: 100% !important;
    }

    .compose-ts-tab-body b {
        font-size: 13px;
        font-weight: 500;
        color: #374151;
    }

    [id^="composeAttachmentsPanel"] {
        grid-column: 1;
    }

    div[id^="composeOverFrame"] #emailFooterButtons,
    div[id^="composeOverFrame"] #send_later_date_row {
        grid-column: 1 / -1;
    }

    [id^="composeTsBody"],
    [id^="composeAttachmentsBody"] {
        display: block !important;
    }

    [id^="composeTsToggle"] .compose-ts-arrow,
    [id^="composeAttachmentsToggle"] .compose-ts-arrow {
        transform: rotate(90deg);
    }

    input[id^="addressTO"] {
        display: block !important;
        visibility: visible !important;
    }

    .row.d-none:has([id^="addressTOCstmDiv"]) {
        display: flex !important;
    }

    [id^="addressTOCstmDiv"] {
        display: flex !important;
        flex-wrap: wrap;
        gap: 6px;
        min-height: 40px;
        padding: 8px 12px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: var(--PB-bg-light);
    }

    iframe[id^="htmleditor"][id$="_ifr"] {
        min-height: 180px !important;
        height: 180px !important;
        max-height: 220px !important;
    }

    .yui-panel .yui-resize-handle-br {
        width: 16px !important;
        height: 16px !important;
        right: 4px !important;
        bottom: 4px !important;
        z-index: 6 !important;
        opacity: 0.95;
    }

    .pb-compose-dock {
        position: fixed;
        right: 20px;
        bottom: 20px;
        z-index: 17000;
        display: flex;
        flex-direction: column;
        gap: 10px;
        pointer-events: auto;
    }

    .pb-compose-dock-chip {
        min-width: 168px;
        max-width: 240px;
        height: 42px;
        padding: 0 16px;
        border: 1px solid #cbd5e1;
        border-radius: 12px;
        background: #ffffff;
        color: #1e293b;
        font-size: 14px;
        font-weight: 600;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
        cursor: pointer;
        text-align: left;
    }

    .pb-compose-dock-chip:hover {
        background: #eff6ff;
        border-color: #93c5fd;
    }
}



/* ===================================
    COMPOSE EMAIL PAGE MASK STYLE END
=================================== */


/* Temorary style to hide action buttons in subpanel body */
.subpanel-body .action_buttons {
    display: none;
}

/* ===================================
   RELATED UPSHEETS MODAL START
=================================== */

body .ui-dialog.related-upsheets-dialog {
    width: min(50vw, 960px) !important;
    max-width: calc(100vw - 32px) !important;
    border: 1px solid #D7DEF0;
    border-radius: 16px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
    padding: 0;
}

body .ui-dialog.related-upsheets-dialog .ui-dialog-titlebar {
    background: #E4EBFE;
    border: 0;
    border-bottom: 1px solid #D7DEF0;
    padding: 18px 28px;
    border-radius: 0;
    color: #111827;
}

body .ui-dialog.related-upsheets-dialog .ui-dialog-title {
    color: #111827;
    font-family: var(--body-fonts);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    width: auto;
    margin: 0;
}

body .ui-dialog.related-upsheets-dialog .ui-dialog-titlebar-close {
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    margin: 0;
    padding: 0;
    color: transparent !important;
    font-size: 0;
    text-indent: -9999px;
    position: absolute;
    overflow: visible;
}

body .ui-dialog.related-upsheets-dialog .ui-dialog-titlebar-close:hover {
    background: rgba(17, 24, 39, 0.08);
}

body .ui-dialog.related-upsheets-dialog .ui-dialog-titlebar-close::before {
    content: "×";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #111827;
    background: transparent;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    position: absolute;
    inset: 0;
    text-indent: 0;
    z-index: 1;
}

body .ui-dialog.related-upsheets-dialog .ui-dialog-titlebar-close .ui-icon,
body .ui-dialog.related-upsheets-dialog .ui-dialog-titlebar-close .ui-button-text,
body .ui-dialog.related-upsheets-dialog .ui-dialog-titlebar-close .ui-button-text-only {
    display: none;
}

body .ui-dialog.related-upsheets-dialog .ui-dialog-content {
    padding: 0;
    overflow: visible !important;
    background: #FFFFFF;
}

.related-upsheets-modal {
    background: #FFFFFF;
    max-height: none;
}

.related-upsheets-table-wrap {
    max-height: none;
    overflow-y: visible;
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.related-upsheets-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    table-layout: fixed;
}

.related-upsheets-head-row {
    border-bottom: 1px solid #E5E7EB;
}

.related-upsheets-th {
    padding: 16px 14px;
    text-align: left;
    color: #111827;
    font-family: var(--body-fonts);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    background: #FFFFFF;
}

.related-upsheets-row {
    border-bottom: 1px solid #E5E7EB;
    background: #FFFFFF;
}

.related-upsheets-row:nth-child(even) {
    background: #E5E7EB;
}

.related-upsheets-cell {
    padding: 18px 14px;
    vertical-align: top;
    color: #1F2937;
    font-family: var(--body-fonts);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.related-upsheets-name-cell {
    width: 180px;
}

.related-upsheets-name-link {
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}

.related-upsheets-name-link:hover {
    color: #000000;
    text-decoration: underline;
}

.related-upsheets-buyer {
    margin-top: 4px;
    color: #667085;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}

.related-upsheets-status-cell,
.related-upsheets-email-cell,
.related-upsheets-phone-cell,
.related-upsheets-vin-cell,
.related-upsheets-ymm-cell {
    color: #1F2937;
    white-space: normal;
    word-break: break-word;
}

.related-upsheets-empty-cell {
    padding: 28px 20px;
    text-align: center;
    color: #667085;
    font-family: var(--body-fonts);
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    body .ui-dialog.related-upsheets-dialog {
        width: min(calc(100vw - 16px), 720px) !important;
        max-width: calc(100vw - 16px) !important;
    }

    body .ui-dialog.related-upsheets-dialog .ui-dialog-titlebar {
        padding: 16px 20px;
    }

    body .ui-dialog.related-upsheets-dialog .ui-dialog-title {
        font-size: 20px;
        max-width: calc(100% - 42px);
    }

    .related-upsheets-th,
    .related-upsheets-cell {
        padding: 14px 12px;
    }

    .related-upsheets-table {
        min-width: 760px;
    }
}

@media (max-width: 767.98px) {
    body .ui-dialog.related-upsheets-dialog .ui-dialog-title {
        font-size: 18px;
    }

    .related-upsheets-modal,
    .related-upsheets-table-wrap {
        max-height: none;
    }

    .related-upsheets-table {
        min-width: 680px;
    }
}

/* ===================================
   RELATED UPSHEETS MODAL END
=================================== */
.more-info-section .edit-view-row-item[type="datetimecombo"],
.more-info-section .edit-view-field[type="datetimecombo"] {
    align-items: flex-start;
}

.more-info-section .more-info-datetime-shell {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: 520px;
}

.more-info-section .more-info-datetime-date {
    flex: 1 1 0;
    min-width: 0;
}

.more-info-section .more-info-datetime-date .k-datepicker,
.more-info-section .more-info-datetime-date .k-dateinput,
.more-info-section .more-info-datetime-date>input[type="text"] {
    width: 100%;
}

.more-info-section .more-info-datetime-date .k-datepicker {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.more-info-section .more-info-datetime-date .k-input-inner,
.more-info-section .more-info-datetime-date>input[type="text"] {
    min-height: 52px;
    padding: 0 48px 0 18px;
    border: 0;
    border-radius: 16px;
    background: #f3f5fb;
    color: #7f879a;
    font-size: 16px;
    font-weight: 500;
}

.more-info-section .more-info-datetime-date .k-input-button {
    width: 42px;
    border: 0;
    background: transparent;
    color: #98a2b3;
}

.more-info-section .more-info-datetime-date .k-input-button .k-svg-icon,
.more-info-section .more-info-datetime-date .k-input-button .k-icon {
    color: inherit;
}

.more-info-section .more-info-datetime-time {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.more-info-section .more-info-time-select {
    width: 88px;
    height: 52px;
    padding: 0 34px 0 16px;
    border: 0;
    border-radius: 16px;
    background: #f3f5fb;
    color: #a0a8b8;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-align-last: center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #a0a8b8 50%),
        linear-gradient(135deg, #a0a8b8 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 24px,
        calc(100% - 16px) 24px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.more-info-section .more-info-time-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18);
}

.more-info-section .more-info-datetime-separator {
    color: #101828;
    font-size: 40px;
    line-height: 1;
    transform: translateY(-4px);
}

/* Advanced search form: table → div grid (SearchFormGenericAdvanced.tpl) */
.search-form-advanced-grid {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

.search-form-advanced-grid__row--fields {
    display: grid;
    grid-template-columns: repeat(var(--sf-max-cols, 2), minmax(0, 1.2fr) minmax(0, 2.8fr));
    gap: 0.35rem 0.75rem;
    align-items: start;
    margin-bottom: 6px;
}

/* Approximate legacy label:field ratio (e.g. 25% / 75%) */
.search-form-advanced-grid__row--fields .search-form-advanced-grid__cell--label {
    grid-column: span 1;
    min-width: 0;
}

.search-form-advanced-grid__row--fields .search-form-advanced-grid__cell--field {
    grid-column: span 1;
    min-width: 0;
}

@media (min-width: 768px) {
    .search-form-advanced-grid__row--fields {
        /* Give label cells enough width so text doesn't break per-word. */
        grid-template-columns: repeat(var(--sf-max-cols, 2), minmax(7.5rem, 1.25fr) minmax(10rem, 2.75fr));
    }
}

@media (max-width: 1199px) {
    .search-form-advanced-grid__row--fields {
        grid-template-columns: repeat(2, minmax(7.5rem, 1.25fr) minmax(10rem, 2.75fr));
    }
}

@media (max-width: 767px) {
    .search-form-advanced-grid__row--fields {
        grid-template-columns: minmax(7.5rem, 1fr) minmax(0, 2fr);
    }
}

.search-form-advanced-grid__row--fields label {
    display: inline-block;
    max-width: 100%;
    line-height: 1.25;
    margin: 0;
}

.search-form-advanced-grid__cell--help {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-form-advanced-grid__spacer {
    min-height: 0.5rem;
}

.search-form-advanced-grid__row--saved-search {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.5rem 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

/* Saved search modal: Order by + Direction (two-column layout) */
.saved-search-sort-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem 2rem;
    margin-top: 0.25rem;
    margin-left: -8px;
    margin-right: -8px;
    padding: 0rem 2rem;
}

.saved-search-sort-layout__order {
    flex: 1 1 12rem;
    min-width: 0;
    max-width: 100%;
}

.saved-search-sort-layout__direction {
    flex: 1 1 10rem;
    min-width: 0;
}

.saved-search-sort-layout__heading {
    display: block;
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.01em;
}

.saved-search-sort-layout__field {
    margin: 0;
}

.saved-search-sort-layout__select {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.35;
    color: #334155;
    background-color: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    background-size: 12px;
    cursor: pointer;
}

.saved-search-sort-layout__select:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.25);
}

.saved-search-sort-layout__radios {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.saved-search-sort-layout__radio-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.saved-search-sort-layout__radio-row input[type="radio"] {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    flex-shrink: 0;
    accent-color: #64748b;
    border-color: #cbd5e1;
    cursor: pointer;
}

.saved-search-sort-layout__radio-label {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
    color: #334155;
    cursor: pointer;
    line-height: 1.35;
}

@media (max-width: 480px) {
    .saved-search-sort-layout {
        flex-direction: column;
        gap: 1.25rem;
    }
}

.advance-search-grid {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 8px;
    align-items: start;
    margin-bottom: 6px;
}

.searchAppliedAlert li .clearSearchIcon {
    color: #000000 !important;
}

.searchAppliedAlert .sugar_action_button {
    display: block !important;
}

/* Basic search form: table → div grid (SearchFormGeneric.tpl) */
.search-form-basic-grid {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

/* Flex keeps label/field pairs + optional inline actions/help on one row like the legacy table */
.search-form-basic-grid__row--fields {
    display: grid;
    grid-template-columns: repeat(calc(var(--sf-max-cols, 2) * 2),
            minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
    align-items: center;
    margin-bottom: 6px;
}

.search-form-basic-grid__row--fields .search-form-basic-grid__cell--label {
    flex: 0 0 min(11em, 28%);
    min-width: 0;
}

.search-form-basic-grid__row--fields .search-form-basic-grid__cell--field {
    flex: 1 1 12rem;
    min-width: 0;
}

.search-form-basic-grid__row--fields .search-form-basic-grid__cell--actions {
    flex: 1 1 auto;
    min-width: 0;
}

.search-form-basic-grid__row--fields .search-form-basic-grid__cell--help {
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .search-form-basic-grid__row--fields .search-form-basic-grid__cell--label {
        flex: 0 0 12em;
        max-width: 14rem;
    }

    .search-form-basic-grid__row--fields .search-form-basic-grid__cell--field {
        flex: 1 1 16em;
    }
}

.search-form-basic-grid__row--footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(2rem, auto);
    gap: 0.5rem 0.75rem;
    align-items: center;
    margin-top: 1.35rem;
}

.search-form-basic-grid__row--footer .search-form-basic-grid__cell--help {
    justify-self: end;
}

/* Leads advanced filter modal stacked design */
body .filters_tabs.filters_tabs--stacked {
    border-top: 1px solid #E5E7EB;
    display: block;
    padding: 20px;
}

body .filters_tabs.filters_tabs--stacked>.filters__modal-box {
    padding: 16px 12px !important;
    border: 00 !important;
    border-radius: 0;
    box-sizing: border-box;
    border-top: 1px solid #E5E7EB !important;
    /* border-bottom: 1px solid #E5E7EB !important; */
}

/* Alternate section backgrounds: white / #FAFCFF (direct section boxes only; not nested saved-search box) */
body .filters_tabs.filters_tabs--stacked>.filters__modal-box:nth-child(odd) {
    background-color: #ffffff;
}

body .filters_tabs.filters_tabs--stacked>.filters__modal-box:nth-child(even) {
    background-color: #fafcff;
}

body .filters_tabs.filters_tabs--stacked .filters__modal-box+.filters__modal-box {
    margin-top: 24px;
}

body .filters_tabs.filters_tabs--stacked .filters__modal-box h5 {
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
    /* border-bottom: 1px solid #E5E7EB; */
    font-weight: bold;
    border-left: 5px solid #2B7FFF;
    padding: 0 0 0 8px !important;
}

body .filters_tabs.filters_tabs--stacked .filters__fields-grid {
    margin-left: -8px;
    margin-right: -8px;
    padding: 0rem 2rem;
}

body .filters_tabs.filters_tabs--stacked .filters__field-col {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 12px;
}

body .filters_tabs.filters_tabs--stacked .filters__field-col .form-group {
    margin-bottom: 0 !important;
}

body .filters_tabs.filters_tabs--stacked input:not([type="checkbox"]):not([type="radio"]),
body #search_form .filters_tabs.filters_tabs--stacked select {
    border: 3px solid var(--border-color) !important;
}


/* Form-switch Start */
body .filters_tabs.filters_tabs--stacked .form-check.form-switch {
    position: relative;
    width: 50px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Hide default checkbox */
body .filters_tabs.filters_tabs--stacked .form-check.form-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Slider (background) */
body .filters_tabs.filters_tabs--stacked .form-check.form-switch .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 34px;
}

/* Circle */
body .filters_tabs.filters_tabs--stacked .form-check.form-switch .slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    top: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

/* Checked state */
body .filters_tabs.filters_tabs--stacked .form-check.form-switch input:checked+.slider {
    background-color: #0d6efd;
    /* bootstrap-like blue */
}

body .filters_tabs.filters_tabs--stacked .form-check.form-switch input:checked+.slider::before {
    transform: translateX(24px);
}

/* End of form-switch */

body .filters_tabs.filters_tabs--stacked .filters__actions-hidden {
    display: none;
}

/* Leads advanced: Deal Status & Vehicle Condition — Bootstrap form-switch + hidden yes/no value */
body .filters_tabs.filters_tabs--stacked .filters__field-col--deal-condition {
    margin-bottom: 0;
}

.filters__deal-status-vehicle-condition .filters__deal-condition-field.filters__deal-condition-row {
    position: relative;
    display: block;
    min-height: 44px;
    padding: 10px 0;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #eef2f7;
}

.filters__deal-status-vehicle-condition .filters__deal-condition-row:last-of-type {
    border-bottom: 0;
}

.filters__deal-status-vehicle-condition .filters__deal-condition-switch-row {
    gap: 16px;
}

.filters__deal-status-vehicle-condition .filters__deal-condition-switch-row .form-check-label {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    cursor: pointer;
}

.filters__deal-status-vehicle-condition select.pb-yesno-source-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.filters__deal-status-vehicle-condition .form-check.form-switch .form-check-input {
    width: 2.75em;
    min-width: 2.75em;
    height: 1.35em;
    margin-top: 0;
    cursor: pointer;
}

.filters__deal-status-vehicle-condition .form-check.form-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25);
}

.filters__deal-status-vehicle-condition .pb-yesno-segmented {
    display: inline-flex;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #f1f5f9;
}

.filters__deal-status-vehicle-condition .pb-yesno-segmented__btn {
    margin: 0;
    padding: 7px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: none;
    border-right: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.filters__deal-status-vehicle-condition .pb-yesno-segmented__btn:last-child {
    border-right: 0;
}

.filters__deal-status-vehicle-condition .pb-yesno-segmented__btn.is-active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.filters__deal-status-vehicle-condition .pb-yesno-segmented__btn:hover:not(.is-active) {
    background: #e2e8f0;
}



/* Kendo Datepicker Style Start */

body .k-calendar-container {
    padding: 10px 10px 0 10px;
}


body .k-calendar .k-header {
    border-color: inherit;
    border-radius: 6px;
    background-color: var(--kendo-color-primary, #fafafa);
    box-shadow: var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04));
    color: var(--kendo-color-app-surface);
    width: 100% !important;
    margin-inline: auto;
}

body .k-calendar .k-calendar-view {
    padding-left: 0 !important;
}

body .k-calendar .k-calendar-thead {
    background-color: var(--border-color);
}

body .k-calendar-table {
    border: 1px solid var(--border-color);
    margin: 10px 0 0 0;
    border-radius: 6px !important;
    border-collapse: collapse;
    width: 100% !important;
}

body .k-calendar-monthview .k-calendar-td {
    border-radius: 0 !important;
    font-size: 11px;
    border: 1px solid var(--border-color);
}

body .k-calendar-monthview .k-calendar-td:hover,
body .k-calendar-monthview.k-calendar-td.k-today,
body .k-calendar-monthview .k-calendar-td:hover .k-link,
body .k-calendar-monthview.k-calendar-td.k-today .k-link,
.k-calendar .k-calendar-td.k-focus .k-link {
    color: var(--color-white);
    background-color: var(--PB_color-primary);
    box-shadow: none !important;
}
body .k-button.k-button-flat.k-button-primary {
    margin: 0;
    color: var(--PB_color-primary);
}




.more-info-section .edit-view-field span:not(button span) {
    color: var(--title-color);
    font-family: var(--body-fonts);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height:  150%;
    letter-spacing: -0.312px;
}

.edit-view-row-item .k-datetimepicker {
    display: flex;
    gap: 20px;
}

body .k-button.k-icon-button {
    width: 50px;
    border: none;
    border-radius: 8px;
}
/* Local recovery: keep custom detail tabs visible after container rebuild */
.content .detail-view > .tab-content > .tab-pane-NOBOOTSTRAPTOGGLER,
.content .detail-view .tab-content > .tab-pane-NOBOOTSTRAPTOGGLER.active,
.content .detail-view .tab-content > .tab-pane-NOBOOTSTRAPTOGGLER.fade,
.content .detail-view .tab-content > .tab-pane-NOBOOTSTRAPTOGGLER.in {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cursor-pointer {
    cursor: pointer !important;
}