body {
    font-family: 'Inter', sans-serif;
}

    body.no-scroll {
        overflow: hidden;
        /*    height: 100vh;*/
    }

    body.no-scroll-popup {
        overflow: hidden;
    }

/* HEADER */
.Custom_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

    .Custom_header h1 {
        font-size: 30px;
        font-weight: 700;
        margin-bottom: 0 !important;
    }

    .Custom_header p {
        color: #6c6c6c;
        margin-bottom: 0 !important;
        font-size: 14px;
        font-weight: 400;
    }

.custom_actions {
    display: flex;
    gap: 12px;
}

    .custom_actions .btn {
        border: 1px solid #e5e7eb;
        font-weight: 500;
        cursor: pointer;
        font-size: 14px;
        border-radius: 3.4rem;
        display: flex;
        align-items: center;
        gap: 15px;
        /*    background-color: white;*/
    }

        .custom_actions .btn svg {
            width: 17px;
            height: 17px;
            stroke-width: 2;
        }

        .custom_actions .btn.primary {
            background: #030213;
            color: #fff;
            border: none;
            height: 36px;
        }

        .custom_actions .btn.btn-primary {
            background: #000;
            color: #fff;
            border: none;
        }

        .custom_actions .btn:hover {
            background-color: #f5f5f5;
        }

        .custom_actions .btn.primary:hover {
            background-color: #171717e6;
        }

        .custom_actions .btn.btn-primary:hover {
            background-color: #2563eb;
        }
/* GRID */
.custom_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* CARD */
.custom_card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 3px 0 #0000001a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*    min-height: 210px;*/
    border: 1px solid #e8e8e8;
}

.custom_Board_card:hover {
    box-shadow: 0 4px 6px -1px #0000001a;
    background-color: #fafafa80;
    cursor: pointer;
}

    .custom_Board_card:hover .custom_Board_info h4 {
        color: #2563eb;
    }

.custom_card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.custom_card-title {
    font-size: 12px;
    font-weight: 600;
    color: #6c6c6c;
    text-transform: uppercase;
    line-height: 16px;
}
/* Dropdown */
.custom_dropdown {
    position: relative;
    border-radius: 20px;
    padding: 6px 0px;
    font-size: 12px;
    color: #374151;
}

    .custom_dropdown button {
        background: #fff;
        border: 1px solid #ddd;
        padding: 6px 12px;
        border-radius: 20px;
        cursor: pointer;
        font-size: 12px;
        color: #374151;
    }

        .custom_dropdown button:hover {
            border: 1px solid #93c5fd !important;
            background-image: linear-gradient(to right, #e6f1feaa, #faf5ff);
        }

        .custom_dropdown button svg {
            width: 12px;
            height: 12px;
        }

.custom_dropdown-menu {
    display: none;
    position: absolute;
    right: 12px;
    top: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    width: 120px;
    z-index: 10;
    border: 1px solid #e5e5e5;
}

    .custom_dropdown-menu div {
        padding: 7px 13px;
        font-size: 14px;
        cursor: pointer;
        color: #171717;
        font-weight: 400;
    }

        .custom_dropdown-menu div:hover {
            background: #f5f5f5;
        }


.custom_card-value {
    display: flex;
    align-items: center;
}

    .custom_card-value h2 {
        font-size: 32px;
        font-weight: 600;
        line-height: 42px;
        color: #2a2a2a;
    }

.custom_badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    gap: 4px;
}

    .custom_badge svg {
        width: 15px;
        height: 15px;
    }

    .custom_badge.green {
        background: #dcfce7;
        color: #16a34a;
    }

    .custom_badge.red {
        background: #fee2e2;
        color: #dc2626;
    }

    .custom_badge.gray {
        background: #f5f5f5;
        color: #525252;
    }

.custom_card-desc {
    color: #6c6c6c;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.custom_card-title_svg {
    background-color: #f5f5f5;
    width: 40px;
    height: 40px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 3px;
}

    .custom_card-title_svg svg {
        width: 20px;
        height: 20px;
        stroke-width: 2;
        stroke: #6c6c6c;
    }
/* MINI BAR CHART */
.custom_bars {
    display: flex;
    gap: 3px;
    margin-top: 17px;
    align-items: flex-end;
    justify-content: space-between;
}

.custom_bar {
    width: 30px;
    border-radius: .225rem;
    margin-bottom: 0;
    background-image: linear-gradient(to bottom, #BBDAFE, #A6CDFD);
}

    .custom_bar.h1 {
        height: 18px;
    }

    .custom_bar.h2 {
        height: 26px;
    }

    .custom_bar.h3 {
        height: 22px;
    }

    .custom_bar.h4 {
        height: 35px;
    }

    .custom_bar.h5 {
        height: 31px;
    }

    .custom_bar.h6 {
        height: 39px;
    }

    .custom_bar.h7 {
        height: 36px;
    }

    .custom_bar.h8 {
        height: 43px;
    }

    .custom_bar.h9 {
        height: 41px;
    }

    .custom_bar.h10 {
        height: 47px;
    }

.custom_ai {
    margin-top: 14px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 400;
}

    .custom_ai svg {
        width: 14px;
        height: 14px;
    }

    .custom_ai:hover span {
        opacity: 1 !important;
    }

/*  Top bar */
.custom_top-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.custom_searchboxradius {
    border-radius: 42px;
}

.custom_search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border: 0px solid #d4d4d4;
    border-radius: 999px;
    gap: 8px;
}

    .custom_search-box input:focus {
        border: 2px solid #3b82f6;
    }

    .custom_search-box input:focus-within {
        border: 3px solid #22222226;
        box-shadow: inset 0 0 0 3px #22222226;
    }

    .custom_search-box input:focus-visible {
        outline: 2px solid #3b82f6;
        box-shadow: inset 0 0px 0px 1px #a1a1a1;
    }

    .custom_search-box input {
        outline: none;
        flex: 1;
        font-size: 14px;
        padding: 11px 39px !important;
        background-color: white !important;
    }

.custom_search-icon svg {
    height: 0.9rem !important;
    width: 0.9rem !important;
    fill: #a3a3a3 !important;
}

.custom_reset-search {
    background-color: unset !important;
}

.custom_searchboxradius:not(:placeholder-shown) + .custom_reset-search {
    opacity: 1 !important;
    visibility: visible !important;
    background-color: unset !important;
}

.custom_searchboxradius::placeholder {
    color: grey;
}

.custom_reset-search svg {
    fill: #3B62A5;
    stroke: #3B62A5;
    stroke-width: 4px;
    height: 0.8rem;
    width: 0.8rem;
}

/* Buttons */
.custom_filter_btn {
    font-size: 14px;
    font-weight: 500;
    color: #171717;
    border-radius: 30px;
    height: 100%;
    padding: 10px 14px !important;
    background-color: white;
    border: 1px solid #d4d4d4;
}

    .custom_filter_btn:hover {
        background-image: linear-gradient(to right, #e6f1feaa, #faf5ff);
        border: 1px solid #60a5fa;
    }

    .custom_filter_btn svg {
        width: 15px;
        height: 15px;
    }

    .custom_filter_btn span {
        padding-left: 10px;
    }

.custom_reset_x_icon {
    color: #1d4ed8 !important;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 3px;
    display: none;
}

    .custom_reset_x_icon svg {
        width: 16px;
        height: 16px;
        color: #1d4ed8;
    }

    .custom_reset_x_icon:hover span {
        color: #1d4ed8;
        text-decoration: underline;
    }

    .custom_reset_x_icon.active {
        display: block;
    }

.custom_toggle-container {
    display: inline-flex;
    background: #f3f4f6;
    padding: 3px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px #e5e7eb;
}

.custom_toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: none;
    background: transparent;
    border-radius: 999px;
    font-size: 15px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .custom_toggle-btn .icon {
        font-size: 16px;
    }

        .custom_toggle-btn .icon svg {
            width: 17px;
            height: 17px;
        }

    .custom_toggle-btn.active {
        background: #ffffff;
        color: #2563eb;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

    .custom-checkbox input {
        display: none;
    }

    /* checkbox box */
    .custom-checkbox .checkmark {
        width: 17px;
        height: 17px;
        background: #ffffff;
        border-radius: 5px;
        border: 1px solid #e5e7eb;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
        position: relative;
        transition: all 0.2s ease;
    }

    /* checked state */
    .custom-checkbox input:checked + .checkmark {
        background: #111111; /* solid black */
        border-color: #111111;
    }

        /* check icon */
        .custom-checkbox input:checked + .checkmark::after {
            content: "";
            position: absolute;
            left: 5px;
            top: 1px;
            width: 6px;
            height: 10px;
            border: solid #ffffff;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

/*  Table */
.custom_table-wrapper {
    background: #fff;
    border-radius: .75rem;
    overflow: auto;
    box-shadow: 0 4px 20px 0 #0000000a;
    border: 1px solid #e8e8e8;
}

    .custom_table-wrapper::-webkit-scrollbar-thumb {
        background: #cfcfcf;
        border-radius: 10px;
    }

    .custom_table-wrapper::-webkit-scrollbar {
        height: 9px;
    }

    .custom_table-wrapper table {
        width: 100%;
        border-collapse: collapse;
    }

    .custom_table-wrapper thead {
        background: #fafafa;
    }

    .custom_table-wrapper th, .custom_table-wrapper td {
        padding: 16px;
        text-align: left;
        font-size: 14px;
        color: #525252;
    }

    .custom_table-wrapper tbody tr td .custom_name-cell {
        color: #2a2a2a;
    }

    .custom_table-wrapper th {
        color: #555;
        font-weight: 600;
    }

    .custom_table-wrapper tbody tr {
        border-top: 1px solid #f0f0f0;
    }

        .custom_table-wrapper tbody tr:hover {
            background: #fafafa;
            cursor: pointer;
        }

        .custom_table-wrapper tbody tr:has(input[type="checkbox"]:checked) {
            background-color: #f0f4ff;
        }
/* Name */
.custom_name-cell {
    display: flex;
    align-items: center;
    gap: .25rem !important;
}

.custom_table-wrapper tbody tr:hover td .custom_name-cell {
    color: #2563eb;
}

.custom_table-wrapper_appointment.custom_table_ticket th, .custom_table-wrapper_appointment.custom_table_ticket td {
    /* text-wrap-mode: wrap;*/
    padding: 15px;
}

.custom_avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
}

    .custom_avatar.blue {
        background: #4f7cff;
        background-image: linear-gradient(120deg, #3b82f6, #ad46ff);
    }

    .custom_avatar.red {
        background: #ff0000;
    }

    .custom_avatar.emptyavatar {
        background: #f5f5f5;
        font-size: 12px;
        font-weight: 400;
        color: #2a2a2a;
    }
/* Contact */
.custom_contact-info div {
    color: #666;
    font-size: 14px;
    text-wrap-mode: nowrap;
}

    .custom_contact-info div svg {
        width: 14px;
        height: 14px;
        stroke: #a3a3a3;
    }

    .custom_contact-info div span {
        color: #525252;
    }
/* Company */
.custom_company_info {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .custom_company_info svg {
        width: 15px;
        height: 15px;
        stroke: #a3a3a3;
    }

    .custom_company_info span {
        font-weight: 500 !important;
    }
/* Calender */
.custom_close_date {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .custom_close_date svg {
        width: 15px;
        height: 15px;
        stroke: #a3a3a3;
    }

    .custom_close_date span {
        font-weight: 500 !important;
    }
/* Badges */
.custom_table-wrapper tbody tr td .badge {
    padding: 4px 10px;
    border-radius: .425rem;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.333;
}

    .custom_table-wrapper tbody tr td .badge.green {
        background: #e8f8ef;
        color: #008236;
        border: 1px solid #b9f8cf;
    }

    .custom_table-wrapper tbody tr td .badge.blue {
        background: #e8f0ff;
        color: #2563eb;
        border: 1px solid #bedbff;
    }

    .custom_table-wrapper tbody tr td .badge.highvalue {
        color: #bb4d00;
        background-color: #fffbeb;
        border: 1px solid #fee685;
    }

    .custom_table-wrapper tbody tr td .badge.purple {
        background: #faf5ff;
        color: #8200db;
        border: 1px solid #e9d4ff;
    }

    .custom_table-wrapper tbody tr td .badge.red {
        background: #fef2f2;
        color: #dc2626;
        border: 1px solid #fecaca;
    }

    .custom_table-wrapper tbody tr td .badge.grey {
        background: #f3f4f6;
        color: #4b5563;
        border: 1px solid #d1d5db;
    }

.custom_sorting_name span {
    /* cursor: default;*/
    cursor: pointer;
    text-wrap-mode: nowrap;
}

    .custom_sorting_name span svg {
        width: 14px;
        height: 14px;
    }

    .custom_sorting_name span .sort-icon.desc svg, .custom_sorting_name span .sort-icon.asc svg {
        width: 11px;
        height: 11px;
        fill: #2563eb;
        stroke: #2563eb;
        stroke-width: 14px;
    }

    .custom_sorting_name span .sort-icon.asc, .custom_sorting_name span .sort-icon.desc {
        display: none;
    }

.custom_sorting_name.asc span .sort-icon.asc, .custom_sorting_name.desc span .sort-icon.desc {
    display: block;
    opacity: 1 !important;
}

.custom_sorting_name span:hover .sort-icon.nosort svg {
    opacity: 0.4 !important;
}

.custom_sorting_name.asc span.sort-icon.nosort svg, .custom_sorting_name.desc span .sort-icon.nosort svg {
    display: none;
    opacity: 0 !important;
}
/* Score */
.custom_score {
    width: 70px;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    margin-right: 6px;
}

.custom_bar {
    height: 100%;
}

    .custom_bar.green {
        background: #22c55e;
        background-image: linear-gradient(45deg, #05df72, #00a63e);
    }

    .custom_bar.blue {
        background: #3b82f6;
        background-image: linear-gradient(45deg, #51a2ff, #155dfc);
    }

    .custom_bar.orange {
        background: #f59e0b;
        background-image: linear-gradient(45deg, #f59e0b, #f59e0b);
    }

    .custom_bar.black {
        background: #171717;
        background-image: linear-gradient(45deg, #171717, #171717);
    }

.custom_score-num {
    font-weight: 600;
}

/* trigger */
.custom_score-trigger {
    cursor: pointer;
    position: relative;
}

/* FIXED tooltip */
.custom_ai-tooltip {
    position: fixed;
    width: 260px;
    background: #111;
    color: #fff;
    padding: 16px;
    border-radius: 14px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
}

    .custom_ai-tooltip.show {
        opacity: 1;
        visibility: visible;
    }

    .custom_ai-tooltip h4 {
        stroke: #3b82f6;
        display: flex;
        align-items: center;
        text-wrap-mode: nowrap;
        gap: 12px;
        margin-bottom: 12px;
    }

        .custom_ai-tooltip h4 svg {
            stroke: #3b82f6;
            width: 15px;
            height: 15px;
        }
        /* title */
        .custom_ai-tooltip h4 span {
            font-size: 0.75rem;
            margin-bottom: 0;
            font-weight: 600;
            color: white;
        }

/* rows */
.custom_row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 10px;
    flex-direction: row;
}

    .custom_row span {
        color: #6c6c6c;
    }

        .custom_row span.percentage {
            color: white;
        }

/* bars */
.custom_tooltip_bar {
    height: 6px;
    background: white;
    border-radius: 4px;
    margin-top: 4px;
    overflow: hidden;
}

    .custom_tooltip_bar .fill {
        height: 100%;
        border-radius: 4px;
    }

    .custom_tooltip_bar .blue {
        background: #3b82f6;
        background-image: linear-gradient(to right, #51a2ff, #155dfc);
    }

    .custom_tooltip_bar .green {
        background: #22c55e;
        background-image: linear-gradient(to right, #05df72, #00a63e);
    }

    .custom_tooltip_bar .purple {
        background: #a855f7;
        background-image: linear-gradient(to right, #c27aff, #9810fa);
    }

    .custom_tooltip_bar .yellow {
        background: #facc15;
        background-image: linear-gradient(to right, #fdc700, #d08700);
    }

.custom_tooltip_bottom {
    display: block;
    border-radius: 2px;
    rotate: 45deg;
    width: 10px;
    height: 10px;
    translate: 0 calc(-50% - 2px);
    background: #111 !important;
}
/* description */
.custom_desc {
    font-size: 12px;
    color: #737373;
    margin-top: 14px;
    line-height: 1.4;
    border-top: 1px solid white !important;
    padding-top: 12px;
    margin-bottom: 0;
}


/* Last contact */
.custom_tooltip_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

    .custom_tooltip_dot.green {
        background: #22c55e;
    }

    .custom_tooltip_dot.yellow {
        background: #facc15;
    }

.custom_tooltip_clock svg {
    width: 14px;
    height: 14px;
}

.custom_dealvalue strong {
    font-weight: 600;
    color: #2a2a2a;
}
/* Deal */
.custom_dealvalue .currency {
    color: #999;
}

/* Actions */
.custom_actions_table {
    font-size: 18px;
    cursor: pointer;
}

.custom_actions_container button {
    background: none;
    border: none;
}

    .custom_actions_container button svg {
        width: 16px;
        height: 16px;
    }

.custom_with_hover_icon {
    display: none;
}

.custom_table-wrapper tbody tr:hover td .custom_with_hover_icon {
    display: block;
}

.custom_table-wrapper tbody tr:hover td .custom_without_hover_icon {
    display: none;
}

/*Tooltip */

.custom_action_tooltip {
    position: relative;
}

    .custom_action_tooltip .custom_action_tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: #171717;
        color: #525252;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        opacity: 0;
        transition: opacity 0.3s;
        font-size: .875rem;
        font-weight: 400;
        line-height: 1.5;
    }

        .custom_action_tooltip .custom_action_tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .custom_action_tooltip:hover .custom_action_tooltiptext {
        visibility: visible;
        opacity: 1;
    }

/*Pagination*/
.custom_pagination-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    width: 100%;
    margin-top: 25px;
}

.custom_left-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #6c6c6c;
    font-weight: 400;
    line-height: 20px;
}

    .custom_left-info div strong {
        font-weight: 500;
        color: #2a2a2a;
    }

.custom_rows-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6c6c6c;
}

    /* Button */
    .custom_rows-wrapper .cus_dropdown {
        position: relative;
    }

    .custom_rows-wrapper .cus_dropdown-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background: #fff;
        font-size: 14px;
        cursor: pointer;
        min-width: 64px;
        justify-content: space-between;
        color: #6c6c6c;
    }

.cus_dropdown-btn svg {
    width: 15px;
    height: 15px;
    opacity: .5;
}
/* Popup menu */
.custom_rows-wrapper .cus_dropdown-menu {
    position: absolute;
    top: -8px;
    left: 0;
    transform: translateY(-100%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    padding: 6px 0;
    width: 120px;
    display: none;
    z-index: 20;
    border: 1px solid #e0e0e0;
}

/* Option */
.cus_dropdown-menu .option {
    padding: 5px 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .cus_dropdown-menu .option:hover {
        background: #f3f6ff;
    }

    /* Selected */
    .cus_dropdown-menu .option.selected {
        font-weight: 500;
    }

    .cus_dropdown-menu .option svg {
        display: none;
    }

    .cus_dropdown-menu .option.selected svg {
        display: block;
        stroke-width: 1.5;
        width: 18px;
        height: 20px;
    }

/*pagination*/
.cus_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

    .cus_pagination a,
    .cus_pagination span {
        color: #000;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        padding: 6px 10px;
        border-radius: 6px;
        transition: all 0.2s ease;
        cursor: pointer;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        width: 36px;
        height: 36px;
    }

        .cus_pagination a:hover {
            background-color: #f0f4ff;
            color: #2563eb !important;
        }

        .cus_pagination a.active {
            background-color: #1d4ed8;
            border: 1px solid #1d4ed8;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            color: white !important;
        }

        .cus_pagination a.disabled {
            color: #aaa;
            pointer-events: none;
        }

    .cus_pagination .prev,
    .cus_pagination .next {
        color: #666;
    }

        .cus_pagination .prev:hover,
        .cus_pagination .next:hover {
            color: #000;
        }

    .cus_pagination a.cus_previousnexticon svg {
        width: 12px;
        height: 11px;
    }

    .cus_pagination span.cus_previousnexticon svg {
        width: 12px;
        height: 11px;
    }

    .cus_pagination span.disabled {
        color: #aaa;
        pointer-events: none;
        opacity: 0.5;
    }

/*Board styles*/
.custom_Deals_Board {
    overflow-y: auto;
}

.custom_Deals_Board::-webkit-scrollbar {
    height: 8px !important;
}

.custom_Deals_Board::-webkit-scrollbar-track {
    background: transparent;
}

.custom_Deals_Board::-webkit-scrollbar-thumb {
    background: #e5e5e5;
    border-radius: 10px;
}

.custom_Deals_Board::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.custom_board {
    display: flex;
    gap: 24px;
    min-width: max-content;
}

.custom_contact_column {
    /*    width: 340px;*/
    border-radius: 14px;
    padding: 16px;
}

.custom_contact_column-header {
    display: flex;
    margin-bottom: 12px;
    background: #fff;
    padding: 15px;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
    border-bottom: 1px solid #2a2a2a26;
    justify-content: space-between;
}

.custom_contact_column-header h3 {
    margin: 0;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.custom_contact_column-header h3 .count {
    background: #f0f2f5;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 12px;
    margin-left: 6px;
    font-weight: 500;
}

.custom_contact_menu {
    cursor: pointer;
    font-size: 18px;
    padding: 2px 6px;
    border-radius: .625rem;
}

.custom_contact_menu svg {
    width: 16px;
    height: 16px;
    stroke: #737373;
}

.custom_contact_menu:hover {
    background: #f5f5f5;
}

.custom_add-card {
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 14px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
}

.custom_add-card.dashed {
    border: 2px dashed #d4d4d4;
    color: #6c6c6c;
}

.custom_add-card.dashed:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.custom_add-card svg {
    width: 16px;
    height: 16px;
}

.custom_Board_card {
    /*    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    flex-direction: column;*/
    min-height: 0;
    margin-bottom: 14px;
    border: 2px solid #e8e8e8;
}

.custom_Board_avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 14px;
}

.custom_Board_info h4 {
    margin: 0;
    font-size: 16px;
}

.custom_Board_info p {
    margin-bottom: 0;
    font-size: 12px;
    color: #6c6c6c;
}

.custom_Board_info1 p {
    font-size: 12px;
    color: #6c6c6c;
    margin-bottom: 4px;
}

.custom_Board_info .company {
    font-weight: 500;
}

.custom_Board_info1 .badge {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: .425rem;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Inter';
}

.custom_Board_info1 .badge.lead {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bedbff;
}

.custom_Board_info1 .badge.customer {
    background: #e8f8ef;
    color: #008236;
    border: 1px solid #b9f8cf;
}

.custom_Board_info1 .badge.customer1 {
    background: #ecfdf5;
    color: #007a55;
    border: 1px solid #a4f4cf;
    padding: 9px 12px;
    font-size: 14px;
}

.custom_Board_info1 .badge.partner {
    background: #faf5ff;
    color: #8200db;
    border: 1px solid #e9d4ff;
}

.custom_Board_info1 .badge.highvalue {
    color: #bb4d00;
    background-color: #fffbeb;
    border: 1px solid #fee685;
}

.custom_Board_info1 .badge.notset {
    color: #525252;
    background-color: #f5f5f5;
    border: 1px solid #d4d4d4;
}

.custom_Board_info1 .badge.high {
    color: #b91c1c;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.custom_Board_info1 .badge.emptybadge {
    border: 1px solid #e5e5e5;
    color: #0a0a0a;
}

.custom_Board_info1 .badge.lightblue {
    color: #1447e6;
    background-color: white;
    border: 1px solid #bedbff;
}

.custom_Board_info1 .badge.yellow {
    color: #d97706;
    border: 1px solid #fde68a;
    background-color: #fffbeb;
}

.custom_Board_info1 .badge.black {
    color: #fafafa;
    border: 1px solid #0000;
    background-color: #171717;
}

.custom_Board_info1 .badge.red {
    color: #fff;
    border: 1px solid #0000;
    background-color: #e7000b;
}

.custom_Board_info svg {
    width: 12px;
    height: 12px;
    stroke: #a3a3a3;
}

.custom_Board_info1 p svg {
    width: 12px;
    height: 12px;
    stroke: #a3a3a3;
}

/* Overlay */
.custom_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999;
}
/* Overlay */
.custom_overlay1 {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999999;
}

/* Panel */
.custom_filter-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100dvh;
    max-height: 100dvh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: 0.35s ease;
    z-index: 999999;
    overflow: hidden;
}

/* Active */
.custom_filter-panel.active {
    right: 0;
}

.custom_filter-panel.no-scroll {
    overflow: hidden;
}

/*    .custom_filter-panel::-webkit-scrollbar {
    width: 10px;
}*/

.custom_filter-panel::-webkit-scrollbar-track {
    background: transparent;
}

.custom_filter-panel::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.custom_overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom_overlay1.active {
    opacity: 1;
    visibility: visible;
}

/* Header */
.custom_filter-header {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 16px;
    border-bottom: 1px solid #eee;
    padding-right: 23px;
    background-color: white;
    z-index: 9;
}

.custom_filter-header h2 {
    margin: 0;
    font-size: 32px;
    margin-bottom: 0 !important;
}

.custom_filter-header span svg {
    width: 16px;
    height: 16px;
}

.close {
    font-size: 20px;
    cursor: pointer;
}

/* Body */
.custom_filter-body {
    padding: 14px 20px 0 16px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cus_grid {
    margin-bottom: 24px;
    align-items: flex-start;
    grid-template-columns: 138px 1fr !important;
}

.custom_field, .cus_cd-grid-wrapper {
    margin-bottom: 24px;
}

.custom_field label, .cus_cd-grid-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #2a2a2a;
}

.custom_field .cus_dropdown, .cus_cd-grid-wrapper .cus_dropdown {
    position: relative;
}

.custom_field .cus_dropdown .cus_dropdown-btn, .cus_cd-grid-wrapper .cus_dropdown .cus_dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    /*cursor: pointer;*/
    width: 100%;
    justify-content: space-between;
    color: #2a2a2a;
    user-select: text;
    /*    height: 44px;*/
    text-align:left;
}

.custom_field .cus_dropdown .cus_dropdown-btn .custom_noselectedcolor, .cus_cd-grid-wrapper .cus_dropdown .cus_dropdown-btn .custom_noselectedcolor {
    color: #737373;
}

.custom_field .cus_dropdown .cus_dropdown-btn .custom_selectedcolor, .cus_cd-grid-wrapper .cus_dropdown .cus_dropdown-btn .custom_selectedcolor {
    color: #2a2a2a;
}

.custom_field .cus_dropdown .cus_dropdown-menu, .cus_cd-grid-wrapper .cus_dropdown .cus_dropdown-menu {
    background: rgb(255, 255, 255);
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 5px;
    padding: 6px 0px;
    z-index: 20;
    border: 1px solid rgb(224, 224, 224);
    display: none;
    position: absolute;
    width: 100%;
}

.custom_field .cus_dropdown .cus_dropdown-menu .statusoption, .cus_cd-grid-wrapper .cus_dropdown .cus_dropdown-menu .statusoption {
    padding: 5px 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
}

.custom_field .cus_dropdown .cus_dropdown-menu .statusoption:hover, .cus_cd-grid-wrapper .cus_dropdown .cus_dropdown-menu .statusoption:hover {
    background: #f5f5f5;
}

/* Selected */
.custom_field .cus_dropdown .cus_dropdown-menu .statusoption svg, .cus_cd-grid-wrapper .cus_dropdown .cus_dropdown-menu .statusoption svg {
    display: none;
}

.cus_dropdown .cus_dropdown-menu .statusoption.selected svg {
    display: block;
    stroke-width: 1.5;
    width: 18px;
    height: 20px;
}

.cus_dropdown.drop-up .cus_dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 6px;
}

.cus_dropdown-btn {
    /*color: #737373 !important;*/
}

.cus_dropdown-btn.selected-state {
    color: #2a2a2a !important;
}

.cus_dropdown-menu:has(.statusoption.selected) .cus_dropdown-btn {
    color: #2A2A2A !important;
}

.custom_field input, .cus_cd-grid-wrapper input {
    padding: 9px 11px;
    border-radius: .425rem;
    border: 1px solid #e0e0e0;
    width: 50%;
    font-size: 14px;
}

.custom_field input::placeholder, .cus_cd-grid-wrapper input::placeholder {
    font-size: 14px;
    padding-left: 1px;
}

.custom_field .range, .cus_cd-grid-wrapper .range {
    display: flex;
    gap: 10px;
    width: 100%;
}

/* Divider */
.custom_divider {
    height: 1px;
    background: #eee;
    margin: 18px 0;
}

/* Footer */
.custom_filter-footer {
    flex-shrink: 0;
    padding: 16px 17px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 14px;
    background-color: white;
    z-index: 10;
}

.custom_filter-footer .btn {
    padding: 7px 18px;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

.custom_filter-footer .cancel {
    background: #fff;
    border: 1px solid #ddd;
    width: 50%;
    color: #171717;
}

.custom_filter-footer .cancel:hover {
    background-color: #f5f5f5;
}

.custom_filter-footer .apply {
    background: #111;
    color: #fff;
    border: none;
    width: 50%;
}

.custom_field input:focus, .cus_cd-grid-wrapper input:focus {
    border: 2px solid #3b82f6;
}

.custom_field input:focus-within, .cus_cd-grid-wrapper input:focus-within {
    border: 2px solid #22222226;
    box-shadow: inset 0 0 0 3px #22222226;
}

.custom_field input:focus-visible, .cus_cd-grid-wrapper input:focus-visible {
    outline: 2px solid #3b82f6;
    box-shadow: inset 0 0px 0px 1px #a1a1a1;
}


/* Panel */
.custom_contact-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 500px;
    height: 100vh;
    background: #fff;
    overflow-y: auto;
    display: none;
    z-index: 999999;
}

    .custom_contact-panel.active {
        display: block;
    }

    .custom_contact-panel::-webkit-scrollbar {
        width: 10px;
    }

    .custom_contact-panel::-webkit-scrollbar-track {
        background: transparent;
    }

    .custom_contact-panel::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.25);
        border-radius: 10px;
    }

/* Header */
.custom_panel-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 24px;
    padding-bottom: 0;
}

    .custom_panel-header .profile {
        display: flex;
        gap: 15px;
    }

.custom_contact_avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #3b82f6, #ad46ff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.custom_panel-header div .company {
    font-size: 14px;
    color: #6c6c6c;
    margin-bottom: 3px;
}

.custom_panel-header div h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 3px !important;
}

.custom_panel-header .close-btn {
    font-size: 20px;
    cursor: pointer;
}

    .custom_panel-header .close-btn svg {
        width: 16px;
        height: 16px;
    }

/* Actions */
.custom_contact_Popup_actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 15px 0;
    padding: 0 24px;
}

    .custom_contact_Popup_actions button {
        padding: 10px;
        border-radius: 3.40282e38px;
        border: 1px solid #e2e2e2;
        background: #fff;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        font-weight: 500;
    }

        .custom_contact_Popup_actions button svg {
            width: 15px;
            height: 15px;
            margin-bottom: .25rem !important;
            stroke-width: 2;
        }

/* Sections */
.custom_contact-panel section {
    margin-top: 24px;
    padding: 0 24px;
}

    .custom_contact-panel section h3 {
        margin-bottom: 9px !important;
        font-size: 20px !important;
    }

/* Info Rows */
.custom_info-row {
    margin-bottom: 14px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
}

    .custom_info-row svg {
        width: 16px;
        height: 16px;
        stroke: #a3a3a3;
    }

    .custom_info-row span {
        display: block;
        font-size: 12px;
        color: #6c6c6c;
    }

    .custom_info-row p,
    .custom_info-row a {
        margin: 4px 0 0;
        font-size: 14px;
        color: #2a2a2a;
        text-decoration: none;
        font-weight: 400;
    }

    .custom_info-row a {
        color: #2563eb !important;
    }
/* Metrics */
.custom_metrics {
    display: flex;
    gap: 12px;
}

.custom_metric-card {
    flex: 1;
    padding: 9px 14px;
    border-radius: .625rem;
    background: #fafafa;
}

    .custom_metric-card small {
        color: #6c6c6c;
        font-size: 12px;
    }

        .custom_metric-card small svg {
            width: 17px;
            height: 17px;
            stroke: #6c6c6c;
            stroke-width: 2;
        }

    .custom_metric-card strong {
        display: block;
        margin-top: 6px;
        font-size: 18px;
    }

.custom_metric-card1 {
    background-color: #f0f4ff;
}

    .custom_metric-card1 small {
        color: #1d4ed8;
        display: flex;
        flex-direction: row;
        gap: 7px;
    }

        .custom_metric-card1 small svg {
            stroke: #1d4ed8;
            width: 19px;
            height: 19px;
        }

    .custom_metric-card1 strong {
        font-size: 24px;
        color: #1e3a8a;
        font-weight: 700;
        line-height: 32px;
    }

    .custom_metric-card1 div .badge {
        color: #1d4ed8;
        background-color: #e6ecf7;
        border: 1px solid #0000;
        font-weight: 500 !important;
        font-size: 12px;
        display: inline-block;
        margin-top: 6px;
        padding: 4px 10px;
        border-radius: .425rem;
    }

/* AI Insights */
.custom_ai-insights {
    margin-top: 28px;
}

.custom_insight-box {
    padding: 14px 13px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 9px;
    line-height: 1.4;
}

.custom_insight-primary {
    background: #eef4ff;
    border: 1px solid #c7d8ff;
    color: #1c398e;
}

.custom_insight-box strong {
    font-weight: 500;
}

.insight-success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

/* Recent Activity */
.custom_activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .custom_activity-list li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        padding: 8px 0;
    }

    .custom_activity-list p {
        margin: 0;
        font-size: 14px;
    }

    .custom_activity-list small {
        color: #777;
        font-size: 12px;
    }

/* Dots */
.custom_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
}

    .custom_dot.blue {
        background: #2563eb;
    }

    .custom_dot.green {
        background: #00c853;
    }

    .custom_dot.gray {
        background: #d1d5db;
    }

    .custom_dot.purple {
        background: #ad46ff;
    }

    .custom_dot.darkgray {
        background: #6c6c6c;
        width: 4px;
        height: 4px;
    }

/* Footer */
.custom_panel-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.custom_panel-footer_content {
    padding: 0 16px;
    padding-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
}

    .custom_panel-footer_content .btn-outline {
        flex: 1;
        padding: 10px;
        border-radius: 24px;
        border: 1px solid #ddd;
        background: #fff;
        font-size: 14px;
        font-weight: 500;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

        .custom_panel-footer_content .btn-outline:hover {
            background-color: #f5f5f5;
        }

    .custom_panel-footer_content button svg {
        width: 15px;
        height: 15px;
    }

    .custom_panel-footer_content .btn-primary {
        flex: 1;
        padding: 10px;
        border-radius: 24px;
        border: none;
        background: #111;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }


/* Modal */
.custom_AddContact_modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 510px;
    max-height: 90vh;
    background: #fff;
    border-radius: .625rem;
    display: flex;
    flex-direction: column;
    display: none;
    z-index: 999999;
    overflow: auto;
    overflow: hidden;
}
    /*.custom_AddContact_modal::-webkit-scrollbar-thumb {
     background: #cfcfcf;
    border-radius: 10px;
}*/
    .custom_AddContact_modal::-webkit-scrollbar {
        width: 10px;
    }

    .custom_AddContact_modal::-webkit-scrollbar-track {
        background: transparent;
    }

    .custom_AddContact_modal::-webkit-scrollbar-thumb {
        background: #e5e5e5;
        border-radius: 10px;
    }

/* thumb hover */
.panel-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.35);
}

.custom_AddContact_modal.active {
    display: block;
}

.custom_AddContact_modal.no-scroll {
    overflow: hidden;
}
/* Header */
.custom_AddContact_modal-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    padding-bottom: 0;
    position: sticky;
}

.custom_header-left {
    display: flex;
    gap: 9px;
    align-items: center;
}

.custom_icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e6ecf7;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_icon-circle svg {
        width: 20px;
        height: 20px;
        stroke: #2563eb;
    }

.custom_AddContact_modal-header h2 {
    margin: -3px 0px !important;
    font-size: 18px;
}

.custom_AddContact_modal-header p {
    font-size: 14px;
    color: #737373;
    margin-bottom: 0;
}

.custom_AddContact_modal-header .close-btn {
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
    position: absolute;
    top: 8px;
    float: right;
    right: 7px;
}

    .custom_AddContact_modal-header .close-btn svg {
        width: 16px;
        height: 16px;
        stroke-width: 2;
    }

/* Body */
.custom_AddContact_modal-body {
    padding: 0px 24px 24px;
    overflow-y: scroll;
    height: 100%;
    max-height: calc(100vh - 140px);
}

    .custom_AddContact_modal-body h3 {
        display: flex;
        align-items: center;
        gap: 9px;
        font-size: 20px;
        font-weight: 500;
        margin: 16px 0 8px 0 !important;
    }

        .custom_AddContact_modal-body h3 svg {
            width: 16px;
            height: 16px;
            stroke: #737373;
        }

    .custom_AddContact_modal-body .custom_divider {
        margin: 10px 0 !important;
    }
/* Form */
.custom_AddContact_form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.custom_AddContact_form-group input,
.custom_AddContact_form-group select,
.custom_AddContact_form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    margin-bottom: 8px;
    height: 40px;
}

    .custom_AddContact_form-group input:focus, .custom_AddContact_form-group textarea:focus {
        border: 2px solid #3b82f6;
    }

    .custom_AddContact_form-group input:focus-within, .custom_AddContact_form-group textarea:focus-within {
        border: 2px solid #22222226 !important;
        box-shadow: inset 0 0 0 3px #22222226;
    }

    .custom_AddContact_form-group input:focus-visible, .custom_AddContact_form-group textarea:focus-visible {
        outline: 2px solid #3b82f6;
        box-shadow: inset 0 0px 0px 1px #a1a1a1;
    }

.custom_AddContact_form-group textarea {
    min-height: 65px;
    resize: vertical;
}

/* Grids */
.custom_AddContact_modal-body .grid-1 {
    margin-bottom: 13px;
}

.custom_AddContact_modal-body .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 13px;
}

.custom_AddContact_modal-body .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 13px;
}

/* Input with icon wrapper */
.custom_input-icon {
    position: relative;
}

    /* Icon */
    .custom_input-icon .custom_icon {
        position: absolute;
        left: 12px;
        top: 43%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        pointer-events: none;
    }

.custom_AddContact_form-group.error .custom_input-icon .custom_icon {
    top: 32%;
}

.custom_AddContact_form-group .cus_dropdown {
    position: relative;
}

    .custom_AddContact_form-group .cus_dropdown .cus_dropdown-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background: #fff;
        font-size: 14px;
        cursor: pointer;
        width: 100%;
        justify-content: space-between;
        color: #2a2a2a;
        height: 40px;
    }

        .custom_AddContact_form-group .cus_dropdown .cus_dropdown-btn .custom_noselectedcolor {
            color: #737373;
        }

        .custom_AddContact_form-group .cus_dropdown .cus_dropdown-btn .custom_selectedcolor {
            color: #2a2a2a;
        }

    .custom_AddContact_form-group .cus_dropdown .cus_dropdown-menu {
        background: rgb(255, 255, 255);
        border-radius: 12px;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 5px;
        padding: 6px 0px;
        z-index: 20;
        border: 1px solid rgb(224, 224, 224);
        display: none;
        position: absolute;
        width: 100%;
    }

        .custom_AddContact_form-group .cus_dropdown .cus_dropdown-menu .statusoption {
            padding: 5px 14px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            font-weight: 400;
        }

            .custom_AddContact_form-group .cus_dropdown .cus_dropdown-menu .statusoption:hover {
                background: #f5f5f5;
            }

            /* Selected */
            .custom_AddContact_form-group .cus_dropdown .cus_dropdown-menu .statusoption svg {
                display: none;
            }

.custom_input-icon .custom_icon svg {
    width: 17px;
    height: 17px;
    stroke: #A3A3A3;
}

.custom_input-icon .custom_icon1 {
    top: 50%;
}

    .custom_input-icon .custom_icon1 svg {
        width: 16px;
        height: 16px;
        fill: #A3A3A3;
    }
/* Input */
.custom_input-icon input {
    width: 100%;
    padding: 10px 12px 6px 36px; /* LEFT SPACE FOR ICON */
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

/* AI box */
.custom_ai-box {
    margin-top: 20px;
    padding: 16px;
    background: #f1f5ff;
    border: 1px solid #c7d8ff;
    border-radius: 12px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    gap: 13px;
    align-items: flex-start;
}

.custom_ai-icon {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #e6ecf7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
}

    .custom_ai-icon svg {
        width: 20px;
        height: 20px;
        stroke: #2563eb;
    }

.custom_ai-box div strong {
    font-size: 14px;
    font-weight: 500;
}

.custom_ai-box div p {
    font-size: 12px;
    font-weight: 400;
    color: #6c6c6c;
    margin-bottom: 0;
}
/* Footer */
.custom_modal-footer {
    padding: 24px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

    .custom_modal-footer .btn-outline {
        padding: 6px 18px;
        border-radius: 22px;
        border: 1px solid #ddd;
        background: #fff;
        font-size: 14px;
        font-weight: 500;
    }

    .custom_modal-footer .btn-primary {
        padding: 6px 13px;
        border-radius: 22px;
        border: none;
        background: #111;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
    }

        .custom_modal-footer .btn-primary svg {
            width: 16px;
            height: 16px;
        }
/* Back link */
.custom_back-link {
    font-size: 14px;
    color: #171717;
    margin-bottom: 25px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.custom_back-link1 {
    margin-bottom: 20px;
}

.custom_back-link svg {
    width: 17px;
    height: 17px;
}

.custom_back-link a {
    padding-inline: 10px;
    border-radius: 50px;
    padding: 6px 10px;
}

    .custom_back-link a:hover {
        background-color: #f5f5f5;
        padding-inline: 10px;
        border-radius: 50px;
        padding: 6px 10px;
    }
/* Header Card */
.custom_contact-header {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 3px 2px rgba(0, 0, 0, 0.04), 0 10px 24px -16px rgba(0, 0, 0, 0.18);
    border: 1px solid #e8e8e8;
}

/* Top Row */
.custom_header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}

.custom_contact-header .custom_divider {
    margin: 18px 0 0 0;
}

.custom_Contact_profile {
    display: flex;
    gap: 16px;
    align-items: center;
}

    .custom_Contact_profile img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
    }

    .custom_Contact_profile .name-row {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .custom_Contact_profile .name-row h2 {
            margin: 0 !important;
            font-size: 20px;
        }

.custom_Contact_profile1 .name-row h2 {
    font-size: 30px;
    font-weight: 700;
    color: #2a2a2a;
    line-height: 36px;
    letter-spacing: -.02em;
}

.custom_Contact_profile .subtitle {
    margin: 4px 0 8px;
    color: #6c6c6c;
    font-size: 14px;
}

.custom_meta_data {
    font-size: 12px;
    color: #525252;
    margin-top: 4px;
    display: flex;
    flex-direction: row;
    font-weight: 400;
    font-family: Consolas;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .custom_meta_data .custom_CWC {
        background-color: #f5f5f5;
        border-radius: .625rem;
        padding: 3px;
    }

        .custom_meta_data .custom_CWC div {
            padding: 0 7px;
            display: flex;
            flex-direction: row;
            gap: 4px;
            align-items: center;
        }

    .custom_meta_data div svg {
        width: 12px;
        height: 12px;
    }

        .custom_meta_data div svg.custom_copy_icon {
            width: 16px;
            height: 16px;
            stroke: #525252;
        }

    .custom_meta_data .custom_CTC {
        color: #a3a3a3;
    }

    .custom_meta_data .custom_CTC_data {
        color: #737373;
    }

.custom_copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#tickIcon {
    display: none;
    stroke: #16a34a;
    width: 17px;
    height: 15px;
}

.custom_Contact_meta.muted {
    color: #777;
    display: flex;
    /*    flex-direction: column;*/
    padding: 11px 0 5px 0;
    gap: 6px;
    flex-wrap: wrap;
}

    .custom_Contact_meta.muted div {
        font-size: 12px;
        font-weight: 400;
        color: #737373;
        display: flex;
        flex-direction: row;
        gap: 5px;
        align-items: center;
    }

        .custom_Contact_meta.muted div svg {
            width: 14px;
            height: 14px;
            stroke: #a3a3a3;
        }

        .custom_Contact_meta.muted div span {
            color: #2a2a2a;
        }

        .custom_Contact_meta.muted div p {
            margin-bottom: 0 !important;
            color: #a3a3a3;
        }

.custom_header-top .custom_actions {
    gap: 10px !important;
}

.custom_actions .ghost {
    gap: 5px !important;
}
/* Stats */
.custom_stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background-color: #fafafa;
    padding: 24px;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}

.custom_stat span {
    display: block;
    font-size: 12px;
    color: #6c6c6c;
    font-weight: 400;
    margin-bottom: 4px;
}

.custom_stat strong {
    font-size: 20px;
    font-weight: 400;
    color: #525252;
}

.custom_stat .score {
    color: #2563eb !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
}

    .custom_stat .score small {
        font-size: 12px;
        color: #737373;
        font-weight: 400;
    }

/* Tabs */
.custom_contactdetails_tabs {
    margin-top: 35px;
    background: #f5f5f5;
    border-radius: 999px;
    padding: 4px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
}

.custom_contactdetails_tab {
    /*    flex: 1;*/
    border: none;
    background: transparent;
    padding: 8px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #6c6c6c;
    padding-inline: 24px;
}

    .custom_contactdetails_tab.active {
        background: #3b82f6;
        font-weight: 500;
        color: #fff;
        box-shadow: 0 1px 3px 0 #0000001a;
    }

/* Main content */
.custom_maincontent_detail {
    flex: 1;
    /*    overflow-y: auto;*/
    padding: 30px 0;
}

.custom_maincontent_detail1 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
}
/* Floating scrollbar */
.custom_maincontent_detail::-webkit-scrollbar {
    width: 6px;
}

.custom_maincontent_detail::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.25);
    border-radius: 10px;
}

/* Grid */
.custom_maincontent_detail .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

    .custom_maincontent_detail .grid.grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .custom_maincontent_detail .grid.grid-1 {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

.custom_maincontent_detail .col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cards */
.custom_card_detailpage {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px 0 #0000001a;
    display: flex;
    flex-direction: column;
    /*    justify-content: space-between;*/
    border: 1px solid #e8e8e8;
}

    .custom_card_detailpage h3 {
        font-size: 20px !important;
    }

    /* Fields */
    .custom_card_detailpage .field {
        font-size: 14px;
        margin-bottom: 16px;
        color: #2a2a2a;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

        .custom_card_detailpage .field:last-child {
            margin-bottom: 0px;
        }

        .custom_card_detailpage .field .title {
            display: block;
            color: #6c6c6c;
            font-size: 12px;
            font-weight: 400;
            line-height: 16px;
        }

        .custom_card_detailpage .field a.emaildata {
            color: #2563eb !important;
            text-decoration: none;
        }

        .custom_card_detailpage .field .custom_lastupdate {
            color: #737373 !important;
        }

    .custom_card_detailpage button {
        border: 1px solid #e5e7eb;
        font-weight: 500;
        cursor: pointer;
        font-size: 14px;
        border-radius: 3.4rem;
        display: flex;
        align-items: center;
        gap: 5px;
        color: #171717;
        padding: 5px 10px;
    }

        .custom_card_detailpage button:hover {
            background-color: #f5f5f5 !important;
            border: 1px solid #e5e7eb;
        }

        .custom_card_detailpage button svg {
            width: 17px;
            height: 17px;
        }

.custom_associatedcontacts_title {
    font-size: 14px;
    font-weight: 500;
}


/* Attachments */
.custom_attachment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 17px;
}

.custom_attachment {
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e8e8e8;
}

    .custom_attachment.light-blue {
        background: #f0f6ff;
    }

    .custom_attachment.light-purple {
        background: #f7f0ff;
    }

        .custom_attachment.light-purple:hover {
            border: 1px solid #dab2ff;
        }

    .custom_attachment.light-blue:hover {
        border: 1px solid #dab2ff;
    }

    .custom_attachment .icon {
        font-size: 28px;
        margin-bottom: 10px;
        background-color: white;
        border-radius: 1.025rem;
        height: 48px;
        width: 48px;
        align-items: center;
        display: flex;
        justify-content: center;
    }

        .custom_attachment .icon svg {
            stroke: #2563eb;
        }

    .custom_attachment:hover .icon {
        scale: 1.1 1.1;
    }

    .custom_attachment .title {
        font-weight: 400;
        font-size: 12px;
        color: #525252;
    }

    .custom_attachment .sub {
        font-size: 10px;
        color: #737373;
        font-weight: 400;
    }

/* Notes */
.custom_contact_note {
    background: #fafafa;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

    .custom_contact_note .custom_Board_info1 .custom_associatedcontacts_title {
        font-weight: 600;
    }

    .custom_contact_note .custom_Board_info1 .cus_time {
        color: #737373;
    }

    .custom_contact_note .edit {
        margin-left: auto;
        cursor: pointer;
    }

        .custom_contact_note .edit span:hover {
            background-color: #f5f5f5;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .custom_contact_note .edit span {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .custom_contact_note .edit svg {
            width: 16px;
            height: 16px;
        }

    .custom_contact_note p {
        margin-top: 15px;
        font-size: 14px;
        line-height: 1.5;
        color: #525252;
        margin-bottom: 0;
    }

.custom_card_detailpage .field.custom_persona_field {
    gap: 3px;
}

    .custom_card_detailpage .field.custom_persona_field .custom_Board_info1 .badge {
        margin-top: 0px;
    }

    .custom_card_detailpage .field.custom_persona_field .custom_persona_title {
        margin-bottom: 3px;
    }

.custom_persona_year {
    color: #6c6c6c;
    font-size: 12px;
    font-weight: 400;
}

.custom_persona_amount {
    color: #2a2a2a;
    font-size: 14px;
    font-weight: 400;
    font-family: Consolas;
}

.custom_persona_revenue {
    color: #737373;
    font-size: 12px;
    font-weight: 400;
}

.custom_persona_field ul {
    font-size: 12px;
    font-weight: 400;
    color: #525252;
    padding-left: 1rem;
}

    .custom_persona_field ul li {
        padding-bottom: 2px;
    }

.custom_contact_connections .custom_avatar {
    color: #1d4ed8;
    background-color: #e6ecf7;
    font-size: 14px;
    font-weight: 500;
}

.custom_connections_content {
    background-color: #fafafa;
    padding: 10px;
    border-radius: .625rem;
}

.custom_contact_connections .custom_Board_info1 .cus_time {
    color: #737373;
}

.custom_Opportunity .custom_list-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: .625rem;
    gap: 3px;
    margin-bottom: 12px;
}

    .custom_Opportunity .custom_list-item .cus_name {
        font-size: 14px;
        font-weight: 400;
        color: #2a2a2a;
    }

    .custom_Opportunity .custom_list-item .cus_address {
        font-size: 12px;
        font-weight: 400;
        color: #6c6c6c;
    }

.custom_Recommentation .custom_list-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background-color: #eff6ff;
    border: 1px solid #bedbff;
    border-radius: .625rem;
    gap: 3px;
    margin-bottom: 17px;
}

    .custom_Recommentation .custom_list-item .cus_name {
        font-size: 14px;
        font-weight: 500;
        color: #2a2a2a;
    }

    .custom_Recommentation .custom_list-item .cus_address {
        font-size: 12px;
        font-weight: 400;
        color: #525252;
    }

.custom_Recommentation svg {
    width: 20px;
    height: 20px;
    stroke: #2563eb;
}

.custom_Recommentation .custom_list-item.purple {
    background-color: #faf5ff;
    border: 1px solid #e9d4ff;
}

.custom_list-item .darkblue {
    color: #1c398e !important;
}

.custom_list-item .lightblue {
    color: #1447e6 !important;
}

.custom_list-item .darkgreen {
    color: #0d542b !important;
}

.custom_list-item .lightgreen {
    color: #008236 !important;
}

.custom_list-item .darkpurple {
    color: #59168b !important;
}

.custom_list-item .lightpurple {
    color: #8200db !important;
}

.custom_quickaction_btn {
    background-color: #2E2E2E !important;
    color: white !important;
    padding: 8px 10px !important;
    margin-bottom: 7px;
}

.custom_card_detailpage button.custom_quickaction_btn:hover {
    background-color: #2E2E2E !important;
    color: white !important;
    padding: 8px 10px !important;
    cursor: auto;
}
/* AI Circle */
.custom_progress-wrapper_circle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom_progress-circle {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: conic-gradient( #3b77f3 0deg 324deg, /* 90% progress */
    #e5e7eb 324deg 360deg /* grey gap */
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    /* Inner white circle */
    .custom_progress-circle::before {
        content: "";
        position: absolute;
        width: 100px;
        height: 100px;
        background: #fff;
        border-radius: 50%;
    }

.custom_progress-text {
    position: relative;
    font-size: 32px;
    font-weight: 500;
    color: #3b77f3;
}

.custom_card_detailpage .muted {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
    margin-top: 25px;
    margin-bottom: 0;
}

.custom_AILeadScore .title {
    color: #6c6c6c;
}

.custom_responserate {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
}

.custom_AILeadScore .custom_Board_info1 .badge {
    margin-top: 0 !important;
}

.custom_Engagement_progress .custom_progresstitle {
    color: #6c6c6c;
    font-size: 12px;
    font-weight: 400;
}

.custom_Engagement_progress .custom_percentage {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
}

.custom_Engagement_progress .custom_score .custom_bar.green {
    background: #16A34A;
    background-image: linear-gradient(45deg, #16A34A, #16A34A);
}

.custom_Engagement_progress .custom_score .custom_bar.blue {
    background: #2563eb;
    background-image: linear-gradient(45deg, #2563eb, #2563eb);
}

.custom_bulk-deals {
    display: none;
}

    .custom_bulk-deals.show {
        display: block;
    }
/*details page*/
/* Grids */
.custom_detailpagecontainer .grid-1 {
    margin-bottom: 13px;
}

.custom_detailpagecontainer .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: end;
}

.custom_detailpagecontainer .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 13px;
}

.custom_detailpagecontainer .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
/* Body */
.custom_detailpagecontainer h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 20px !important;
    font-weight: 600 !important;
}

    .custom_detailpagecontainer h3 svg {
        width: 16px;
        height: 16px;
        stroke: #737373;
    }

.custom_detailpagecontainer .custom_divider {
    margin: 10px 0 !important;
}

.custom_card_detailpage.custom_detailpagecontainer button:hover {
    background-color: unset !important;
}
/* Form */
.custom_detailpage_form-group label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 6px;
    color: #6c6c6c;
}

    .custom_detailpage_form-group label.custom-checkbox {
        display: inline-flex;
        margin-bottom: 0;
    }

.custom_detailpage_form-group .custom_field, .custom_detailpage_form-group .cus_cd-grid-wrapper {
    margin-bottom: 0;
}

    .custom_detailpage_form-group .custom_field .cus_dropdown .cus_dropdown-btn, .custom_detailpage_form-group .cus_cd-grid-wrapper .cus_dropdown .cus_dropdown-btn {
        font-weight: 400 !important;
    }

.custom_detailpage_form-group input:not([type="checkbox"]),
.custom_detailpage_form-group select,
.custom_detailpage_form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 12px;
    min-width: 151px;
}

    .custom_detailpage_form-group input:focus, .custom_detailpage_form-group textarea:focus {
        border: 2px solid #3b82f6;
    }

    .custom_detailpage_form-group input:focus-within, .custom_detailpage_form-group textarea:focus-within {
        border: 2px solid #22222226;
        box-shadow: inset 0 0 0 3px #22222226;
    }

    .custom_detailpage_form-group input:focus-visible, .custom_detailpage_form-group textarea:focus-visible {
        outline: 2px solid #3b82f6;
        box-shadow: inset 0 0px 0px 1px #a1a1a1;
    }

.custom_detailpage_form-group textarea {
    min-height: 72px;
    resize: vertical;
}

.custom_detailpage_checkbox {
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .custom_detailpage_checkbox input[type=checkbox] {
        width: 16px;
        height: 16px;
    }

.custom_savenotes {
    background-color: #171717e6 !important;
    color: white !important;
    padding: 8px 12px !important;
    margin-top: 8px;
}

.custom_card_detailpage button.custom_savenotes:hover {
    background-color: #171717e6 !important;
    color: white !important;
    padding: 8px 12px !important;
    margin-top: 8px;
}

.custom_flex-1 {
    flex: 1;
}

.custom_flex-unset {
    flex: unset !important;
}
/*Insight*/
.custom_emailengagement {
    display: flex;
    align-items: center;
    gap: .5rem !important;
}

    .custom_emailengagement svg {
        width: 20px;
        height: 20px;
        stroke: #2563eb;
        stroke-width: 2px;
    }

    .custom_emailengagement.purple svg {
        stroke: #9810fa;
    }

    .custom_emailengagement.green svg {
        stroke: #00a63e;
    }
/* Stats */
.custom_email_stats {
    padding: 20px 0 0 0;
}

.custom_email_stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .custom_email_stat .label {
        font-size: 12px;
        color: #6c6c6c;
        font-weight: 400;
    }

    .custom_email_stat .value {
        font-size: 24px;
        font-weight: 400;
        color: #2a2a2a;
    }

.custom_trackingstatus svg {
    width: 12px;
    height: 12px;
    stroke: #008236;
    stroke-width: 2;
}

.custom_detailpagetable {
    padding: 0 !important;
}

    .custom_detailpagetable h3 {
        padding: 24px 24px 16px 24px;
    }

    .custom_detailpagetable table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 0;
    }

        .custom_detailpagetable table tr th {
            text-align: left;
            font-size: 12px;
            color: #525252;
            font-weight: 600;
            padding: 16px 24px;
            border-bottom: 1px solid #e5e7eb;
            background-color: #FAFAFA;
            letter-spacing: 0.6px;
            border-top: 1px solid #e5e7eb;
        }

            .custom_detailpagetable table tr th.cus_ticket {
                padding: 12px 24px !important;
            }

        .custom_detailpagetable table tbody tr:hover {
            background-color: #fafafa;
            cursor: pointer;
        }

        .custom_detailpagetable table tbody tr:last-child:hover td:first-child {
            border-bottom-left-radius: 16px;
        }

        .custom_detailpagetable table tbody tr:last-child:hover td:last-child {
            border-bottom-right-radius: 16px;
        }

    .custom_detailpagetable tr td {
        padding: 20px;
        border-bottom: 1px solid #e5e7eb;
        font-size: 14px;
    }

/*Recent Activity Timeline*/
.custom_timeline-container {
    position: relative;
}

    .custom_timeline-container .custom_left_border {
        border-radius: .625rem;
        background-color: #e8e8e8;
        width: 1px;
        left: 10px;
    }

.custom_timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    position: relative;
}

    .custom_timeline-item:last-child {
        border-bottom: none;
    }

    .custom_timeline-item .icon {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }

        .custom_timeline-item .icon.email {
            background: #e8f0ff;
            color: #2962ff;
        }

        .custom_timeline-item .icon.call {
            background: #e7f9ef;
            color: #1aa260;
        }

        .custom_timeline-item .icon.meeting {
            background: #f1e8ff;
            color: #7b1fa2;
        }

        .custom_timeline-item .icon.note {
            background: #fef3c6;
            color: #e17100;
        }

        .custom_timeline-item .icon.note1 {
            background: #ffedd4;
            color: #f54a00;
        }

        .custom_timeline-item .icon.lead1 {
            background: #e6ecf7;
            color: #2563eb;
        }

            .custom_timeline-item .icon.lead1 svg circle {
                stroke: #2563eb;
            }

        .custom_timeline-item .icon.deal {
            background: #e6f9ef;
            color: #2e7d32;
        }

        .custom_timeline-item .icon.green {
            background: #dcfce7;
            color: #00a63e;
        }

        .custom_timeline-item .icon.emerald {
            background: #d0fae5;
            color: #009966;
        }

        .custom_timeline-item .icon.yellow {
            background: #fef9c2;
            color: #d08700;
        }

    .custom_timeline-item .content {
        flex: 1;
    }

        .custom_timeline-item .content .title {
            font-weight: 500;
            font-size: 14px;
            margin-bottom: 4px;
        }

        .custom_timeline-item .content .desc {
            font-size: 14px;
            color: #6c6c6c;
            margin-bottom: 8px;
        }

    .custom_timeline-item .time {
        font-size: 12px;
        color: #737373;
        white-space: nowrap;
    }

    .custom_timeline-item .icon svg {
        width: 20px;
        height: 20px;
        stroke-width: 2;
    }

    .custom_timeline-item:hover {
        background-color: #fafafa;
    }

/*Tickets*/
.ticket-id {
    color: #2563eb;
    font-weight: 500;
}

.custom_ticket_table .subject {
    font-weight: 500;
    font-size: 14px;
    color: #2a2a2a;
}

.custom_ticket_table .subtext {
    font-size: 12px;
    color: #6c6c6c;
    font-weight: 400;
}

.custom_ticketboard_title {
    white-space: nowrap;
    width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px !important;
    font-weight: 600;
}

.custom_ticket_board_bottom svg {
    width: 12px;
    height: 12px;
    stroke: #a3a3a3;
}

.custom_ticket_tool svg {
    width: 12px;
    height: 12px;
    stroke: #3b82f6;
}

.custom_ticket_table_bottom button.btn {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0.5;
}

.custom_ticket_table_bottom button.ticketpageno {
    color: #0a0a0a;
    font-size: 14px;
    font-weight: 500;
    padding-inline: 12px;
    background-color: #f0f4ff;
    border: 1px solid #93c5fd;
    border-radius: 50%;
    display: inline-flex;
    height: 32px;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
}

.custom_table_ticket {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom_ticket_header-top {
    padding-bottom: 20px;
}

.custom_log_activity_title svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    stroke: #2563eb;
}

.custom_logactivity_btn {
    padding: 12px;
    background-color: white;
    border: 2px solid #e8e8e8;
    border-radius: .625rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #2a2a2a;
    font-size: 12px;
    font-weight: 500;
    gap: 5px;
}

    .custom_logactivity_btn:hover {
        border: 2px solid #d4d4d4;
    }

    .custom_logactivity_btn svg {
        width: 20px;
        height: 20px;
        stroke: #525252;
        stroke-width: 2;
    }

    .custom_logactivity_btn.active {
        background-color: #f0f4ff;
        border: 2px solid #3b82f6;
    }

.custom_logactivity_button.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Assigned */
.custom_assigned {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .custom_assigned p {
        color: #525252;
        margin-bottom: 0;
    }
/* Stats */
.custom_ticket_stats {
    padding: 15px;
}

.custom_ticket_stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom_ticket_icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

    .custom_ticket_icon.yellow {
        background: #fff3d6;
    }

        .custom_ticket_icon.yellow svg {
            stroke: #d97706;
            width: 20px;
            height: 20px;
        }

    .custom_ticket_icon.blue {
        background: #e6efff;
    }

        .custom_ticket_icon.blue svg {
            stroke: #155dfc;
            width: 20px;
            height: 20px;
        }

    .custom_ticket_icon.green {
        background: #e8f9ef;
    }

        .custom_ticket_icon.green svg {
            stroke: #16a34a;
            width: 20px;
            height: 20px;
            stroke-width: 2;
        }

    .custom_ticket_icon.gray {
        background: #f1f3f5;
    }

        .custom_ticket_icon.gray svg {
            stroke: #6c6c6c;
            width: 22px;
            height: 22px;
            stroke-width: 2;
        }

.custom_ticket_stat-card .label {
    font-size: 12px;
    color: #6c6c6c;
    font-weight: 400;
}

.custom_ticket_stat-card .value {
    font-size: 20px;
    font-weight: 600;
}

.custom_createticket {
    padding: 24px 24px 16px 24px;
}

    .custom_createticket button {
        border: 1px solid #e5e7eb;
        font-weight: 500;
        cursor: pointer;
        font-size: 14px;
        border-radius: 3.4rem;
        display: flex;
        align-items: center;
        gap: 5px;
        color: #171717;
        padding: 6px 10px;
        background-color: #fff !important;
    }

        .custom_createticket button:hover {
            background-color: #f5f5f5 !important;
            border: 1px solid #e5e7eb;
        }

        .custom_createticket button svg {
            width: 17px;
            height: 17px;
        }
/*Files*/
.custom_detailpagetable1 {
    padding: 24px !important;
}

    .custom_detailpagetable1 h3 {
        padding: unset !important;
        margin-bottom: 0 !important;
    }

    .custom_detailpagetable1 .custom_createticket {
        padding: unset !important;
    }

    .custom_detailpagetable1 tr:last-child td {
        border-bottom: none;
    }

.custom_businesscard svg {
    width: 20px;
    height: 20px;
    stroke: #155dfc;
}

.custom_profilephoto svg {
    width: 20px;
    height: 20px;
    stroke: #9810fa;
    stroke-width: 2;
}

.custom_businesscard_a svg {
    width: 16px;
    height: 16px;
    stroke: #6c6c6c;
    stroke-width: 2;
}

.custom_businesscard_a.trash svg {
    stroke: #dc2626;
}

a.custom_businesscard_a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    a.custom_businesscard_a:hover {
        background-color: #f5f5f5;
    }

.custom_documents button {
    border: 1px solid #e5e7eb;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    border-radius: 3.4rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    padding: 8px 10px;
    background-color: #171717 !important;
}

    .custom_documents button:hover {
        background-color: #171717 !important;
        border: 1px solid #e5e7eb;
    }

    .custom_documents button svg {
        width: 17px;
        height: 17px;
    }

.custom_color52 {
    color: #525252 !important;
}

.custom_color6c {
    color: #6c6c6c !important;
}

.custom_color73 {
    color: #737373 !important;
}

.custom_color2a {
    color: #2a2a2a !important;
}

.custom_colora3 {
    color: #a3a3a3 !important;
}

.custom_color0a {
    color: #0a0a0a !important;
}

.custom_candidateimg {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.custom_connections_content svg {
    width: 40px;
    height: 40px;
    stroke: #a3a3a3;
}

.custom_familymembers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

    .custom_familymembers svg {
        width: 48px;
        height: 48px;
        stroke: #d4d4d4;
        stroke-width: 2;
    }

    .custom_familymembers span {
        color: #737373;
        font-size: 14px;
        font-weight: 400;
        margin-bottom: 9px;
    }

.custom_related_icon.blue svg {
    stroke: #155dfc;
    width: 20px;
    height: 20px;
}

.custom_related_icon.purple svg {
    stroke: #9810fa;
    width: 20px;
    height: 20px;
}

.custom_related_icon.orange svg {
    stroke: #e17100;
    width: 20px;
    height: 20px;
}
/*Contact page black popup*/
.custom_bulk-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2a2a2a;
    color: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    display: none;
    align-items: center;
    gap: 20px;
    min-width: 520px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

    .custom_bulk-popup.show {
        display: flex;
    }

    .custom_bulk-popup .left {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 500;
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .custom_bulk-popup .count {
        background: #2563eb;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }

    .custom_bulk-popup .actions {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-left: auto;
    }

    .custom_bulk-popup button {
        background: transparent;
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 13px;
        border-radius: 60px;
        padding-inline: 10px !important;
        padding: 6px;
        text-wrap-mode: nowrap;
    }

        .custom_bulk-popup button:hover {
            color: #171717;
            background-color: #404040;
        }

        .custom_bulk-popup button svg {
            width: 16px;
            height: 16px;
            stroke-width: 2;
            stroke: white;
        }

        .custom_bulk-popup button:hover svg {
            stroke: #171717;
        }

    .custom_bulk-popup .danger:hover {
        color: white !important;
        background-color: #404040;
    }

        .custom_bulk-popup .danger:hover svg {
            stroke: white;
        }

    .custom_bulk-popup .close {
        cursor: pointer;
        opacity: 0.7;
        padding-right: 10px;
        padding-left: 10px;
        border-radius: 60px;
    }

        .custom_bulk-popup .close:hover {
            background-color: #404040;
        }

.custom_bulk_border {
    border-right: 1px solid #525252;
    height: 25px;
}

.custom_bulk-popup .close svg {
    width: 16px;
    height: 16px;
}
/*details page 2 changes*/
.custom_contact_detailpage2 {
    padding: 8px 20px;
}

    .custom_contact_detailpage2 .custom_stats {
        background-color: white !important;
        padding: 20px 15px 15px 0px !important;
    }

    .custom_contact_detailpage2 .custom_stat strong {
        font-size: 18px;
        font-weight: 700 !important;
        color: #2a2a2a;
    }

.custom_contact_detailpage2_tabs {
    background-color: white;
    padding: 8px;
    border: 1px solid #e8e8e8;
    margin-top: 25px;
    border-radius: 12px;
}

    .custom_contact_detailpage2_tabs .custom_contactdetails_tabs {
        margin-top: 0 !important;
    }

.custom_contact-header1 {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 0 8px 5px -16px rgba(0, 0, 0, 0.18) !important;
}

.custom_contact_information {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 16px;
}

    .custom_contact_information svg {
        width: 16px;
        height: 16px;
        stroke: #a3a3a3;
        margin-top: 4px;
    }

    .custom_contact_information:last-child {
        margin-bottom: 0;
    }

.custom_maincontent_detail2 .grid {
    gap: 25px;
}

.custom_maincontent_detail2 .col {
    gap: 25px;
}

.custom_card_detailpage2 button.btn-primary {
    background-color: #171717e6 !important;
    color: white;
    gap: 10px;
}

.custom_card_detailpage2 .cus_card-header svg {
    width: 20px;
    height: 20px;
    stroke: #737373;
}

.cus_addassociated {
    font-size: 14px;
    font-weight: 400;
    color: #6c6c6c;
    margin-bottom: 0;
}

.custom_detailpage2_associatecontact {
    padding-top: 13px;
    max-height: 239px;
    overflow: auto;
}

    .custom_detailpage2_associatecontact::-webkit-scrollbar {
        width: 8px;
    }

    .custom_detailpage2_associatecontact::-webkit-scrollbar-track {
        background: transparent;
    }

    .custom_detailpage2_associatecontact::-webkit-scrollbar-thumb {
        background: #e5e5e5;
        border-radius: 10px;
    }

.custom_associatecontact {
    padding: 12px;
    margin-right: 5px;
}

    .custom_associatecontact:hover {
        background-color: #fafafa;
        border-radius: .625rem;
    }

    .custom_associatecontact div svg {
        width: 16px;
        height: 16px;
        stroke: #a3a3a3;
        opacity: 0;
    }

    .custom_associatecontact:hover div svg {
        opacity: 1;
    }

.cus_card-header svg {
    width: 16px;
    height: 16px;
}

.cus_card-header.green svg {
    stroke: #16a34a;
}

.cus_card-header.blue svg {
    stroke: #2563eb;
}

.cus_revenuamount {
    font-size: 24px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 0;
}

.cus_revenupercentage svg {
    width: 12px;
    height: 12px;
    stroke: #16a34a;
}

.cus_revenupercentage span {
    font-size: 14px;
    color: #16a34a;
}

.cus_revenupercentage p {
    font-size: 14px;
    color: #6c6c6c;
    margin-bottom: 0;
}

.custom_detailpage2_customerpersona {
    width: 40px;
    height: 40px;
    background-color: #F4F4FF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .custom_detailpage2_customerpersona svg {
        width: 20px;
        height: 20px;
    }

/* Header */
.custom_segment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.custom_segmentbadge {
    background: #e8fbf2;
    color: #004f3b;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #a4f4cf;
}

.custom_segment-header .title {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.6px;
    color: #737373;
    font-weight: 500;
}

/* Grid */
.stat-box {
    padding-bottom: 10px;
}

    .stat-box .label {
        font-size: 12px;
        color: #6c6c6c;
        margin-bottom: 0px;
        font-weight: 600;
        line-height: 16px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

.custom_stat-box_svg {
    display: flex;
    align-items: center;
    gap: 0.50rem !important;
}

    .custom_stat-box_svg svg {
        width: 16px;
        height: 16px;
        stroke: #3b82f6;
        stroke-width: 2;
    }

.stat-box h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 0 !important;
}

.stat-box .desc {
    font-size: 12px;
    color: #737373;
    margin-top: 0px;
    font-weight: 400;
}

.custom_segment-wrapper .custom_divider {
    height: 0.8px !important;
    background: #f5f5f5 !important;
    margin: 0px 0px 25px 0px !important;
}

.custom_segment-wrapper .custom_divider1 {
    height: 1px;
    background: #eee;
    margin: 0px 0px 25px 0px !important;
}
/* Actions */

.custom_segment_actions h3 {
    font-size: 14px !important;
    margin-bottom: 15px !important;
    position: relative;
    padding-left: 10px;
}

    .custom_segment_actions h3::before {
        content: "";
        width: 4px;
        height: 100%;
        background: #7c3aed;
        position: absolute;
        left: 0;
        top: 0;
        border-radius: 4px;
    }

.custom_segment_actions ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 0;
}

.custom_segment_actions li {
    font-size: 14px;
    color: #525252;
    margin-bottom: 10px;
}

.custom_quickaction_btn1 {
    background-color: white !important;
    color: #0a0a0a !important;
    padding: 8px 10px !important;
    margin-bottom: 7px;
    border: 1px solid #e5e5e5;
}

.custom_card_detailpage button.custom_quickaction_btn1:hover {
    background-color: #f5f5f5 !important;
    color: #0a0a0a !important;
    padding: 8px 10px !important;
    cursor: auto;
}

.custom_AILeadScore1 .title {
    color: #6c6c6c;
    font-size: 14px;
    font-weight: 400;
}

.custom_card_detailpage .cus_detailpage2muted {
    font-size: 14px;
    font-weight: 400;
    color: #6c6c6c;
    margin-top: 10px;
}

.custom_progress_detailpage2 {
    height: 8px;
    background: #17171733;
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    margin-right: 6px;
}

    .custom_progress_detailpage2 .custom_progressbar2 {
        height: 100%;
    }

        .custom_progress_detailpage2 .custom_progressbar2.black {
            background: #171717;
            background-image: linear-gradient(45deg, #171717, #171717);
        }

.custom_progress_detailpage2_value {
    font-size: 48px;
    font-weight: 700;
    color: #2563eb;
    text-align: center;
}

.custom_activitytimeline {
    display: flex;
    gap: 10px;
}

    .custom_activitytimeline button {
        border: 1px solid #e5e7eb;
        font-weight: 500;
        cursor: pointer;
        font-size: 14px;
        border-radius: 3.4rem;
        display: flex;
        align-items: center;
        gap: 5px;
        color: #171717;
        padding: 6px 10px;
        background-color: #fff !important;
    }

        .custom_activitytimeline button:hover {
            background-color: #f5f5f5 !important;
        }

.custom_detailpage2_timeline-item:hover {
    background-color: unset;
}

.custom_detailpage2_timeline-item .content .title {
    font-size: 18px !important;
}

.custom_detailpage2_timeline-item .time {
    font-size: 14px;
}

.custom_timeline_box {
    font-size: 14px;
    font-weight: 400;
    color: #525252;
    padding: 12px;
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: .625rem;
}

.custom_detailpage2_timeline-container {
    padding-top: 20px;
}

.custom_detailpage2_timeline-item {
    padding: 0 0 20px 0 !important;
}

    .custom_detailpage2_timeline-item .content .desc1 {
        color: #525252;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .custom_detailpage2_timeline-item:last-child {
        padding: unset !important;
    }

    .custom_detailpage2_timeline-item .icon.note {
        background: #f5f5f5 !important;
        color: #6c6c6c !important;
    }

    .custom_detailpage2_timeline-item .icon {
        width: 40px;
        height: 33px;
    }

    .custom_detailpage2_timeline-item .custom_left_border {
        width: 1.5px;
    }

.custom_deals_container {
    padding: 17px 24px 16px 24px;
}

    .custom_deals_container div button {
        color: #fafafa;
        background-color: #171717;
    }

        .custom_deals_container div button:hover {
            color: #fafafa !important;
            background-color: #171717 !important;
        }

.custom_addassociation_modal-footer button.disabled {
    pointer-events: none;
    opacity: .5;
}
/*Deals*/
.custom_deal_column_header {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    background: #fff;
    padding: 15px;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
    border-bottom: 1px solid #2a2a2a26;
}

.custom_detailpagetable2 table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

    .custom_detailpagetable2 table tr th {
        text-align: left;
        font-size: 14px;
        color: #0a0a0a;
        font-weight: 500;
        border-bottom: 1px solid #e5e7eb;
        letter-spacing: 0.6px;
        border-top: 1px solid #e5e7eb;
        height: 40px;
        padding-inline: 8px;
    }

.custom_detailpagetable2 tr td {
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    height: 40px;
    padding-inline: 8px;
}

.custom_fw400 {
    font-weight: 400 !important;
}

.custom_fw500 {
    font-weight: 500 !important;
}

.custom_fw600 {
    font-weight: 600 !important;
}

.custom_fw700 {
    font-weight: 700 !important;
}

.custom_detailpagetable2 tr:hover {
    background-color: #f5f5f580;
}

.custom_notes_container {
    padding: 0px 0px 20px 0px;
}

    .custom_notes_container button {
        border: 1px solid #e5e7eb;
        font-weight: 500;
        cursor: pointer;
        font-size: 14px;
        border-radius: 3.4rem;
        display: flex;
        align-items: center;
        gap: 5px;
        color: #171717;
        padding: 5px 10px;
    }

    .custom_notes_container div button {
        color: #fafafa;
        background-color: #171717;
    }

        .custom_notes_container div button:hover {
            color: #fafafa !important;
            background-color: #171717 !important;
        }
/* Add Note Box */
.custom_add-note-box {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    background-color: #fafafa;
}

    .custom_add-note-box textarea {
        width: 100%;
        min-height: 65px;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        padding: 12px;
        resize: none;
        font-size: 14px;
    }

        .custom_add-note-box textarea:focus {
            border: 2px solid #3b82f6;
        }

        .custom_add-note-box textarea:focus-within {
            border: 2px solid #22222226;
            box-shadow: inset 0 0 0 3px #22222226;
        }

        .custom_add-note-box textarea:focus-visible {
            outline: 2px solid #3b82f6;
            box-shadow: inset 0 0px 0px 1px #a1a1a1;
        }

.custom_note-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
}

.custom_left-actions {
    display: flex;
    gap: 10px;
}

    .custom_left-actions button {
        background-color: white !important;
        cursor: auto;
    }

        .custom_left-actions button:hover {
            background-color: #f5f5f5 !important;
        }

.custom_note-actions .custom_save-btn {
    background-color: #171717e6 !important;
    color: #fafafa;
    cursor: auto;
    padding: 6px 10px;
}

    .custom_note-actions .custom_save-btn:hover {
        background-color: #171717e6 !important;
        color: #fafafa;
    }
/* Notes */
.custom_note-card {
    position: relative;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: .625rem;
    margin-bottom: 14px;
}

.custom_note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    margin-right: 12px;
}

    .custom_note-header strong {
        font-size: 14px;
        font-weight: 500 !important;
        color: #2a2a2a;
    }

    .custom_note-header .time {
        font-size: 14px;
        color: #737373;
        font-weight: 400;
    }

.custom_note-card p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Pinned */
.custom_note-card.pinned {
    background: #fffbe6;
    border: unset;
    display: flex;
}

.custom_note-left-border {
    width: 4px;
    background: #fdc700;
    border-bottom-left-radius: 0.25rem;
    border-top-left-radius: 0.25rem;
}

.custom_pinned-badge {
    background: #fef9c2;
    color: #894b00;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: .425rem;
    margin-left: 8px;
    font-weight: 500;
    border: 1px solid #e5e5e5;
}

.custom_note-content {
    padding: 16px;
    width: 100%;
}

.custom_note-card:last-child {
    margin-bottom: 0px;
}

.custom_divider_profile {
    height: 1px;
    background: #e5e5e5;
    margin: 0 0 18px 0;
    border: 1px solid #e5e5e5;
}

.custom_emailsubscription svg {
    width: 16px;
    height: 16px;
    stroke: #16a34a;
    fill: #16a34a;
    stroke-width: 2;
}


/* Title */
.custom_pipeline-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Cards Layout */
.custom_pipeline-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* Card Base */
.custom_pipeline-card {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid transparent;
}

/* Header */
.custom_pipeline-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

    .custom_pipeline-card-header .icon svg {
        width: 15px;
        height: 15px;
        stroke-width: 2;
    }
/* Value */
.custom_pipeline-card.neutral .value {
    font-size: 24px;
    font-weight: 600;
    font-family: Consolas;
    color: #2a2a2a;
}

.custom_pipeline-card.neutral .custom_pipeline-card-header .icon svg {
    stroke: #6c6c6c;
}
/* Card Colors */
.custom_pipeline-card.neutral {
    background: #fafafa;
    border-color: #e8e8e8;
    color: #6c6c6c;
}

.custom_pipeline-card.blue {
    background: #f0f4ff;
    border-color: #bfdbfe;
    color: #2563eb;
}

    .custom_pipeline-card.blue .value {
        font-size: 24px;
        font-weight: 600;
        font-family: Consolas;
        color: #1e3a8a;
    }

    .custom_pipeline-card.blue .custom_pipeline-card-header .icon svg {
        stroke: #2563eb;
    }

.custom_pipeline-card.sky {
    background: #eff6ff;
    border-color: #bedbff;
    color: #155dfc;
}

    .custom_pipeline-card.sky .value {
        font-size: 24px;
        font-weight: 600;
        font-family: Consolas;
        color: #1c398e;
    }

.custom_pipeline-card.green {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #16a34a;
}

    .custom_pipeline-card.green .value {
        font-size: 24px;
        font-weight: 600;
        font-family: Consolas;
        color: #525252;
    }

    .custom_pipeline-card.green .custom_pipeline-card-header .icon svg {
        stroke: #16a34a;
        fill: #16a34a;
    }

.custom_pipeline-card.purple {
    background: #faf5ff;
    border-color: #e9d4ff;
    color: #9810fa;
}

    .custom_pipeline-card.purple .value {
        font-size: 24px;
        font-weight: 600;
        font-family: Consolas;
        color: #59168b;
    }

.custom_pipeline-card.yellow {
    background: #fffbeb;
    border-color: #fde68a;
    color: #d97706;
}

    .custom_pipeline-card.yellow .value {
        font-size: 24px;
        font-weight: 600;
        font-family: Consolas;
        color: #525252;
    }

.custom_pipeline-card.red {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

    .custom_pipeline-card.red .value {
        font-size: 24px;
        font-weight: 600;
        font-family: Consolas;
        color: #525252;
    }

    .custom_pipeline-card.red .custom_pipeline-card-header .icon svg {
        stroke: #dc2626;
    }

.custom_filtercountvalue {
    width: fit-content;
    font-size: 12px;
    font-weight: 500;
    background-color: #171717;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    padding-inline: 9px;
}

.custom_contact_column_value {
    font-size: 13px;
    font-weight: 500;
    color: #6c6c6c;
    padding-top: 5px;
}

.custom_deals_column {
    width: 300px;
    padding: 8px;
}

.custom_Board_avatar1 {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    font-size: 12px;
}

.custom_deals_board_value {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.custom_deals_board_score_text {
    color: #737373;
    font-weight: 500;
    font-size: 12px;
}

.custom_deals_board_score {
    font-weight: 600;
    font-size: 12px;
}

    .custom_deals_board_score.orange {
        color: #d97706;
    }

    .custom_deals_board_score.green {
        color: #16a34a;
    }
/*Deals threedot*/
.custom_deals_threedot svg {
    width: 15px;
    height: 15px;
    display: none;
}

.custom_deals_threedot {
    border-radius: .625rem;
    width: 24px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_deals_threedot:hover {
        background-color: #f5f5f5;
    }

.custom_Board_card:hover .custom_deals_threedot svg {
    display: block;
}

.custom_deals_threedot1 svg {
    display: block;
}

.custom_threedot-wrapper {
    position: relative;
}

.custom_deal-dropdown {
    position: fixed;
    /*    top: 27px;
    right: 0;*/
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0px 3px rgba(0,0,0,0.12);
    min-width: max-content;
    display: none;
    z-index: 9999;
    border: 1px solid #e5e5e5;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

    .custom_deal-dropdown[style*="top"] {
        opacity: 1;
    }

    .custom_deal-dropdown ul {
        list-style: none;
        margin: 0;
        padding: 4px;
    }

    .custom_deal-dropdown li {
        padding: 6px 8px;
        font-size: 14px;
        cursor: pointer;
        white-space: nowrap;
        border-radius: .225rem;
    }

        .custom_deal-dropdown li:hover {
            background: #f5f6f8;
        }

        .custom_deal-dropdown li.danger {
            color: #e53935;
        }

        .custom_deal-dropdown li svg {
            width: 15px;
            height: 15px;
            stroke: #737373;
            stroke-width: 2;
        }

.custom_deal-dropdown1 {
    min-width: max-content;
}

    .custom_deal-dropdown1 li {
        color: #171717;
    }

.custom_deal-dropdown2 {
    width: 190px !important;
    max-width: fit-content;
}

.custom_checkboxselected_values {
    font-size: 12px;
    font-weight: 600;
    color: #171717;
    background-color: #f5f5f5;
    padding: 2px 8px;
    border-radius: .425rem;
}

.custom_checkboxselected_x svg {
    width: 16px;
    height: 16px;
}

.custom_checkboxselected_x {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-content: center;
    min-width: 32px;
    min-height: 32px;
    flex-direction: column;
    align-items: center;
}

    .custom_checkboxselected_x:hover {
        background-color: #f5f5f5;
        border-radius: 50%;
    }

.custom_checkboxselected_x_ticket {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-content: center;
    min-width: auto;
    min-height: auto;
    flex-direction: row;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #171717 !important;
    gap: 5px;
    border-radius: 3.4rem !important;
}

.custom_deals_score {
    height: 5px !important;
}

.custom_topic {
    width: 280px;
}

.custom_name-cell1 {
    color: #2a2a2a;
    font-weight: 600;
}

.custom_candidateimg1 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.custom_tooltip_clock1 svg {
    width: 10px;
    height: 10px;
}


/* Panel */
.custom_deal-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 36rem;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    display: none;
    z-index: 999999;
}

    .custom_deal-panel.active {
        display: block;
    }

    .custom_deal-panel::-webkit-scrollbar {
        width: 10px;
    }

    .custom_deal-panel::-webkit-scrollbar-track {
        background: transparent;
    }

    .custom_deal-panel::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.25);
        border-radius: 10px;
    }

.custom_deal_panel-header div h2 {
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-bottom: 13px !important;
    color: #0a0a0a !important;
}

.custom_deal_panel-header div .company {
    font-size: 14px;
    color: #737373;
    margin-bottom: 3px;
}

.custom_deal_panel-header div h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    color: #0a0a0a !important;
}

.custom_deal_panel_top {
    background-color: white;
    padding: 24px;
}

.custom_deal_panel-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 13px 13px 13px 17px;
}
/* Actions */
.custom_deal_Popup_actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
}

    .custom_deal_Popup_actions button {
        padding: 12px;
        border-radius: .625rem;
        border: 0px solid #e5e5e5;
        background: #fafafa;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-weight: 500;
    }

.custom_dealpopupaction_amount {
    font-size: 24px;
    font-weight: 600;
    color: #2a2a2a;
}

.custom_dealpopupaction_value {
    font-size: 12px;
    font-weight: 400;
    color: #6c6c6c;
}
/* Sections */
.custom_deal-panel section {
    margin-top: 24px;
    padding: 0 24px;
}

    .custom_deal-panel section h3 {
        margin-bottom: 9px !important;
        font-size: 20px !important;
    }

.custom_deal_panel_AI {
    margin-bottom: 12px !important;
}

    .custom_deal_panel_AI svg {
        width: 16px;
        height: 16px;
        stroke: #2563eb;
    }

    .custom_deal_panel_AI h4 {
        font-size: 12px;
        font-weight: 500;
        color: #737373;
        margin-bottom: 0 !important;
    }

.custom_deal_panel_Recommentation .custom_deal_panel_list-item {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background-color: #eff6ff;
    border: 1px solid #bedbff;
    border-radius: .625rem;
    gap: 0px;
    margin-bottom: 17px;
    font-size: 12px;
    font-weight: 400;
    color: #6c6c6c;
}

    .custom_deal_panel_Recommentation .custom_deal_panel_list-item .cus_address {
        font-size: 14px;
        font-weight: 400;
        color: #2a2a2a;
        margin-bottom: 8px;
    }

/* Sections */
.custom_deal_panel_section {
    margin-bottom: 16px;
}

.custom_deal_panel_section1 {
    margin-bottom: 24px !important;
}

.custom_deal_panel_section .label {
    font-size: 12px;
    color: #737373;
    letter-spacing: .04em;
    margin-bottom: 8px;
    font-weight: 500;
}

.custom_deal_panel_score {
    height: 12px;
    border-radius: 8.4px;
    background: #eee;
    overflow: hidden;
    display: inline-block;
    margin-right: 6px;
}

.custom_deal_panel_bar {
    height: 100%;
    width: 30px;
    border-radius: 8.4px;
    margin-bottom: 0;
    background-image: linear-gradient(to bottom, #BBDAFE, #A6CDFD);
}

    .custom_deal_panel_bar.green {
        background: #22c55e;
        background-image: linear-gradient(45deg, #22c55e, #22c55e);
    }

.custom_deal_panel_score-num {
    font-size: 14px;
    font-weight: 600;
    color: #2a2a2a;
}

.custom_deal_panel_section .date {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
}

    .custom_deal_panel_section .date span svg {
        width: 15px;
        height: 15px;
        stroke: #a3a3a3;
    }

.custom_deal_panel_action {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

    .custom_deal_panel_action button {
        border: none;
        font-weight: 500;
        cursor: pointer;
        font-size: 14px;
        border-radius: 3.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 13px;
        color: #171717;
        padding: 5px 10px;
        background-color: white !important;
    }

        .custom_deal_panel_action button svg {
            width: 15px;
            height: 15px;
        }

.custom_deal_panel_Recommentation .label {
    font-size: 12px;
    color: #737373;
    letter-spacing: .04em;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Deals */
.custom_deal_panel-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e8e8e8;
    border-radius: 16.4px;
    background-color: #fafafa;
}

    .custom_deal_panel-card img {
        width: 44px;
        height: 44px;
        border-radius: 50%;
    }

    .custom_deal_panel-card .name {
        font-size: 14px;
        font-weight: 600;
    }

    .custom_deal_panel-card .sub {
        font-size: 14px;
        color: #6c6c6c;
        font-weight: 400;
    }

    .custom_deal_panel-card .icons {
        margin-left: auto;
        font-size: 18px;
        display: flex;
        gap: 0px;
    }

        .custom_deal_panel-card .icons button {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            color: #fff;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            min-height: 40px;
        }

            .custom_deal_panel-card .icons button:hover {
                background-color: #e5e5e5;
            }

        .custom_deal_panel-card .icons svg {
            width: 16px;
            height: 16px;
            stroke: #171717;
        }

.custom_deal_panel-card1 {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .custom_deal_panel-card1 img {
        width: 44px;
        height: 44px;
        border-radius: 50%;
    }

    .custom_deal_panel-card1 .name {
        font-size: 14px;
        font-weight: 500;
        color: #2a2a2a;
    }

    .custom_deal_panel-card1 .sub {
        font-size: 14px;
        color: #6c6c6c;
        font-weight: 400;
    }
/* Activity */
.custom_deal_panel_activity {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fafafa;
    border-radius: 12px;
    margin-bottom: 12px;
}

    .custom_deal_panel_activity .title {
        font-size: 14px;
        font-weight: 500;
        color: #2a2a2a;
    }

    .custom_deal_panel_activity small {
        color: #6c6c6c;
        font-size: 12px;
        font-weight: 400;
    }

    .custom_deal_panel_activity .icon {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }

        .custom_deal_panel_activity .icon svg {
            width: 16px;
            height: 16px;
            stroke-width: 2;
        }

        .custom_deal_panel_activity .icon.blue {
            background: #e0f2fe;
            color: #0284c7;
        }

        .custom_deal_panel_activity .icon.green {
            background: #dcfce7;
            color: #16a34a;
        }

        .custom_deal_panel_activity .icon.purple {
            background: #f3e8ff;
            color: #7c3aed;
        }

.custom_AddDeal_modal-header h2 {
    margin-bottom: 5px !important;
}

.custom_AddDeal_modal-body {
    padding: 10px 24px !important;
}

.custom_modal-footer1 {
    padding: 0px 20px 24px 20px !important;
}

.custom_deal_error {
    display: none;
    font-size: 14px;
    font-weight: 400;
    color: #e7000b;
}

.custom_AddContact_form-group.error .custom_deal_error {
    display: block;
}

.custom_AddContact_form-group.error input {
    border-color: #e53935;
}

.custom_AddContact_form-group.error .date-input {
    border: 1px solid #e53935;
}

.custom_AddContact_form-group.error button.cus_validationborder {
    border-color: #e53935;
}
/* Custom Calender */
.calendar {
    display: none;
    position: fixed;
    background: #fff;
    border-radius: 14px;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 10px 30px;
    padding: 14px;
    z-index: 9999;
}

/*.calendar {
    display: none;
    margin-top: 10px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    padding: 14px;
    z-index: 9999;
}*/
.date-input {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    color: #737373;
    margin-bottom: 8px;
}

    .date-input svg {
        width: 15px;
        height: 15px;
    }

    .date-input:hover {
        color: #171717;
        background-color: #f5f5f5;
    }

    .date-input.active {
        color: #171717;
    }
/* Header */
.custom_calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 10px;
}

    .custom_calendar-header .nav {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: none;
        background: #f3f4f6;
        cursor: pointer;
    }

    .custom_calendar-header button {
        background-color: #f5f5f5;
        width: 26px;
        height: 26px;
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        /*    margin-right: 3px;*/
        border: 1px solid #e5e5e5;
        padding: 0px;
    }

        .custom_calendar-header button svg {
            width: 16px;
            height: 16px;
            stroke: #0a0a0a;
            opacity: 0.5;
        }

    .custom_calendar-header span {
        font-size: 14px;
        font-weight: 500;
        color: #0a0a0a;
    }
/* Weekdays */
.custom_weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 13px;
    color: #737373;
    margin-bottom: 8px;
    font-weight: 400;
}

/* Days */
.custom_days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 4px;
}

    .custom_days span {
        height: 32px;
        width: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        cursor: pointer;
        font-size: 14px;
        font-weight: 400;
        color: #171717;
    }

        .custom_days span:hover {
            background: #f5f5f5;
        }

    .custom_days .muted {
        color: #9ca3af;
    }

    .custom_days .selected {
        background: #111827 !important;
        color: #fff;
    }

/*Deals details page*/
.custom_deal_company_img {
    background-color: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: .625rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_deal_company_img svg {
        stroke: #6c6c6c;
    }

.custom_deals_profile {
    align-items: center;
}

    .custom_deals_profile .name-row h2 {
        font-size: 24px !important;
        font-weight: 700 !important;
    }

    .custom_deals_profile .subtitle {
        margin: 4px 0 4px !important;
    }

    .custom_deals_profile .custom_dot {
        width: 5px;
        height: 5px;
    }

    .custom_deals_profile .custom_Board_info1 .badge {
        padding: 4px 8px;
    }

.custom_deals_horizontal_threedot {
    width: 40px;
    height: 34px;
}

.custom_deals_horizontal_threedot_dropdown {
    width: 160px !important;
}

.custom_deals_horizontal_threedot svg {
    stroke: #171717;
    stroke-width: 2;
}


/* Stats */
.custom_deals_details_stats_container {
    padding: 20px;
}

.custom_deals_details_stats {
    margin-top: 18px;
    background: #fafafa;
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 12px
}

.custom_deals_details_stat {
    font-size: 12px;
    color: #6c6c6c;
    font-weight: 400;
}

    .custom_deals_details_stat strong {
        display: block;
        color: #2a2a2a;
        font-size: 20px;
        margin-top: 4px;
        font-weight: 600;
    }

    .custom_deals_details_stat p {
        color: #737373;
        margin-bottom: 0;
    }

.custom_fs-12 {
    font-size: 12px !important;
}

.custom_fs-13 {
    font-size: 13px !important;
}

.custom_fs-14 {
    font-size: 14px !important;
}

.custom_fs-15 {
    font-size: 15px !important;
}

.custom_fs-16 {
    font-size: 16px !important;
}

.custom_fs-18 {
    font-size: 18px !important;
}

.custom_fs-20 {
    font-size: 20px !important;
}

.custom_fs-24 {
    font-size: 24px !important;
}

.custom_fs-30 {
    font-size: 30px !important;
}

.custom_deals_details_stat svg {
    stroke: #737373;
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

/* Pipeline */
.custom_deals_detail_pipeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

    /* Blue background bar ONLY between dots */
    .custom_deals_detail_pipeline::before {
        content: "";
        position: absolute;
        top: 14px; /* vertically centered to dots */
        left: calc(6% / 6); /* trims left excess */
        right: calc(0% / 6); /* trims right excess */
        height: 3px;
        background: #2f5bff;
        z-index: 0;
    }

.custom_deals_detail_pipelinestage {
    position: relative;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #737373;
    z-index: 1;
}

    .custom_deals_detail_pipelinestage .dot {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 3px solid #d4d4d4;
        margin: 0 auto 6px;
        background: white;
    }

    .custom_deals_detail_pipelinestage.active .dot {
        background: white;
        border-color: #d4d4d4;
    }
/* Tabs */
.custom_dealsdetails_tabs {
    background: #f5f5f5;
    border-radius: 999px;
    padding: 4px;
    display: flex;
    gap: 10px;
    width: fit-content;
}

.custom_dealsdetails_tab {
    border: none;
    background: transparent;
    padding: 8px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #6c6c6c;
    padding-inline: 24px;
}

    .custom_dealsdetails_tab.active {
        background: #3b82f6;
        font-weight: 500;
        color: #fff;
        box-shadow: 0 1px 3px 0 #0000001a;
    }

.custom_AI_powered_insights {
    padding: 24px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background-image: linear-gradient(to right, #f0f4ff, #faf5ff);
    margin-top: 14px;
}

.custom_AI_powered_insights_left {
    background-color: #fff;
    border: 1px solid #bfdbfe;
    width: 40px;
    height: 40px;
    border-radius: 1.025rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

    .custom_AI_powered_insights_left svg {
        width: 20px;
        height: 20px;
        stroke: #2563eb;
    }

.custom_AI_powered_insights_right h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.custom_AI_powered_insights_right p {
    font-size: 14px;
    font-weight: 400;
    color: #525252;
    margin-bottom: 10px;
}

.custom_AI_powered_insights_right button {
    color: #0a0a0a;
    background-color: white;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 5px;
    padding-inline: 10px;
}

    .custom_AI_powered_insights_right button svg {
        width: 15px;
        height: 15px;
    }

.custom_deals_details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.custom_dealscard_detailpage {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 20px 0 #0000000a;
}

    .custom_dealscard_detailpage h3 {
        font-size: 12px;
        font-weight: 500;
        color: #737373;
        text-transform: uppercase;
        margin-bottom: 10px !important;
    }

    .custom_dealscard_detailpage p {
        color: #525252;
        font-size: 14px;
        font-weight: 400;
        line-height: 23px;
        margin-bottom: 0;
    }

.custom_dealscard_detailpage_nextstep {
    background-color: #e6ecf7;
    border: 1px solid #e5e5e5;
    width: 30px;
    height: 30px;
    border-radius: .625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    min-height: 30px;
}

    .custom_dealscard_detailpage_nextstep svg {
        width: 15px;
        height: 15px;
    }

        .custom_dealscard_detailpage_nextstep svg circle {
            stroke: #2563eb !important;
        }

.custom_dealscard_detailpage_nextstep_content h3 {
    margin-bottom: 5px !important;
}

.custom_dealscard_detailpage_nextstep_content p {
    font-weight: 500;
    color: #2a2a2a;
}

.custom_decisionmaker {
    background-color: #fafafa;
    border-radius: .625rem;
    padding: 12px;
    margin-right: 5px;
}

.custom_decisionmaker_title {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
}

.custom_decisionmaker_data {
    color: #6c6c6c;
}

.custom_decisionmaker1 {
    margin-bottom: 12px;
}

.custom_primary_contact_span {
    color: #6c6c6c;
    font-size: 14px;
    font-weight: 400;
}

.custom_primary_contact svg {
    width: 16px;
    height: 16px;
    stroke: #a3a3a3;
}

.custom_primary_contact a {
    font-size: 14px;
    font-weight: 400;
    color: #525252 !important;
    text-decoration: none;
}

    .custom_primary_contact a:hover {
        color: #2563eb !important;
    }

.custom_dealscard_detailpage button {
    border: 1px solid #e5e7eb;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    border-radius: 3.4rem;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #171717;
    padding: 5px 10px;
    background-color: white !important;
    padding-inline: 10px;
    justify-content: center;
    flex: 1;
}

    .custom_dealscard_detailpage button:hover {
        background-color: #f5f5f5 !important;
        border: 1px solid #e5e7eb;
    }

    .custom_dealscard_detailpage button svg {
        width: 16px;
        height: 16px;
        stroke: #171717;
        stroke-width: 2;
    }

.custom_deal_detail_title {
    font-size: 14px;
    font-weight: 400;
    color: #6c6c6c;
}

.custom_deal_detail_data {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
}

.custom_deal_detail_conainer {
    gap: 12px !important;
}

.custom_dealscard_detailpage h2 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #2A2A2A;
}

.custom_timeline-item1 {
    padding: 7px 0;
}

    .custom_timeline-item1 .icon {
        width: 33px;
        height: 33px;
    }

        .custom_timeline-item1 .icon svg {
            width: 16px;
            height: 16px;
        }

    .custom_timeline-item1:hover {
        background-color: unset;
    }

.custom_avatar_img {
    width: 20px;
    height: 20px;
}

.custom_add-note-box1 {
    border: unset;
    padding: unset;
    background-color: unset;
    margin-bottom: 0px;
}

    .custom_add-note-box1 textarea {
        min-height: 100px;
    }

.custom_save-btn1 svg {
    stroke: white !important;
}

.custom_allnotes_container {
    padding: 16px;
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: .625rem;
}

.custom_mb24 {
    margin-bottom: 24px;
}

.custom_allnotes_container p {
    color: #2a2a2a;
    margin-bottom: 12px;
}

.custom_allnotes_container .custom_dot {
    width: 4px;
    height: 4px;
}

.custom_dealscard_detailpage .custom_deals_horizontal_threedot {
    background-color: unset !important;
}

.custom_dealscard_detailpage button.btn-primary {
    background-color: #171717e6 !important;
    color: white;
}

    .custom_dealscard_detailpage button.btn-primary svg {
        stroke: white;
    }

.custom_deals_documents {
    background-color: #fafafa;
    padding: 12px;
    border-radius: .625rem;
}

    .custom_deals_documents:hover {
        background-color: #f5f5f5;
    }

.custom_deals_documents_clip {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: .625rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_deals_documents_clip svg {
        width: 20px;
        height: 20px;
        stroke: #6c6c6c;
        stroke-width: 2;
    }

.custom_deals_documents_content p {
    font-weight: 500;
    color: #2a2a2a;
    margin-bottom: -3px;
}

.custom_deals_documents_content span {
    color: #6c6c6c;
    font-size: 12px;
}

.custom_dealscard_detailpage button.btn-link {
    background-color: unset !important;
}

.custom_deals_form-group textarea {
    min-height: 100px !important;
}

.custom_AddDeal_modal-body .grid-2 {
    margin-bottom: 8px;
}

.custom_AddDeal_modal-body .grid-1 {
    margin-bottom: 8px;
}

.custom_AddDeal_modal-body label {
    margin-bottom: 5px;
}

#custom_EditDealPopUp .custom_field .cus_dropdown .cus_dropdown-btn {
    margin-bottom: 8px;
}

.custom_modal-footer1 button {
    display: flex;
    align-items: center;
    gap: 13px;
}

    .custom_modal-footer1 button.circleccheck svg {
        fill: white;
        stroke: white;
        stroke-width: 20px;
        width: 14px !important;
        height: 14px !important;
    }

    .custom_modal-footer1 button svg circle {
        stroke: white;
    }

.custom_modal-circlecheck .circlecheck svg {
    width: 16px;
    height: 16px;
}

    .custom_modal-circlecheck .circlecheck svg circle, .custom_modal-circlecheck .circlecheck svg path {
        stroke: white;
    }

.custom_dealstagePanel {
    padding: 15px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background-image: linear-gradient(to right, #f0f4ff, #faf5ff);
    margin-top: 14px;
}

.custom_dealstagePanel_left svg {
    width: 20px;
    height: 20px;
    stroke: #2563eb;
    stroke-width: 2;
}

.custom_dealstagePanel_right h3 {
    margin: 0 !important;
    font-size: 14px;
    font-weight: 500;
    color: #1e3a8a;
    margin-bottom: 3px !important;
}

.custom_dealstagePanel_right p {
    font-size: 14px;
    font-weight: 400;
    color: #1d4ed8;
    margin-bottom: 0;
}

#custom_dealstagePanel_id {
    display: none;
}

.custom_dealstage_dot {
    display: flex;
    align-items: center;
    gap: 7px;
}

    .custom_dealstage_dot .custom_dot {
        margin-top: 0;
    }

        .custom_dealstage_dot .custom_dot.blue {
            background-color: #2b7fff;
        }

.cus_dropdown-menu_withdot {
    padding: 4px !important;
}

    .cus_dropdown-menu_withdot .statusoption {
        padding: 5px 8px !important;
    }

.cus_new-dd-design .statusoption {
    padding: 12px 10px !important;
}

.custom_dealstage_dot .custom_dot.darkgray1 {
    background-color: #737373;
}

.custom_dealstage_dot .custom_dot.purple {
    background-color: #ad46ff;
}

.custom_dealstage_dot .custom_dot.darkblue {
    background-color: #615fff;
}

.custom_dealstage_dot .custom_dot.orange {
    background-color: #ff6900;
}

.custom_dealstage_dot .custom_dot.skyblue {
    background-color: #00b8db;
}

.custom_dealstage_dot .custom_dot.yellow {
    background-color: #f0b100;
}

.custom_dealstage_dot .custom_dot.green {
    background-color: #22c55e;
}

.custom_dealstage_dot .custom_dot.red {
    background-color: #ef4444;
}

/* OUTSIDE DROPDOWN */
.outside-dropdown {
    position: fixed;
    display: none;
    z-index: 9999;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 6px;
    min-width: 260px;
}
/* Selected */
.cus_dropdown-menu_withdot .statusoption svg {
    display: none;
}

.cus_dropdown-menu_withdot .statusoption.selected svg {
    display: block;
    stroke-width: 1.5;
    width: 20px;
    height: 18px;
}

.cus_dropdown-menu_withdot .statusoption {
    padding: 5px 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
}

    .cus_dropdown-menu_withdot .statusoption:hover {
        background: #f5f5f5;
    }

/*Settings*/
.custom_setting_header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 9px !important;
    line-height: 58px;
}

.custom_setting_header p {
    font-size: 14px;
    font-weight: 400;
    color: #6c6c6c;
}

.custom_settings_tabs {
    display: flex;
    gap: 10px;
    width: fit-content;
    flex-direction: column;
    width: 20%;
    border-right: 1px solid #e8e8e8;
}

.custom_settings_tab {
    box-shadow: unset;
    padding: 12px 16px !important;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    border-radius: 1.025rem !important;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #171717;
    border: unset !important;
}

.custom_card_detailpage .custom_settings_tab:hover {
    background-color: white !important;
}

.custom_settings_tab.active {
    box-shadow: 0 1px 3px 0 #0000001a !important;
    padding: 12px 16px !important;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    border-radius: 1.025rem !important;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #171717;
    border: 1px solid #e5e7eb !important;
}

.custom_card_detailpage .custom_settings_tab.active:hover {
    background-color: white !important;
}

.custom_settings_tab.active {
    color: #2563eb;
    background-color: #ffffff;
}

.custom_settings_tab svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #525252;
    stroke-width: 2;
}

.custom_settings_tab.active svg {
    stroke: #2563eb;
}

.custom_settings_content {
    width: 80%;
    padding: 32px;
}

.custom_profile_content_header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #2a2a2a;
}

.custom_profile_content_header p {
    font-size: 14px;
    font-weight: 400;
    color: #6c6c6c;
}

.custom_profile_content {
    padding: 24px;
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 1.025rem;
    display: flex;
    align-items: center;
}

    .custom_profile_content .custom_avatar {
        font-size: 16px;
        width: 80px;
        height: 80px;
    }

    .custom_profile_content .custom_title {
        font-size: 20px;
        font-weight: 500;
        color: #2a2a2a;
    }

    .custom_profile_content .custom_sub {
        font-size: 14px;
        font-weight: 400;
        color: #6c6c6c;
    }

    .custom_profile_content .custom_actions .btn {
        background-color: white;
    }

    .custom_profile_content .custom_remove {
        color: #b91c1c !important;
        background-color: unset;
        border: none !important;
    }

        .custom_profile_content .custom_remove:hover {
            color: #b91c1c !important;
            background-color: #fef2f2 !important;
            border: none !important;
        }

.custom_profile_form_content .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.custom_profile_form_content .grid-1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 14px;
}

.custom_profile_form_content select:focus {
    outline: 3px solid #3b82f6;
    border: 1px solid #3b82f6 !important;
    box-shadow: none;
}

.custom_profile_footer button.circleccheck {
    padding: 8px 13px;
    border-radius: 22px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

    .custom_profile_footer button.circleccheck svg {
        fill: white;
        stroke: white;
        stroke-width: 20px;
        width: 14px !important;
        height: 14px !important;
    }

    .custom_profile_footer button.circleccheck:hover {
        padding: 8px 13px;
        border-radius: 22px;
        border: none;
        background: #111 !important;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
    }

.custom_profile_footer button.cancel {
    background-color: white;
    padding: 6px 16px !important;
}

.custom_notifications_content h3 {
    font-weight: 500;
    color: #2a2a2a;
}

    .custom_notifications_content h3 svg {
        width: 20px;
        height: 20px;
        stroke: #6c6c6c;
    }

.custom_notifications_box {
    border: 1px solid #e8e8e8;
    padding: 16px;
    border-radius: .625rem;
}

    .custom_notifications_box:hover {
        border: 1px solid #d4d4d4;
    }

    .custom_notifications_box .n_title {
        font-size: 14px;
        font-weight: 500;
        color: #2a2a2a;
        margin-bottom: 0 !important;
    }

    .custom_notifications_box .n_sub {
        font-size: 12px;
        font-weight: 400;
        color: #6c6c6c;
        margin-bottom: 0 !important;
    }

.custom_notifications_box_right {
    padding-inline: 12px;
    border-radius: 20px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .custom_notifications_box_right:hover {
        background-color: #fef2f2;
    }

    .custom_notifications_box_right .text-danger {
        font-size: 14px;
        font-weight: 500;
        color: #b91c1c !important;
    }
/*Toggle*/
.custom-toggle {
    position: relative;
    width: 32px;
    height: 1.15rem;
    display: inline-block;
}

    .custom-toggle input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.toggle-slider {
    position: absolute;
    inset: 0;
    background-color: #111; /* black background */
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.3s;
}

    /* white circle */
    .toggle-slider::before {
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        left: -5px;
        top: 0.5px;
        background: #fff;
        border-radius: 50%;
        transition: transform 0.3s;
    }

.custom-toggle input:not(:checked) + .toggle-slider::before {
    left: 1px;
    top: 2.0px;
}
/* ON state */
.custom-toggle input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

/* OFF state (optional gray bg) */
.custom-toggle input:not(:checked) + .toggle-slider {
    background-color: white;
}

.custom-toggle1 input:not(:checked) + .toggle-slider::before {
    left: 1px;
    top: 1.3px;
}

.custom-toggle1 .toggle-slider::before {
    top: 0.6px;
}
/* OFF state (optional gray bg) */
.custom-toggle1 input:not(:checked) + .toggle-slider {
    background-color: #cbced4;
}

.custom_notifications_box .custom_toggle_btn:hover {
    background-color: unset !important;
}

.custom_notifications_content {
    margin-top: 32px;
}

.custom_security_box h3 {
    font-size: 20px;
    font-weight: 500;
    color: #2a2a2a;
}

    .custom_security_box h3 svg {
        width: 20px;
        height: 20px;
        stroke-width: 2;
        stroke: #6c6c6c;
    }

.custom_security_box {
    background-color: #fafafa;
    padding: 24px;
    border: 1px solid #e8e8e8;
    border-radius: 1rem;
}

    .custom_security_box .changepwd {
        background-color: white;
    }

    .custom_security_box .custom_Board_info1 .badge svg {
        width: 10px;
        height: 10px;
    }

.custom_activesessions {
    background-color: #f5f5f5;
    border-radius: .625rem;
    width: 36px;
    height: 36px;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
}

    .custom_activesessions svg {
        width: 20px;
        height: 20px;
        stroke: #6c6c6c;
        stroke-width: 2;
    }
/*Help and support*/
.custom_helpandsupport_container h1 {
    font-size: 24px !important;
    font-weight: 600;
    color: #2a2a2a;
}

.custom_helpandsupport_container p {
    font-size: 14px;
    font-weight: 400;
    color: #6c6c6c;
    margin-bottom: 0;
}

/*Appointment*/
.custom_BookAppoinment_model-header h2 {
    margin-bottom: 5px !important;
}

.custom_BookAppoinment_modal-body h3 {
    margin: 0 !important;
    margin-bottom: 20px !important;
}

    .custom_BookAppoinment_modal-body h3 svg {
        width: 20px;
        height: 20px;
        stroke: #2563eb;
    }

.custom_BookAppoinment_modal-body .custom_card {
    padding: 24px;
}

.custom_bookappointment_bottom label {
    font-size: 14px;
    font-weight: 400;
    color: #2a2a2a;
    line-height: 1;
}

.custom_bookappointment_bottom p {
    color: #737373;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.33;
    margin-bottom: 0;
}

/*Application Request Received */

.custom_app_request_received_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

    .custom_app_request_received_container .circletick {
        width: 80px;
        height: 80px;
        background-color: #dcfce7;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
    }

        .custom_app_request_received_container .circletick svg {
            width: 48px;
            height: 48px;
            stroke: #16a34a;
            fill: #16a34a;
        }

    .custom_app_request_received_container h1 {
        font-weight: 700;
    }

    .custom_app_request_received_container p {
        font-size: 14px;
        font-weight: 400;
        color: #6c6c6c;
        text-wrap-mode: wrap;
        max-width: 448px;
        text-align: center;
    }

.custom_app_req_rec_max-width {
    max-width: 672px;
    margin-inline: auto;
}

.custom_app_req_rec_content .a_title {
    font-size: 14px;
    font-weight: 400;
    color: #6c6c6c;
    margin-bottom: 0;
}

.custom_app_req_rec_content .a_sub {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
    margin-bottom: 0;
}

.custom_mt-24 {
    margin-top: 24px !important;
}

.custom_app_req_rec_desc h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 12px !important;
}

.custom_app_req_rec_desc span.desc {
    font-size: 14px;
    font-weight: 400;
    color: #525252;
}

.custom_app_req_rec_footer {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    gap: 15px;
}

    .custom_app_req_rec_footer button {
        padding: 8px 13px;
        border-radius: 22px;
        border: none;
        background: #111;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

        .custom_app_req_rec_footer button.cancel {
            background-color: white;
            padding: 6px 16px !important;
            color: #171717 !important;
            border: 1px solid #e5e5e5;
        }

            .custom_app_req_rec_footer button.cancel:hover {
                background-color: #f5f5f5;
            }

        .custom_app_req_rec_footer button svg {
            width: 14px !important;
            height: 14px !important;
        }

.custom_divider_app {
    height: 1px;
    background: #eee;
    margin: 25px 0;
}

.custom_app_req_rec_copyright {
    text-align: center;
}

    .custom_app_req_rec_copyright p {
        font-size: 14px;
        font-weight: 400;
        color: #6c6c6c;
        margin-bottom: 0;
    }

        .custom_app_req_rec_copyright p a {
            color: #2563eb !important;
            text-decoration: none;
        }

            .custom_app_req_rec_copyright p a:hover {
                text-decoration: underline;
            }

.custom_appointment_tab {
    padding-inline: 10px;
    text-wrap-mode: nowrap;
}

.custom_table-wrapper_appointment th {
    padding: 10px !important;
    padding-inline: 8px;
}

.custom_table-wrapper_appointment th, .custom_table-wrapper_appointment td {
    text-wrap-mode: nowrap;
    padding: 8px;
}

.custom_sorting_name_app span svg {
    width: 12px;
    height: 12px;
    opacity: 0.5 !important;
}

.custom_sorting_name_app span .sort-icon.desc svg, .custom_sorting_name_app span .sort-icon.asc svg {
    width: 9px;
    height: 9px;
    fill: #0a0a0a;
    stroke: #0a0a0a;
    stroke-width: 14px;
    opacity: 1 !important;
}

.custom_avatar_app {
    min-width: 32px;
    min-height: 32px;
    width: 32px;
    height: 32px;
}

.custom_avatar_ticket {
    min-width: 27px;
    min-height: 27px;
    width: 27px;
    height: 27px;
}

.custom_table-wrapper_appointment tbody tr:hover td .custom_name-cell {
    color: #2a2a2a;
}

.custom_table-wrapper_appointment tbody tr td .custom_name-cell {
    color: #2a2a2a;
}

/*Assign Staff*/
.cus_appointment-box {
    background: #fafafa;
    padding: 16px;
    border-radius: 10px;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .cus_appointment-box .label {
        color: #6c6c6c;
        margin: 0;
        font-size: 14px;
        font-weight: 400;
    }

    .cus_appointment-box strong {
        font-size: 14px;
        font-weight: 500;
        color: #2a2a2a;
    }

.custom_search-box_app input {
    padding: 6px 40px !important;
}

.custom_staff-list {
    max-height: 384px;
    overflow-y: auto;
}

.custom_staff-card {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 2px solid #e8e8e8;
    padding: 12px;
    border-radius: .625rem;
    margin-bottom: 9px !important;
    cursor: pointer;
}

    .custom_staff-card:hover {
        border: 2px solid #d4d4d4;
    }

    .custom_staff-card.active {
        border-color: #3b82f6;
        background-color: #f0f4ff;
    }

.custom_avatar_assignstaff {
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
    font-size: 14px;
}

.custom_assignstaff_info {
    font-size: 14px;
    font-weight: 400;
}

    .custom_assignstaff_info strong {
        font-weight: 500;
        color: #2a2a2a;
    }

    .custom_assignstaff_info p {
        margin-bottom: 1px;
        color: #6c6c6c;
    }

    .custom_assignstaff_info small {
        font-size: 12px;
        color: #737373;
    }

.custom_assignstaff_modal-footer button.disabled {
    pointer-events: none;
    opacity: .5;
}

.custom_assignstaff_modal-footer .btn-primary {
    padding: 8px 13px;
}

.custom_assignstaff_modal-footer .btn-outline:hover {
    background-color: #f5f5f5;
}

.custom_staff-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .custom_staff-radio input {
        display: none;
    }

/* outer circle */
.custom_radio-dot {
    width: 16px;
    height: 16px;
    border: 1.5px solid #d9d9d9;
    border-radius: 50%;
    position: relative;
    background: #fff;
}

/* inner black dot when checked */
.custom_staff-radio input:checked + .custom_radio-dot::after {
    content: "";
    width: 7px;
    height: 7px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom_assignstaffdot {
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: #22c55e;
}

    .custom_assignstaffdot.green {
        background-color: #22c55e;
    }

    .custom_assignstaffdot.orange {
        background-color: #f59e0b;
    }

.custom_familymembers1 svg {
    stroke: #a3a3a3;
}

.custom_staff-list::-webkit-scrollbar {
    width: 8px;
}

.custom_staff-list::-webkit-scrollbar-track {
    background: transparent;
}

.custom_staff-list::-webkit-scrollbar-thumb {
    background: #e5e5e5;
    border-radius: 10px;
}

.custom_Deals_Board::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25) !important;
    border-radius: 10px;
}

.custom_appointment_tag .badge svg {
    width: 12px;
    height: 12px;
    stroke-width: 2;
}

.custom_appointment_tag .badge.partner {
    stroke: #8200db;
}

.custom_appointment_tag .badge.customer svg {
    stroke: #16a34a;
}

.custom_bt_color {
    border-top: 1px solid #f5f5f5;
}

.custom_appointment_tag1 .badge svg {
    width: 14px;
    height: 14px;
}

.custom_appointment_person_icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #a3a3a3;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    background: #f5f5f5;
}

    .custom_appointment_person_icon svg {
        width: 16px;
        height: 16px;
    }

.custom_appointment_board_card {
    max-height: 349.6px;
    overflow-y: scroll;
}

    .custom_appointment_board_card::-webkit-scrollbar {
        width: 7px;
    }

    .custom_appointment_board_card::-webkit-scrollbar-track {
        background: transparent;
    }

    .custom_appointment_board_card::-webkit-scrollbar-thumb {
        background: #e5e5e5;
        border-radius: 10px;
    }

        .custom_appointment_board_card::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.25) !important;
            border-radius: 10px;
        }
/*Tickets*/
.custom_table_ticket td {
    color: #525252 !important;
    font-weight: 400;
}

.custom_table_ticket tbody tr td .custom_name-cell {
    color: #525252 !important;
}

.custom_ticket_id span {
    font-size: 14px;
    font-weight: 600;
    color: #2a2a2a;
    font-family: Consolas;
}

.custom_company_info1 svg {
    width: 16px;
    height: 16px;
    stroke: #a3a3a3;
}

.custom_sla_green {
    font-size: 12px;
    font-weight: 400;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 3px;
}

    .custom_sla_green svg {
        width: 10px;
        height: 10px;
    }

.custom_sla_orange {
    font-size: 12px;
    font-weight: 400;
    color: #d97706;
    display: flex;
    align-items: center;
    gap: 3px;
}

    .custom_sla_orange svg {
        width: 10px;
        height: 10px;
    }

.custom_sla_red {
    font-size: 12px;
    font-weight: 500;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 3px;
}

    .custom_sla_red svg {
        width: 10px;
        height: 10px;
        stroke: #a3a3a3;
    }

.custom_sla_black {
    font-size: 14px;
    font-weight: 400;
    color: #2a2a2a;
    text-wrap-mode: wrap;
}

.custom_sla_blue {
    color: #2563eb;
}

.custom_sla_black svg {
    width: 10px;
    height: 10px;
    stroke: #a3a3a3;
}

.custom_table_ticket tbody tr td .badge {
    padding: 2px 8px !important;
}

.custom_badge_icon svg {
    width: 12px;
    height: 12px;
    stroke-width: 2;
    margin-right: 4px;
}

.custom_badge_icon.emptybadge svg {
    stroke: #0a0a0a;
}

.custom_app_header_left {
    flex: 1;
}

.custom_appointment_profile .name-row h2 {
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

.custom_appointment_submariner svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.custom_appointment_data {
    margin-bottom: 5px;
}

    .custom_appointment_data svg {
        width: 16px;
        height: 16px;
        stroke: #737373;
    }

    .custom_appointment_data span {
        font-size: 14px;
        font-weight: 500;
        color: #525252;
    }

    .custom_appointment_data p {
        font-size: 14px;
        font-weight: 400;
        color: #6c6c6c;
        margin-bottom: 0;
    }

.custom_appointment_status_content {
    width: 256px;
}

.custom_appointment_status label {
    font-size: 14px;
    font-weight: 500;
    color: #525252;
    margin-bottom: 7px;
}

.custom_app_markcompleted svg {
    fill: white;
    stroke: white;
    stroke-width: 20px;
    width: 14px;
    height: 15px;
}

.custom_AI_preparation_left {
    border: 1px solid #bfdbfe;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    background-color: #dbeafe;
    border-radius: .625rem;
}

    .custom_AI_preparation_left svg {
        width: 16px;
        height: 16px;
        stroke: #2563eb;
    }

.custom_AI_preparation_right h3 {
    font-size: 14px;
    font-weight: 500;
    color: #1c398e;
    margin-bottom: 2px !important;
    text-transform: none;
}

.custom_AI_preparation_right p {
    color: #1447e6;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.custom_appointment_detailpage .field {
    font-size: 14px;
    margin-bottom: 16px;
    color: #2a2a2a;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 500;
}

.custom_appointment_detailpage .title {
    display: block;
    color: #6c6c6c;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

.custom_app_staffmember {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    font-size: 16px;
}

.custom_AI_preparation_left1 {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
}

    .custom_AI_preparation_left1 svg {
        width: 20px;
        height: 20px;
    }

.custom_app_detail_badge svg {
    margin-top: -1px;
    margin-right: 4px;
}

    .custom_app_detail_badge svg circle {
        stroke: #1447e6 !important;
    }

.custom_app_details_recommended svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.custom_app_details_recommended span {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
}

.custom_recommended_models {
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: .625rem;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .custom_recommended_models svg {
        width: 16px;
        height: 16px;
        stroke: #6c6c6c;
        stroke-width: 2;
    }

    .custom_recommended_models span {
        font-size: 14px;
        font-weight: 400;
        color: #525252;
    }

.custom_bg_unset {
    background-color: unset !important;
}

.custom_recommended_models1 {
    background-color: white;
    border: 1px solid #e8e8e8;
    border-radius: .625rem;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom_app_details_preparation .custom_dot {
    width: 5px !important;
    height: 6px !important;
}

.custom_appointment_timeline-container .custom_timeline-item1:hover {
    background-color: white !important;
}

.custom_appointment_timeline-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    .custom_appointment_timeline-container .custom_timeline-item .icon.email svg path {
        stroke: #2962ff;
    }

    .custom_appointment_timeline-container .custom_timeline-item .icon.email svg circle {
        stroke: #2962ff;
    }

.custom_appointment_list-item svg path, .custom_appointment_list-item svg circle {
    stroke: #2563eb;
}

.custom_appointment_notes {
    border-left: 2px solid #bfdbfe;
    padding-left: 16px;
}

    .custom_appointment_notes .title.custom_color52 {
        line-height: 21px;
    }

.custom_appointment_detailpage .title svg {
    width: 12px;
    height: 12px;
}

.custom_appointment-contactinfo button {
    background-color: #fafafa !important;
}

.custom_AI_powered_insights_left.purple svg {
    stroke: #9810fa;
    stroke-width: 2;
}

.custom_AI_powered_insights_left.blue svg, .custom_AI_powered_insights_left.blue svg circle {
    stroke: #155dfc;
    stroke-width: 2;
}

.custom_Tickets_modal-body h3 {
    margin: 0 !important;
    margin-bottom: 15px !important;
}

.statusoptionimg img, .statusoptionimg svg {
    width: 16px;
    height: 16px;
    stroke: #737373;
}

.custom_ticket_column_value {
    font-size: 13px;
    font-weight: 500;
    color: #cb8900;
    display: flex;
    gap: 3px;
}

    .custom_ticket_column_value span svg {
        width: 12px;
        height: 12px;
    }

.custom_board_ticket {
    font-size: 13px;
    font-weight: 500;
    color: #6c6c6c;
    font-family: Consolas;
}

.custom_board_email_icon {
    padding: 2px;
    /*    background-color: #f5f5f5;*/
    border-radius: .25rem;
    display: flex;
    align-items: center;
}

    .custom_board_email_icon svg {
        width: 12px;
        height: 12px;
        stroke-width: 2;
        stroke: #a3a3a3;
    }

.custom_TicketBoard_avatar {
    font-size: 12px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
}

.custom_tickets_tag .badge {
    padding: 3px 8px;
}

    .custom_tickets_tag .badge svg {
        width: 12px;
        height: 12px;
        stroke-width: 1.5;
        margin-right: 4px;
    }

    .custom_tickets_tag .badge.yellow {
        width: 100%;
        text-align: left;
        padding: 7px 10px;
    }

.custom_ticket_avatar1 {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    font-size: 16px;
}

.custom_converttodeal {
    border: 1px solid #93c5fd !important;
}

    .custom_converttodeal:hover {
        background-image: linear-gradient(to right, #e6f1feaa, #faf5ff);
    }

.custom_tickettodeal_left {
    box-shadow: 0 1px 3px 0 #0000001a;
    padding: 8px;
    border-radius: .625rem;
}

    .custom_tickettodeal_left svg {
        width: 16px;
        height: 16px;
        stroke: #2563eb;
    }

        .custom_tickettodeal_left svg circle, .custom_tickettodeal_left svg path {
            stroke: #2563eb;
        }

.custom_tickettodeal_right {
    padding-left: 4px;
}

    .custom_tickettodeal_right p {
        font-size: 14px;
        font-weight: 500;
        color: #2a2a2a;
        margin-bottom: 3px;
    }

.custom_tickettodeal_label svg {
    width: 16px;
    height: 16px;
    stroke: #737373;
}

.custom_tickets_conversation p {
    white-space: pre-wrap;
    color: #2a2a2a;
}

.custom_similar_tickets {
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background-image: linear-gradient(to right, #f0f4ff, #faf5ff);
    margin-top: 14px;
    padding: 1rem !important;
}

    .custom_similar_tickets div svg {
        width: 17px;
        height: 17px;
        stroke: #2563eb;
        stroke-width: 2;
    }

.custom_ticket_Analysis {
    border-radius: .625rem;
    padding: 12px;
    border: 1px solid #e8e8e8;
}

    .custom_ticket_Analysis p {
        line-height: 20px;
    }

.custom_ticket_Analysis_btn {
    background-image: linear-gradient(to right, #155dfc, #9810fa);
    color: white !important;
    padding-block: 9px !important;
}

    .custom_ticket_Analysis_btn svg {
        stroke: white !important;
    }

.custom_SLA_status svg {
    width: 16px;
    height: 16px;
}

.custom_SLA_status .cus_ontract {
    color: #16a34a;
}

.custom_SLA_status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom_TicketSummary svg {
    width: 20px;
    height: 20px;
    stroke: #2563eb;
    stroke-width: 2;
}

.custom_ticket_linkedcompany {
    padding: 8px;
    background-color: white;
    border-radius: .625rem;
}

    .custom_ticket_linkedcompany svg {
        width: 20px;
        height: 20px;
        stroke: #2563eb;
    }

.custom_currentlyopen {
    font-size: 20px;
    color: #155dfc;
}

.custom_resolved_ticket {
    color: #00a63e;
    font-size: 20px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .custom_resolved_ticket svg {
        width: 16px;
        height: 16px;
    }

.custom_performance_metrics {
    font-size: 14px;
    font-weight: 400;
    color: #525252;
}

    .custom_performance_metrics svg {
        width: 16px;
        height: 16px;
        stroke: #737373;
    }

.custom_SLA_compliance {
    color: #00a63e;
    font-size: 14px !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

    .custom_SLA_compliance svg {
        width: 16px;
        height: 16px;
    }

.cus_progress-bar {
    height: 7px;
    background: #eaeaea;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.cus_progress {
    height: 100%;
}

    .cus_progress.closed {
        background: #00c853;
    }

    .cus_progress.open {
        background: #2979ff;
    }

.cus_status-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
    color: #6c6c6c;
    font-weight: 400;
}
/*Ticket Activity*/
.custom_ticket_timeline-item {
    padding: 0;
}

    .custom_ticket_timeline-item .icon {
        width: 48px;
        height: 48px;
        border: 4px solid white;
        box-shadow: 0 1px 3px 0 #0000001a;
    }

        .custom_ticket_timeline-item .icon svg {
            width: 16px;
            height: 16px;
        }

    .custom_ticket_timeline-item:hover {
        background-color: unset;
    }

.custom_Ticket_timeline-container {
    position: relative;
}

    .custom_Ticket_timeline-container .custom_left_border {
        border-radius: .625rem;
        background-color: #e8e8e8;
        width: 2px;
        left: 10px;
    }

.custom_ticket_timeline-item .content .title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    color: #2a2a2a;
}

.custom_ticket_timeline-item .content .desc {
    font-size: 14px;
    color: #525252;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
}

.custom_ticket_timeline-item_desc {
    font-size: 12px;
    font-weight: 500;
    color: #1d4ed8 !important;
    text-decoration: none;
    cursor: pointer;
}

.custom_AddTicket_model {
    width: 425px;
}

.outside-dropdown1 {
    position: fixed;
    display: none;
    z-index: 9999;
    background: #fff;
    border-radius: 8px;
    padding: 4px !important;
    min-width: 260px;
    border: 1px solid rgb(224, 224, 224);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 5px;
    max-height: 250px;
    overflow-y: auto;
}

.custom_filterandtogglediv {
    gap: .5rem !important;
}

.custom_grid_column2 {
    grid-column: span 2 / span 2;
}

.custom_grid_column3 {
    grid-column: span 3 / span 3;
}

.custom_text_ellipsis1 {
    white-space: nowrap;
    width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*Log Activity ticket*/

/* Steps */
.custom_ConvertoDeal_steps {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.custom_ConvertoDeal_step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #a3a3a3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
}

    .custom_ConvertoDeal_step.active {
        background: #3b82f6;
        color: #fff;
    }

.custom_ConvertoDeal_line {
    flex: 1;
    height: 4px;
    background: #e8e8e8;
    margin-left: 10px;
    margin-right: 10px;
}

    .custom_ConvertoDeal_line.active {
        background: #3b82f6;
    }

/* Content */
.step-content .sub {
    color: #6c6c6c;
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 400;
}

.custom_ConvertoDeal_check-card {
    display: flex;
    gap: 12px;
    background: #fafafa;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    align-items: center;
}

    .custom_ConvertoDeal_check-card p {
        font-size: 12px;
        color: #737373;
        font-weight: 400;
        margin-bottom: 0;
    }

.custom_qualificationreason label {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
}

.custom_qualificationreason textarea {
    width: 100%;
    height: 70px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    resize: none;
    font-size: 14px;
}

.custom_qualificationreason {
    display: none;
    margin-bottom: 20px;
}

#custom_converttodealstep1.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.step-content {
    display: none;
}

    .step-content.active {
        display: block;
    }

.activecheck span.circlecheck {
    display: block !important;
}

.activecheck span {
    display: none;
}

.custom_logactivity_infobox_title {
    font-size: 14px;
    color: #1c398e;
    font-weight: bolder;
}

.custom_logactivity_infobox_content span.desc {
    color: #193cb8;
}

.custom_logactivity_infobox_content .custom_dot.blue {
    background: #193cb8 !important;
}

.custom_Ticket_Detail svg {
    width: 16px;
    height: 16px;
    stroke: #2563eb;
}

.custom_ticket_detail_contact svg {
    stroke: #6c6c6c;
    width: 12px;
    height: 12px;
}

.custom_customermessage_T {
    font-weight: 400;
    background-color: #fafafa;
    padding: 12px;
    border-radius: .625rem;
}

.custom_SLA_circlecheck svg circle, .custom_SLA_circlecheck svg path {
    stroke: #171717;
}

.custom_viewhistory_T {
    margin-top: -5px;
    color: #171717;
}

.custom_AI_star_T svg {
    width: 16px;
    height: 16px;
    stroke: #2563eb;
}

/*Marking Hub*/
.custom_campaign_dot {
    width: 12px !important;
    height: 12px !important;
}

.custom_journeybuilder svg {
    width: 12px;
    height: 12px;
}

.custom_CreateJourney_btn {
    padding: 16px;
    background-color: white;
    border: 2px solid #e8e8e8;
    border-radius: .625rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #2a2a2a;
    font-size: 12px;
    font-weight: 500;
    gap: 5px;
}

    .custom_CreateJourney_btn:hover {
        border: 2px solid #d4d4d4;
    }

    .custom_CreateJourney_btn svg {
        width: 20px;
        height: 20px;
        stroke: #525252;
        stroke-width: 2;
    }

    .custom_CreateJourney_btn.active {
        background-color: #f0f4ff;
        border: 2px solid #3b82f6;
    }

#CreateJourney_email svg {
    stroke: #009689;
    width: 24px;
    height: 24px;
}

#CreateJourney_target svg circle {
    stroke: #16a34a;
    width: 24px;
    height: 24px;
}

#CreateJourney_headphone svg {
    stroke: #2563eb;
    width: 24px;
    height: 24px;
}

.custom_CreateJourney_button.disabled {
    opacity: 0.5;
    pointer-events: none;
}

#CreateJourneybuilderbtn.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.custom_jb_btn {
    color: #2a2a2a;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 13px;
}

    .custom_jb_btn svg {
        width: 16px;
        height: 16px;
        stroke: #2a2a2a;
    }

.custom_JB_border {
    border-radius: .625rem;
    background-color: #e8e8e8;
    width: 1px;
    height: 24px;
}

.custom_br100 {
    border-radius: 100px !important;
}

/*JB accordion*/
.custom_JB_accordion {
    overflow: auto;
    height: 480px;
    max-height: 480px;
    width: 100%;
}

    .custom_JB_accordion::-webkit-scrollbar {
        width: 8px;
    }

    .custom_JB_accordion::-webkit-scrollbar-track {
        background: transparent;
    }

    .custom_JB_accordion::-webkit-scrollbar-thumb {
        background: #e5e5e5;
        border-radius: 10px;
    }

.custom_JB_accordion-item {
    border: 0;
    background: none;
}

.custom_JB_accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    gap: 8px;
}

.custom_JB_accordion-item.open .arrow {
    transform: rotate(90deg);
}

.custom_JB_accordion-item .arrow svg {
    width: 16px;
    height: 16px;
    color: #737373;
    stroke-width: 2;
}

.custom_JB_accordion-item.open .custom_JB_accordion-body {
    display: block;
}

.custom_JB_accordion-header .count {
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #737373;
}

.custom_JB_accordion-body {
    padding: 8px 12px 12px;
    display: none;
}

.custom_JB_node_lib .custom_list-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background-color: #eff6ff;
    border: 2px solid #bedbff;
    border-radius: .625rem;
}

    .custom_JB_node_lib .custom_list-item.green {
        background-color: #f0fdfa;
        border: 2px solid #96f7e4;
    }

    .custom_JB_node_lib .custom_list-item.purple {
        background-color: #faf5ff;
        border: 2px solid #e9d4ff;
    }

    .custom_JB_node_lib .custom_list-item.orange {
        background-color: #fffbeb;
        border: 2px solid #fde68a;
    }

    .custom_JB_node_lib .custom_list-item.indigo {
        background-color: #eef2ff;
        border: 2px solid #c6d2ff;
    }

    .custom_JB_node_lib .custom_list-item.gray {
        background-color: #fafafa;
        border: 2px solid #e8e8e8;
    }

.custom_JB_node_lib_left {
    background: #fff;
    padding: 6px;
    border-radius: .425rem;
}

    .custom_JB_node_lib_left svg {
        width: 16px;
        height: 16px;
        stroke-width: 2;
        stroke: #155dfc;
    }

    .custom_JB_node_lib_left.green svg {
        width: 16px;
        height: 16px;
        stroke-width: 2;
        stroke: #009689;
    }

        .custom_JB_node_lib_left.green svg path {
            stroke: #009689;
        }

    .custom_JB_node_lib_left.purple svg {
        width: 16px;
        height: 16px;
        stroke-width: 2;
        stroke: #9810fa;
    }

        .custom_JB_node_lib_left.purple svg path {
            stroke: #9810fa;
        }

    .custom_JB_node_lib_left.orange svg {
        width: 16px;
        height: 16px;
        stroke-width: 2;
        stroke: #d97706;
    }

    .custom_JB_node_lib_left.indigo svg {
        width: 16px;
        height: 16px;
        stroke-width: 2;
        stroke: #4f39f6;
    }

    .custom_JB_node_lib_left.gray svg {
        width: 16px;
        height: 16px;
        stroke-width: 2;
        stroke: #6c6c6c;
    }

.custom_JB_node_lib .custom_list-item .cus_name {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
}

.custom_JB_node_lib .custom_list-item .cus_address {
    font-size: 12px;
    font-weight: 400;
    color: #525252;
}

.action-card {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #ecfeff;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}

    .action-card strong {
        font-size: 13px;
    }

    .action-card p {
        font-size: 12px;
        color: #6b7280;
        margin: 2px 0 0;
    }

.custom_Create_JB_Model {
    border-radius: 0;
    height: 100%;
    max-height: 100%;
}

    .custom_Create_JB_Model .custom_Create_JB_model-header .close-btn {
        right: 25px;
        top: 18px;
    }

    .custom_Create_JB_Model .custom_Create_JB_model-header {
        padding: 16px;
        padding-bottom: 16px;
    }

.custom_Create_JB_modal-body {
    padding: 16px;
    padding-bottom: 16px;
}

.custom_jb_container h3 {
    font-size: 12px;
    font-weight: 500;
    color: #737373;
    text-transform: uppercase;
}

.custom_bg_white {
    background-color: white !important;
}

.custom_target_img svg {
    width: 16px;
    height: 16px;
}

    .custom_target_img svg circle {
        stroke: #2563eb;
    }

.custom_version_history {
    font-size: 12px;
    font-weight: 500;
    color: #0a0a0a;
    border-radius: .425rem;
    border: 1px solid #e5e5e5;
    padding-inline: 8px;
    padding-block: 2px;
}

.custom_JB_actions button {
    display: flex;
    justify-content: center;
    width: 100% !important;
}

    .custom_JB_actions button svg {
        margin-right: 8px;
        stroke: white;
    }

    .custom_JB_actions button.btn-secondary svg {
        stroke: #0a0a0a;
    }

    .custom_JB_actions button.btn-secondary {
        width: fit-content !important;
        padding-inline: 12px;
    }

.custom_JB_timelinesteps {
    color: #1d4ed8;
    background-color: #e6ecf7;
    border-radius: .425rem;
    padding-inline: 8px;
    padding-block: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
}

.custom_JB_content {
    padding: 16px;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: .625rem;
}

.cus_JB_circlecheck {
    color: #16A34A;
    border: 2px solid #e8e8e8;
    background-color: #fff;
}

    .cus_JB_circlecheck svg {
        stroke: #16A34A;
    }

.custom_timeline-item_JB .icon img {
    width: 20px;
    height: 20px;
}

.custom_timeline-item_JB .icon {
    width: 36px;
    height: 36px;
}

.custom_JB_content .custom_sla_green svg {
    width: 15px;
    height: 15px;
}

.custom_JB_content_time {
    height: fit-content;
    color: #0a0a0a;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    background-color: white;
    border-radius: .425rem;
    padding-inline: 8px;
    padding-block: 2px;
}

.custom_JB_status {
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    padding: 16px;
    border-radius: .625rem;
}

.custom_JB_stat {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 700;
}

    .custom_JB_stat.green {
        color: #16a34a;
    }

    .custom_JB_stat.blue {
        color: #2563eb;
    }

    .custom_JB_stat.gray {
        color: #6c6c6c;
    }

.custom_JS_playicon {
    width: 64px;
    height: 64px;
    background-color: #f5f5f5;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_JS_playicon svg {
        stroke: #a3a3a3;
        width: 32px;
        height: 32px;
    }

.custom_Create_JB_modal-body1 {
    overflow: auto;
    max-height: 450px;
    /*    padding-bottom: 77px;*/
}

.custom_sla_JB_arrowup_green svg {
    fill: #16a34a;
    stroke-width: 2;
}

.custom_JS_table-wrapper {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.custom_View_JB_model-header {
    position: sticky;
    background-color: white;
    top: 0;
}

.custom_testjourney svg {
    width: 50px;
    height: 22px;
    stroke: #155dfc;
    stroke-width: 2;
}

.custom_testjourney_title {
    font-size: 14px;
    font-weight: 500;
    color: #1c398e;
}

.custom_testjourney_sub {
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 400;
    color: #1447e6;
}

.custom_ViewJB_Model {
    top: 50% !important;
    z-index: 9999 !important;
    height: auto !important;
}

/*view Journey Builder*/
.cus_flow-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    align-items: flex-start;
}

/* COLUMN */
.cus_flow-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CARD */
.cus_flow-card {
    background: #fff;
    width: 280px;
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 4px 20px 0 #0000000a;
    border: 1px solid #e8e8e8;
    position: relative;
    cursor: pointer;
}

    .cus_flow-card h4 {
        font-size: 18px;
        font-weight: 600;
        color: #2a2a2a;
        margin-bottom: 0 !important;
    }

    .cus_flow-card p {
        font-size: 14px;
        color: #6c6c6c;
        font-weight: 400;
    }

    .cus_flow-card .custom_Board_info1 .badge.notset {
        background-color: white;
        color: #0a0a0a;
    }

    /* ICON */
    .cus_flow-card .icon {
        width: 40px;
        height: 40px;
        border-radius: 0.625rem;
        display: flex;
        font-size: 18px;
        flex-shrink: 0;
        justify-content: center;
        align-items: center;
    }

        /* COLORS */
        .cus_flow-card .icon.lightblue {
            background: #e6ecf7;
            color: #2563eb;
        }

        .cus_flow-card .icon svg {
            width: 18px;
            height: 18px;
            stroke-width: 2;
        }

        .cus_flow-card .icon.lightblue svg {
            stroke: #2563eb;
        }

        .cus_flow-card .icon.blue {
            color: #155dfc;
            background: #dbeafe;
        }

            .cus_flow-card .icon.blue svg {
                stroke: #155dfc;
            }

        .cus_flow-card .icon.warning {
            color: #d97706;
            background-color: #fef3c7;
        }

            .cus_flow-card .icon.warning svg {
                stroke: #d97706;
            }

        .cus_flow-card .icon.purple {
            color: #9810fa;
            background-color: #f3e8ff;
        }

            .cus_flow-card .icon.purple svg {
                stroke: #9810fa;
            }

        .cus_flow-card .icon.sms {
            color: #16a34a;
            background: #dcfce7;
        }

            .cus_flow-card .icon.sms svg {
                stroke: #16a34a;
            }

        .cus_flow-card .icon.whatsapp {
            color: #00a63e;
            background: #dcfce7;
        }

        .cus_flow-card .icon.cyan svg {
            stroke: #0092b8;
        }

        .cus_flow-card .icon.cyan {
            color: #0092b8;
            background: #cefafe;
        }

        .cus_flow-card .icon.orange svg {
            stroke: #f54a00;
        }

        .cus_flow-card .icon.orange {
            color: #f54a00;
            background: #ffedd4;
        }

        .cus_flow-card .icon.neutral svg {
            stroke: #6c6c6c;
        }

        .cus_flow-card .icon.neutral {
            color: #6c6c6c;
            background: #f5f5f5;
        }
/* DECISION BUTTONS */
.cus_decision-buttons {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
}

    .cus_decision-buttons button {
        padding: 4px 16px;
        border: none;
        border-radius: 4px;
        background: #f5f5f5;
        cursor: pointer;
        width: 50%;
        color: #525252;
        font-size: 12px;
    }

/* LINES */
.cus_line {
    width: 2px;
    height: 100px;
    background: #dcdcdc;
}

/* HORIZONTAL BRANCH */
.cus_horizontal {
    display: flex;
    gap: 40px;
    /*    margin-top: 30px;*/
}

.custom_JB_flowchart_right_header {
    padding: 16px;
    align-items: center;
}

    .custom_JB_flowchart_right_header .close-btn {
        top: unset;
    }

.journey-layout {
    display: flex;
    height: calc(100vh - 80px); /* adjust based on header height */
    position: relative;
}

.journey-canvas {
    flex: 1;
    overflow: auto;
}

.journey-flow {
    width: 1230px;
}

.custom_journeybuilder_model {
    position: absolute;
    top: 0;
    right: 16px;
    width: 384px;
    height: 98%;
    background: #fff;
    border-left: 1px solid #e5e7eb;
    border-radius: 0;
    display: none;
    flex-direction: column;
    z-index: 10;
    overflow-y: auto;
}

    /* Show panel */
    .custom_journeybuilder_model.active {
        display: flex;
    }

.custom_ViewJB_flowchart {
    height: 100% !important;
    top: 0 !important;
    right: 0 !important;
}

.custom_CBline {
    position: absolute;
    background: #d9d9d9;
}

/* Connector container */
.custom_connector-branch {
    position: relative;
    width: 600px; /* distance between branches */
    height: 80px;
    margin: 0 auto;
}

.custom_connector-branch1 {
    width: 475px;
}
/* Vertical line from decision node */
.custom_CBline.vertical {
    width: 2px;
    height: 30px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.custom_CBline.vertical1 {
    width: 2px;
    height: 30px;
    left: 50%;
    top: 50px;
    transform: translateX(-50%);
}
/* Horizontal split line */
.custom_CBline.horizontal {
    height: 2px;
    width: 100%;
    top: 30px;
    left: 0;
}

.custom_CBline.horizontal1 {
    height: 2px;
    width: 100%;
    top: 50px;
    left: 0;
}
/* Left branch down */
.custom_CBline.left-down {
    width: 2px;
    height: 50px;
    left: 0;
    top: 30px;
}

.custom_CBline.left-down1 {
    width: 2px;
    height: 50px;
    left: 0;
    top: 0;
}
/* Right branch down */
.custom_CBline.right-down {
    width: 2px;
    height: 50px;
    right: 0;
    top: 30px;
}

.custom_CBline.right-down1 {
    width: 2px;
    height: 50px;
    right: 0;
    top: 0;
}

/*Contact Third page*/
.custom_emailengagement1 {
    display: flex;
    align-items: center;
    gap: .5rem !important;
}

    .custom_emailengagement1 h3 {
        font-size: 14px !important;
        font-weight: 500;
        color: #525252;
        text-transform: uppercase;
    }

    .custom_emailengagement1 svg {
        width: 14px;
        height: 14px;
        stroke: #a3a3a3;
    }

    .custom_emailengagement1.channel svg path {
        stroke: #a3a3a3;
    }

.custom_detailpagetable h2 {
    padding: 24px 24px 16px 24px;
    text-transform: uppercase;
}

.custom_detailpagecontainer h2 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    color: #525252;
}

.custom_timeline-container .custom_left_border2 {
    border-radius: .625rem;
    background-color: #e8e8e8;
    width: 1px;
    left: 23px;
}

.custom_timeline-item2 .icon {
    width: 48px;
    height: 48px;
}

.custom_asso_contacts2:hover {
    background-color: #fafafa;
}

/*Ticket Second details Page*/
.custom_ticket_details_stat {
    font-size: 12px;
    color: #6c6c6c;
    font-weight: 400;
}

    .custom_ticket_details_stat svg {
        stroke: #a3a3a3;
        width: 14px;
        height: 14px;
        stroke-width: 2;
    }

.custom_T_border {
    border-left: 1px solid #d4d4d4;
    padding-left: 15px;
}

.custom_ticket_detail_Headerbottom {
    background-color: #fafafa;
    border-radius: .625rem;
}

.custom_Ticket_detailpage h2 {
    text-transform: uppercase;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #525252 !important;
}

.custom_Ticket_detailpage h4 {
    text-transform: uppercase;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #6c6c6c !important;
}

.custom_Ticket_detailpage svg {
    stroke: #a3a3a3;
    width: 14px;
    height: 14px;
}

/*Deals Second details page*/
.custom_deals_badge svg {
    width: 12px;
    height: 12px;
}

    .custom_deals_badge svg path, .custom_deals_badge svg circle {
        stroke: #0a0a0a;
    }

.custom_deals_seconddetail_RM svg {
    width: 16px;
    height: 16px;
}

.custom_deals_seconddetail_person {
    background-color: #f5f5f5;
    border-radius: 3.40282e38px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
}

    .custom_deals_seconddetail_person svg {
        width: 12px;
        height: 12px;
    }

.custom_Deals_SecondPage_actions .ghost {
    padding-inline: 10px;
    height: 32px;
    text-wrap-mode: nowrap;
}


.custom_stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

    /* Horizontal line */
    .custom_stepper::before {
        content: "";
        position: absolute;
        top: 22px;
        left: 0;
        right: 0;
        height: 2.5px;
        background: #e8e8e8;
        z-index: 0;
        width: 100%;
    }

.cus_active_stepper {
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 2.5px;
    z-index: 0;
    width: 33.33%;
    background: #3b82f6;
}
/* Active progress line */
.custom_CWstep.completed ~ .custom_stepper::before {
    background: blue;
}

.custom_CWstep {
    position: relative;
    text-align: center;
    z-index: 1;
    flex: 1;
}

.custom_CWcircle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #d0d0d0;
    background: white;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-top: 10px;
}

/* Completed */
.custom_CWstep.completed .custom_CWcircle {
    background: #2f80ed;
    border-color: #2f80ed;
    color: white;
}

/* Active */
.custom_CWstep.active .custom_CWcircle {
    border-color: #2f80ed;
}

.custom_CWinner-dot {
    width: 10px;
    height: 10px;
    background: #2f80ed;
    border-radius: 50%;
}

    .custom_CWinner-dot.gray {
        background: #d4d4d4;
    }
/* Labels */
.custom_CWlabel {
    margin-top: 10px;
    font-size: 12px;
    color: #2a2a2a;
    font-weight: 500;
    max-height: 20px;
}

.custom_CWstep.active .custom_CWlabel {
    color: #2563eb;
    font-weight: 600;
}

.custom_CWsub-text {
    font-size: 10px;
    color: #737373;
    font-weight: 400;
}

.custom_disable_label {
    color: #737373;
}

#custom_CloseWon.disabled {
    opacity: 0.5;
    pointer-events: none;
}

#custom_CloseLost {
    background-color: #e7000b;
}

    #custom_CloseLost.disabled {
        opacity: 0.5;
        pointer-events: none;
    }

.custom_Deals_Second_detailpage svg {
    stroke: #a3a3a3;
    width: 14px;
    height: 14px;
}

.custom_Deals_Second_detailpage h2 {
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 600;
    color: #404040;
}

.custom_DealsCard_Seconddetailpage {
    background: #fff;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
}

.custom_dealsseconddetail_contact {
    padding: 8px;
    border: 1px solid #e8e8e8;
    display: flex;
    gap: 10px;
    align-items: center;
    border-radius: .625rem;
}

    .custom_dealsseconddetail_contact img {
        width: 32px;
        height: 32px;
    }

.custom_Deals_Second_formgroup textarea {
    min-height: 80px;
    field-sizing: content;
}

.custom_DS_createactivity {
    background-color: #171717e6 !important;
    color: #fafafa;
    width: 100%;
    font-weight: 500;
    font-size: 14px;
    border-radius: 3.4rem;
    padding-block: 8px;
}

    .custom_DS_createactivity svg {
        width: 16px;
        height: 16px;
        stroke: white;
    }

.custom_DS_actions button svg {
    stroke: #0a0a0a;
    width: 16px;
    height: 16px;
}

.custom_DS_actions button {
    height: 32px;
}

.custom_dealsseconddetail_relatedcontact img {
    width: 48px;
    height: 48px;
}

.custom_dealsseconddetail_relatedcontact:hover {
    background-color: #fafafa;
}

.custom_deals_secondpage_container {
    padding: 17px 24px 16px 24px;
}

.custom_deals_Second_documents {
    background-color: white;
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
}

    .custom_deals_Second_documents:hover {
        background-color: #fafafa;
    }

    .custom_deals_Second_documents:last-child {
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }

.custom_deals_Second_documents_clip {
    background-color: #e6ecf7;
    border: 1px solid #e8e8e8;
    border-radius: .25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_deals_Second_documents_clip svg {
        stroke: #2563eb !important;
        width: 20px !important;
        height: 20px !important;
    }

.custom_deals_Second_documents_btn button {
    background-color: transparent !important;
}

.custom_deals_Second_documents_btn .danger svg {
    stroke: #b91c1c;
}

.custom_deals_second_Quotes svg {
    width: 48px;
    height: 48px;
    stroke: #d4d4d4;
}

.custom_deals_second_Quotes {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.custom_deals_secondpage_producttab {
    max-width: 384px;
}

.custom_deals_secondpage_producttab_container {
    background-color: #fafafa;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.custom_search-box input.custom_DS_searchbox {
    padding: 7px 39px !important;
}

.custom_search-box input.custom_searchbox {
    background: #fafafa !important;
    padding: 7px 39px !important;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    font-size: 14px;
    color: #6c6c6c;
}

.custom_DS_searchbox::placeholder {
    color: grey;
}

.custom_deals_second_product_doc:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

#custom_DS_AddProduct.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.custom_deals_second_product_doc.active {
    background-color: #f0f4ff;
}

.custom_DS_Timeline_content svg {
    width: 16px;
    height: 16px;
}

.custom_DS_Timeline_content.circlecheck svg path, .custom_DS_Timeline_content.circlecheck svg circle {
    stroke: #6c6c6c;
}

.custom_DS_Timeline_content.cusdeals svg circle {
    stroke: #2563eb;
}

.custom_DS_Timeline_content.note svg {
    stroke: #f54a00;
}

.custom_DS_Timeline_content.email svg {
    stroke: #155dfc;
}

.custom_DS_timeline_btn.active {
    background: #171717e6 !important;
    color: #fff;
    border: none;
}

    .custom_DS_timeline_btn.active:hover {
        background: #171717e6 !important;
        color: #fff;
        border: none;
    }

    .custom_DS_timeline_btn.active svg {
        stroke: white;
    }

.custom_DS_timeline_btn.custom_SLA_circlecheck.active svg path, .custom_DS_timeline_btn.custom_SLA_circlecheck.active svg circle {
    stroke: white !important;
}

/*Edit contact*/
.custom_EditContact_model {
    width: 896px;
    border-radius: 1.025rem;
    scrollbar-width: none;
}

.custom_pb24 {
    padding-bottom: 24px;
}

.custom_SecondContact_profile {
    box-shadow: 0 20px 18px -14px rgba(0, 0, 0, 0.08), 0 9px 11px rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    background: white;
    padding: 6px;
}

    .custom_SecondContact_profile img {
        object-fit: cover;
    }

.custom_Ticket_mobile_div svg {
    width: 14px;
    height: 14px;
    stroke: #a3a3a3;
}

.custom_activity_uploadfiles {
    width: 100%;
    border: 1px solid #e5e7eb;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    border-radius: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #030213;
    padding: 5px 10px;
    background-color: white !important;
}

    .custom_activity_uploadfiles:hover {
        background-color: #f5f5f5 !important;
        color: #0a0a0a !important;
        padding: 5px 10px !important;
        cursor: auto;
    }

    .custom_activity_uploadfiles svg {
        width: 16px;
        height: 16px;
        stroke: #0a0a0a;
        stroke-width: 2;
    }

.custom_bg_fafafa {
    background-color: #fafafa !important;
}

.custom_newactivity_footer button.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.custom_border_new {
    border: 1px solid #030213 !important;
}

.custom_NewActivity_popup_content {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

#custom_notecontent {
    display: none;
}

#custom_desccontent {
    display: none;
}

#custom_LinkActivity svg {
    stroke: white;
    stroke-width: 2;
}

#custom_LinkActivity.disabled {
    pointer-events: none;
    opacity: 0.5;
}


/* List */
.activity-list {
    max-height: 250px;
    overflow-y: auto;
}

.activity-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

    .activity-item.selected {
        background: #eef4ff;
        border-color: #4a90e2;
    }

.activity-content {
    flex: 1;
}

/* Title */
.activity-title {
    font-size: 18px;
    font-weight: 500;
    color: #2a2a2a;
}

.custom_newactivity_body {
    max-height: 75vh;
}
/* Small screen height */
@media screen and (max-height: 500px) {

    .custom_newactivity_body {
        max-height: calc(75vh - 60px);
    }
}

.custom_newactivity_body.no-scroll {
    overflow-y: hidden;
}

.custom_Alldayeventcheckbox {
    width: 16px;
    height: 16px;
}

/* Container */
.custom_attachment-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    width: 100%;
}

/* Header */
.custom_attachment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.custom_attachment-title {
    color: #525252 !important;
    font-size: 14px;
    font-weight: 500;
}

.custom_attachment-icons span {
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Drop area */
.custom_drop-area {
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #737373;
    font-size: 14px;
    font-weight: 400;
}

.custom_attachment-icons span svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.custom_attachment-icons button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.custom_attachment-icons {
    display: flex;
    gap: 5px;
}

    .custom_attachment-icons button:hover {
        background-color: #e9ebef;
    }

        .custom_attachment-icons button:hover span svg {
            stroke: #030213;
        }

.custom_activity_selectedvalue {
    font-size: 12px;
    font-weight: 500;
    color: #1447e6 !important;
    background-color: #eff6ff;
    padding-inline: 8px;
    padding-block: 2px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 3px;
}

    .custom_activity_selectedvalue svg {
        stroke: #1447e6;
        fill: #1447e6;
        opacity: 1;
    }

    .custom_activity_selectedvalue .custom_selectedcolor {
        color: #1447e6 !important;
    }
/* Responsive */
@media (max-width: 1200px) {
    .custom_pipeline-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .custom_dropdown button {
        padding: 6px 8px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .custom_bar {
        width: 20px;
    }

    .custom_flex-column_Tablet {
        flex-direction: column;
    }

    .custom_align_start_tablet {
        align-items: flex-start !important;
    }
}

@media (max-width: 600px) {
    .custom_pipeline-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom_bar {
        width: 25px;
    }

    .Custom_header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .custom_actions {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

        .custom_actions .btn {
            width: fit-content;
        }

    .custom_grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .custom_top-bar {
        display: flex;
        flex-direction: column;
    }

    .custom_search-box {
        width: 100%;
    }

    #custom_Contacts_Board {
        overflow-x: auto;
    }

    .custom_text_ellipsis {
        white-space: nowrap;
        width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .custom_border-radius {
        border-radius: 1.025rem !important;
    }

    .custom_bulk-popup {
        flex-direction: column;
    }

        .custom_bulk-popup .actions {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            margin-left: unset;
        }

    .custom_bulk_border {
        display: none;
    }

    .custom_bulk-popup .close {
        position: absolute;
        top: 14px;
    }

    .custom_filter-panel {
        width: 100%;
    }

    .custom_AddContact_modal {
        width: 100%;
    }

    .custom_addcontactpopup_mobile {
        text-align: center;
    }

    .custom_icon-circle {
        border-radius: 35%;
    }

    .custom_header-top {
        flex-direction: column;
    }

    .custom_meta_data .custom_CWC {
        text-wrap-mode: nowrap;
    }

    .custom_contactmetadiv_mobile {
        display: flex;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1px !important;
    }

    .custom_stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom_maincontent_detail .grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .custom_detailpagecontainer .grid-2 {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .custom_detailpagecontainer .grid-3 {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .custom_detailpagecontainer .grid-4 {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .custom_maincontent_detail .grid.grid-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .custom_maincontent_detail .custom_email_stats.grid.grid-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .custom_maincontent_detail .custom_email_stats.grid.grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .custom_email_stat .label {
        text-wrap-mode: nowrap;
    }

    .custom_detailpagetable {
        overflow-x: auto;
        width: 100%;
    }

        .custom_detailpagetable table {
            overflow-x: auto !important;
        }

    .custom_overflow-x_mobile {
        overflow-x: auto;
    }

    .custom_detailpagetable table tr th {
        text-wrap-mode: nowrap;
    }

    .custom_createticket {
        padding: 24px 24px 16px 4px !important;
    }

    .custom_detailpagetable h3 {
        padding: 24px 7px 16px 24px;
        text-wrap-mode: nowrap;
        margin-bottom: 0 !important;
    }

    .custom_createticket button {
        text-wrap-mode: nowrap;
    }

    .custom_detailpagetable tr td.ticket-id {
        text-wrap-mode: nowrap;
    }

    .custom_detailpagetable table.custom_files_table tr th {
        text-wrap-mode: wrap;
    }

    .custom_contactdetails_tab {
        text-wrap-mode: nowrap;
    }

    .custom_addassociationbtn {
        text-wrap-mode: nowrap;
    }

    .custom_activitytimeline {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .custom_activitytimeline_container {
        display: flex;
        flex-direction: column;
    }

        .custom_activitytimeline_container h3 {
            margin-bottom: 16px !important;
        }

    .custom_deals_container h3 {
        text-wrap-mode: nowrap;
    }

    .custom_deals_container button {
        text-wrap-mode: nowrap;
    }

    .custom_deal_table {
        text-wrap-mode: nowrap;
    }

    .custom_deals_container {
        padding: 17px 4px 16px 12px;
        gap: 10px;
    }

    .custom_grid_column2_mobile {
        grid-column: span 2 / span 2;
    }

    .custom_note-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .custom_left-actions {
        text-wrap-mode: nowrap;
    }

    .custom_flex-wrap_badge_mobile {
        gap: 10px;
        display: flex;
        flex-wrap: wrap;
    }

    .custom_AddDeal_modal-body .grid-2 {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .custom_pipeline-card .value {
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 85px;
        overflow: hidden;
    }

    .custom_checkboxselected_values {
        display: flex;
        gap: 5px;
    }

    .custom_textwrap_mobile {
        text-wrap-mode: nowrap;
    }

    .custom_deal-panel {
        width: 100%;
    }

    .custom_flex-column_mobile {
        flex-direction: column !important;
    }

    .custom_flex-row_mobile {
        flex-direction: row !important;
    }

    .custom_align_start_mobile {
        align-items: start !important;
    }

    .custom_p-0_mobile {
        padding: 0 !important;
    }

    .custom_deals_details_stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom_EditDeal_model-body .grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .custom_modal-footer1_mobile {
        display: flex;
        flex-direction: column-reverse;
    }

        .custom_modal-footer1_mobile button {
            padding: 10px 18px !important;
            justify-content: center;
        }

    .custom_dealsdetails_tabs {
        overflow-x: auto;
        width: auto;
    }

    .custom_AI_powered_insights_right button {
        text-wrap-mode: nowrap;
    }

    .custom_dealsactivity_div {
        text-wrap-mode: nowrap;
        gap: 10px;
    }

        .custom_dealsactivity_div button {
            gap: 3px;
        }

    .custom_deals_documents_content p {
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 140px;
        overflow: hidden;
    }

    .custom_flex-wrap_mobile {
        flex-wrap: wrap;
    }

    .custom_deals_documents_clip {
        padding: 11px;
        width: 45px;
        height: 45px;
    }

    .custom_appointment_header h1 {
        font-size: 24px;
    }

    .custom_BookAppoinment_modal-body .grid-2 {
        grid-template-columns: repeat(1, 1fr);
    }

    .custom_app_req_rec_footer {
        display: flex;
        flex-direction: column;
    }

        .custom_app_req_rec_footer button {
            width: 100%;
        }

    .custom_app_req_rec_dot .custom_dot {
        width: 10px;
        height: 7px;
    }

    .custom_appointment_status_content {
        width: 100%;
    }

    .custom_appointment_header-top .custom_actions .btn {
        width: 100%;
        text-wrap-mode: nowrap;
    }

    .custom_appointment_header-top .custom_actions .ghost {
        gap: 3px !important;
    }

    .custom_appointment_header-top {
        padding-bottom: 20px;
    }

        .custom_appointment_header-top .custom_actions {
            gap: 7px !important;
        }

    .custom_grid-1_mobile {
        grid-template-columns: repeat(1, 1fr);
    }

    .custom_maincontent_detail .grid.custom_grid-2_mobile {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .custom_settings_tabs {
        display: flex;
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }

    .custom_settings_content {
        width: 100%;
        padding: 22px;
    }

    .custom_profile_content .custom_avatar {
        width: 50px;
        height: 50px;
    }

    .custom_profile_content {
        padding: 10px;
    }

    .custom_appointment_profile .name-row h2 {
        font-size: 32px !important;
    }

    .custom_w-fitcontent_mobile {
        width: fit-content !important;
    }

    .custom_journeybuilder_model {
        width: 90% !important;
    }

    .custom_header-top .custom_actions.custom_Deals_SecondPage_actions {
        /*        flex-wrap: wrap;*/
        display: flex;
        margin-top: 17px;
        gap: 4px !important;
    }

    .custom_search-box input.custom_DS_searchbox_Mobile {
        background-color: #fafafa !important;
        padding: 6px 39px !important;
    }

    .custom_DS_filter_Mobile {
        border-radius: 50%;
        width: 37px;
        height: 37px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

        .custom_DS_filter_Mobile svg {
            width: 16px;
            height: 16px;
        }

    .custom_DS_card_Mobile h3 {
        white-space: nowrap;
        width: 225px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 20px;
    }

    .custom_DS_card_Mobile svg {
        width: 20px;
        height: 20px;
        stroke: #a3a3a3;
        stroke-width: 2;
    }

    .custom_CWlabel {
        font-size: 10px;
    }

    .custom_CWinner-dot {
        width: 8px;
        height: 8px;
    }

    .custom_CWcircle {
        width: 24px;
        height: 24px;
    }

    .custom_modal-circlecheck .circlecheck svg {
        width: 12px;
        height: 12px;
    }

    .custom_Contact_custom_card {
        padding: 16px;
    }

        .custom_Contact_custom_card .custom_Board_avatar {
            width: 48px;
            height: 48px;
            min-width: 48px;
            min-height: 48px;
        }

    .custom_Contact_card_Mobile h3 {
        white-space: nowrap;
        width: 85px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 20px;
    }

    .custom_Contact_card_Mobile svg {
        width: 20px;
        height: 20px;
        stroke: #a3a3a3;
        stroke-width: 2;
    }

    .custom_contact_seconddetail_actions {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

        .custom_contact_seconddetail_actions .btn.primary {
            width: 100%;
            justify-content: center;
        }

    .custom_EditContact_model {
        width: 90% !important;
    }

    .custom_AddContact_modal_Mobile90 {
        width: 90% !important;
    }

    .custom_ViewJB_flowchart {
        width: 100% !important;
    }

    .custom_EdiContact_modal-body .grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .custom_mb3_Mobile {
        margin-bottom: 1rem !important;
    }

    .custom_text_center_mobile {
        text-align: center;
    }

    .custom_NewActivity_modal_Mobile75 {
        width: 75% !important;
    }
}

.cus-login__err {
    color: red;
    padding: 5px;
    font-size: 14px;
}

.cus-doc__uploadfilename {
    padding: 5px;
    font-size: 13px;
}

.ticket_dropdown_menu {
    position: fixed;
    width: 270px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    overflow: hidden;
    display: none;
    z-index: 9999;
}

/* Top Action */ .ticket_dropdown_top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px;
    padding: 11px 14px;
    background: #f3f3f3;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
    font-weight: 500;
}


    .ticket_dropdown_top:hover {
        background: #ebebeb;
    }

/* Title */ .ticket_dropdown_title {
    padding: 8px 14px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

/* List */ .ticket_dropdown_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Item */ .ticket_dropdown_item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
    color: #222;
}


    .ticket_dropdown_item:hover {
        background: #f7f7f7;
    }

/* Icon */ .ticket_dropdown_icon {
    min-width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}


    .ticket_dropdown_icon svg {
        width: 16px;
        height: 16px;
    }

/* Delete */ .ticket_dropdown_delete {
    border-top: 1px solid #eeeeee;
    padding: 12px 14px;
    color: #ef4444;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}


    .ticket_dropdown_delete:hover {
        background: #fff5f5;
    }

/**Enquiry Details start*/
.custom_ticketdetails_top_actionbar {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 8px 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    top: 0;
    position: sticky;
    z-index: 999;
}

.custom_ticketdetails_top_actionbar_left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}


/* BUTTON */

.custom_ticketdetails_action_btn {
    border: none;
    background: transparent;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s;
}

    .custom_ticketdetails_action_btn:hover {
        background: #f5f7fb;
    }

    .custom_ticketdetails_action_btn svg {
        width: 14px;
        height: 14px;
    }



/* THREE DOT */

.custom_ticketdetails_top_action_btn_icon {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_ticketdetails_top_action_btn_icon:hover {
        background: #f5f7fb;
    }

    .custom_ticketdetails_top_action_btn_icon svg {
        width: 16px;
        height: 16px;
    }



/* DROPDOWN */

.custom_ticketdetails_dropdown_wrapper {
    position: relative;
}

.custom_ticketdetails_dropdown_menu {
    position: fixed;
    /*top: 70px;*/
    right: 20px;
    width: 220px;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid #e7e7e7;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    z-index: 99999;
}

    .custom_ticketdetails_dropdown_menu.show {
        display: block;
    }

    .custom_ticketdetails_dropdown_menu button {
        width: 100%;
        height: 38px;
        border: none;
        background: transparent;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 12px;
        padding: 0 10px;
        transition: 0.2s;
    }

        .custom_ticketdetails_dropdown_menu button:hover {
            background: #f5f7fb;
        }

        .custom_ticketdetails_dropdown_menu button svg {
            width: 14px;
            height: 14px;
        }



/* MAIN CARD */

.custom_ticketdetails_main_card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}



/* HEADER */

.custom_ticketdetails_header_section {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}



/* PROFILE */

.custom_ticketdetails_profile {
    display: flex;
    gap: 12px;
}

.custom_ticketdetails_avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ea4335;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.custom_ticketdetails_name {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.custom_ticketdetails_subtitle {
    margin-top: 2px;
    color: #777;
}

.custom_ticketdetails_badge {
    background: #e8f8ef;
    border: 1px solid #b9f8cf;
    color: #008236;
    border-radius: 20px;
    padding: 2px 7px;
    font-size: 10px;
}



/* INFO BOX */

.custom_ticketdetails_info_group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.custom_ticketdetails_info_box {
    width: 200px;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 8px 12px;
}

    .custom_ticketdetails_info_box h9 {
        margin: 0;
        font-size: 13px;
        font-weight: 700;
    }

    .custom_ticketdetails_info_box span {
        font-size: 10px;
        color: #888;
    }

/*.custom_ticketdetails_status_box {
    border: 1px solid #f0c75c;
    background: #fffdf7;
}*/

.custom_ticketdetails_owner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.custom_ticketdetails_owner_left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom_ticketdetails_owner p {
    font-size: 10px;
    color: #888;
    margin: 0;
}

.custom_ticketdetails_owner_avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #6f42c1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.custom_ticketdetails_owner_arrow {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*cursor: pointer;*/
}

    .custom_ticketdetails_owner_arrow svg {
        width: 14px;
        height: 14px;
    }


.custom_ticketdetails_name_arrow {
    width: 18px;
    height: 18px;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    /*cursor: pointer;*/
}

    .custom_ticketdetails_name_arrow svg {
        width: 14px;
        height: 14px;
    }


/* PIPELINE TITLE */

.custom_ticketdetails_pipeline_title_section {
    margin-top: 22px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.custom_ticketdetails_pipeline_icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #2f66f3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_ticketdetails_pipeline_icon svg {
        width: 16px;
        height: 16px;
        /*fill: #fff;*/
    }

.custom_ticketdetails_pipeline_title_section h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.custom_ticketdetails_pipeline_title_section p {
    margin-top: 3px;
    font-size: 12px;
    color: #666;
}



/* PIPELINE */

.custom_ticketdetails_stepper_wrapper {
    position: relative;
    margin-top: 28px;
}



/* LINE */

.custom_ticketdetails_pipeline_line {
    position: absolute;
    top: 14px;
    left: 9%;
    right: 9%;
    height: 2px;
    background: #dadada;
    overflow: hidden;
    border-radius: 20px;
}

.custom_ticketdetails_pipeline_line_active {
    width: 0%;
    height: 100%;
    background: #2f66f3;
    transition: 0.3s;
}



/* STEPS */

.custom_ticketdetails_pipeline_steps {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.custom_ticketdetails_pipeline_step {
    width: 100%;
    max-width: 180px;
    text-align: center;
    cursor: pointer;
}

.custom_ticketdetails_pipeline_circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

    .custom_ticketdetails_pipeline_circle svg {
        width: 12px;
        height: 12px;
    }



    /* COMPLETED */

    .custom_ticketdetails_pipeline_circle.completed {
        background: #2f66f3;
        color: #fff;
    }



    /* ACTIVE */

    .custom_ticketdetails_pipeline_circle.active {
        background: #fff;
        border: 2px solid #2f66f3;
    }



    /* PENDING */

    .custom_ticketdetails_pipeline_circle.pending {
        background: #fff;
        border: 2px solid #d3d3d3;
    }

        .custom_ticketdetails_pipeline_circle.pending svg {
            fill: #bdbdbd;
        }



/* CARD */

.custom_ticketdetails_pipeline_step_card {
    margin-top: 10px;
    background: #fff !important;
    border-radius: 10px;
    padding: 10px;
    transition: 0.2s;
}

.custom_ticketdetails_pipeline_step.active
.custom_ticketdetails_pipeline_step_card {
    background: #eef3ff;
}

.custom_ticketdetails_pipeline_step_card h5 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.custom_ticketdetails_pipeline_step_card span {
    font-size: 11px;
    color: #777;
}

/*Alert*/
.custom_ticketdetails_pipeline_alert {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 360px;
    background: #eaf7ee;
    border-left: 4px solid #0b9444;
    padding: 16px 18px;
    border-radius: 10px;
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 9999999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

    .custom_ticketdetails_pipeline_alert.show {
        display: flex;
    }

    .custom_ticketdetails_pipeline_alert svg {
        width: 18px;
        height: 18px;
    }

    .custom_ticketdetails_pipeline_alert span {
        font-size: 13px;
        font-weight: 600;
        color: #128042;
    }


/* RIGHT PANEL */

.custom_ticketdetails-panel {
    position: fixed;
    right: -520px;
    top: 0;
    width: 500px;
    height: 100vh;
    background: #fff;
    overflow-y: auto;
    z-index: 999999;
    transition: 0.3s;
    box-shadow: -4px 0 20px rgba(0,0,0,0.08);
}

    .custom_ticketdetails-panel.active {
        right: 0;
    }

    .custom_ticketdetails-panel::-webkit-scrollbar {
        width: 10px;
    }

    .custom_ticketdetails-panel::-webkit-scrollbar-track {
        background: transparent;
    }

    .custom_ticketdetails-panel::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.25);
        border-radius: 10px;
    }


.custom_ticketdetails_panel_body {
    overflow-y: auto;
    /*padding: 18px;*/
}

.custom_ticketdetails_panel_close {
    border: none;
    background: transparent;
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

    .custom_ticketdetails_panel_close:hover {
        background: #f5f7fb;
    }



/* RESPONSIVE */

@media(max-width:991px) {

    .custom_ticketdetails_pipeline_steps {
        flex-wrap: wrap;
        justify-content: center;
    }

    .custom_ticketdetails_pipeline_line {
        /* display: none;*/
    }

    .custom_ticketdetails_pipeline_step {
        max-width: 100%;
    }

    .custom_ticketdetails-panel {
        width: 100%;
    }
}

@media(max-width:768px) {

    .custom_ticketdetails_action_btn span {
        display: none;
    }

    .custom_ticketdetails_pipeline_alert {
        min-width: auto;
        width: calc(100% - 40px);
        right: 20px;
    }
}

.custom_ticketdetails_status_box.open {
    border: 1px solid #c2d0ef;
    background: #eff6ff;
}

    .custom_ticketdetails_status_box.open h9 {
        color: #2563eb;
    }

.custom_ticketdetails_status_box.waiting-cw {
    border: 1px solid #f0c75c;
    background: #fff8e8;
}

    .custom_ticketdetails_status_box.waiting-cw h9 {
        color: #b7791f;
    }

.custom_ticketdetails_status_box.waiting-cust {
    border: 1px solid #e9d4ff;
    background: #faf5ff;
}

    .custom_ticketdetails_status_box.waiting-cust h9 {
        color: #8200db;
    }

.custom_ticketdetails_status_box.resolved {
    border: 1px solid #22c55e;
    background: #ecfdf5;
}

    .custom_ticketdetails_status_box.resolved h9 {
        color: #16a34a;
    }

.custom_ticketdetails_panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: calc(100vw - 420px);
    background: #f5f5f5;
    height: 100vh;
    z-index: 999999;
    transition: .35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 30px rgba(0,0,0,0.08);
}

    .custom_ticketdetails_panel.active {
        right: 0;
    }

.custom_ticketdetails_panel_header {
    height: 52px;
    border-bottom: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    flex-shrink: 0;
    background: #fff;
}

    .custom_ticketdetails_panel_header h4 {
        margin: 0;
        font-size: 15px;
    }

    .custom_ticketdetails_panel_header button {
        border: none;
        background: transparent;
        font-size: 18px;
        cursor: pointer;
    }

.custom_ticketdetails_panel_body {
    flex: 1;
    overflow-y: auto;
    background: #fff;
}


.custom_ticketdetails_email_page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #f7f7f8;
}

/* TOP BAR */

.custom_ticketdetails_email_topbar {
    height: 48px;
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.custom_ticketdetails_email_topbar_left {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

    .custom_ticketdetails_email_topbar_left button,
    .custom_ticketdetails_email_topbar_right button {
        border: none;
        background: transparent;
        font-size: 14px;
        color: #333;
        cursor: pointer;
        height: 34px;
        padding: 0 10px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .custom_ticketdetails_email_topbar_left button:hover,
        .custom_ticketdetails_email_topbar_right button:hover {
            background: #f3f3f3;
        }

    .custom_ticketdetails_email_topbar_left svg,
    .custom_ticketdetails_email_topbar_right svg {
        width: 15px;
        height: 15px;
    }

/* CONTENT */

.custom_ticketdetails_email_content {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* TITLE */

.custom_ticketdetails_email_title_wrap {
    display: block;
    position: sticky;
    top: 48px;
    z-index: 998;
    border-bottom: 1px solid #e4e4e4;
    background: #fff;
    padding: 26px 20px 18px;
}

    .custom_ticketdetails_email_title_wrap h1 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
        color: #111;
    }

.custom_ticketdetails_email_title_row {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .custom_ticketdetails_email_title_row span {
        color: #777;
        font-size: 14px;
    }

.custom_ticketdetails_email_title_wrap p {
    margin: 8px 0 0;
    color: #666;
    font-size: 14px;
}

/* FORM CARD */

.custom_ticketdetails_email_form_card {
    background: #fff;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 18px;
}

.custom_ticketdetails_email_form_left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom_ticketdetails_email_form_right {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .custom_ticketdetails_email_form_right .custom_ticketdetails_email_field {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .custom_ticketdetails_email_form_right label {
        font-size: 13px;
    }

/* FIELD */

.custom_ticketdetails_email_field {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 10px;
}

    .custom_ticketdetails_email_field label {
        font-size: 14px;
        color: #444;
        font-weight: 500;
    }

        .custom_ticketdetails_email_field label span {
            color: red;
        }

    .custom_ticketdetails_email_field input,
    .custom_ticketdetails_email_field select {
        width: 100%;
        height: 38px;
        border: 1px solid #d8d8d8;
        border-radius: 8px;
        padding: 0 12px;
        font-size: 13px;
        outline: none;
        background: #fff;
        box-shadow: none;
    }

        .custom_ticketdetails_email_field input:focus,
        .custom_ticketdetails_email_field select:focus {
            border-color: #5b9cff;
            box-shadow: 0 0 0 2px rgba(91,156,255,0.12);
        }


/*
   LOOKUP FIELD
*/

.custom_ticketdetails_lookup {
    position: relative;
    width: 100%;
    min-height: 38px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    padding-right: 42px;
}

.custom_ticketdetails_lookup_selected {
    flex: 1;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

#EnquiryDetailsCard .custom_ticketdetails_lookup_selected {
    flex: 1;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 200px;
}

/* CHIP */

.custom_ticketdetails_lookup_chip {
    min-height: 32px;
    background: #eef3ff;
    border-radius: 18px;
    padding: 4px 10px 4px 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
}

    .custom_ticketdetails_lookup_chip span {
        font-size: 13px;
        color: #000;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      /*  padding-left: 7px;*/
        cursor: default;
    }

/* AVATAR */

/*.custom_ticketdetails_lookup_avatar {
    width: 24px;
    height: 28px;
    border-radius: 50%;
    background: #e54848;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}*/



/* REMOVE BUTTON */

.custom_ticketdetails_lookup_remove {
    border: none;
    background: transparent;
    color: #4e79ff;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    line-height: 1;
}



/* SEARCH BUTTON */

.custom_ticketdetails_lookup_search {
    position: absolute;
    right: 0;
    top: 0;
    width: 38px;
    height: 100%;
    border: none;
    border-left: 1px solid #e2e2e2;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
}

    .custom_ticketdetails_lookup_search:hover {
        background: #f0f0f0;
    }

    .custom_ticketdetails_lookup_search svg {
        width: 15px;
        height: 15px;
    }



/* DROPDOWN */

.custom_ticketdetails_lookup_dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e2e2;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    padding: 8px;
    display: none;
    z-index: 1000;
}

.custom_ticketdetails_lookup.active .custom_ticketdetails_lookup_dropdown {
    display: block;
}



/* LOOKUP ITEM */

.custom_ticketdetails_lookup_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

    .custom_ticketdetails_lookup_item:hover {
        background: #f5f7fb;
    }



/* TEXT AREA */

.custom_ticketdetails_lookup_info {
    flex: 1;
    min-width: 0;
}

    .custom_ticketdetails_lookup_info strong {
        display: block;
        font-size: 11px;
        font-weight: 600;
        color: #222;
        line-height: 1.2;
    }

    .custom_ticketdetails_lookup_info span {
        display: block;
        margin-top: 2px;
        font-size: 12px;
        color: #777;
    }



/* BADGE */

.custom_ticketdetails_lookup_badge {
    height: 24px;
    padding: 0 10px;
    border: 1px solid #d7d7d7;
    border-radius: 999px;
    background: #fff;
    color: #666;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* EDITOR */

.custom_ticketdetails_email_editor {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    overflow: hidden;
}

.custom_ticketdetails_email_editor_toolbar {
    background: #fafafa;
    height: 40px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 8px;
}

    .custom_ticketdetails_email_editor_toolbar button {
        background: transparent;
        width: 30px;
        height: 30px;
        border: none;
        font-size: 14px;
        border-radius: 6px;
        cursor: pointer;
    }

        .custom_ticketdetails_email_editor_toolbar button:hover {
            background: #ececec;
        }

.custom_ticketdetails_email_editor_toolbar-button svg {
    width: 14px;
    height: 14px;
}

.custom_ticketdetails_email_editor textarea {
    width: 100%;
    min-height: 260px;
    border: none;
    resize: none;
    outline: none;
    padding: 14px;
    font-size: 14px;
}

/* ATTACHMENT */

.custom_ticketdetails_email_attachment_card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 18px;
}

.custom_ticketdetails_email_attachment_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

    .custom_ticketdetails_email_attachment_header button {
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .custom_ticketdetails_email_attachment_header svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_email_attachment_empty {
    border: 1px dashed #d8d8d8;
    border-radius: 12px;
    min-height: 100px;
    padding: 12px;
    box-sizing: border-box;
    display: block !important
}

.custom_ticketdetails_attachment_empty_text {
    min-height: 76px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
}

.custom_ticketdetails_attachment_item {
    height: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    margin-top: 8px;
    background: #fff;
    font-size: 13px;
}



.custom_ticketdetails_attachment_item {
    width: 100%;
    min-height: 56px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.custom_ticketdetails_attachment_left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom_ticketdetails_attachment_name {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    line-height: 1.2;
}

.custom_ticketdetails_attachment_size {
    font-size: 12px;
    color: #8b8b8b;
    margin-top: 3px;
}

.custom_ticketdetails_attachment_delete {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    flex-shrink: 0;
}

    .custom_ticketdetails_attachment_delete:hover {
        background: #f5f5f5;
    }

    .custom_ticketdetails_attachment_delete svg {
        width: 16px;
        height: 16px;
        color: red;
    }

/* DURATION */

.custom_ticketdetails_email_duration_card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .custom_ticketdetails_email_duration_card select {
        width: 50em;
        height: 36px;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 0 12px;
    }

/* FOOTER */
.custom_ticketdetails_phcall_footer,
.custom_ticketdetails_email_footer {
    height: 62px;
    background: #fff;
    border-top: 1px solid #dddddd;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 18px;
    margin-top: auto;
    position: sticky;
    bottom: 0;
}

.custom_ticketdetails_email_footer_primary {
    height: 35px;
    border: none;
    border-radius: 24px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.custom_ticketdetails_email_footer_primary:disabled {
    background-color: #e5e7eb; /* pale gray */
    color: #9ca3af; /* muted text */
    cursor: not-allowed;
    opacity: 0.7;
}

.custom_ticketdetails_email_footer_primary span {
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
}

.custom_ticketdetails_email_footer_arrow {
    width: 42px;
    height: 100%;
    border-left: 1px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom_ticketdetails_email_footer_arrow svg {
    width: 14px;
    height: 14px;
}

.custom_ticketdetails_email_footer_primary:hover {
    background: #72727a;
}

.custom_ticketdetails_email_footer_cancel {
    background: transparent;
    cursor: pointer;
    height: 34px;
    padding: 0 12px;
    border: none;
    font-size: 13px;
}

.custom_ticketdetails_phcall_footer_primary {
    height: 35px;
    border: none;
    border-radius: 24px;
    background: #0f0f12;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.custom_ticketdetails_phcall_footer_primary span {
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
}


/* RESPONSIVE */

@media(max-width:991px) {

    .custom_ticketdetails_panel {
        width: 100vw;
    }
}

@media(max-width:768px) {

    .custom_ticketdetails_email_form_card {
        grid-template-columns: 1fr;
    }

    .custom_ticketdetails_email_content {
        padding: 16px;
    }

    .custom_ticketdetails_email_title_wrap h1 {
        font-size: 26px;
    }

    .custom_ticketdetails_email_footer {
        padding: 0 16px;
    }

    .custom_ticketdetails_email_field {
        grid-template-columns: 1fr;
    }

    .custom_ticketdetails_email_form_right {
        width: 100%;
    }
}




/*  PHONE CALL PAGE */

.custom_ticketdetails_call_page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    max-width: 680px;
}



/* HEADER */

.custom_ticketdetails_call_header_top {
    display: flex;
}

.custom_ticketdetails_call_header {
    padding: 18px 22px 16px;
    border-bottom: 1px solid #ececec;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

    .custom_ticketdetails_call_header h2 {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
        color: #111827;
    }

    .custom_ticketdetails_call_header p {
        margin: 8px 0 0;
        font-size: 13px;
        color: #6b7280;
    }



/* BODY */

.custom_ticketdetails_call_body {
    padding: 18px 20px 90px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}



/* FIELD */

.custom_ticketdetails_call_field {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: center;
}

    .custom_ticketdetails_call_field label {
        font-size: 13px;
        color: #444;
        font-weight: 500;
    }

        .custom_ticketdetails_call_field label span {
            color: #ef4444;
        }



    /* INPUT */

    .custom_ticketdetails_call_field input,
    .custom_ticketdetails_call_field select,
    .custom_ticketdetails_call_field textarea {
        width: 100%;
        border: 1px solid #d8d8d8;
        border-radius: 8px;
        background: #fff;
        font-size: 13px;
        outline: none;
        box-shadow: none;
    }

    .custom_ticketdetails_call_field input,
    .custom_ticketdetails_call_field select {
        height: 36px;
        padding: 0 12px;
    }

    .custom_ticketdetails_call_field textarea {
        min-height: 80px;
        padding: 10px 12px;
        resize: vertical;
    }

        .custom_ticketdetails_call_field input:focus,
        .custom_ticketdetails_call_field select:focus,
        .custom_ticketdetails_call_field textarea:focus {
            border-color: #5b9cff;
            box-shadow: 0 0 0 2px rgba(91,156,255,0.12);
        }

.custom_ticketdetails_call_text_ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    min-width: 0;
}

/* CHECKBOX */

.custom_ticketdetails_call_checkbox {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .custom_ticketdetails_call_checkbox label {
        font-size: 13px;
        color: #444;
    }

    .custom_ticketdetails_call_checkbox div {
        display: flex;
        align-items: center;
        gap: 8px;
    }



/* DIVIDER */

.custom_ticketdetails_call_divider {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #666;
}



/* TEXTAREA */

.custom_ticketdetails_call_field_textarea {
    align-items: start;
}

    .custom_ticketdetails_call_field_textarea label {
        padding-top: 10px;
    }



/* FOOTER */

.custom_ticketdetails_call_footer {
    height: 64px;
    border-top: 1px solid #ececec;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0 22px;
    margin-top: auto;
    bottom: 0px;
    position: sticky;
}



/* BUTTON */

.custom_ticketdetails_call_save {
    height: 34px;
    padding: 0 18px;
    border: none;
    border-radius: 18px;
    background: #030521;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.custom_ticketdetails_call_cancel {
    border: none;
    background: transparent;
    font-size: 13px;
    cursor: pointer;
}



/* ATTACH */

.custom_ticketdetails_call_upload {
    height: 36px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding-left: 100px
}

    .custom_ticketdetails_call_upload span {
        font-size: 13px;
    }

    .custom_ticketdetails_call_upload svg {
        width: 15px;
        color: #020000f5;
    }


/* MOBILE */

@media(max-width:768px) {

    .custom_ticketdetails_call_field {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .custom_ticketdetails_call_checkbox {
        padding-left: 0;
    }
}

/* PHONE CALL PANEL SIZE */

.custom_ticketdetails_panel.phonecall-panel {
    width: 520px;
}



/*
   APPOINTMENT
 */

.custom_ticketdetails_appointment_datetime {
    display: grid;
    grid-template-columns: 1fr 165px;
    gap: 10px;
}

.custom_ticketdetails_appointment_editor {
    width: 100%;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.custom_ticketdetails_appointment_editor_toolbar {
    height: 38px;
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 8px;
    background: #fafafa;
}

    .custom_ticketdetails_appointment_editor_toolbar button {
        width: 28px;
        height: 28px;
        border: none;
        background: transparent;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

        .custom_ticketdetails_appointment_editor_toolbar button:hover {
            background: #ececec;
        }

    .custom_ticketdetails_appointment_editor_toolbar svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_appointment_editor textarea {
    width: 100%;
    min-height: 130px;
    border: none;
    resize: vertical;
    outline: none;
    padding: 12px;
    font-size: 13px;
}

@media(max-width:768px) {

    .custom_ticketdetails_appointment_datetime {
        grid-template-columns: 1fr;
    }
}



/* 
   NOTE PAGE
*/

.custom_ticketdetails_note_page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.custom_ticketdetails_note_header {
    height: 72px;
    border-bottom: 1px solid #ececec;
    padding: 0 22px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.custom_ticketdetails_note_header_top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .custom_ticketdetails_note_header_top h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        color: #111;
    }

.custom_ticketdetails_note_body {
    flex: 1;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.custom_ticketdetails_note_title {
    width: 100%;
    height: 54px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    margin-bottom: 5px;
}

    .custom_ticketdetails_note_title:focus {
        border-color: #4b8cff;
        box-shadow: 0 0 0 2px rgba(75,140,255,0.12);
    }

/*.custom_ticketdetails_note_editor {
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}*/

.custom_ticketdetails_note_editor_toolbar {
    min-height: 40px;
    border-bottom: 1px solid #e8e8e8;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 8px;
}

    .custom_ticketdetails_note_editor_toolbar button {
        width: 28px;
        height: 28px;
        border: none;
        background: transparent;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

        .custom_ticketdetails_note_editor_toolbar button:hover {
            background: #ececec;
        }

    .custom_ticketdetails_note_editor_toolbar svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_note_editor textarea {
    width: 100%;
    min-height: 280px;
    border: none;
    resize: none;
    outline: none;
    padding: 14px;
    font-size: 14px;
    flex: 1;
}

.custom_ticketdetails_note_attachment {
    display: flex;
    align-items: center;
    padding-top: 6px;
}

    .custom_ticketdetails_note_attachment label {
        font-size: 14px;
        color: #444;
    }

.custom_ticketdetails_note_footer {
    height: 62px;
    border-top: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0 22px;
    flex-shrink: 0;
    background: #fff;
}

.custom_ticketdetails_note_save {
    height: 36px;
    padding: 0 18px;
    border: none;
    border-radius: 18px;
    background: #7d7d86;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.custom_ticketdetails_note_cancel {
    border: none;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
}


/* 
   CONVERT DEAL MODAL
*/

.custom_ticketdetails_convertdeal_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
}

.custom_ticketdetails_convertdeal_modal {
    width: 460px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}



/* 
   STEP 1
 */

.custom_ticketdetails_convertdeal_header {
    padding: 22px 22px 10px;
}

.custom_ticketdetails_convertdeal_title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.custom_ticketdetails_convertdeal_icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #edf3ff;
    color: #3478f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.custom_ticketdetails_convertdeal_title h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.custom_ticketdetails_convertdeal_title p {
    margin: 5px 0 0;
    color: #777;
    font-size: 14px;
    line-height: 1.4;
}



/* STEPS */

.custom_ticketdetails_convertdeal_steps {
    display: flex;
    align-items: center;
    padding: 0 22px 16px;
}

.custom_ticketdetails_convertdeal_step {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom_ticketdetails_convertdeal_step_circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ededed;
    color: #8d8d8d;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom_ticketdetails_convertdeal_step.active .custom_ticketdetails_convertdeal_step_circle {
    background: #3478f6;
    color: #fff;
}

.custom_ticketdetails_convertdeal_step_line {
    height: 2px;
    flex: 1;
    background: #e5e5e5;
    margin: 0 8px;
}



/* BODY */

.custom_ticketdetails_convertdeal_body {
    padding: 0 22px 22px;
}

    .custom_ticketdetails_convertdeal_body h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        color: #222;
    }

    .custom_ticketdetails_convertdeal_body p {
        margin: 10px 0 18px;
        color: #666;
        font-size: 14px;
        line-height: 1.5;
    }



/* CARD */

.custom_ticketdetails_convertdeal_card {
    background: #fafafa;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #ececec;
}

.custom_ticketdetails_convertdeal_checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

    .custom_ticketdetails_convertdeal_checkbox input {
        margin-top: 2px;
        width: 18px;
        height: 18px;
    }

    .custom_ticketdetails_convertdeal_checkbox strong {
        display: block;
        font-size: 15px;
        color: #222;
        margin-bottom: 5px;
    }

    .custom_ticketdetails_convertdeal_checkbox span {
        display: block;
        color: #777;
        font-size: 13px;
        line-height: 1.5;
    }



/* FOOTER */

.custom_ticketdetails_convertdeal_footer {
    border-top: 1px solid #ececec;
    height: 70px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom_ticketdetails_convertdeal_cancel {
    border: none;
    background: transparent;
    font-size: 15px;
    cursor: pointer;
    color: #222;
}

.custom_ticketdetails_convertdeal_next {
    height: 38px;
    padding: 0 18px;
    border: none;
    border-radius: 20px;
    background: #7d7d88;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}


/*
   STEP 2 MODAL
 */

.custom_ticketdetails_convertdeal_modal.step2-active {
    width: 440px;
    max-width: 440px;
    border-radius: 14px;
    overflow: hidden;
}



/* 
   STEP 2 CONTAINER
 */

.custom_ticketdetails_convert_step2 {
    display: none;
    padding: 18px;
    background: #fff;
}



/* 
   HEADER
*/

.custom_ticketdetails_convertdeal_step2_header {
    margin-bottom: 14px;
}

.custom_ticketdetails_convertdeal_step2_title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom_ticketdetails_convertdeal_step2_icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3478f6;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom_ticketdetails_convertdeal_step2_title h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f1f1f;
}

.custom_ticketdetails_convertdeal_step2_title p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #777;
}



/* 
   STEPS
*/

.custom_ticketdetails_convert_steps {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.custom_ticketdetails_convert_step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ececec;
    color: #777;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .custom_ticketdetails_convert_step.completed,
    .custom_ticketdetails_convert_step.active {
        background: #3478f6;
        color: #fff;
    }

.custom_ticketdetails_convert_line {
    flex: 1;
    height: 2px;
    background: #e7e7e7;
    margin: 0 8px;
}

    .custom_ticketdetails_convert_line.active {
        background: #3478f6;
    }



/*
   TITLE
 */

.custom_ticketdetails_convert_title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: #1f1f1f;
}



/* 
   FORM
 */

.custom_ticketdetails_convert_field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

    .custom_ticketdetails_convert_field label {
        font-size: 12px;
        font-weight: 600;
        color: #222;
    }

        .custom_ticketdetails_convert_field label span {
            color: #ef4444;
        }

    .custom_ticketdetails_convert_field input,
    .custom_ticketdetails_convert_field select {
        width: 100%;
        height: 38px;
        border: 1px solid #d8d8d8;
        border-radius: 8px;
        padding: 0 12px;
        font-size: 13px;
        background: #fff;
        outline: none;
        box-sizing: border-box;
        transition: .2s ease;
    }

        .custom_ticketdetails_convert_field input:focus,
        .custom_ticketdetails_convert_field select:focus {
            border-color: #3478f6;
            box-shadow: 0 0 0 2px rgba(52,120,246,.08);
        }



/*
   FOOTER
 */

.custom_ticketdetails_convert_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ececec;
    margin-top: 16px;
    padding-top: 14px;
}

.custom_ticketdetails_convert_back {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
}

.custom_ticketdetails_convert_next {
    height: 34px;
    padding: 0 16px;
    border: none;
    border-radius: 999px;
    background: #030521;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}




.custom_ticketdetails_convert_field:last-child {
    margin-bottom: 0;
}



/* HIDE DROPDOWN WHEN MODAL OPEN */

.custom_ticketdetails_modal_open .custom_ticketdetails_dropdown_menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}



/* DISABLED NEXT BUTTON */

.custom_ticketdetails_convertdeal_next {
    opacity: .6;
    cursor: not-allowed;
    transition: .2s ease;
}




/* INPUT DESIGN */

.custom_ticketdetails_convert_field input,
.custom_ticketdetails_convert_field select {
    height: 44px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
}



/* STEP LINE */

.custom_ticketdetails_convert_line.active {
    background: #3478f6;
}



/* STEP CIRCLE */

.custom_ticketdetails_convert_step.completed,
.custom_ticketdetails_convert_step.active {
    background: #3478f6;
    color: #fff;
}







/* QUALIFICATION REASON */

.custom_ticketdetails_convertdeal_reason {
    margin-top: 18px;
    display: none;
    flex-direction: column;
    gap: 10px;
}

    .custom_ticketdetails_convertdeal_reason.active {
        display: flex;
    }

    .custom_ticketdetails_convertdeal_reason label {
        font-size: 14px;
        font-weight: 500;
        color: #222;
    }

    .custom_ticketdetails_convertdeal_reason textarea {
        width: 100%;
        min-height: 92px;
        border: 1px solid #dcdcdc;
        border-radius: 12px;
        padding: 14px;
        font-size: 14px;
        resize: none;
        outline: none;
        background: #fff;
        color: #222;
        box-sizing: border-box;
    }

        .custom_ticketdetails_convertdeal_reason textarea:focus {
            border-color: #3478f6;
            box-shadow: 0 0 0 2px rgba(52,120,246,.12);
        }



/* TOP ROW */
.custom_ticketdetails_activity_attachment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    margin-top: 10px;
}



    /* LABEL */
    .custom_ticketdetails_activity_attachment label {
        font-size: 14px;
        font-weight: 500;
        color: #555;
    }



/* UPLOAD BUTTON */
.custom_ticketdetails_activity_upload {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    padding-right: 100px;
}



    .custom_ticketdetails_activity_upload svg {
        width: 15px;
        height: 15px;
    }



/* FILE LIST */
.custom_ticketdetails_activity_files {
    display: flex;
    flex-direction: column;
    gap: 8px;
}



/* FILE CARD */
.custom_ticketdetails_activity_file {
    min-height: 48px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}



/* LEFT CONTENT */
.custom_ticketdetails_activity_file_left {
    display: flex;
    flex-direction: column;
}



/* FILE NAME */
.custom_ticketdetails_activity_file_name {
    font-size: 13px;
    font-weight: 500;
    color: #222;
    line-height: 1.2;
}



/* FILE SIZE */
.custom_ticketdetails_activity_file_size {
    font-size: 12px;
    color: #8b8b8b;
    margin-top: 3px;
}



/* DELETE BUTTON */
.custom_ticketdetails_activity_file_delete {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

    .custom_ticketdetails_activity_file_delete svg {
        width: 16px;
        height: 16px;
    }

/*NSY CSS*/
.custom_activity_container {
    border: 1px solid #e8e8e8;
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.custom_deal-email-actions, .custom_contact-email-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    width: 100%;
    padding-inline: 12px;
    background: #ffffff;
    gap: 4px;
    min-height: 40px;
}

.btn-action-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #030213;
    padding-inline: 10px;
    border-radius: 25px;
    padding-block: 3px;
    text-wrap-mode: nowrap;
}

    .btn-action-toolbar:disabled {
        opacity: 0.5;
    }

.custom_email-template-panel {
    max-width: 512px;
    width: 100%;
    max-height: 612px;
    border: 1px solid;
    border-radius: 10px;
    z-index: 999999;
    background: #fff;
    position: fixed;
    left: 20%;
    top: 15%;
}

.custom_EmailTemplate_modal-body {
    display: grid;
    min-height: 500px;
    grid-template-columns: 280px 1fr;
    padding: 16px;
}

.cus_grid-1 {
    margin-bottom: 24px;
    align-items: flex-start;
    grid-template-columns: 80px 1fr;
}

.cus_email-preview-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cus_email-preview-body {
    font-size: 14px;
    font-weight: 400;
}

.custom-radio-card {
    display: block;
    cursor: pointer;
    margin-bottom: 8px;
}

.radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio_card-content {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    transition: all 0.2s ease;
}

    .radio_card-content::before {
        content: "";
        width: 16px;
        height: 16px;
        border: 2px solid #b0b0b0;
        border-radius: 50%;
        margin-right: 12px;
        flex-shrink: 0;
    }

.radio_card-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.radio_card-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.radio_card-type {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.radio_card-content svg {
    width: 15px;
    height: 15px;
    opacity: .5;
    margin-left: 12px;
    flex-shrink: 0;
}

.radio-input:checked + .radio_card-content {
    border-color: #a3c7fc;
    background-color: #f0f6ff;
}

    .radio-input:checked + .radio_card-content::before {
        border-color: #1a73e8;
        background-color: #1a73e8;
        box-shadow: inset 0 0 0 3px #f0f6ff;
    }

.custom-email-editor {
    width: 100%;
    min-height: 165px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    margin-bottom: 8px;
    overflow-y: auto;
    background: white;
    line-height: inherit;
    font-family: inherit;
}

/* TTS Enquiry Start */

.custom_table-wrapper_appointment.custom_table_ticket th, .custom_table-wrapper_appointment.custom_table_ticket td {
    /* text-wrap-mode: wrap; */
    padding: 15px;
}

/* TTS */
.custom_tooltip_clock img.clock-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}

img.clock-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}
/* TTS */

.custom_tooltip_clock_ticket svg {
    width: 14px;
    height: 14px;
}

/*Board*/
.custom_tickets_board_flex {
    display: flex !important;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 5px 20px;
}

/* SCROLLBAR */
.custom_tickets_board::-webkit-scrollbar {
    height: 8px;
}

.custom_tickets_board::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 20px;
}

.custom_tickets_board::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 20px;
}

/* COLUMN */
.custom_tickets_board_column {
    min-width: 19%;
    width: 200px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 10px;
    flex-shrink: 0;
    overflow: visible;
}

.custom_tickets_board_count {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

/* HEADER */
.custom_tickets_board_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.custom_tickets_board_title {
    /*padding: 6px 12px;*/
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

    .custom_tickets_board_title.blue {
        background: #edf4ff;
        color: #246bff;
    }

    .custom_tickets_board_title.green {
        background: #ebfff1;
        color: #14a44d;
    }

    .custom_tickets_board_title.purple {
        background: #f5edff;
        color: #8a3ffc;
    }

    .custom_tickets_board_title.orange {
        background: #fff3df;
        color: #e58a00;
    }

/* CARD */
.custom_tickets_board_card {
    background: #fff;
    border: 1px solid #e1e6ee;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    position: relative;
    overflow: visible;
}

    .custom_tickets_board_card:hover {
        border-color: #4a8cff;
        box-shadow: 0 0 0 3px rgba(74,140,255,0.12);
    }

    .custom_tickets_board_card:hover {
        transform: scale(1.015);
    }

/* TOP */
.custom_tickets_board_card_top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
}

.custom_tickets_board_top_left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

    .custom_tickets_board_top_left > div:last-child {
        flex: 1;
        min-width: 0;
    }

.custom_tickets_board_avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_tickets_board_avatar.purple {
        background: #8e24aa;
    }

    .custom_tickets_board_avatar.red {
        background: #ef4444;
    }

    .custom_tickets_board_avatar.blue {
        background: #1e88e5;
    }

/* TOP TEXT */
.custom_tickets_board_top_text {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom_tickets_board_top_text_span {
    font-size: 12px;
    color: #888;
}

/* MENU */
.custom_tickets_board_menu {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

    .custom_tickets_board_menu:hover {
        background: #f3f4f6;
    }

    .custom_tickets_board_menu svg {
        width: 14px;
        height: 14px;
    }

/* NAME */
.custom_tickets_board_name {
    font-size: 13px;
    color: #222;
    line-height: 1.5;
    margin-bottom: 14px;
    font-weight: bold;
}

/* TAGS */
.custom_tickets_board_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

    .custom_tickets_board_tags span {
        padding: 5px 10px;
        border-radius: 30px;
        font-size: 11px;
        font-weight: 500;
        border: 1px solid transparent;
    }

    .custom_tickets_board_tags .blue {
        background: #edf4ff;
        border-color: #cfe0ff;
        color: #246bff;
    }

    .custom_tickets_board_tags .purple {
        background: #f5edff;
        border-color: #e4d1ff;
        color: #8a3ffc;
    }

    .custom_tickets_board_tags .green {
        background: #ebfff1;
        border-color: #c9f0d7;
        color: #14a44d;
    }

    .custom_tickets_board_tags .orange {
        background: #fff4e5;
        border-color: #ffdca8;
        color: #e58a00;
    }

    .custom_tickets_board_tags .gray {
        background: #f3f3f3;
        border-color: #e0e0e0;
        color: #666;
    }

/* FOOTER */
.custom_tickets_board_footer {
    border-top: 1px solid #ececec;
    padding-top: 14px;
}


/* FOOTER ROW */
.custom_tickets_board_footer_row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}


/* SMALL AVATAR */
.custom_tickets_board_small_avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_tickets_board_small_avatar.purple {
        background: #673ab7;
    }

    .custom_tickets_board_small_avatar.red {
        background: #ef4444;
    }


/* FOOTER TEXT */
.custom_tickets_board_footer_text {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.custom_tickets_board_footer_text_span {
    font-size: 12px;
    color: #888;
}


/* DATE */
.custom_tickets_board_date_row {
    font-size: 12px;
    color: #888;
    padding-top: 7px;
}

.custom_tickets_board_clock_icon {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_tickets_board_clock_icon svg {
        width: 14px;
        height: 14px;
    }


/* LOCATION */
.custom_tickets_board_location {
    font-size: 12px;
    color: #777;
}


/* EMPTY */
.custom_tickets_board_empty {
    background: #fff;
    border: 2px dashed #dddddd;
    border-radius: 16px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #a1a1a1;
    font-size: 13px;
    padding: 20px;
}

/* MENU BUTTON */
.cus_ticketboard_menu {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

    .cus_ticketboard_menu:hover {
        background: #f3f4f6;
    }

    .cus_ticketboard_menu svg {
        width: 18px;
        height: 18px;
        fill: #666;
    }

/* Drop Down */

.cus_ticketboard_global_dropdown {
    position: fixed;
    width: 250px;
    background: #ffffff;
    border: 1px solid #212529;
    border-radius: 12px;
    box-shadow: 0 20px 25px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.04);
    overflow: hidden;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}


    /* ACTIVE */
    .cus_ticketboard_global_dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

/* TOP */
.cus_ticketboard_dropdown_top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #14191e1f;
    font-size: 12px;
    font-weight: 500;
    color: #222;
}

    .cus_ticketboard_dropdown_top:hover {
        background: #f8fafc;
    }

/* TITLE */
.cus_ticketboard_dropdown_title {
    padding: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #080a0ea8;
    letter-spacing: .5px;
}

/* LIST */
.cus_ticketboard_dropdown_list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #14191e1f;
}

/* ITEM */
.cus_ticketboard_dropdown_item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 12px;
    color: #222;
}

    .cus_ticketboard_dropdown_item:hover {
        background: #f8fafc;
    }

/* ICON */
.cus_ticketboard_dropdown_icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

    .cus_ticketboard_dropdown_icon svg {
        width: 16px;
        height: 16px;
    }

/* DELETE */
.cus_ticketboard_dropdown_delete {
    padding: 8px;
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .cus_ticketboard_dropdown_delete:hover {
        color: #222;
    }

/* ZM */

#ticket-tabs-wrapper {
    background: #f5f5f5;
    padding: 4px;
    border-radius: 999px;
    display: flex;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    margin-bottom: 25px;
    margin-top: 16px;
}

/*tabs container*/
.ticket-tabs {
    display: flex;
    gap: 6px;
}
/*tab-button*/
.ticket-tab {
    border: none;
    background: transparent;
    padding: 8px;
    padding-inline: 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #6c6c6c;
    cursor: pointer;
}

    /*active */
    .ticket-tab.active {
        background: #3a7bfd;
        color: #fff;
    }
/*ticket page*/

.ticket-page {
    font-size: 14px;
    color: #374151;
}

.ticket-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
/*card*/

.ticket-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.ticket-box-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
}

.ticket-box-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.ticket-field {
    display: grid;
    /* grid-template-columns: 160px 1fr;*/
    grid-template-columns: 170px 1fr;
    align-items: center;
    margin-bottom: 12px;
}

.custom-ticket-grid3 {
    grid-template-columns: 141px 29px 1fr;
}

.ticket-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ticket-readonly {
    background: #EFEFEF !important;
    color: #545454 !important;
    cursor: not-allowed !important;
    opacity: 0.9;
    pointer-events: none;
}

.ticket-readonly-2 {
    background: #EFEFEF !important;
    color: #545454 !important;
    opacity: 0.9;
}

.ticket-label {
    text-wrap: auto !important;
    font-size: 13px;
}

.ticket-labels {
    font-size: 13px;
    margin-bottom: 12px;
}


.ticket-footer {
    margin-top: 5px;
    margin-bottom: 2px;
}

.ticket-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.ticket-note {
    margin-top: 6px;
    font-size: 12px;
    color: #9ca3af;
}
/*
.ticket-readonly {
    background: #f3f4f6;
}*/

.ticket-lock-wrapper .ticket-control {
    padding-left: 32px;
}

.ticket-lock-wrapper i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
}

.ticket-lock-wrapper {
    position: relative;
}


.ticket-control {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
    background: #ffff;
    outline: none;
}

    .ticket-control:focus {
        border-color: #999;
    }


.ticket-control-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 12px;
    background: transparent;
    font-size: 14px;
}


.ticket-control-group {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #f9fafb;
    overflow: hidden;
}

.ticket-control-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border-left: 1px solid #e5e7eb;
    background: #f3f4f6;
}

    .ticket-control-actions i {
        font-size: 14px;
        color: #6b7280;
        cursor: pointer;
    }


.ticket-control-with-icons {
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}


    .ticket-control-with-icons input {
        border: none;
        outline: none;
        flex: 1;
        padding: 10px 12px;
        background: transparent;
    }

.ticket-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.ticket-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    word-wrap: anywhere;
}

.ticket-insight-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ticket-insight-icon i {
    font-size: 18px;
    color: #3b82f6;
    margin-top: 2px
}

.ticket-insight-texts {
    max-width: 520px;
}

.ticket-center-box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    padding: 20px 24px;
}

.ticket-center-content {
    text-align: center;
    max-width: none;
}

.ticket-icon svg {
    width: 40px;
    height: 40px;
    stroke: #2563eb;
}

.ticket-icon i {
    font-size: 26px;
    color: #3b82f6;
    margin-bottom: 8px;
    display: block;
}
/* textarea */
.ticket-control-textarea {
    height: 90px;
    resize: none;
}

.ticket-icons {
    display: flex;
    align-items: center;
    border-left: 1px solid #d1d5db;
    background: #f3f4f6;
}

    .ticket-icons i {
        width: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6b7280;
        cursor: pointer;
    }


.ticket-soft-box {
    background: #f9fafb;
}

.ticket-btn {
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 6px 14px;
    background: #fff;
    cursor: pointer;
}

    .ticket-btn.ticket-btn-dark {
        background-color: black;
        border: none;
        margin-bottom: 16px;
    }

    .ticket-btn.ticket-btn-grey {
        background-color: grey;
        color: white;
        border: none;
        margin-bottom: 16px;
    }

    .ticket-btn.ticket-btn-white {
        background-color: #ffffff;
        border: 1px solid #888;
        margin-bottom: 16px;
    }

        .ticket-btn.ticket-btn-white:hover {
            background-color: lightgrey;
            color: #000000;
        }

    .ticket-btn.ticket-btn-red {
        background-color: #ffffff;
        border: 1px solid #dc2626; /* red border */
        color: #dc2626; /* red text */
        margin-bottom: 16px;
    }

        .ticket-btn.ticket-btn-red svg {
            color: #dc2626; /* red text */
        }

        .ticket-btn.ticket-btn-red:hover {
            background-color: #fee2e2; /* light red background */
            color: #dc2626; /* keep red text */
        }

/*drop down*/

.ticket-dropdown {
    position: relative;
    display: inline-block;
}


.ticket-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    width: 160px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    display: none;
    overflow: hidden;
}

.ticket-dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
}

    .ticket-dropdown-item:hover {
        background: #f3f4f6;
    }

.ticket-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin-bottom: 16px;
    overflow: visible;
   /* overflow-x: auto;*/
}

.ticket-card-header {
    background: #ffffff;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.ticket-card-body {
    padding: 16px;
}

.card-row {
    display: flex;
    gap: 20px;
}

.ticket-sub-title {
    font-size: 14px;
    font-weight: 600;
}

.ticket-desc {
    font-size: 13px;
    color: #6b7280;
}

.ticket-info {
    font-size: 12px;
    color: #9ca3af;
}

.ticket-refresh {
    font-size: 16px;
    color: #6b7280;
    cursor: pointer;
}
/* dropdown */
.ticket-dropdown {
    position: relative;
    margin-top: 10px;
}

.ticket-btn {
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 6px 14px;
    background: #fff;
    cursor: pointer;
}

.ticket-right-btn {
    margin-left: auto;
}

.ticket-dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    width: 180px;
    display: none;
    top: calc(100% + 8px);
    z-index: 9999;
}

.ticket-dropdown.active .ticket-dropdown-menu {
    display: block;
}

.ticket-dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    gap: 8px;
}

    .ticket-dropdown-item:hover {
        background: #f3f4f6;
    }

.ticket-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-upnext-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.ticket-card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-asso-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f1f1;
}

    .ticket-asso-item .ticket-more {
        margin-left: auto;
    }

.ticket-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

    /* colors */
    .ticket-avatar.red {
        background: #ef4444;
    }

    .ticket-avatar.purple {
        background: #7c3aed;
    }

.ticket-asso-content {
    flex: 1;
}

.ticket-asso-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.tag-blue {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 6px;
    margin-left: 8px;
}




.ticket-activity-header {
    margin-bottom: 16px;
}

.ticket-activity-bar {
    display: grid;
    grid-template-columns: 4fr 1fr 1fr 1fr 1fr;
    gap: 12px;
}

.ticket-search {
    padding-left: 12px 12px 12px 40px;
    width: 100%;
}

.ticket-activity-info {
    margin-top: 10px;
    font-size: 13px;
    color: #6b7280;
}

#myTable, #ContactDealsListTable, #ContactTicketsListTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    #myTable thead tr, #ContactDealsListTable thead tr, #ContactTicketsListTable thead tr {
        background: #f9fafb;
    }

    #myTable th, #ContactDealsListTable th, #ContactTicketsListTable th {
        text-align: left;
        padding: 12px;
        font-size: 14px;
        color: #525252;
        font-weight: 600;
        border-bottom: 1px solid #e5e7eb;
    }

    #ContactDealsListTable th, #ContactTicketsListTable th {
        padding: 14px 12px !important;
    }

    /* body */
    #myTable td, #ContactDealsListTable td, #ContactTicketsListTable td {
        padding: 14px 12px;
        border-bottom: 1px solid #f1f1f1;
    }

    #myTable tbody tr:hover, #ContactDealsListTable tbody tr:hover, #ContactTicketsListTable tbody tr:hover {
        background: #f9fafb;
    }

    #myTable td:first-child + td span, #ContactDealsListTable td:first-child + td span, #ContactTicketsListTable td:first-child + td span {
        color: #2563eb;
        cursor: pointer;
        font-weight: 500;
    }

.badge {
    display: inline-block !important;
    padding: 4px 10px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 6px;
    font-size: 12px;
}



.badge-email {
    background: #faf5ff;
    color: #8200db !important;
    border: 1px solid #e9d4ff;
}

.badge-phone {
    background: #f0fdf4;
    color: #008236 !important;
    border: 1px solid #b9f8cf;
}

.badge-appointment {
    background: #eff6ff;
    color: #1447e6 !important;
    border: 1px solid #bedbff;
}

.badge-task {
    background: #fff7ed;
    color: #ca3500 !important;
    border: 1px solid #ffd7a8;
}

.badge-note {
    background: #fafafa;
    color: #525252 !important;
    border: 1px solid #e8e8e8;
}

.badge-draft {
    background: #f3f4f6;
    color: #374151;
}

.badge-completed {
    background: #f0fdf4;
    color: #008236;
    border: 1px solid #b9f8cf;
}
.badge-canceled {
    background: #fafafa;
    color: #525252;
    border: 1px solid #e8e8e8;
}
.badge-scheduled {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge-open {
    background: #fefce8;
    color: #a65f00;
    border: 1px solid #fff085;
}

.badge-logged {
    background: #f3f4f6;
    color: #374151;
}

.badge-high {
    background: #fff7ed;
    color: #ca3500 !important;
    border: 1px solid #ffd7a8;
}

.badge-normal {
    background: #fafafa;
    color: #525252 !important;
    border: 1px solid #e8e8e8;
}

.badge-low {
    background: #eff6ff;
    color: #1447e6 !important;
    border: 1px solid #bedbff;
}

.date {
    color: #374151;
    font-size: 14px;
}

#myTable td:first-child {
    width: 40px;
}
/* container */
.ticket-more {
    position: relative;
    text-align: right;
}

    /* icon */
    .ticket-more i {
        font-size: 18px;
        color: #6b7280;
    }

/* menu (hidden) */
.ticket-more-menu {
    position: absolute;
    right: 20px;
    top: 24px;
    width: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 4px 0;
    display: none;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    z-index: 9999;
}

.ticket-more-more-menu {
    position: absolute;
    right: 20px;
    top: 24px;
    width: 180px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 4px 0;
    display: none;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* show */
.ticket-more.active .ticket-more-menu {
    display: block;
}

/* items */
.ticket-more-menu div {
    padding: 8px 12px;
    font-size: 14px;
}

    .ticket-more-menu div:hover {
        background: #f3f4f6;
    }

.ticket-more-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

    .ticket-more-item i {
        width: 16px;
        font-size: 14px;
        color: #6b7280;
    }

    .ticket-more-item:hover {
        background: #f3f4f6;
    }


    .ticket-more-item.danger {
        color: #dc2626;
        margin-top: 4px;
        padding-top: 8px;
    }


        .ticket-more-item.danger i {
            color: #dc2626;
        }

    .ticket-more-item.danger {
        color: #dc2626;
        border-top: 1px solid #e5e7eb;
        margin-top: 4px;
        padding-top: 10px;
    }

.ticket-comm-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ticket-msg-box {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 18px;
    background: #fafafa;
    margin-bottom: 24px;
}

.ticket-msg-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.ticket-msg-name {
    font-weight: 600;
    font-size: 15px;
}

.ticket-msg-text {
    font-size: 14px;
    margin-top: 6px;
}

.ticket-reply-box {
    width: 100%;
    min-height: 120px;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 8px 0;
    resize: none;
    background: transparent;
}

    .ticket-reply-box::placeholder {
        color: #374151;
    }

.ticket-reply-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

    .ticket-reply-footer .ticket-btn:first-child {
        border: 1px solid #d1d5db;
        background: white;
    }

.ticket-btn-dark {
    background: #9ca3af; /* grey */
    color: #fff;
    opacity: 0.8;
}

.ticket-outline-btn {
    border: 1px solid #111827;
    background: transparent;
    border-radius: 999px;
    margin-top: 35px;
    margin-bottom: 1px;
}

.ticket-outline-b {
    border: none;
    background: transparent;
    padding: 6px 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
    padding-bottom: 0px;
    margin-bottom: 2px;
    margin-top: 6px;
}

    .ticket-outline-b:hover {
        background: #f3f4f6;
    }


.input-wrapper {
    position: relative;
}


.ticket-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ticket-full-btn {
    width: 100%;
}

    .ticket-full-btn .ticket-btn {
        width: 100%;
        justify-content: center;
        border-radius: 999px;
    }

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    color: #888;
    display: flex;
    pointer-events: none;
}

    .search-icon svg {
        width: 16px;
        height: 16px;
        fill: #888;
    }


.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.contact svg {
    width: 20px;
    height: 20px;
    stroke: #2563eb;
}

.asso-title {
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
}


.asso-row {
    display: flex;
    gap: 24px;
}


.asso-tabs {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.asso-tab {
    pointer-events: auto;
    padding: 10px 12px;
    cursor: pointer;
    color: #666
}

    .asso-tab:hover {
        color: #2563eb;
    }


    .asso-tab.active {
        color: #2563eb;
        border-bottom: 2px solid #2563eb;
        font-weight: 600;
    }

/* Box */
.asso-box {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    background: #fff;
    position: relative;
    z-index: 1;
}

.association-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 5px;
}

#detailsTab {
    display: none;
}

.icon svg {
    width: 17px;
    height: 17px;
    margin-right: 5px;
}

.icon-sm {
    width: 10px;
    height: 10px;
}

.icon-md {
    width: 20px;
    height: 20px;
}

.icon-lg {
    width: 24px;
    height: 24px;
}

.search-field {
    position: relative;
    flex: 1;
}

.search-group {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #f8f9fb;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

.search-button {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #ddd;
    background: #f8f9fb;
    cursor: pointer;
}

    .search-button svg {
        width: 16px;
        height: 16px;
        fill: #888;
    }


.clear-btn {
    padding: 0 10px;
    cursor: pointer;
    color: #aaa;
    font-size: 14px;
}

#eqactivityListTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    #eqactivityListTable thead tr {
        background: #f9fafb;
    }

    #eqactivityListTable th {
        text-align: left;
        padding: 12px;
        font-size: 12px;
        color: #6b7280;
        font-weight: 500;
        border-bottom: 1px solid #e5e7eb;
    }

    /* body */
    #eqactivityListTable td {
        padding: 14px 12px;
        border-bottom: 1px solid #f1f1f1;
    }

    #eqactivityListTable tbody tr:hover {
        background: #f9fafb;
    }

    #eqactivityListTable td:first-child + td span {
        color: #2563eb;
        cursor: pointer;
        font-weight: 500;
    }

    /*#eqactivityListTable td:first-child {
        width: 40px;
    }*/

.ticket-control {
    font-size: 13px; /* Adjust dropdown text size */
    padding: 6px 10px; /* Comfortable padding */
    line-height: 1.4; /* Better readability */
}

    .ticket-control option {
        font-size: 13px; /* Match dropdown font size */
        padding: 4px 8px; /* Space inside each option */
    }

/* ZM */

/*TYK Start 25526*/
.custom_ticketdetails_top_actionbar {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 8px 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    top: 0;
    position: sticky;
    z-index: 999;
}

.custom_ticketdetails_top_actionbar_left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}


/* BUTTON */

.custom_ticketdetails_action_btn {
    border: none;
    background: transparent;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: 0.2s;
}

    .custom_ticketdetails_action_btn:hover {
        background: #f5f7fb;
    }

    .custom_ticketdetails_action_btn svg {
        width: 14px;
        height: 14px;
    }


/* THREE DOT */

.custom_ticketdetails_top_action_btn_icon {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_ticketdetails_top_action_btn_icon:hover {
        background: #f5f7fb;
    }

    .custom_ticketdetails_top_action_btn_icon svg {
        width: 16px;
        height: 16px;
    }

/* DROPDOWN */

.custom_ticketdetails_dropdown_wrapper {
    position: relative;
}

.custom_ticketdetails_dropdown_menu {
    position: fixed;
    /*top: 70px;*/
    /*right: 45px;*/
    /* width: 220px;*/
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid #031222;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    z-index: 9;
}

    .custom_ticketdetails_dropdown_menu.show {
        display: block;
    }

    .custom_ticketdetails_dropdown_menu button {
        width: 100%;
        height: 30px;
        border: none;
        background: transparent;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 12px;
        padding: 0 10px;
        transition: 0.2s;
    }

        .custom_ticketdetails_dropdown_menu button:hover {
            background: #f5f7fb;
        }

        .custom_ticketdetails_dropdown_menu button svg {
            width: 14px;
            height: 14px;
        }

/* MAIN CARD */

.custom_ticketdetails_main_card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}



/* HEADER */

.custom_ticketdetails_header_section {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}



/* PROFILE */

.custom_ticketdetails_profile {
    display: flex;
    gap: 12px;
}

.custom_ticketdetails_avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ea4335;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.custom_ticketdetails_name {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.custom_ticketdetails_subtitle {
    margin-top: 2px;
    color: #777;
}

.custom_ticketdetails_badge {
    background: #e8f8ef;
    border: 1px solid #b9f8cf;
    color: #008236;
    border-radius: 20px;
    padding: 2px 7px;
    font-size: 10px;
}



/* INFO BOX */

.custom_ticketdetails_info_group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.custom_ticketdetails_info_box {
    width: 200px;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 8px 12px;
}

    .custom_ticketdetails_info_box h9 {
        margin: 0;
        font-size: 13px;
        font-weight: 700;
    }

    .custom_ticketdetails_info_box span {
        font-size: 10px;
        color: #888;
    }

/*.custom_ticketdetails_status_box {
    border: 1px solid #f0c75c;
    background: #fffdf7;
}*/

.custom_ticketdetails_owner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.custom_ticketdetails_owner_left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom_ticketdetails_owner p {
    font-size: 10px;
    color: #888;
    margin: 0;
}

.custom_ticketdetails_owner_avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #6f42c1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.custom_ticketdetails_owner_arrow {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*cursor: pointer;*/
}

    .custom_ticketdetails_owner_arrow svg {
        width: 14px;
        height: 14px;
    }


.custom_ticketdetails_name_arrow {
    width: 18px;
    height: 18px;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    /*cursor: pointer;*/
}

    .custom_ticketdetails_name_arrow svg {
        width: 14px;
        height: 14px;
    }

/* PIPELINE TITLE */

.custom_ticketdetails_pipeline_title_section {
    margin-top: 22px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.custom_ticketdetails_pipeline_icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #2f66f3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_ticketdetails_pipeline_icon svg {
        width: 16px;
        height: 16px;
        /*fill: #fff;*/
    }

.custom_ticketdetails_pipeline_title_section h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.custom_ticketdetails_pipeline_title_section p {
    margin-top: 3px;
    font-size: 12px;
    color: #666;
}

/* PIPELINE */

.custom_ticketdetails_stepper_wrapper {
    position: relative;
    margin-top: 28px;
}

/* LINE */

.custom_ticketdetails_pipeline_line {
    position: absolute;
    top: 14px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #dadada;
    overflow: hidden;
    border-radius: 20px;
}

.custom_ticketdetails_pipeline_line_active {
    width: 0%;
    height: 100%;
    background: #2f66f3;
    transition: 0.3s;
}


/* STEPS */

.custom_ticketdetails_pipeline_steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.custom_ticketdetails_pipeline_step {
    flex: 1;
    text-align: center;
    position: relative;
}

.custom_ticketdetails_pipeline_circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

    .custom_ticketdetails_pipeline_circle svg {
        width: 12px;
        height: 12px;
    }



    /* COMPLETED */

    .custom_ticketdetails_pipeline_circle.completed {
        background: #2f66f3;
        color: #fff;
    }

    /* ACTIVE */

    .custom_ticketdetails_pipeline_circle.active {
        background: #fff;
        border: 2px solid #2f66f3;
    }

    /* PENDING */

    .custom_ticketdetails_pipeline_circle.pending {
        background: #fff;
        border: 2px solid #d3d3d3;
    }

        .custom_ticketdetails_pipeline_circle.pending svg {
            fill: #bdbdbd;
        }

/* CARD */

.custom_ticketdetails_pipeline_step_card {
    margin-top: 10px;
    background: #fafafa;
    border-radius: 10px;
    padding: 10px;
    transition: 0.2s;
}

.custom_ticketdetails_pipeline_step.active
.custom_ticketdetails_pipeline_step_card {
    background: #eef3ff;
}

.custom_ticketdetails_pipeline_step_card h5 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.custom_ticketdetails_pipeline_step_card span {
    font-size: 11px;
    color: #777;
}

/*Alert*/
.custom_ticketdetails_pipeline_alert {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #eaf7ee;
    padding: 16px 18px;
    border-radius: 10px;
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 999999;
    box-shadow: 0 8px 20px rgb(21 173 33 / 32%);
}

    .custom_ticketdetails_pipeline_alert.show {
        display: flex;
    }

    .custom_ticketdetails_pipeline_alert svg {
        width: 18px;
        height: 18px;
    }

    .custom_ticketdetails_pipeline_alert span {
        font-size: 12px;
        font-weight: 600;
        color: #128042;
    }

/* RIGHT PANEL */

.custom_ticketdetails-panel {
    position: fixed;
    right: -520px;
    top: 0;
    width: 500px;
    height: 100vh;
    background: #fff;
    overflow-y: auto;
    z-index: 999999;
    transition: 0.3s;
    box-shadow: -4px 0 20px rgba(0,0,0,0.08);
}

    .custom_ticketdetails-panel.active {
        right: 0;
    }

    .custom_ticketdetails-panel::-webkit-scrollbar {
        width: 10px;
    }

    .custom_ticketdetails-panel::-webkit-scrollbar-track {
        background: transparent;
    }

    .custom_ticketdetails-panel::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.25);
        border-radius: 10px;
    }


.custom_ticketdetails_panel_body {
    overflow-y: auto;
    /*padding: 18px;*/
}

.custom_ticketdetails_panel_close {
    border: none;
    background: transparent;
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

    .custom_ticketdetails_panel_close:hover {
        background: #f5f7fb;
    }



/* RESPONSIVE */

@media(max-width:991px) {

    .custom_ticketdetails_pipeline_steps {
        flex-wrap: wrap;
        justify-content: center;
    }

    .custom_ticketdetails_pipeline_line {
        /*display: none;*/
    }

    .custom_ticketdetails_pipeline_step {
        max-width: 100%;
    }

    .custom_ticketdetails-panel {
        width: 100%;
    }
}

@media(max-width:768px) {

    .custom_ticketdetails_action_btn span {
        display: none;
    }

    .custom_ticketdetails_pipeline_alert {
        min-width: auto;
        width: calc(100% - 40px);
        right: 20px;
    }
}

.custom_ticketdetails_status_box.waiting-cw {
    border: 1px solid #f0c75c;
    background: #fff8e8;
}

    .custom_ticketdetails_status_box.waiting-cw h9 {
    }

.custom_ticketdetails_panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: calc(100vw - 420px);
    background: #f5f5f5;
    height: 100vh;
    z-index: 999999;
    transition: .35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 30px rgba(0,0,0,0.08);
}

    .custom_ticketdetails_panel.active {
        right: 0;
    }

.custom_ticketdetails_panel_header {
    height: 52px;
    border-bottom: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    flex-shrink: 0;
    background: #fff;
}

    .custom_ticketdetails_panel_header h4 {
        margin: 0;
        font-size: 15px;
    }

    .custom_ticketdetails_panel_header button {
        border: none;
        background: transparent;
        font-size: 18px;
        cursor: pointer;
    }

.custom_ticketdetails_panel_body {
    flex: 1;
    overflow-y: auto;
    background: #fff;
}


.custom_ticketdetails_email_page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #f7f7f8;
}

/* TOP BAR */

.custom_ticketdetails_email_topbar {
    height: 48px;
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.custom_ticketdetails_email_topbar_left {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

    .custom_ticketdetails_email_topbar_left button,
    .custom_ticketdetails_email_topbar_right button {
        border: none;
        background: transparent;
        font-size: 14px;
        color: #333;
        cursor: pointer;
        height: 34px;
        padding: 0 10px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .custom_ticketdetails_email_topbar_left button:hover,
        .custom_ticketdetails_email_topbar_right button:hover {
            background: #f3f3f3;
        }

    .custom_ticketdetails_email_topbar_left svg,
    .custom_ticketdetails_email_topbar_right svg {
        width: 15px;
        height: 15px;
    }

/* CONTENT */

.custom_ticketdetails_email_content {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* TITLE */

.custom_ticketdetails_email_title_wrap {
    display: block;
    position: sticky;
    top: 48px;
    z-index: 998;
    border-bottom: 1px solid #e4e4e4;
    background: #fff;
    padding: 26px 20px 18px;
}

    .custom_ticketdetails_email_title_wrap h1 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
        color: #111;
    }

.custom_ticketdetails_email_title_row {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .custom_ticketdetails_email_title_row span {
        color: #777;
        font-size: 14px;
    }

.custom_ticketdetails_email_title_wrap p {
    margin: 8px 0 0;
    color: #666;
    font-size: 14px;
}

/* FORM CARD */

.custom_ticketdetails_email_form_card {
    background: #fff;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 18px;
}

.custom_ticketdetails_email_form_left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom_ticketdetails_email_form_right {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .custom_ticketdetails_email_form_right .custom_ticketdetails_email_field {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .custom_ticketdetails_email_form_right label {
        font-size: 13px;
    }

/* FIELD */

.custom_ticketdetails_email_field {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 10px;
}

    .custom_ticketdetails_email_field label {
        font-size: 14px;
        color: #444;
        font-weight: 500;
    }

        .custom_ticketdetails_email_field label span {
            color: red;
        }

    .custom_ticketdetails_email_field input,
    .custom_ticketdetails_email_field select {
        width: 100%;
        height: 38px;
        border: 1px solid #d8d8d8;
        border-radius: 8px;
        padding: 0 12px;
        font-size: 13px;
        outline: none;
        background: #fff;
        box-shadow: none;
    }

        .custom_ticketdetails_email_field input:focus,
        .custom_ticketdetails_email_field select:focus {
            border-color: #5b9cff;
            box-shadow: 0 0 0 2px rgba(91,156,255,0.12);
        }


/*
LOOKUP FIELD
*/

.custom_ticketdetails_lookup {
    position: relative;
    width: 100%;
    min-height: 38px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    padding-right: 42px;
}

.custom_ticketdetails_lookup_selected {
    flex: 1;
    /*padding: 4px 8px;*/
    padding: 5px 8px 5px 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}



/* CHIP */

.custom_ticketdetails_lookup_chip {
    min-height: 32px;
    background: #eef3ff;
    border-radius: 18px;
    padding: 4px 10px 4px 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
}

/* AVATAR */

/*.custom_ticketdetails_lookup_avatar {
    width: 24px;
    height: 28px;
    border-radius: 50%;
    background: #e54848;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

*/

/* REMOVE BUTTON */

.custom_ticketdetails_lookup_remove {
    border: none;
    background: transparent;
    color: #4e79ff;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    line-height: 1;
}

/* SEARCH BUTTON */

.custom_ticketdetails_lookup_search {
    position: absolute;
    right: 0;
    top: 0;
    width: 38px;
    height: 100%;
    border: none;
    border-left: 1px solid #e2e2e2;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
}

    .custom_ticketdetails_lookup_search:hover {
        background: #f0f0f0;
    }

    .custom_ticketdetails_lookup_search svg {
        width: 15px;
        height: 15px;
    }



/* DROPDOWN */

.custom_ticketdetails_lookup_dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e2e2;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    padding: 8px;
    display: none;
    z-index: 1000;
}

.custom_ticketdetails_lookup.active .custom_ticketdetails_lookup_dropdown {
    display: block;
}



/* LOOKUP ITEM */

.custom_ticketdetails_lookup_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

    .custom_ticketdetails_lookup_item:hover {
        background: #f5f7fb;
    }


/* TEXT AREA */

.custom_ticketdetails_lookup_info {
    flex: 1;
    min-width: 0;
}

    .custom_ticketdetails_lookup_info strong {
        display: block;
        font-size: 11px;
        font-weight: 600;
        color: #222;
        line-height: 1.2;
    }

    .custom_ticketdetails_lookup_info span {
        display: block;
        margin-top: 2px;
        font-size: 12px;
        color: #777;
    }


/* BADGE */

.custom_ticketdetails_lookup_badge {
    height: 24px;
    padding: 0 10px;
    border: 1px solid #d7d7d7;
    border-radius: 999px;
    background: #fff;
    color: #666;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* EDITOR */

.custom_ticketdetails_email_editor {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    overflow: hidden;
}

.custom_ticketdetails_email_editor_toolbar {
    background: #fafafa;
    height: 40px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 8px;
}

    .custom_ticketdetails_email_editor_toolbar button {
        background: transparent;
        width: 30px;
        height: 30px;
        border: none;
        font-size: 14px;
        border-radius: 6px;
        cursor: pointer;
    }

        .custom_ticketdetails_email_editor_toolbar button:hover {
            background: #ececec;
        }

.custom_ticketdetails_email_editor_toolbar-button svg {
    width: 14px;
    height: 14px;
}

.custom_ticketdetails_email_editor textarea {
    width: 100%;
    min-height: 260px;
    border: none;
    resize: none;
    outline: none;
    padding: 14px;
    font-size: 14px;
}

/* ATTACHMENT */

.custom_ticketdetails_email_attachment_card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 18px;
}

.custom_ticketdetails_email_attachment_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

    .custom_ticketdetails_email_attachment_header button {
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .custom_ticketdetails_email_attachment_header svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_email_attachment_empty {
    border: 1px dashed #d8d8d8;
    border-radius: 12px;
    min-height: 100px;
    padding: 12px;
    box-sizing: border-box;
    display: block !important
}

.custom_ticketdetails_attachment_empty_text {
    min-height: 76px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
}

.custom_ticketdetails_attachment_item {
    height: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    margin-top: 8px;
    background: #fff;
    font-size: 13px;
}



.custom_ticketdetails_attachment_item {
    width: 100%;
    min-height: 56px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.custom_ticketdetails_attachment_left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom_ticketdetails_attachment_name {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    line-height: 1.2;
}

.custom_ticketdetails_attachment_size {
    font-size: 12px;
    color: #8b8b8b;
    margin-top: 3px;
}

.custom_ticketdetails_attachment_delete {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    flex-shrink: 0;
}

    .custom_ticketdetails_attachment_delete:hover {
        background: #f5f5f5;
    }

    .custom_ticketdetails_attachment_delete svg {
        width: 16px;
        height: 16px;
        color: red;
    }

/* DURATION */

.custom_ticketdetails_email_duration_card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .custom_ticketdetails_email_duration_card select {
        width: 50em;
        height: 36px;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 0 12px;
    }

/* FOOTER */
.custom_ticketdetails_phcall_footer,
.custom_ticketdetails_email_footer {
    height: 62px;
    background: #fff;
    border-top: 1px solid #dddddd;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 18px;
    margin-top: auto;
    position: sticky;
    bottom: 0;
}

/*.custom_ticketdetails_email_footer_primary {
height: 35px;
border: none;
border-radius: 24px;
background: #7f7f87;
color: #fff;
display: flex;
align-items: center;
overflow: hidden;
padding: 0;
cursor: pointer;
font-size: 15px;
font-weight: 600;
}*/

.custom_ticketdetails_email_footer_primary span {
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
}

.custom_ticketdetails_email_footer_arrow {
    width: 42px;
    height: 100%;
    border-left: 1px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_ticketdetails_email_footer_arrow svg {
        width: 14px;
        height: 14px;
    }


.custom_ticketdetails_email_footer_primary:hover {
    background: #72727a;
}

.custom_ticketdetails_email_footer_cancel {
    background: transparent;
    cursor: pointer;
    height: 34px;
    padding: 0 12px;
    border: none;
    font-size: 13px;
}


.custom_ticketdetails_phcall_footer_primary {
    height: 35px;
    border: none;
    border-radius: 24px;
    background: #0f0f12;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

    .custom_ticketdetails_phcall_footer_primary span {
        padding: 0 20px;
        display: flex;
        align-items: center;
        height: 100%;
    }


/* RESPONSIVE */

@media(max-width:991px) {

    .custom_ticketdetails_panel {
        width: 100vw;
    }
}

@media(max-width:768px) {

    .custom_ticketdetails_email_form_card {
        grid-template-columns: 1fr;
    }

    .custom_ticketdetails_email_content {
        padding: 16px;
    }

    .custom_ticketdetails_email_title_wrap h1 {
        font-size: 26px;
    }

    .custom_ticketdetails_email_footer {
        padding: 0 16px;
    }

    .custom_ticketdetails_email_field {
        grid-template-columns: 1fr;
    }

    .custom_ticketdetails_email_form_right {
        width: 100%;
    }
}


/*  PHONE CALL PAGE */

.custom_ticketdetails_call_page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    max-width: 680px;
}


/* HEADER */

.custom_ticketdetails_call_header_top {
    display: flex;
}

.custom_ticketdetails_call_header {
    padding: 18px 22px 16px;
    border-bottom: 1px solid #ececec;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

    .custom_ticketdetails_call_header h2 {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
        color: #111827;
    }

    .custom_ticketdetails_call_header p {
        margin: 8px 0 0;
        font-size: 13px;
        color: #6b7280;
    }


/* BODY */

.custom_ticketdetails_call_body {
    padding: 18px 20px 90px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}



/* FIELD */

.custom_ticketdetails_call_field {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: center;
}

    .custom_ticketdetails_call_field label {
        font-size: 13px;
        color: #444;
        font-weight: 500;
    }

        .custom_ticketdetails_call_field label span {
            color: #ef4444;
        }



    /* INPUT */

    .custom_ticketdetails_call_field input,
    .custom_ticketdetails_call_field select,
    .custom_ticketdetails_call_field textarea {
        width: 100%;
        border: 1px solid #d8d8d8;
        border-radius: 8px;
        background: #fff;
        font-size: 13px;
        outline: none;
        box-shadow: none;
    }

    .custom_ticketdetails_call_field input,
    .custom_ticketdetails_call_field select {
        height: 36px;
        padding: 0 12px;
    }

    .custom_ticketdetails_call_field textarea {
        min-height: 80px;
        padding: 10px 12px;
        resize: vertical;
    }

        .custom_ticketdetails_call_field input:focus,
        .custom_ticketdetails_call_field select:focus,
        .custom_ticketdetails_call_field textarea:focus {
            border-color: #5b9cff;
            box-shadow: 0 0 0 2px rgba(91,156,255,0.12);
        }

/* CHECKBOX */

.custom_ticketdetails_call_checkbox {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .custom_ticketdetails_call_checkbox label {
        font-size: 13px;
        color: #444;
    }

    .custom_ticketdetails_call_checkbox div {
        display: flex;
        align-items: center;
        gap: 8px;
    }


/* DIVIDER */

.custom_ticketdetails_call_divider {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #666;
}


/* TEXTAREA */

.custom_ticketdetails_call_field_textarea {
    align-items: start;
}

    .custom_ticketdetails_call_field_textarea label {
        padding-top: 10px;
    }

/* FOOTER */

.custom_ticketdetails_call_footer {
    height: 64px;
    border-top: 1px solid #ececec;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0 22px;
    margin-top: auto;
    bottom: 0px;
    position: sticky;
}



/* BUTTON */

.custom_ticketdetails_call_save {
    height: 34px;
    padding: 0 18px;
    border: none;
    border-radius: 18px;
    background: #030521;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.custom_ticketdetails_call_cancel {
    border: none;
    background: transparent;
    font-size: 13px;
    cursor: pointer;
}



/* ATTACH */

.custom_ticketdetails_call_upload {
    height: 36px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding-left: 100px
}

    .custom_ticketdetails_call_upload span {
        font-size: 13px;
    }

    .custom_ticketdetails_call_upload svg {
        width: 15px;
        color: #020000f5;
    }

/* MOBILE */

@media(max-width:768px) {

    .custom_ticketdetails_call_field {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .custom_ticketdetails_call_checkbox {
        padding-left: 0;
    }
}

/* PHONE CALL PANEL SIZE */

.custom_ticketdetails_panel.phonecall-panel {
    width: 520px;
}

/*
APPOINTMENT
*/

.custom_ticketdetails_appointment_datetime {
    display: grid;
    grid-template-columns: 1fr 165px;
    gap: 10px;
}

.custom_ticketdetails_appointment_editor {
    width: 100%;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.custom_ticketdetails_appointment_editor_toolbar {
    height: 38px;
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 8px;
    background: #fafafa;
}

    .custom_ticketdetails_appointment_editor_toolbar button {
        width: 28px;
        height: 28px;
        border: none;
        background: transparent;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

        .custom_ticketdetails_appointment_editor_toolbar button:hover {
            background: #ececec;
        }

    .custom_ticketdetails_appointment_editor_toolbar svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_appointment_editor textarea {
    width: 100%;
    min-height: 130px;
    border: none;
    resize: vertical;
    outline: none;
    padding: 12px;
    font-size: 13px;
}

@media(max-width:768px) {

    .custom_ticketdetails_appointment_datetime {
        grid-template-columns: 1fr;
    }
}

.custom_ticketdetails_note_page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.custom_ticketdetails_note_header {
    height: 72px;
    border-bottom: 1px solid #ececec;
    padding: 0 22px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.custom_ticketdetails_note_header_top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .custom_ticketdetails_note_header_top h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        color: #111;
    }

.custom_ticketdetails_note_body {
    flex: 1;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.custom_ticketdetails_note_title {
    width: 100%;
    height: 54px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
}

    .custom_ticketdetails_note_title:focus {
        border-color: #4b8cff;
        box-shadow: 0 0 0 2px rgba(75,140,255,0.12);
    }

/*.custom_ticketdetails_note_editor {
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}*/

.custom_ticketdetails_note_editor_toolbar {
    min-height: 40px;
    border-bottom: 1px solid #e8e8e8;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 8px;
}

    .custom_ticketdetails_note_editor_toolbar button {
        width: 28px;
        height: 28px;
        border: none;
        background: transparent;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

        .custom_ticketdetails_note_editor_toolbar button:hover {
            background: #ececec;
        }

    .custom_ticketdetails_note_editor_toolbar svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_note_editor textarea {
    width: 100%;
    min-height: 280px;
    border: none;
    resize: none;
    outline: none;
    padding: 14px;
    font-size: 14px;
    flex: 1;
}

.custom_ticketdetails_note_attachment {
    display: flex;
    align-items: center;
    padding-top: 6px;
}

    .custom_ticketdetails_note_attachment label {
        font-size: 14px;
        color: #444;
    }

.custom_ticketdetails_note_footer {
    height: 62px;
    border-top: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0 22px;
    flex-shrink: 0;
    background: #fff;
}

.custom_ticketdetails_note_save {
    height: 36px;
    padding: 0 18px;
    border: none;
    border-radius: 18px;
    background: #7d7d86;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.custom_ticketdetails_note_cancel {
    border: none;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
}


/* TOP ROW */
.custom_ticketdetails_activity_attachment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    margin-top: 10px;
}


    /* LABEL */
    .custom_ticketdetails_activity_attachment label {
        font-size: 14px;
        font-weight: 500;
        color: #555;
    }

/* UPLOAD BUTTON */
.custom_ticketdetails_activity_upload {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    padding-right: 100px;
}


    .custom_ticketdetails_activity_upload svg {
        width: 15px;
        height: 15px;
    }


/* FILE LIST */
.custom_ticketdetails_activity_files {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


/* FILE CARD */
.custom_ticketdetails_activity_file {
    min-height: 48px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}



/* LEFT CONTENT */
.custom_ticketdetails_activity_file_left {
    display: flex;
    flex-direction: column;
}



/* FILE NAME */
.custom_ticketdetails_activity_file_name {
    font-size: 13px;
    font-weight: 500;
    color: #222;
    line-height: 1.2;
}



/* FILE SIZE */
.custom_ticketdetails_activity_file_size {
    font-size: 12px;
    color: #8b8b8b;
    margin-top: 3px;
}


/* DELETE BUTTON */
.custom_ticketdetails_activity_file_delete {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

    .custom_ticketdetails_activity_file_delete svg {
        width: 16px;
        height: 16px;
    }


/*Board*/
.custom_tickets_board {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 5px 20px;
}

    /* SCROLLBAR */
    .custom_tickets_board::-webkit-scrollbar {
        height: 8px;
    }

    .custom_tickets_board::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 20px;
    }

    .custom_tickets_board::-webkit-scrollbar-thumb {
        background: #cfcfcf;
        border-radius: 20px;
    }

/* COLUMN */
/*.custom_tickets_board_column {
    min-width: 19%;
    width: 200px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 10px;
    flex-shrink: 0;
    overflow: visible;
}*/

.custom_tickets_board_count {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

/* HEADER */
.custom_tickets_board_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.custom_tickets_board_title {
    /*padding: 6px 12px;*/
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

    .custom_tickets_board_title.blue {
        background: #edf4ff;
        color: #246bff;
    }

    .custom_tickets_board_title.green {
        background: #ebfff1;
        color: #14a44d;
    }

    .custom_tickets_board_title.purple {
        background: #f5edff;
        color: #8a3ffc;
    }

    .custom_tickets_board_title.orange {
        background: #fff3df;
        color: #e58a00;
    }

/* CARD */
.custom_tickets_board_card {
    background: #fff;
    border: 1px solid #e1e6ee;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    position: relative;
    overflow: visible;
}

    .custom_tickets_board_card:hover {
        border-color: #4a8cff;
        box-shadow: 0 0 0 3px rgba(74,140,255,0.12);
    }

    .custom_tickets_board_card:hover {
        transform: scale(1.015);
    }

/* TOP */
.custom_tickets_board_card_top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
}

.custom_tickets_board_top_left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

    .custom_tickets_board_top_left > div:last-child {
        flex: 1;
        min-width: 0;
    }

.custom_tickets_board_avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_tickets_board_avatar.purple {
        background: #8e24aa;
    }

    .custom_tickets_board_avatar.red {
        background: #ef4444;
    }

    .custom_tickets_board_avatar.blue {
        background: #1e88e5;
    }

/* TOP TEXT */
.custom_tickets_board_top_text {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom_tickets_board_top_text_span {
    font-size: 12px;
    color: #888;
}

/* MENU */
.custom_tickets_board_menu {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

    .custom_tickets_board_menu:hover {
        background: #f3f4f6;
    }

    .custom_tickets_board_menu svg {
        width: 14px;
        height: 14px;
    }

/* NAME */
.custom_tickets_board_name {
    font-size: 13px;
    color: #222;
    line-height: 1.5;
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* TAGS */
.custom_tickets_board_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

    .custom_tickets_board_tags span {
        padding: 5px 10px;
        border-radius: 30px;
        font-size: 11px;
        font-weight: 500;
        border: 1px solid transparent;
    }

    .custom_tickets_board_tags .blue {
        background: #edf4ff;
        border-color: #cfe0ff;
        color: #246bff;
    }

    .custom_tickets_board_tags .purple {
        background: #f5edff;
        border-color: #e4d1ff;
        color: #8a3ffc;
    }

    .custom_tickets_board_tags .green {
        background: #ebfff1;
        border-color: #c9f0d7;
        color: #14a44d;
    }

    .custom_tickets_board_tags .orange {
        background: #fff4e5;
        border-color: #ffdca8;
        color: #e58a00;
    }

    .custom_tickets_board_tags .gray {
        background: #f3f3f3;
        border-color: #e0e0e0;
        color: #666;
    }

/* FOOTER */
.custom_tickets_board_footer {
    border-top: 1px solid #ececec;
    padding-top: 14px;
}


/* FOOTER ROW */
.custom_tickets_board_footer_row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}


/* SMALL AVATAR */
.custom_tickets_board_small_avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_tickets_board_small_avatar.purple {
        background: #673ab7;
    }

    .custom_tickets_board_small_avatar.red {
        background: #ef4444;
    }


/* FOOTER TEXT */
.custom_tickets_board_footer_text {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.custom_tickets_board_footer_text_span {
    font-size: 12px;
    color: #888;
}


/* DATE */
.custom_tickets_board_date_row {
    font-size: 12px;
    color: #888;
}

.custom_tickets_board_clock_icon {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_tickets_board_clock_icon svg {
        width: 14px;
        height: 14px;
    }


/* LOCATION */
.custom_tickets_board_location {
    font-size: 12px;
    color: #777;
}


/* EMPTY */
.custom_tickets_board_empty {
    background: #fff;
    border: 2px dashed #dddddd;
    border-radius: 16px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #a1a1a1;
    font-size: 13px;
    padding: 20px;
}

/* MENU BUTTON */
.cus_ticketboard_menu {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

    .cus_ticketboard_menu:hover {
        background: #f3f4f6;
    }

    .cus_ticketboard_menu svg {
        width: 18px;
        height: 18px;
        fill: #666;
    }

/* Drop Down */

.cus_ticketboard_global_dropdown {
    position: fixed;
    width: 250px;
    background: #ffffff;
    border: 1px solid #212529;
    border-radius: 12px;
    box-shadow: 0 20px 25px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.04);
    overflow: hidden;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}


    /* ACTIVE */
    .cus_ticketboard_global_dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

/* TOP */
.cus_ticketboard_dropdown_top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #14191e1f;
    font-size: 12px;
    font-weight: 500;
    color: #222;
}

    .cus_ticketboard_dropdown_top:hover {
        background: #f8fafc;
    }

/* TITLE */
.cus_ticketboard_dropdown_title {
    padding: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #080a0ea8;
    letter-spacing: .5px;
}

/* LIST */
.cus_ticketboard_dropdown_list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #14191e1f;
}

/* ITEM */
.cus_ticketboard_dropdown_item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 12px;
    color: #222;
}

    .cus_ticketboard_dropdown_item:hover {
        background: #f8fafc;
    }

/* ICON */
.cus_ticketboard_dropdown_icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

    .cus_ticketboard_dropdown_icon svg {
        width: 16px;
        height: 16px;
    }

/* DELETE */
.cus_ticketboard_dropdown_delete {
    padding: 8px;
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .cus_ticketboard_dropdown_delete:hover {
        color: #222;
    }


/* PIPELINE POPUP */

.custom_ticketdetails_pipeline_popup {
    position: absolute;
    width: 250px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    z-index: 9999;
    display: none;
}

/* HEADER */

.custom_ticketdetails_pipeline_popup_header {
    height: 44px;
    padding: 0 14px;
    border-bottom: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .custom_ticketdetails_pipeline_popup_header p {
        margin: 0;
        font-size: 10px;
        font-weight: 700;
        color: #222;
        text-transform: uppercase;
    }

/* ACTIONS */

.custom_ticketdetails_pipeline_popup_actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .custom_ticketdetails_pipeline_popup_actions button {
        width: 24px;
        height: 24px;
        border: none;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 6px;
    }

        .custom_ticketdetails_pipeline_popup_actions button:hover {
            background: #f4f4f4;
        }

/* BODY */

.custom_ticketdetails_pipeline_popup_body {
    min-height: 68px;
    padding: 14px;
}

    .custom_ticketdetails_pipeline_popup_body p {
        margin: 0;
        font-size: 10px;
        color: #666;
        line-height: 1.5;
    }

/* FOOTER */

.custom_ticketdetails_pipeline_popup_footer {
    padding: 0 14px;
    border-top: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 7em;
}

/* BACK BUTTON */

.custom_ticketdetails_pipeline_arrow_btn {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

    .custom_ticketdetails_pipeline_arrow_btn:hover {
        background: #f5f5f5;
    }



    /* DISABLED BACK */

    .custom_ticketdetails_pipeline_arrow_btn.disabled {
        opacity: 0.35;
        pointer-events: none;
    }

/* NEXT BUTTON */

.custom_ticketdetails_pipeline_next_btn {
    height: 25px;
    padding: 0 10px;
    border: none;
    border-radius: 20px;
    background: #2f66f3;
    color: #fff;
    font-size: 8px;
    cursor: pointer;
    transition: 0.2s;
}

    .custom_ticketdetails_pipeline_next_btn:hover {
        opacity: 0.92;
    }

    /* FINISH BUTTON */

    .custom_ticketdetails_pipeline_next_btn.finish {
        background: #2f66f3;
    }

/* ACTIVE STEP CARD */

.custom_ticketdetails_pipeline_step.active
.custom_ticketdetails_pipeline_step_card {
    background: #eef3ff;
    border: 1px solid #cddcff;
}

/* STEP CARD */

.custom_ticketdetails_pipeline_step_card {
    width: 120px;
    margin: 12px auto 0;
    padding: 12px 10px;
    border-radius: 12px;
    background: #fff;
    transition: 0.2s;
}

    /* TITLE */

    .custom_ticketdetails_pipeline_step_card h5 {
        margin: 0;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.4;
        color: #222;
    }

    /* STATUS */

    .custom_ticketdetails_pipeline_step_card span {
        display: inline-block;
        margin-top: 5px;
        font-size: 11px;
        color: #6b7280;
    }

/* ACTIVE STATUS */

.custom_ticketdetails_pipeline_step.active
.custom_ticketdetails_pipeline_step_card span {
    color: #2f66f3;
    font-weight: 600;
}
/*TYK end 25526*/

/*TTS*/

.custom_pagination {
    display: flex;
    align-items: center;
    gap: 6px;
}
    /* Page numbers */
    .custom_pagination .page-number {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid #e5e5e5;
        background: #fff;
        text-decoration: none;
        color: #333;
        font-size: 14px;
        transition: 0.2s ease;
    }

        .custom_pagination .page-number:hover {
            background: #f3f6ff;
            border-color: #cdd8ff;
        }

        /* ACTIVE (blue circle) */
        .custom_pagination .page-number.active {
            background: #1f4ed8;
            color: #fff !important;
            border-color: #1f4ed8;
            font-weight: 600;
        }

    /* Prev / Next arrows */
    .custom_pagination .page-nav {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid #e5e5e5;
        background: #fff;
        text-decoration: none;
        color: #333;
        font-size: 18px;
        transition: 0.2s ease;
    }

        .custom_pagination .page-nav:hover {
            background: #f3f6ff;
        }

        /* Disabled state */
        .custom_pagination .page-nav.disabled {
            opacity: 0.4;
            pointer-events: none;
        }

    /* Ellipsis */
    .custom_pagination .dots {
        padding: 0 5px;
        color: #999;
    }

.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px;
}

/* LEFT TEXT */
.pagination-info {
    font-size: 14px;
    color: #444;
    white-space: nowrap;
}

/* MIDDLE ROWS PER PAGE */
.rows-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
    white-space: nowrap;
}

.rows-select {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    background: #fff;
    cursor: pointer;
}

/* PAGE BUTTONS */
.page-number,
.page-nav {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 13px;
    border: 1px solid #e0e0e0;
    color: #333;
    background: #fff;
}

    /* ACTIVE PAGE (BLUE CIRCLE LIKE IMAGE) */
    .page-number.active {
        background: #2f6df6;
        color: #fff;
        border-color: #2f6df6;
    }

    /* DISABLED */
    .page-nav.disabled {
        pointer-events: none;
        opacity: 0.4;
    }

/* DOTS */
.dots {
    padding: 0 6px;
    color: #888;
}

.custom_pagination_left {
    display: flex;
    align-items: center;
    gap: 24px;
}

/*TTS*/
/*TTS 290526*/
.custom_ticket_table_bottom {
    padding-block: 3px !important;
    padding-inline: 24px;
}
/*TTS 290526*/
/*TTS 010626*/
.custom_ticketdetails_lookup_dropdown {
    max-height: 250px; /* adjust height as needed */
    overflow-y: auto; /* enable vertical scroll */
    overflow-x: hidden; /* prevent horizontal scroll */
}
/* Type badges */
.badge-phonecall {
    background-color: #f0fdf4;
    color: #008236 !important;
    border: 1px solid #b9f8cf;
}

/* Status badges */
.badge-resolved {
    background-color: #22c55e;
    color: #fff;
}

.badge-waiting {
    background-color: #ef4444;
    color: #fff;
}

/*TTS 010626*/
/*TTS 030626*/
.custom_badge.green .growth-icon {
    filter: invert(48%) sepia(91%) saturate(437%) hue-rotate(92deg) brightness(95%) contrast(90%);
}

.custom_badge.red .growth-icon {
    filter: invert(19%) sepia(92%) saturate(7480%) hue-rotate(356deg) brightness(92%) contrast(97%);
}

.growth-icon {
    width: 14px; /* same size as font */
    height: 14px;
    filter: invert(30%) sepia(100%) saturate(500%) hue-rotate(0deg);
    /* makes the icon adopt the same color tone as text */
}

.moreactivityimg {
    width: 17px;
}

.ticket-actmore-menu {
    width: 135px;
}

.duplicate {
    width: 14px !important;
}

/* ZM */
/*for panel*/
.activity-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 650px;
    height: 100vh;
    background: #fff;
    border-left: 1px solid #ddd;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    transform: translateX(100%);
    z-index: 10000001;
    padding: 0;
    display: none;
    overflow-y: auto;
}

    .activity-panel.show {
        right: 0;
        opacity: 1;
        pointer-events: auto;
        display: block;
        transform: translateX(0)
    }

.panel-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.close-btn {
    cursor: pointer;
    font-size: 18px;
}

.activity-overlay {
    position: fixed;
    top: 0;
    inset: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s;
    z-index: 999999;
    display: none;
}

    .activity-overlay.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: block;
    }

.panel-header-advanced {
    position: relative;
    padding: 24px 24px 18px 24px;
    border-bottom: 3px solid #eee;
}

    .panel-header-advanced h4 {
        margin-bottom: 10px;
    }

.panel-tags {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.panel-actions {
    display: flex;
    gap: 10px;
    margin-top: 17px;
}

/* close button position */
.panel-header-advanced .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 18px;
}

.panel-body {
    max-height: calc(100vh - 120px);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow-y: auto;
}

    .timeline-search,
    .panel-body input {
        padding: 10px 12px;
        border-radius: 10px;
    }

.timeline-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    .timeline-header-row strong {
        display: block;
        margin-bottom: 4px;
    }

.timeline-actions {
    display: flex;
    gap: 12px;
}

    .timeline-actions .icon {
        cursor: pointer;
        font-size: 16px;
        color: #666;
    }

#timelineDesc {
    margin-bottom: 10px;
}

.activity-actions {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 14px;
}

    .activity-actions .icon {
        cursor: pointer;
        color: #666;
    }

        .activity-actions .icon.danger {
            color: red;
        }

.panel-alert {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 5px;
    background: #e6f0fb;
    color: #1d4ed8;
    font-size: 13px;
    width: 300px; /*  NOT full width */
    max-width: 300px; /* limit size */
    z-index: 999999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.35s ease;
    pointer-events: none;
}

    /* visible state */
    .panel-alert.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }


    .panel-alert.success {
        background: #e7f7ed; /*  light green */
        color: #15803d; /* dark green text */
        border: 1px solid #bbf7d0;
    }
/* overlay background */

.large-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: #fff;
    transition: 0.3s;
    z-index: 10000002;
    overflow: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    padding: 0;
    opacity: 0;
}

    .large-panel.show {
        right: 0;
        opacity: 1;
        pointer-events: auto;
    }


    .large-panel.active,
    .large-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

body.panel-open .sidebar,
body.panel-open .topbar {
    display: none;
}


/* header */
.large-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
/* body */
.large-panel-body {
    padding: 20px;
}

.large-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s;
    z-index: 1000000;
}

    .large-overlay.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: block;
    }

.title-row.title {
    display: flex;
    align-items: center;
    gap: 8px;
}


.title-row h3 {
    margin: 0;
    line-height: 1.2;
    font-size: 20px;
}

.large-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.title-status {
    font-size: 14px;
    color: #6b7280;
    white-space: nowrap;
    margin-top: -13px;
}


.saved-text {
    color: #6b7280;
    font-size: 14px;
    display: inline-block;
    line-height: 1.2;
    position: relative;
    top: 1px;
}

.header-right {
    display: flex;
    gap: 32px;
    align-items: center;
}

.meta-item {
    display: flex;
    text-align: left !important;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 20px;
    margin-left: 20px;
    border-left: 1px solid #e5e7eb;
}

    .meta-item.owner {
        display: inline-block;
        align-items: flex-start;
        flex-direction: column;
    }

        .meta-item.owner .meta-label {
            margin-left: 36px;
        }



.meta-value {
    font-weight: 500;
    font-size: 14px;
}

.meta-label {
    font-size: 12px;
    color: #6b7280;
}

.owner-name {
    color: #2563eb;
    font-weight: 500;
    font-size: 14px;
}

.owner-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.owner-right {
    display: flex;
    align-items: center;
}

.owner-label {
    margin-left: 0 !important;
    display: block;
}

.owner-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.owner-row {
    display: flex;
    align-items: center;
    gap: 8px;
}


.sub-row {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.3;
}

.large-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .form-row label {
        width: 100px;
        font-size: 14px;
    }

.large-editor {
    padding: 20px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

    .large-editor textarea {
        padding: 14px;
    }


.editor-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.editor-content {
    min-height: 220px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #111827;
    outline: none;
}


.editor-toolbar button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 6px;
    color: #374151;
}

    .editor-toolbar button:hover {
        background: #f3f4f6;
        border-radius: 4px;
    }


.large-toolbar {
    display: flex;
    gap: 10px;
    padding: 5px 5px;
    border-bottom: 1px solid #eee;
}

.large-form-wrapper {
    padding: 0px 24px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.ticket-button {
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 6px 14px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
}


    .ticket-button:hover {
        border-color: #d1d5db;
        background: #f9fafb;
    }

.myAvatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #84cc16;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

    .myAvatar.green {
        background: #84cc16;
        color: white;
    }

    .myAvatar.red {
        background: #ef4444;
        color: #fff;
    }

    .myAvatar.purple {
        background: #8b5cf6;
        color: #fff;
    }



.divider {
    width: 1px;
    height: 16px;
    background: #e5e7eb;
}

.tool-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 6px;
    font-size: 14px;
}

    .tool-btn:hover {
        background: #f3f4f6;
        border-radius: 4px;
    }

.attachment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.attachment-title {
    font-weight: 500;
}

.attachment-actions {
    display: flex;
    gap: 10px;
}


.attachment-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
}


.file-icon {
    font-size: 22px;
}



.file-size {
    font-size: 12px;
    color: #6b7280;
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}

.file-action {
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #2563eb;
    white-space: nowrap;
}

    .file-action.delete {
        color: red;
    }

.main-close-btn.main-close {
    top: 10px;
    right: 16px;
    font-size: 18px;
    cursor: pointer;
}

/*form alarm*/
.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.3s;
    z-index: 100000;
}

    /* show */
    .toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    /* success */
    .toast.success {
        background: #e6f4ea;
        color: #15803d;
    }

    /*  info */
    .toast.info {
        background: #e6f0ff;
        color: #1d4ed8;
    }
/* whole row */
.attachment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    margin: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
}

/* left icon box */
.file-icon-box {
    background-color: #e0ecff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
}

/* file info */
.file-info {
    flex: 1;
}

.file-name {
    font-weight: 500;
}

.file-size {
    font-size: 12px;
    color: #6b7280;
}

/* delete icon */
.file-delete {
    cursor: pointer;
    font-size: 16px;
    color: #dc2626; /* red */
    margin-left: auto;
}

    .file-delete:hover {
        opacity: 0.7;
    }


.file-preview {
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
}


.preview-placeholder {
    text-align: center;
    color: #666;
    padding: 40px 0;
}

.preview-container {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}


.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
}


.preview-title {
    font-weight: 600;
}


.preview-btn {
    border: 1px solid #2563eb;
    background: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: #2563eb;
}

.preview-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0ecff;
    border-radius: 8px;
    font-size: 16px;
    margin: 0 auto;
    color: #2563eb;
}


.preview-name {
    font-size: 13px;
    color: #555;
}


.preview-body {
    background: #f4f6f8;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}



.preview-Card {
    width: 48%;
    background: #f9fafb;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    box-shadow: inset 0 0 0 1px #e5e7eb;
}



.preview-main-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.preview-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}



.preview-file-box {
    margin-top: 10px;
    padding: 8px;
    border: 1px dashed #d1d5db;
    border-radius: 6px;
    font-size: 12px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: none;
    z-index: 100000;
}

.modal-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: none;
    z-index: 100001;
    border: 5px;
}


.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-sub {
    margin-top: 6px;
    font-size: 14px;
    color: #6b7280;
}

.modal-body {
    padding: 16px 20px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 540px;
    border: none;
}

.modal-footer {
    padding: 12px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.primary-btn {
    background: #111827;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
}

.secondary-btn {
    border-radius: 20px;
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    background: #fff;
}
/*for select modal start*/

.modal-box.large {
    padding: 0;
    width: 600px;
    border: 1px solid #000;
    box-shadow: none;
}

.template-container {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

/* left list */
.template-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* right preview */
.template-preview {
    flex: 1;
    background: #f9fafb;
    padding: 16px;
    border-radius: 10px;
}

/* template item */

/*here*/
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding: 16px 20px;
}

.template-layout {
    display: flex;
    gap: 24px;
    align-items: stretch;
    margin-top: 16px;
}

/* LEFT */
.template-left {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* TEMPLATE ITEM */
.template-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

    .template-item.active {
        background: #e6f0ff;
    }

.template-section-title {
    font-size: 14px;
    color: #6b7280;
    margin: 6px 0 4px;
}

/* radio */
.radio {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #2563eb;
}

/* RIGHT */
.template-preview {
    width: 55%;
    flex: 1;
}

.preview-card {
    width: 100%;
    border-radius: 12px;
    padding: 14px;
    background: #f9fafb;
    box-shadow: inset 0 0 0 1px #e5e7eb;
}
/*background: #f9fafb;
border: 1px solid #e5e7eb;
padding: 16px;
border-radius: 10px;*/

.preview-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.preview-content {
    font-size: 14px;
    color: #374151;
}

.email-template-layout {
    display: flex;
    gap: 20px;
    width: 100%;
}

.email-template-left {
    width: 55%;
    gap: 8px;
}
/*width: 40%;
display: flex;
flex-direction: column;
gap: 10px;
overflow-y: auto;*/

.email-template-right {
    width: 45%;
    border-left: 1px solid #e5e7eb;
    padding-left: 20px;
}
/*flex: 1;
border-left: 1px solid #e5e7eb;
padding-left: 20px;*/

.email-template-left .ticket-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    background: #f9fafb;
}
/*border-radius: 10px;
border: 1px solid #d1d5db;
padding: 10px 12px;
font-size: 14px;
width: 100%;*/

.email-template-left input.ticket-control {
    background: #f9fafb;
}

.email-template-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
}

    .email-template-item:hover {
        background: #f3f4f6;
    }


    /* active (selected) */
    .email-template-item.active {
        background: #e6f0ff;
        border: 1px solid #3b82f6;
    }

.left-part {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #9ca3af;
}

.email-template-item.active .radio-circle {
    border-color: #2563eb;
    background: #2563eb;
}

.text-group {
    display: flex;
    flex-direction: column;
}


.template-name {
    font-weight: 500;
}

.template-type {
    font-size: 12px;
    color: #6b7280;
}


.right-part {
    font-size: 12px;
    color: #2563eb;
}

.preview-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}


.language-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* clean dropdown */
.language-select {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #fff;
    width: 69%;
    font-size: 14px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 20px;
}

.modal-footer-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin-top: 8px;
}

.small-modal {
    height: 350px;
    min-height: unset;
    width: 480px;
    padding: 0;
}

    .small-modal.ticket-field {
        margin-bottom: 5px;
    }

    .small-modal.ticket-control {
        height: 36px;
    }

    .small-modal .modal-title {
        font-size: 18px;
        font-weight: 600;
        padding: 16px 20px 6px;
    }

    .small-modal .modal-sub {
        font-size: 14px;
        color: #6b7280;
        padding: 0 20px 12px;
    }

.small-modal-body {
    padding: 8px 22px;
}

    .small-modal-body .ticket-field {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
    }


    .small-modal-body .ticket-label {
        min-width: 120px;
    }


    .small-modal-body .ticket-control {
        width: 220px;
        height: 36px;
        padding: 6px 10px;
        border-radius: 8px;
        border: 1px solid #d1d5db;
    }


.small-modal-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
}

.small-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 20px;
}
/*  CRM STYLE MODAL */
.crm-modal {
    width: 540px;
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

    /* header */
    .crm-modal .modal-title {
        font-size: 20px;
        font-weight: 600;
        padding: 18px 22px 6px;
    }

    .crm-modal .modal-sub {
        font-size: 14px;
        color: #6b7280;
        padding: 0 22px 12px;
    }

    /* body */
    .crm-modal .modal-body {
        padding: 10px 22px 6px;
    }

    /* fields layout */
    .crm-modal .ticket-field {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
    }

    /* label */
    .crm-modal .ticket-label {
        font-size: 14px;
        color: #374151;
        min-width: 110px;
    }

    /* input */
    .crm-modal .ticket-control {
        width: 280px;
        height: 38px;
        border-radius: 10px;
        border: 1px solid #d1d5db;
        padding: 6px 12px;
        background: #f9fafb;
    }

    /* footer */
    .crm-modal .modal-footer {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        padding: 14px 22px 18px;
    }

.modal-box.small-modal {
    width: 500px;
    max-height: auto;
    padding: 0;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

#cardModified {
    margin-left: 6px;
}

#cardFromUser {
    margin: 0 4px;
}

#cardSubject {
    margin-top: 6px;
    margin-bottom: 4px;
    line-height: 1.4;
}

#cardDescription {
    margin-bottom: 6px;
    color: #6b7280;
}

.ticket-card-body div:last-child {
    /*margin-top: 6px;*/
}

.type-icon {
    margin-right: 6px;
    vertical-align: middle;
}

#cardStatusBadge {
    background: #e0ecff;
    color: #2563eb;
    border: none;
    font-weight: 500;
}

.table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-top: 1px solid #e5e7eb;
    margin-top: 10px;
}

.pagination-right {
    display: flex;
    align-items: center;
    gap: 16px;
}


#rowsPerPage {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 16px;
}

.rows-per-page {
    position: relative;
}

    .rows-per-page::after {
        content: "\25BE";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        color: #6b7280;
    }




    .rows-per-page select {
        border: none;
        background: transparent;
        font-weight: 500;
        cursor: pointer;
    }

#rowsPerPage:hover {
    color: #111827;
}


.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .pagination-controls button {
        border: none;
        background: transparent;
        cursor: pointer;
        color: #6b7280;
        font-size: 15px;
    }

.active-page {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    font-size: 15px;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-top: 10px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 15px;
    color: #6b7280;
}

.small-select {
    height: 30px;
    padding: 2px 8px;
    font-size: 14px;
    width: auto;
    min-width: 60px;
}

.rows-dropdown {
    position: relative;
    align-items: center;
    gap: 8px;
    display: flex;
}

.rows-label {
    white-space: nowrap;
}


/* trigger (small text style like your UI) */
.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-weight: 500;
}

/* dropdown panel */
.dropdown-menu:not(.cus_profile-dropdown) {
    position: absolute;
    bottom: 120%;
    right: 0;
    width: 100px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 6px 0;
    display: none;
    z-index: 999;
}

    /* items */
    .dropdown-menu:not(.cus_profile-dropdown) div {
        padding: 8px 14px;
        cursor: pointer;
    }

        /* hover */
        .dropdown-menu:not(.cus_profile-dropdown) div:hover {
            background: #f3f4f6;
        }

        /* selected */
        .dropdown-menu:not(.cus_profile-dropdown) div.active {
            background: #e5e7eb;
            font-weight: 500;
        }

/* chip style inside input */
.chip-input {
    display: flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.chip {
    display: flex;
    align-items: center;
    background: #e7f1ff;
    border-radius: 20px;
    padding: 1px 6px 1px 2px;
    gap: 5px;
    font-size: 10px;
}

.chip-avatar {
    background: #84cc16;
    color: white;
    font-size: 8px;
    font-weight: 600;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chip-avatar-red {
    background: red;
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chip-text {
    color: #2f80ed;
    font-weight: 500;
    font-size: 12px;
}

.chip-close {
    margin-left: 4px;
    cursor: pointer;
    color: #888;
    font-size: 14px;
}

    .chip-close:hover {
        color: #1c5ed6;
    }

.attachment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 40px;
}

#appointmentAttachmentList {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 40px;
}

.row-field {
    display: grid;
    grid-template-columns: 160px 30px 1fr;
    align-items: center;
    gap: 8px;
}

    /* label */
    .row-field .ticket-label {
        margin-bottom: 0;
    }

    /* icon */
    .row-field .lock-icon {
        display: flex;
        justify-content: center;
        opacity: 0.6;
    }

    /* input */
    .row-field .ticket-control {
        width: 100%;
    }

.input-row {
    display: flex;
    align-items: center;
}

    .input-row.lock-input {
        position: relative;
        display: flex;
        align-items: center;
    }

.lock-icon {
    width: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-row .ticket-control {
    flex: 1;
    width: 100%;
}

.ui-dropdown-cs {
    position: relative;
    width: 100%;
}

.ui-dropdown-selected-cs {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8f9fb;
    cursor: pointer;
    position: relative;
}

/*.ui-dropdown-item-cs.active {
    background: #e9ebef;
}*/
.ui-dropdown-item-cs:hover {
    background: #e9ebef;
}


/* arrow */
.ui-dropdown-selected-cs::after {
    content: "";
    position: absolute;
    right: 12px;
    width: 16px;
    height: 16px;
    opacity: 0.5;
    background-repeat: no-repeat;
    background-size: contain;
}

/* dropdown box */

.ui-dropdown-menu-cs {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1.5px solid #000;
    border-radius: 12px;
    display: none;
    z-index: 9999;
    padding: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

    .ui-dropdown-menu-cs:not(:hover) .ui-dropdown-item-cs.selected {
        background: #e5e7eb;
    }



/* items */

.ui-dropdown-item-cs {
    padding: 12px 14px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    transition: background 0.15s ease;
}


    /* hover */

    .ui-dropdown-item-cs:hover {
        background: #e9ebef;
    }


    /* selected */

    .ui-dropdown-item-cs.selected {
        background: transparent;
        font-weight: normal;
    }


        /* check mark */

        .ui-dropdown-item-cs.selected::after {
            content: "";
            width: 16px;
            height: 16px;
            background-repeat: no-repeat;
            background-size: contain;
            display: inline-block;
        }

.pagination-dropdown .ui-dropdown-cs {
    width: auto;
}

.pagination-dropdown .ui-dropdown-selected-cs {
    width: auto;
    min-width: auto;
    padding: 0;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

    .pagination-dropdown .ui-dropdown-selected-cs::after {
        position: static;
        margin-left: 6px;
        width: 12px;
        height: 12px;
        opacity: 0.6;
    }


.pagination-dropdown .ui-dropdown-menu-cs {
    position: absolute;
    top: 110%;
    left: 0;
    width: 120px;
    background: #fff;
    border: 1.5px solid #000;
    border-radius: 14px;
    padding: 8px;
    margin-top: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 9999;
}

.pagination-dropdown .ui-dropdown-item-cs {
    padding: 12px 16px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
}


    .pagination-dropdown .ui-dropdown-item-cs:hover {
        background: #f3f4f6;
    }


    .pagination-dropdown .ui-dropdown-item-cs.selected {
        background: transparent;
    }


        .pagination-dropdown .ui-dropdown-item-cs.selected::after {
            content: "";
            width: 16px;
            right: 10px;
            height: 16px;
            background-repeat: no-repeat;
            background-size: contain;
            margin-left: auto;
        }


.pagination-dropdown .ui-dropdown-menu-cs:not(:hover)
.ui-dropdown-item-cs.selected {
    background: #e5e7eb;
}


.attach-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f1f3f5;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    margin-left: 6px;
}

#emailFileCount {
    margin-left: 6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #eef0f2;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    align-items: center;
    justify-content: center;
}
/* ZM */
/*TTS 030626*/
/*TTS 040626*/
.custom_ticketdetails_status-box {
    width: 200px;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 8px 12px;
}


.custom_ticketdetails_status_btn {
    width: 100%;
    height: 36px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

    .custom_ticketdetails_status_btn span {
        font-size: 13px;
        font-weight: 500;
        color: #202124;
    }

    .custom_ticketdetails_status_btn svg {
        width: 14px;
        height: 14px;
        color: #9ca3af;
    }

.custom_ticketdetails_status-box.status-new {
    background: #eff6ff;
    border-color: #c2d0ef;
}

.custom_ticketdetails_status_btn.status-new {
    background: #eff6ff;
    border-color: #c2d0ef;
}

.custom_ticketdetails_status-box.status-new .custom_ticketdetails_status_btn span {
    color: #2563eb;
    font-weight: 600;
}

.custom_ticketdetails_status-box.status-confirmed {
    background: #ecfdf5;
    border-color: #22c55e;
}

.custom_ticketdetails_status_btn.status-confirmed {
    background: #ecfdf5;
    border-color: #22c55e;
}

.custom_ticketdetails_status-box.status-confirmed .custom_ticketdetails_status_btn span {
    color: #16a34a;
    font-weight: 600;
}

.custom_ticketdetails_status-box.status-contacted {
    background: #faf5ff;
    border-color: #9333ea;
}

.custom_ticketdetails_status_btn.status-contacted {
    background: #faf5ff;
    border-color: #9333ea;
}

.custom_ticketdetails_status-box.status-contacted .custom_ticketdetails_status_btn span {
    color: #9333ea;
    font-weight: 600;
}

.custom_ticketdetails_status-box.status-marketing-qualified {
    background: #ecfdf5;
    border-color: #22c55e;
}

.custom_ticketdetails_status_btn.status-marketing-qualified {
    background: #ecfdf5;
    border-color: #22c55e;
}

.custom_ticketdetails_status-box.status-marketing-qualified .custom_ticketdetails_status_btn span {
    color: #16a34a;
    font-weight: 600;
}

.custom_ticketdetails_status-box.status-high {
    background: #fffbeb;
    border-color: #fee685;
}

.custom_ticketdetails_status_btn.status-high {
    background: #fffbeb;
    border-color: #fee685;
}

.custom_ticketdetails_status-box.status-high .custom_ticketdetails_status_btn span {
    color: #bb4d00;
    font-weight: 600;
}
/*TYK*/
.custom_ticketdetails_top_actionbar {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 8px 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    top: 0;
    position: sticky;
    z-index: 999;
}

.custom_ticketdetails_top_actionbar_left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.custom_ticketdetails_action_btn {
    border: none;
    background: transparent;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: 0.2s;
}

    .custom_ticketdetails_action_btn:hover {
        background: #f5f7fb;
    }

    .custom_ticketdetails_action_btn svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_top_action_btn_icon {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_ticketdetails_top_action_btn_icon:hover {
        background: #f5f7fb;
    }

    .custom_ticketdetails_top_action_btn_icon svg {
        width: 16px;
        height: 16px;
    }

.custom_ticketdetails_dropdown_wrapper {
    position: relative;
}

.custom_ticketdetails_dropdown_menu {
    position: fixed;
    /*top: 70px;*/
    /*right: 45px;*/
    /* width: 220px;*/
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid #031222;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    z-index: 9;
}

    .custom_ticketdetails_dropdown_menu.show {
        display: block;
    }

    .custom_ticketdetails_dropdown_menu button {
        width: 100%;
        height: 30px;
        border: none;
        background: transparent;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 12px;
        padding: 0 10px;
        transition: 0.2s;
    }

        .custom_ticketdetails_dropdown_menu button:hover {
            background: #f5f7fb;
        }

        .custom_ticketdetails_dropdown_menu button svg {
            width: 14px;
            height: 14px;
        }

.custom_ticketdetails_main_card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.custom_ticketdetails_header_section {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.custom_ticketdetails_profile {
    display: flex;
    gap: 12px;
}

.custom_ticketdetails_avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ea4335;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.custom_ticketdetails_name {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.custom_ticketdetails_subtitle {
    margin-top: 2px;
    color: #777;
}

.custom_ticketdetails_badge {
    background: #e8f8ef;
    border: 1px solid #b9f8cf;
    color: #008236;
    border-radius: 20px;
    padding: 2px 7px;
    font-size: 10px;
}

.custom_ticketdetails_info_group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.custom_ticketdetails_info_box {
    width: 200px;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 8px 12px;
}

    .custom_ticketdetails_info_box h9 {
        margin: 0;
        font-size: 13px;
        font-weight: 420;
    }

    .custom_ticketdetails_info_box span {
        font-size: 10px;
        color: #888;
    }

/*.custom_ticketdetails_status_box {
    border: 1px solid #f0c75c;
    background: #fffdf7;
}*/

.custom_ticketdetails_owner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.custom_ticketdetails_owner_left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom_ticketdetails_owner p {
    font-size: 10px;
    color: #888;
    margin: 0;
}

.custom_ticketdetails_owner_avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #6f42c1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.custom_ticketdetails_owner_arrow {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*cursor: pointer;*/
}

    .custom_ticketdetails_owner_arrow svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_name_arrow {
    width: 18px;
    height: 18px;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    /*cursor: pointer;*/
}

    .custom_ticketdetails_name_arrow svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_pipeline_title_section {
    margin-top: 22px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.custom_ticketdetails_pipeline_icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #2f66f3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_ticketdetails_pipeline_icon svg {
        width: 16px;
        height: 16px;
        /*fill: #fff;*/
    }

.custom_ticketdetails_pipeline_title_section h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.custom_ticketdetails_pipeline_title_section p {
    margin-top: 3px;
    font-size: 12px;
    color: #666;
}

.custom_ticketdetails_stepper_wrapper {
    position: relative;
    margin-top: 28px;
}

.custom_ticketdetails_pipeline_line {
    position: absolute;
    top: 14px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #dadada;
    overflow: hidden;
    border-radius: 20px;
}

.custom_ticketdetails_pipeline_line_active {
    width: 0%;
    height: 100%;
    background: #2f66f3;
    transition: 0.3s;
}

.custom_ticketdetails_pipeline_steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.custom_ticketdetails_pipeline_step {
    flex: 1;
    text-align: center;
    position: relative;
}

.custom_ticketdetails_pipeline_circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

    .custom_ticketdetails_pipeline_circle svg {
        width: 12px;
        height: 12px;
    }

    .custom_ticketdetails_pipeline_circle.completed {
        background: #2f66f3;
        color: #fff;
    }

    .custom_ticketdetails_pipeline_circle.active {
        background: #fff;
        border: 2px solid #2f66f3;
    }

    .custom_ticketdetails_pipeline_circle.pending {
        background: #fff;
        border: 2px solid #d3d3d3;
    }

        .custom_ticketdetails_pipeline_circle.pending svg {
            fill: #bdbdbd;
        }

.custom_ticketdetails_pipeline_step_card {
    margin-top: 10px;
    background: #fafafa;
    border-radius: 10px;
    padding: 10px;
    transition: 0.2s;
}

.custom_ticketdetails_pipeline_step.active
.custom_ticketdetails_pipeline_step_card {
    background: #eef3ff;
}

.custom_ticketdetails_pipeline_step_card h5 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.custom_ticketdetails_pipeline_step_card span {
    font-size: 11px;
    color: #777;
}

.custom_ticketdetails_pipeline_alert {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #eaf7ee;
    padding: 16px 18px;
    border-radius: 10px;
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 999999;
    box-shadow: 0 8px 20px rgb(21 173 33 / 32%);
}

    .custom_ticketdetails_pipeline_alert.show {
        display: flex;
    }

    .custom_ticketdetails_pipeline_alert svg {
        width: 18px;
        height: 18px;
    }

    .custom_ticketdetails_pipeline_alert span {
        font-size: 12px;
        font-weight: 600;
        color: #128042;
    }

.custom_ticketdetails-panel {
    position: fixed;
    right: -520px;
    top: 0;
    width: 500px;
    height: 100vh;
    background: #fff;
    overflow-y: auto;
    z-index: 999999;
    transition: 0.3s;
    box-shadow: -4px 0 20px rgba(0,0,0,0.08);
}

    .custom_ticketdetails-panel.active {
        right: 0;
    }

    .custom_ticketdetails-panel::-webkit-scrollbar {
        width: 10px;
    }

    .custom_ticketdetails-panel::-webkit-scrollbar-track {
        background: transparent;
    }

    .custom_ticketdetails-panel::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.25);
        border-radius: 10px;
    }

.custom_ticketdetails_panel_body {
    overflow-y: auto;
    /*padding: 18px;*/
}

.custom_ticketdetails_panel_close {
    border: none;
    background: transparent;
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

    .custom_ticketdetails_panel_close:hover {
        background: #f5f7fb;
    }

@media(max-width:991px) {

    .custom_ticketdetails_pipeline_steps {
        flex-wrap: wrap;
        justify-content: center;
    }

    .custom_ticketdetails_pipeline_line {
        /*display: none;*/
    }

    .custom_ticketdetails_pipeline_step {
        max-width: 100%;
    }

    .custom_ticketdetails-panel {
        width: 100%;
    }
}

@media(max-width:768px) {

    .custom_ticketdetails_action_btn span {
        display: none;
    }

    .custom_ticketdetails_pipeline_alert {
        min-width: auto;
        width: calc(100% - 40px);
        right: 20px;
    }
}

.custom_ticketdetails_status_box.waiting-cw {
    border: 1px solid #f0c75c;
    background: #fff8e8;
}

    .custom_ticketdetails_status_box.waiting-cw h9 {
    }

.custom_ticketdetails_panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: calc(100vw - 420px);
    background: #f5f5f5;
    height: 100vh;
    z-index: 999999;
    transition: .35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 30px rgba(0,0,0,0.08);
}

    .custom_ticketdetails_panel.active {
        right: 0;
    }

.custom_ticketdetails_panel_header {
    height: 52px;
    border-bottom: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    flex-shrink: 0;
    background: #fff;
}

    .custom_ticketdetails_panel_header h4 {
        margin: 0;
        font-size: 15px;
    }

    .custom_ticketdetails_panel_header button {
        border: none;
        background: transparent;
        font-size: 18px;
        cursor: pointer;
    }

.custom_ticketdetails_panel_body {
    flex: 1;
    overflow-y: auto;
    background: #fff;
}

.custom_ticketdetails_email_page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #f7f7f8;
}

.custom_ticketdetails_email_topbar {
    height: 48px;
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.custom_ticketdetails_email_topbar_left {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

    .custom_ticketdetails_email_topbar_left button,
    .custom_ticketdetails_email_topbar_right button {
        border: none;
        background: transparent;
        font-size: 14px;
        color: #333;
        cursor: pointer;
        height: 34px;
        padding: 0 10px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .custom_ticketdetails_email_topbar_left button:hover,
        .custom_ticketdetails_email_topbar_right button:hover {
            background: #f3f3f3;
        }

    .custom_ticketdetails_email_topbar_left svg,
    .custom_ticketdetails_email_topbar_right svg {
        width: 15px;
        height: 15px;
    }

.custom_ticketdetails_email_content {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.custom_ticketdetails_email_title_wrap {
    display: block;
    position: sticky;
    top: 48px;
    z-index: 998;
    border-bottom: 1px solid #e4e4e4;
    background: #fff;
    padding: 26px 20px 18px;
}

    .custom_ticketdetails_email_title_wrap h1 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
        color: #111;
    }

.custom_ticketdetails_email_title_row {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .custom_ticketdetails_email_title_row span {
        color: #777;
        font-size: 14px;
    }

.custom_ticketdetails_email_title_wrap p {
    margin: 8px 0 0;
    color: #666;
    font-size: 14px;
}

.custom_ticketdetails_email_form_card {
    background: #fff;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 18px;
}

.custom_ticketdetails_email_form_left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom_ticketdetails_email_form_right {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .custom_ticketdetails_email_form_right .custom_ticketdetails_email_field {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .custom_ticketdetails_email_form_right label {
        font-size: 13px;
    }

.custom_ticketdetails_email_field {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 10px;
}

    .custom_ticketdetails_email_field label {
        font-size: 14px;
        color: #444;
        font-weight: 500;
    }

        .custom_ticketdetails_email_field label span {
            color: red;
        }

    .custom_ticketdetails_email_field input,
    .custom_ticketdetails_email_field select {
        width: 100%;
        height: 38px;
        border: 1px solid #d8d8d8;
        border-radius: 8px;
        padding: 0 12px;
        font-size: 13px;
        outline: none;
        background: #fff;
        box-shadow: none;
    }

        .custom_ticketdetails_email_field input:focus,
        .custom_ticketdetails_email_field select:focus {
            border-color: #5b9cff;
            box-shadow: 0 0 0 2px rgba(91,156,255,0.12);
        }

.custom_ticketdetails_lookup {
    position: relative;
    width: 100%;
    min-height: 38px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    padding-right: 42px;
}

.custom_ticketdetails_lookup_chip {
    min-height: 32px;
    background: #eef3ff;
    border-radius: 18px;
    padding: 4px 10px 4px 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
}

.custom_ticketdetails_lookup_avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e54848;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom_ticketdetails_lookup_remove {
    border: none;
    background: transparent;
    color: #4e79ff;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    line-height: 1;
}

.custom_ticketdetails_lookup_search {
    position: absolute;
    right: 0;
    top: 0;
    width: 38px;
    height: 100%;
    border: none;
    border-left: 1px solid #e2e2e2;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
}

    .custom_ticketdetails_lookup_search:hover {
        background: #f0f0f0;
    }

    .custom_ticketdetails_lookup_search svg {
        width: 15px;
        height: 15px;
    }

.custom_ticketdetails_lookup_dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e2e2;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    padding: 8px;
    display: none;
    z-index: 1000;
}

.custom_ticketdetails_lookup.active .custom_ticketdetails_lookup_dropdown {
    display: block;
}

.custom_ticketdetails_lookup_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

    .custom_ticketdetails_lookup_item:hover {
        background: #f5f7fb;
    }

.custom_ticketdetails_lookup_info {
    flex: 1;
    min-width: 0;
}

    .custom_ticketdetails_lookup_info strong {
        display: block;
        font-size: 11px;
        font-weight: 600;
        color: #222;
        line-height: 1.2;
    }

    .custom_ticketdetails_lookup_info span {
        display: block;
        margin-top: 2px;
        font-size: 12px;
        color: #777;
    }

.custom_ticketdetails_lookup_badge {
    height: 24px;
    padding: 0 10px;
    border: 1px solid #d7d7d7;
    border-radius: 999px;
    background: #fff;
    color: #666;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom_ticketdetails_email_editor {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    overflow: hidden;
    line-height: 1.8;
}

.custom_ticketdetails_email_editor_toolbar {
    background: #fafafa;
    height: 40px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 8px;
}

    .custom_ticketdetails_email_editor_toolbar button {
        background: transparent;
        width: 30px;
        height: 30px;
        border: none;
        font-size: 14px;
        border-radius: 6px;
        cursor: pointer;
    }

        .custom_ticketdetails_email_editor_toolbar button:hover {
            background: #ececec;
        }

.custom_ticketdetails_email_editor_toolbar-button svg {
    width: 14px;
    height: 14px;
}

.custom_ticketdetails_email_editor textarea {
    width: 100%;
    min-height: 260px;
    border: none;
    resize: none;
    outline: none;
    padding: 14px;
    font-size: 14px;
}

.custom_ticketdetails_email_attachment_card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 18px;
}

.custom_ticketdetails_email_attachment_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

    .custom_ticketdetails_email_attachment_header button {
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .custom_ticketdetails_email_attachment_header svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_email_attachment_empty {
    border: 1px dashed #d8d8d8;
    border-radius: 12px;
    min-height: 100px;
    padding: 12px;
    box-sizing: border-box;
    display: block !important
}

.custom_ticketdetails_attachment_empty_text {
    min-height: 76px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
}

.custom_ticketdetails_attachment_item {
    height: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    margin-top: 8px;
    background: #fff;
    font-size: 13px;
}

.custom_ticketdetails_attachment_item {
    width: 100%;
    min-height: 56px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.custom_ticketdetails_attachment_left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom_ticketdetails_attachment_name {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    line-height: 1.2;
}

.custom_ticketdetails_attachment_size {
    font-size: 12px;
    color: #8b8b8b;
    margin-top: 3px;
}

.custom_ticketdetails_attachment_delete {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    flex-shrink: 0;
}

    .custom_ticketdetails_attachment_delete:hover {
        background: #f5f5f5;
    }

    .custom_ticketdetails_attachment_delete svg {
        width: 16px;
        height: 16px;
        color: red;
    }

.custom_ticketdetails_email_duration_card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .custom_ticketdetails_email_duration_card select {
        width: 50em;
        height: 36px;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 0 12px;
    }

.custom_ticketdetails_phcall_footer,
.custom_ticketdetails_email_footer {
    height: 62px;
    background: #fff;
    border-top: 1px solid #dddddd;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 18px;
    margin-top: auto;
    position: sticky;
    bottom: 0;
}

.custom_ticketdetails_email_footer_primary span {
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
}

.custom_ticketdetails_email_footer_arrow {
    width: 42px;
    height: 100%;
    border-left: 1px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_ticketdetails_email_footer_arrow svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_email_footer_primary:hover {
    background: #72727a;
}

.custom_ticketdetails_email_footer_cancel {
    background: transparent;
    cursor: pointer;
    height: 34px;
    padding: 0 12px;
    border: none;
    font-size: 13px;
}

.custom_ticketdetails_phcall_footer_primary {
    height: 35px;
    border: none;
    border-radius: 24px;
    background: #0f0f12;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

    .custom_ticketdetails_phcall_footer_primary span {
        padding: 0 20px;
        display: flex;
        align-items: center;
        height: 100%;
    }

@media(max-width:991px) {

    .custom_ticketdetails_panel {
        width: 100vw;
    }
}

@media(max-width:768px) {

    .custom_ticketdetails_email_form_card {
        grid-template-columns: 1fr;
    }

    .custom_ticketdetails_email_content {
        padding: 16px;
    }

    .custom_ticketdetails_email_title_wrap h1 {
        font-size: 26px;
    }

    .custom_ticketdetails_email_footer {
        padding: 0 16px;
    }

    .custom_ticketdetails_email_field {
        grid-template-columns: 1fr;
    }

    .custom_ticketdetails_email_form_right {
        width: 100%;
    }
}

.custom_ticketdetails_call_page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    max-width: 680px;
}

.custom_ticketdetails_call_header_top {
    display: flex;
}

.custom_ticketdetails_call_header {
    padding: 18px 22px 16px;
    border-bottom: 1px solid #ececec;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

    .custom_ticketdetails_call_header h2 {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
        color: #111827;
    }

    .custom_ticketdetails_call_header p {
        margin: 8px 0 0;
        font-size: 13px;
        color: #6b7280;
    }

.custom_ticketdetails_call_body {
    padding: 18px 20px 90px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.custom_ticketdetails_call_field {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: center;
}

    .custom_ticketdetails_call_field label {
        font-size: 13px;
        color: #444;
        font-weight: 500;
    }

        .custom_ticketdetails_call_field label span {
            color: #ef4444;
        }

    .custom_ticketdetails_call_field input,
    .custom_ticketdetails_call_field select,
    .custom_ticketdetails_call_field textarea {
        width: 100%;
        border: 1px solid #d8d8d8;
        border-radius: 8px;
        background: #fff;
        font-size: 13px;
        outline: none;
        box-shadow: none;
    }

    .custom_ticketdetails_call_field input,
    .custom_ticketdetails_call_field select {
        height: 36px;
        padding: 0 12px;
    }

    .custom_ticketdetails_call_field textarea {
        min-height: 80px;
        padding: 10px 12px;
        resize: vertical;
    }

        .custom_ticketdetails_call_field input:focus,
        .custom_ticketdetails_call_field select:focus,
        .custom_ticketdetails_call_field textarea:focus {
            border-color: #5b9cff;
            box-shadow: 0 0 0 2px rgba(91,156,255,0.12);
        }

.custom_ticketdetails_call_checkbox {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .custom_ticketdetails_call_checkbox label {
        font-size: 13px;
        color: #444;
    }

    .custom_ticketdetails_call_checkbox div {
        display: flex;
        align-items: center;
        gap: 8px;
    }

.custom_ticketdetails_call_divider {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #666;
}

.custom_ticketdetails_call_field_textarea {
    align-items: start;
}

    .custom_ticketdetails_call_field_textarea label {
        padding-top: 10px;
    }

.custom_ticketdetails_call_footer {
    height: 64px;
    border-top: 1px solid #ececec;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0 22px;
    margin-top: auto;
    bottom: 0px;
    position: sticky;
}

.custom_ticketdetails_call_save {
    height: 34px;
    padding: 0 18px;
    border: none;
    border-radius: 18px;
    background: #030521;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.custom_ticketdetails_call_cancel {
    border: none;
    background: transparent;
    font-size: 13px;
    cursor: pointer;
}

.custom_ticketdetails_call_upload {
    height: 36px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding-left: 100px
}

    .custom_ticketdetails_call_upload span {
        font-size: 13px;
    }

    .custom_ticketdetails_call_upload svg {
        width: 15px;
        color: #020000f5;
    }

@media(max-width:768px) {

    .custom_ticketdetails_call_field {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .custom_ticketdetails_call_checkbox {
        padding-left: 0;
    }
}

.custom_ticketdetails_panel.phonecall-panel {
    width: 520px;
}

.custom_ticketdetails_appointment_datetime {
    display: grid;
    grid-template-columns: 1fr 165px;
    gap: 10px;
}

.custom_ticketdetails_appointment_editor {
    width: 100%;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.custom_ticketdetails_appointment_editor_toolbar {
    height: 38px;
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 8px;
    background: #fafafa;
}

    .custom_ticketdetails_appointment_editor_toolbar button {
        width: 28px;
        height: 28px;
        border: none;
        background: transparent;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

        .custom_ticketdetails_appointment_editor_toolbar button:hover {
            background: #ececec;
        }

    .custom_ticketdetails_appointment_editor_toolbar svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_appointment_editor textarea {
    width: 100%;
    min-height: 130px;
    border: none;
    resize: vertical;
    outline: none;
    padding: 12px;
    font-size: 13px;
}

@media(max-width:768px) {

    .custom_ticketdetails_appointment_datetime {
        grid-template-columns: 1fr;
    }
}

.custom_ticketdetails_note_page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.custom_ticketdetails_note_header {
    height: 72px;
    border-bottom: 1px solid #ececec;
    padding: 0 22px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.custom_ticketdetails_note_header_top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .custom_ticketdetails_note_header_top h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        color: #111;
    }

.custom_ticketdetails_note_body {
    flex: 1;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.custom_ticketdetails_note_title {
    width: 100%;
    height: 54px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
}

    .custom_ticketdetails_note_title:focus {
        border-color: #4b8cff;
        box-shadow: 0 0 0 2px rgba(75,140,255,0.12);
    }

/*.custom_ticketdetails_note_editor {
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}*/

.custom_ticketdetails_note_editor_toolbar {
    min-height: 40px;
    border-bottom: 1px solid #e8e8e8;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 8px;
}

    .custom_ticketdetails_note_editor_toolbar button {
        width: 28px;
        height: 28px;
        border: none;
        background: transparent;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

        .custom_ticketdetails_note_editor_toolbar button:hover {
            background: #ececec;
        }

    .custom_ticketdetails_note_editor_toolbar svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_note_editor textarea {
    width: 100%;
    min-height: 280px;
    border: none;
    resize: none;
    outline: none;
    padding: 14px;
    font-size: 14px;
    flex: 1;
}

.custom_ticketdetails_note_attachment {
    display: flex;
    align-items: center;
    padding-top: 6px;
}

    .custom_ticketdetails_note_attachment label {
        font-size: 14px;
        color: #444;
    }

.custom_ticketdetails_note_footer {
    height: 62px;
    border-top: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0 22px;
    flex-shrink: 0;
    background: #fff;
}

.custom_ticketdetails_note_save {
    height: 36px;
    padding: 0 18px;
    border: none;
    border-radius: 18px;
    background: #7d7d86;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.custom_ticketdetails_note_cancel {
    border: none;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
}

.custom_ticketdetails_activity_attachment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    margin-top: 10px;
}

    .custom_ticketdetails_activity_attachment label {
        font-size: 14px;
        font-weight: 500;
        color: #555;
    }

.custom_ticketdetails_activity_upload {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    padding-right: 100px;
}

    .custom_ticketdetails_activity_upload svg {
        width: 15px;
        height: 15px;
    }

.custom_ticketdetails_activity_files {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom_ticketdetails_activity_file {
    min-height: 48px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.custom_ticketdetails_activity_file_left {
    display: flex;
    flex-direction: column;
}

.custom_ticketdetails_activity_file_name {
    font-size: 13px;
    font-weight: 500;
    color: #222;
    line-height: 1.2;
}

.custom_ticketdetails_activity_file_size {
    font-size: 12px;
    color: #8b8b8b;
    margin-top: 3px;
}

.custom_ticketdetails_activity_file_delete {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

    .custom_ticketdetails_activity_file_delete svg {
        width: 16px;
        height: 16px;
    }

.custom_tickets_board {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 5px 20px;
}

    .custom_tickets_board::-webkit-scrollbar {
        height: 8px;
    }

    .custom_tickets_board::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 20px;
    }

    .custom_tickets_board::-webkit-scrollbar-thumb {
        background: #cfcfcf;
        border-radius: 20px;
    }

/*.custom_tickets_board_column {
    min-width: 19%;
    width: 200px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 10px;
    flex-shrink: 0;
    overflow: visible;
}*/

.custom_tickets_board_count {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.custom_tickets_board_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.custom_tickets_board_title {
    /*padding: 6px 12px;*/
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

    .custom_tickets_board_title.blue {
        background: #edf4ff;
        color: #246bff;
    }

    .custom_tickets_board_title.green {
        background: #ebfff1;
        color: #14a44d;
    }

    .custom_tickets_board_title.purple {
        background: #f5edff;
        color: #8a3ffc;
    }

    .custom_tickets_board_title.orange {
        background: #fff3df;
        color: #e58a00;
    }

.custom_tickets_board_card {
    background: #fff;
    border: 1px solid #e1e6ee;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    position: relative;
    overflow: visible;
}

    .custom_tickets_board_card:hover {
        border-color: #4a8cff;
        box-shadow: 0 0 0 3px rgba(74,140,255,0.12);
    }

    .custom_tickets_board_card:hover {
        transform: scale(1.015);
    }

.custom_tickets_board_card_top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
}

.custom_tickets_board_top_left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

    .custom_tickets_board_top_left > div:last-child {
        flex: 1;
        min-width: 0;
    }

.custom_tickets_board_avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_tickets_board_avatar.purple {
        background: #8e24aa;
    }

    .custom_tickets_board_avatar.red {
        background: #ef4444;
    }

    .custom_tickets_board_avatar.blue {
        background: #1e88e5;
    }

.custom_tickets_board_top_text {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom_tickets_board_top_text_span {
    font-size: 12px;
    color: #888;
}

.custom_tickets_board_menu {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

    .custom_tickets_board_menu:hover {
        background: #f3f4f6;
    }

    .custom_tickets_board_menu svg {
        width: 14px;
        height: 14px;
    }

.custom_tickets_board_name {
    font-size: 13px;
    color: #222;
    line-height: 1.5;
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom_tickets_board_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

    .custom_tickets_board_tags span {
        padding: 5px 10px;
        border-radius: 30px;
        font-size: 11px;
        font-weight: 500;
        border: 1px solid transparent;
    }

    .custom_tickets_board_tags .blue {
        background: #edf4ff;
        border-color: #cfe0ff;
        color: #246bff;
    }

    .custom_tickets_board_tags .purple {
        background: #f5edff;
        border-color: #e4d1ff;
        color: #8a3ffc;
    }

    .custom_tickets_board_tags .green {
        background: #ebfff1;
        border-color: #c9f0d7;
        color: #14a44d;
    }

    .custom_tickets_board_tags .orange {
        background: #fff4e5;
        border-color: #ffdca8;
        color: #e58a00;
    }

    .custom_tickets_board_tags .gray {
        background: #f3f3f3;
        border-color: #e0e0e0;
        color: #666;
    }

.custom_tickets_board_footer {
    border-top: 1px solid #ececec;
    padding-top: 14px;
}

.custom_tickets_board_footer_row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.custom_tickets_board_small_avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_tickets_board_small_avatar.purple {
        background: #673ab7;
    }

    .custom_tickets_board_small_avatar.red {
        background: #ef4444;
    }

.custom_tickets_board_footer_text {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.custom_tickets_board_footer_text_span {
    font-size: 12px;
    color: #888;
}

.custom_tickets_board_date_row {
    font-size: 12px;
    color: #888;
}

.custom_tickets_board_clock_icon {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_tickets_board_clock_icon svg {
        width: 14px;
        height: 14px;
    }

.custom_tickets_board_location {
    font-size: 12px;
    color: #777;
}

.custom_tickets_board_empty {
    background: #fff;
    border: 2px dashed #dddddd;
    border-radius: 16px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #a1a1a1;
    font-size: 13px;
    padding: 20px;
}

.cus_ticketboard_menu {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

    .cus_ticketboard_menu:hover {
        background: #f3f4f6;
    }

    .cus_ticketboard_menu svg {
        width: 18px;
        height: 18px;
        fill: #666;
    }

.cus_ticketboard_global_dropdown {
    position: fixed;
    width: 250px;
    background: #ffffff;
    border: 1px solid #212529;
    border-radius: 12px;
    box-shadow: 0 20px 25px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.04);
    overflow: hidden;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

    .cus_ticketboard_global_dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.cus_ticketboard_dropdown_top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #14191e1f;
    font-size: 12px;
    font-weight: 500;
    color: #222;
}

    .cus_ticketboard_dropdown_top:hover {
        background: #f8fafc;
    }

.cus_ticketboard_dropdown_title {
    padding: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #080a0ea8;
    letter-spacing: .5px;
}

.cus_ticketboard_dropdown_list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #14191e1f;
}

.cus_ticketboard_dropdown_item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 12px;
    color: #222;
}

    .cus_ticketboard_dropdown_item:hover {
        background: #f8fafc;
    }

.cus_ticketboard_dropdown_icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

    .cus_ticketboard_dropdown_icon svg {
        width: 16px;
        height: 16px;
    }

.cus_ticketboard_dropdown_delete {
    padding: 8px;
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .cus_ticketboard_dropdown_delete:hover {
        color: #222;
    }

.custom_ticketdetails_pipeline_popup {
    position: absolute;
    width: 250px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    z-index: 9999;
    display: none;
}

.custom_ticketdetails_pipeline_popup_header {
    height: 44px;
    padding: 0 14px;
    border-bottom: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .custom_ticketdetails_pipeline_popup_header p {
        margin: 0;
        font-size: 10px;
        font-weight: 700;
        color: #222;
        text-transform: uppercase;
    }

.custom_ticketdetails_pipeline_popup_actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .custom_ticketdetails_pipeline_popup_actions button {
        width: 24px;
        height: 24px;
        border: none;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 6px;
    }

        .custom_ticketdetails_pipeline_popup_actions button:hover {
            background: #f4f4f4;
        }

.custom_ticketdetails_pipeline_popup_body {
    min-height: 68px;
    padding: 14px;
}

    .custom_ticketdetails_pipeline_popup_body p {
        margin: 0;
        font-size: 10px;
        color: #666;
        line-height: 1.5;
    }

.custom_ticketdetails_pipeline_popup_footer {
    padding: 0 14px;
    border-top: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 7em;
}

.custom_ticketdetails_pipeline_arrow_btn {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

    .custom_ticketdetails_pipeline_arrow_btn:hover {
        background: #f5f5f5;
    }

    .custom_ticketdetails_pipeline_arrow_btn.disabled {
        opacity: 0.35;
        pointer-events: none;
    }

.custom_ticketdetails_pipeline_next_btn {
    height: 25px;
    padding: 0 10px;
    border: none;
    border-radius: 20px;
    background: #2f66f3;
    color: #fff;
    font-size: 8px;
    cursor: pointer;
    transition: 0.2s;
}

    .custom_ticketdetails_pipeline_next_btn:hover {
        opacity: 0.92;
    }

    .custom_ticketdetails_pipeline_next_btn.finish {
        background: #2f66f3;
    }

.custom_ticketdetails_pipeline_step.active
.custom_ticketdetails_pipeline_step_card {
    background: #eef3ff !important;
    border: 1px solid #cddcff;
}

.custom_ticketdetails_pipeline_step_card {
    width: 120px;
    margin: 12px auto 0;
    padding: 12px 10px;
    border-radius: 12px;
    background: #fff;
    transition: 0.2s;
}

    .custom_ticketdetails_pipeline_step_card h5 {
        margin: 0;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.4;
        color: #222;
    }

    .custom_ticketdetails_pipeline_step_card span {
        display: inline-block;
        margin-top: 5px;
        font-size: 11px;
        color: #6b7280;
    }

.custom_ticketdetails_pipeline_step.active
.custom_ticketdetails_pipeline_step_card span {
    background: #fff;
    border: 1px solid #b9c7f89e;
    color: #2f66f3;
    border-radius: 20px;
    padding: 2px 7px;
    font-size: 10px;
}

.custom_ticketdetails_template_modal {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.14);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 70px;
    z-index: 999;
}

    .custom_ticketdetails_template_modal.active {
        display: flex;
    }

.custom_ticketdetails_template_modal_box {
    width: 450px;
    height: 550px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #171717;
    box-shadow: 0 10px 30px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
}

.custom_ticketdetails_template_modal_header {
    height: 58px;
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    flex-shrink: 0;
}

    .custom_ticketdetails_template_modal_header h2 {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        color: #202124;
    }

    .custom_ticketdetails_template_modal_header button {
        width: 28px;
        height: 28px;
        border: none;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 6px;
        padding: 0;
    }

        .custom_ticketdetails_template_modal_header button:hover {
            background: #f3f4f6;
        }

        .custom_ticketdetails_template_modal_header button svg {
            width: 15px;
            height: 15px;
            color: #5f6368;
        }

.custom_ticketdetails_template_modal_body {
    flex: 1;
    display: grid;
    grid-template-columns: 250px 1fr;
    overflow: hidden;
}

.custom_ticketdetails_template_sidebar {
    border-right: 1px solid #ececec;
    padding: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.custom_ticketdetails_template_field {
    margin-bottom: 12px;
    display: flex;
}

    .custom_ticketdetails_template_field label {
        display: flex;
        font-size: 12px;
        font-weight: 500;
        color: #444;
        margin-bottom: 6px;
    }

        .custom_ticketdetails_template_field label span {
            color: #ef4444;
        }

.custom_ticketdetails_template_custom_select {
    width: 100%;
    height: 34px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    background: #ffffff;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: .2s ease;
}

    .custom_ticketdetails_template_custom_select:hover {
        border-color: #c4c7cc;
    }

    .custom_ticketdetails_template_custom_select span {
        font-size: 12px;
        color: #202124;
        font-weight: 500;
    }

.custom_ticketdetails_template_custom_select_icon {
    width: 14px;
    height: 14px;
    color: #9aa0a6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .custom_ticketdetails_template_custom_select_icon svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_template_search {
    position: relative;
    margin-bottom: 12px;
}

    .custom_ticketdetails_template_search svg {
        position: absolute;
        left: 11px;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 14px;
        color: #9ca3af;
    }

    .custom_ticketdetails_template_search input {
        width: 100%;
        height: 34px;
        border: 1px solid #dadce0;
        border-radius: 8px;
        background: #fff;
        padding: 0 12px 0 34px;
        font-size: 12px;
        outline: none;
    }

        .custom_ticketdetails_template_search input::placeholder {
            color: #9ca3af;
        }

.custom_ticketdetails_template_label {
    font-size: 11px;
    font-weight: 500;
    color: #5f6368;
    margin: 0 0 10px;
}

.custom_ticketdetails_template_list {
    flex: 1;
    overflow: auto;
    padding-right: 2px;
}

.custom_ticketdetails_template_item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 5px 5px;
    cursor: pointer;
    transition: .15s ease;
    margin-bottom: 6px;
}

    .custom_ticketdetails_template_item:hover {
        background: #f8fafc;
    }

    .custom_ticketdetails_template_item.active {
        background: #eef4ff;
        border: 1px solid #9dc0ff;
    }

.custom_ticketdetails_template_radio {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #b8b8b8;
    margin-top: 4px;
    flex-shrink: 0;
    position: relative;
    background: #fff;
}

.custom_ticketdetails_template_item.active
.custom_ticketdetails_template_radio {
    border-color: #2563eb;
}

    .custom_ticketdetails_template_item.active
    .custom_ticketdetails_template_radio::after {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #2563eb;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

.custom_ticketdetails_template_item_content {
    flex: 1;
    min-width: 0;
}

    .custom_ticketdetails_template_item_content strong {
        display: block;
        font-size: 10px;
        font-weight: 600;
        color: #202124;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 3px;
    }

    .custom_ticketdetails_template_item_content span {
        display: block;
        font-size: 11px;
        color: #8b8b8b;
    }

.custom_ticketdetails_template_arrow {
    width: 14px;
    height: 14px;
    margin-top: 2px;
    color: #2563eb;
    flex-shrink: 0;
}

    .custom_ticketdetails_template_arrow svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_template_preview {
    padding: 16px;
    overflow: hidden;
}

.custom_ticketdetails_template_preview_box {
    width: 100%;
    height: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 14px 16px;
}

.custom_ticketdetails_template_preview_title {
    font-size: 12px;
    font-weight: 500;
    color: #737373;
    margin: 0 0 14px;
}

.custom_ticketdetails_template_preview_content h3 {
    font-size: 12px;
    font-weight: 500;
    color: #3a3a3a;
    margin: 0 0 14px;
    line-height: 1.5;
}

.custom_ticketdetails_template_preview_content p {
    font-size: 9px;
    line-height: 1.8;
    color: #5f6368;
    margin: 0 0 16px;
}

.custom_ticketdetails_template_modal_footer {
    height: 62px;
    border-top: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 0 20px;
    flex-shrink: 0;
    background: #fff;
}

.custom_ticketdetails_template_apply {
    height: 30px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    background: #050521;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

    .custom_ticketdetails_template_apply:hover {
        opacity: .92;
    }

.custom_ticketdetails_template_cancel {
    border: none;
    background: transparent;
    color: #111827;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
}

.custom_ticketdetails_signature_modal {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.14);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 56px;
    z-index: 9999;
}

    .custom_ticketdetails_signature_modal.active {
        display: flex;
    }

.custom_ticketdetails_signature_modal_box {
    width: 460px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #171717;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.custom_ticketdetails_signature_modal_header {
    height: 92px;
    border-bottom: 1px solid #ececec;
    padding: 18px 18px 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

    .custom_ticketdetails_signature_modal_header h2 {
        margin: 0 0 6px;
        font-size: 15px;
        font-weight: 700;
        color: #111827;
    }

    .custom_ticketdetails_signature_modal_header p {
        margin: 0;
        font-size: 12px;
        color: #6b7280;
    }

    .custom_ticketdetails_signature_modal_header button {
        width: 28px;
        height: 28px;
        border: none;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 6px;
    }

        .custom_ticketdetails_signature_modal_header button:hover {
            background: #f3f4f6;
        }

        .custom_ticketdetails_signature_modal_header button svg {
            width: 14px;
            height: 14px;
        }

.custom_ticketdetails_signature_modal_body {
    padding: 18px;
}

.custom_ticketdetails_signature_field {
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    align-items: center;
}

    .custom_ticketdetails_signature_field label {
        font-size: 12px;
        font-weight: 500;
        color: #3f3f46;
        line-height: 1.4;
    }

        .custom_ticketdetails_signature_field label span {
            color: #ef4444;
        }

.custom_ticketdetails_signature_search {
    position: relative;
}

    .custom_ticketdetails_signature_search svg {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 14px;
        color: #9ca3af;
    }

    .custom_ticketdetails_signature_search input {
        width: 100%;
        height: 36px;
        border: 1px solid #dadce0;
        border-radius: 8px;
        padding: 0 12px 0 36px;
        font-size: 12px;
        outline: none;
    }

        .custom_ticketdetails_signature_search input::placeholder {
            color: #9ca3af;
        }

.custom_ticketdetails_signature_new {
    width: 100%;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin: 8px 0 16px;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

    .custom_ticketdetails_signature_new:hover {
        background: #f8fafc;
    }

    .custom_ticketdetails_signature_new span svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_signature_list {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.custom_ticketdetails_signature_item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 8px;
    cursor: pointer;
    border-bottom: 1px solid #ececec;
    background: #fff;
}

    .custom_ticketdetails_signature_item:last-child {
        border-bottom: none;
    }

    .custom_ticketdetails_signature_item.active {
        background: #eef2ff;
    }

.custom_ticketdetails_signature_radio {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #b8b8b8;
    margin-top: 3px;
    position: relative;
    flex-shrink: 0;
    background: #fff;
}

.custom_ticketdetails_signature_item.active
.custom_ticketdetails_signature_radio {
    border-color: #2563eb;
}

    .custom_ticketdetails_signature_item.active
    .custom_ticketdetails_signature_radio::after {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #2563eb;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.custom_ticketdetails_signature_content {
    flex: 1;
}

.custom_ticketdetails_signature_top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.custom_ticketdetails_signature_content strong {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #202124;
}

.custom_ticketdetails_signature_content p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.custom_ticketdetails_signature_badge {
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: #3f3f46;
}

.custom_ticketdetails_signature_modal_footer {
    height: 62px;
    border-top: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0 18px;
}

.custom_ticketdetails_signature_cancel {
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #111827;
}

.custom_ticketdetails_signature_select_btn {
    height: 34px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    background: #050521;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.custom_ticketdetails_template_dropdown {
    width: 100%;
    position: relative;
}

.custom_ticketdetails_template_dropdown_btn {
    width: 100%;
    height: 36px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #fff;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

    .custom_ticketdetails_template_dropdown_btn span {
        font-size: 13px;
        font-weight: 500;
        color: #202124;
    }

    .custom_ticketdetails_template_dropdown_btn svg {
        width: 14px;
        height: 14px;
        color: #9ca3af;
    }

.custom_ticketdetails_template_dropdown_menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #171717;
    border-radius: 10px;
    overflow: hidden;
    z-index: 999999;
    box-shadow: 0 10px 24px rgba(0,0,0,.14);
    padding: 4px 0;
}

.custom_ticketdetails_template_dropdown_option {
    min-height: 40px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #202124;
}

    .custom_ticketdetails_template_dropdown_option:hover {
        background: #f5f7fb;
    }

    .custom_ticketdetails_template_dropdown_option.selected {
        background: #eef2ff;
    }

    .custom_ticketdetails_template_dropdown_option svg {
        width: 15px;
        height: 15px;
        display: none;
    }

    .custom_ticketdetails_template_dropdown_option.selected svg {
        display: block;
    }

.custom_ticketdetails_newsignature_modal {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.14);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 56px;
    z-index: 10000;
}

    .custom_ticketdetails_newsignature_modal.active {
        display: flex;
    }

.custom_ticketdetails_newsignature_modal_box {
    width: 460px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #171717;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 80px);
}

.custom_ticketdetails_newsignature_header {
    padding: 18px 22px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-shrink: 0;
}

.custom_ticketdetails_newsignature_header_left {
    padding-right: 24px;
}

.custom_ticketdetails_newsignature_header_top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.custom_ticketdetails_newsignature_back {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

    .custom_ticketdetails_newsignature_back:hover {
        background: #f3f4f6;
    }

    .custom_ticketdetails_newsignature_back svg {
        width: 16px;
        height: 16px;
    }

.custom_ticketdetails_newsignature_header h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.custom_ticketdetails_newsignature_header p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: #6b7280;
}

.custom_ticketdetails_newsignature_close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

    .custom_ticketdetails_newsignature_close:hover {
        background: #f3f4f6;
    }

    .custom_ticketdetails_newsignature_close svg {
        width: 16px;
        height: 16px;
    }

.custom_ticketdetails_newsignature_body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
}

.custom_ticketdetails_newsignature_card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
}

.custom_ticketdetails_newsignature_card_title {
    margin: 0 0 18px;
    font-size: 11px;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
}

.custom_ticketdetails_newsignature_field {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

    .custom_ticketdetails_newsignature_field:last-child {
        margin-bottom: 0;
    }

    .custom_ticketdetails_newsignature_field label {
        font-size: 12px;
        font-weight: 500;
        color: #374151;
    }

        .custom_ticketdetails_newsignature_field label span {
            color: #ef4444;
        }

.custom_ticketdetails_newsignature_input,
.custom_ticketdetails_newsignature_select {
    width: 100%;
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    padding: 0 14px;
    font-size: 12px;
    outline: none;
    transition: .2s ease;
}

    .custom_ticketdetails_newsignature_input:focus,
    .custom_ticketdetails_newsignature_select:focus {
        border-color: #111827;
        background: #fff;
    }

.custom_ticketdetails_newsignature_editor {
    border: 1px solid #d1d5db;
    border-radius: 12px;
    overflow: hidden;
}

.custom_ticketdetails_newsignature_toolbar {
    height: 42px;
    border-bottom: 1px solid #e5e7eb;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
}

    .custom_ticketdetails_newsignature_toolbar button {
        width: 28px;
        height: 28px;
        border: none;
        background: transparent;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

        .custom_ticketdetails_newsignature_toolbar button:hover {
            background: #eceff3;
        }

    .custom_ticketdetails_newsignature_toolbar svg {
        width: 14px;
        height: 14px;
    }

.custom_ticketdetails_newsignature_editor textarea {
    width: 100%;
    min-height: 220px;
    border: none;
    resize: none;
    outline: none;
    padding: 14px;
    font-size: 12px;
    line-height: 1.7;
    font-family: inherit;
}

.custom_ticketdetails_newsignature_footer {
    border-top: 1px solid #e5e7eb;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    background: #fff;
    flex-shrink: 0;
}

.custom_ticketdetails_newsignature_cancel {
    padding: 0 18px;
    border-radius: 999px;
    border: none;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.custom_ticketdetails_newsignature_save {
    height: 30px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    background: #050521;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.custom_ticketdetails_newsignature_dynamic_text {
    margin: 12px 2px 0;
    font-size: 11px;
    line-height: 1.7;
    color: #6b7280;
    word-break: break-word;
}

    .custom_ticketdetails_newsignature_dynamic_text span {
        color: #6b7280;
    }

@media (max-width:640px) {

    .custom_ticketdetails_newsignature_modal {
        padding: 12px;
    }

    .custom_ticketdetails_newsignature_modal_box {
        width: 100%;
        max-height: 100vh;
    }

    .custom_ticketdetails_newsignature_field {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .custom_ticketdetails_newsignature_header h2 {
        font-size: 15px;
    }
}

.custom_ticketdetails_signature_toast {
    position: fixed;
    top: 24px;
    left: 80%;
    transform: translateX(-50%) translateY(-20px);
    background: #EAF8EE;
    border: 1px solid #B7E4C7;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 999;
}

    .custom_ticketdetails_signature_toast.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

.custom_ticketdetails_signature_toast_icon {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .custom_ticketdetails_signature_toast_icon svg {
        width: 10px !important;
        height: 10px !important;
        stroke: white !important;
    }

.custom_ticketdetails_signature_toast span {
    color: #15803D;
    font-size: 12px;
}

#custom_ticketdetails_email_message {
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.8;
    white-space: pre-wrap;
}
/*TYk*/
/*TTS 040626*/
/*TTS 100626*/
.enquiry_savebtn {
    background: #000 !important;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb; /* light neutral border */
}

    .action-buttons .btn {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.875rem;
        font-weight: 500;
        border-radius: 9999px; /* rounded pill */
        background-color: #f9fafb;
        color: #374151;
        border: 1px solid #d1d5db;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    }

        .action-buttons .btn:hover {
            background-color: #2563eb;
            color: #fff;
            border-color: #2563eb;
        }

        .action-buttons .btn .icon {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            fill: none;
        }
/*TTS 100626*/
/*HYK 15626*/
.custom_createticket_maincard {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.custom_createticket_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 20px;
    border-bottom: 1px solid #ececec;
}

.custom_createticket_profile {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.custom_createticket_avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_createticket_avatar svg {
        width: 20px;
        height: 20px;
    }

.custom_createticket_title_row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom_createticket_title_row_h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.custom_createticket_badge {
    background: #fff6e4;
    border: 1px solid #f4cf75;
    color: #c27c00;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 700;
}

.custom_createticket_breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8a8a8a;
    font-size: 12px;
}

    .custom_createticket_breadcrumb svg {
        width: 12px;
        height: 12px;
    }

.custom_createticket_right {
    display: flex;
    gap: 14px;
}

.custom_createticket_statusbox {
    width: 200px;
    padding: 14px;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    background: #fff;
}

.custom_createticket_status_active {
    border-color: #e7c969;
    background: #fffdf6;
}

.custom_createticket_dropdown_btn {
    width: 100%;
    height: 38px;
    border: 1px solid #1717181f;
    border-radius: 10px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    padding: 10px;
}

    .custom_createticket_dropdown_btn span {
        font-size: 10px;
        font-weight: 400;
        color: #202124;
    }

    .custom_createticket_dropdown_btn svg {
        width: 14px;
        height: 14px;
        color: #9ca3af;
    }

.custom_createticket_statusbox label {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: #8b8b8b;
    letter-spacing: .08em;
    padding-top: 10px;
}

.custom_createticket_owner {
    width: 200px;
    padding: 16px;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.custom_createticket_owner_avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.custom_createticket_owner_name {
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
}

.custom_createticket_owner_label {
    margin-top: 3px;
    font-size: 10px;
    color: #8a8a8a;
}

@media(max-width:550px) {

    .custom_createticket_header {
        flex-direction: column;
        gap: 20px;
    }

    .custom_createticket_right {
        width: 100%;
        flex-wrap: wrap;
    }

    .custom_createtickets_pipeline_container {
        overflow: auto;
        min-width: 1000px;
    }
}

.custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_line {
    display: none !important;
}

.custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 100%;
}

.custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step::before {
        content: "";
        position: absolute;
        top: 15px;
        left: 45px;
        right: calc(50% + 15px);
        height: 2px;
        background: #e0e0e0;
        z-index: 1;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step::after {
        content: "";
        position: absolute;
        top: 15px;
        left: calc(50% + 15px);
        right: 45px;
        height: 2px;
        background: #e0e0e0;
        z-index: 1;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step.completed::before,
    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step.active::before {
        background: #2f66f3;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step.completed::after {
        background: #2f66f3;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step.is-first-visible::before {
        display: none !important;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step.is-last-visible::after {
        display: none !important;
    }

.custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-sizing: border-box;
    z-index: 2;
}

.custom_createtickets_pipeline_container .custom_createtickets_step_number {
    font-size: 11px;
    font-weight: 600;
    color: #737373;
}

.custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle svg {
    width: 12px;
    height: 12px;
}

.custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle.pending {
    border: 2px solid #d3d3d3;
}

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle.pending svg {
        display: none !important;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle.pending .custom_createtickets_step_number {
        display: block !important;
    }

.custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle.active {
    border: 2px solid #2f66f3;
    background: #ffffff;
}

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle.active .custom_createtickets_step_number {
        display: none !important;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle.active svg {
        display: block !important;
    }

        .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle.active svg path {
            stroke: #2f66f3 !important;
        }

.custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle.completed {
    background: #2f66f3;
    border: 2px solid #2f66f3;
}

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle.completed .custom_createtickets_step_number {
        display: none !important;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle.completed svg {
        display: block !important;
    }

        .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle.completed svg path {
            stroke: #ffffff !important;
        }

.custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step_card {
    margin-top: 10px;
    background: transparent;
    border-radius: 14px;
    padding: 4px 10px;
    width: 100%;
    max-width: 170px;
    box-sizing: border-box;
}

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step_card h5 {
        margin: 0 0 2px 0;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.3;
        color: #4a4a4a;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step_card span {
        font-size: 10px;
        color: #888888;
    }

.custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step.active .custom_ticketdetails_pipeline_step_card {
    background: #eef3ff;
}

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step.active .custom_ticketdetails_pipeline_step_card h5 {
        color: #1a1a1a;
        font-weight: 500;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step.active .custom_ticketdetails_pipeline_step_card span {
        border: none;
        color: #737373;
    }

.custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_next_btn {
    background: #000510;
}

#custom_sonner_toast_alert {
    position: fixed;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #edf1f3;
    color: #0091ff;
    border: 1px solid #eceef0;
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 356px;
    max-width: 420px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    z-index: 99999;
    opacity: 0;
    transform: translateY(-12px) scale(0.95);
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

    #custom_sonner_toast_alert.show {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    #custom_sonner_toast_alert .custom_sonner_toast_icon {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        flex-shrink: 0;
    }

        #custom_sonner_toast_alert .custom_sonner_toast_icon svg {
            width: 20px;
            height: 20px;
            fill: #0091ff;
        }

#custom_sonner_toast_alert_text {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
}
/*HYK 15626*/
.cus_attachment_remove {
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .cus_attachment_remove:hover {
        background-color: #f8d7da; /* light red hover */
        border-radius: 4px;
    }

/* TTS Enquiry End */

/* NSY Mobile Responsive Start */
@media (max-width: 600px) {
    .custom_dealsdetails_tab {
        text-wrap-mode: nowrap;
    }
}

/* NSY Mobile Responsive End */

/*HYK Responsive Start*/
@media (max-width: 768px) {

    .custom_ticketdetails_email_form_card {
        grid-template-columns: 1fr;
    }

    .custom_field {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }

        .custom_field label {
            width: 100%;
            margin-bottom: 0;
            font-size: 13px;
            font-weight: 500;
        }

        .cus_dropdown,
        .cus_dropdown-btn,
        .cus_ca-dd-menu,
        .custom_field input,
        .custom_field select {
            width: 100%;
        }

    .cus_email-card {
        padding: 16px;
    }


    .custom_ticketdetails_email_topbar {
        height: auto;
        padding: 8px 0;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
    }

    .custom_ticketdetails_email_topbar_left {
        flex-wrap: nowrap;
        min-width: max-content;
        padding: 0 12px;
    }

        .custom_ticketdetails_email_topbar_left button {
            flex-shrink: 0;
        }


    .custom_ticketdetails_email_topbar::-webkit-scrollbar {
        display: none;
    }

    .custom_ticketdetails_email_title_wrap {
        top: 0;
        padding: 20px 16px;
    }

        .custom_ticketdetails_email_title_wrap h1 {
            font-size: 16px;
        }

        .custom_ticketdetails_email_title_wrap p {
            font-size: 13px;
        }

    .custom_ticketdetails_email_footer {
        height: auto;
        flex-direction: column-reverse;
        align-items: stretch;
        justify-content: center;
        padding: 12px 16px;
        gap: 10px;
    }

    .custom_ticketdetails_email_footer_cancel {
        width: 100%;
        height: 40px;
        padding: 0;
        text-align: center;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom_ticketdetails_email_footer_primary {
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 999px;
    }

        .custom_ticketdetails_email_footer_primary span {
            flex: 1;
            justify-content: center;
            padding: 0;
        }

    .custom_ticketdetails_email_footer_arrow {
        width: 44px;
        flex-shrink: 0;
    }

    .custom_ticketdetails_call_page {
        max-width: 100%;
    }


    .custom_ticketdetails_call_header {
        padding: 16px;
        align-items: flex-start;
        gap: 10px;
    }

        .custom_ticketdetails_call_header h2 {
            font-size: 16px;
            line-height: 1.3;
        }

        .custom_ticketdetails_call_header p {
            margin-top: 4px;
            font-size: 12px;
        }

    .custom_ticketdetails_panel_close {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .custom_ticketdetails_call_body {
        padding: 16px;
        gap: 16px;
    }

    .custom_ticketdetails_call_field {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

        .custom_ticketdetails_call_field label {
            width: 100%;
            font-size: 13px;
        }

        .custom_ticketdetails_call_field input,
        .custom_ticketdetails_call_field select,
        .custom_ticketdetails_call_field textarea {
            width: 100%;
            box-sizing: border-box;
        }

    .custom_ticketdetails_call_upload {
        padding-left: 0;
        justify-content: flex-start;
    }

    .custom_ticketdetails_call_checkbox {
        flex-wrap: wrap;
        gap: 10px;
    }

    .custom_ticketdetails_phcall_footer {
        display: flex;
        flex-direction: column-reverse;
        gap: 12px;
        padding-top: 16px;
    }

        .custom_ticketdetails_phcall_footer .custom_ticketdetails_email_footer_primary {
            width: 100%;
            height: 40px;
            min-height: 40px;
        }

            .custom_ticketdetails_phcall_footer .custom_ticketdetails_email_footer_primary span {
                flex: 1;
                padding: 0 16px;
                height: auto;
                line-height: 40px;
                justify-content: center;
            }

        .custom_ticketdetails_phcall_footer .custom_ticketdetails_email_footer_arrow {
            width: 40px;
            height: 40px;
            flex-shrink: 0;
        }

        .custom_ticketdetails_phcall_footer .custom_ticketdetails_email_footer_cancel {
            width: 100%;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: none;
            background: transparent;
        }

    .custom_ticketdetails_panel.phonecall-panel {
        width: 100vw;
        max-width: 100vw;
    }

    .cus_cd-grid-wrapper_ticket {
        display: grid;
        grid-template-columns: 131px 18px 1fr;
        gap: 1px !important;
    }
}

@media (max-width: 768px) {

    .custom_createtickets_pipeline_container {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }

    .custom_createtickets_pipeline_container {
        min-width: unset !important;
    }


        .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_steps {
            min-width: 700px;
            justify-content: space-around;
        }


        .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step {
            flex: 0 0 140px;
        }


        .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step_card {
            max-width: 140px;
            padding: 6px 8px;
        }

            .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step_card h5 {
                font-size: 10px;
            }

            .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step_card span {
                font-size: 9px;
            }

        .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle {
            width: 26px;
            height: 26px;
        }

    .custom_createtickets_step_number {
        font-size: 10px;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_line {
        display: none !important;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_next_btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    .custom_createticket_statusbox,
    .custom_createticket_owner {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .custom_createticket_right {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .custom_createticket_dropdown_btn {
        height: 42px;
        font-size: 13px;
    }

    .custom_createticket_statusbox label {
        font-size: 10px;
    }

    .custom_createticket_owner_name {
        font-size: 13px;
    }

    .custom_createticket_owner_label {
        font-size: 11px;
    }

    .custom_createticket_statusbox,
    .custom_createticket_owner {
        padding: 12px;
        border-radius: 14px;
    }

    .cus_cd-grid-wrapper_ticket {
        display: grid;
        grid-template-columns: 120px 18px 1fr;
        gap: 1px !important;
    }
}

/* ZM part*/
@media (max-width: 768px) {
    .custom_contactsdetails .CA_list-Header {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .custom_AddContact_form-group.g-col-6 {
        grid-column: span 12 !important;
        width: 100%;
    }

    .custom_AddContact_form-group {
        margin-bottom: 12px;
    }

    .ticket-comm-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }

        .ticket-comm-top .ticket-btn {
            width: auto;
            flex-shrink: 0;
        }

    .ticket-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .ticket-card {
        width: 100%;
        margin-bottom: 0;
    }

    .ticket-card-header {
        padding: 14px 16px;
        font-size: 14px;
    }

    .ticket-card-body {
        padding: 16px;
    }

    .ticket-asso-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .ticket-avatar {
        flex-shrink: 0;
    }

    .ticket-asso-content {
        min-width: 0;
    }

    .ticket-asso-name {
        font-size: 16px;
        font-weight: 600;
    }

    .ticket-info {
        word-break: break-word;
    }

    .ticket-center-content {
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .ticket-full-btn {
        width: 100%;
    }

        .ticket-full-btn .ticket-btn {
            width: 100%;
            justify-content: center;
        }
}

.custom_association_mobile_pagination {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.custom_association_mobile_info {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.custom_association_mobile_rows {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
}

.custom_association_mobile_nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.custom_association_mobile_page {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.custom_association_mobile_btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_association_mobile_btn.disabled {
        opacity: .4;
        pointer-events: none;
    }

    .custom_association_mobile_btn svg {
        width: 16px;
        height: 16px;
    }

.custom_association_mobile_rows .cus_dropdown-btn {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 6px;
}

/*HYK Responsive 060726*/
@media(max-width:768px) {
    .custom_grid {
        grid-template-columns: repeat(3, 1fr);
        overflow-x: auto;
    }

    .custom_card {
        width: 360px;
    }

    .custom_ticketdetails_top_actionbar_left {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .custom_ticketdetails_action_btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

        .custom_ticketdetails_action_btn span {
            display: inline;
        }

    .custom_ticketdetails_stepper_wrapper {
        overflow-x: auto;
        padding-bottom: 80px;
    }

    .custom_ticketdetails_pipeline_steps {
        min-width: 700px; /* adjust based on number of steps */
    }

    .cus_ticketboard_global_dropdown {
        width: calc(100vw - 20px);
        max-width: 250px;
        left: 10px !important;
        right: 10px !important;
        top: auto;
    }
}

@media (max-width:480px) {
    .custom_ticketdetails_info_box {
        width: 100%;
    }
}

.custom_mobile_pagination {
    text-align: center;
    padding: 12px 16px;
}

.mobile_pagination_info {
    font-size: 13px;
    color: #374151;
}

.mobile_rows_per_page select {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 13px;
}

.custom_mobile_pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px;
}

.mobile_pagination_info {
    font-size: 16px;
    font-weight: 500;
}

.mobile_rows_per_page {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

    .mobile_rows_per_page select {
        border: none;
        background: transparent;
        font-size: 16px;
        outline: none;
    }

.mobile_page_navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .mobile_page_navigation .page-nav {
        text-decoration: none;
        color: #777;
        font-size: 26px;
        line-height: 1;
    }

        .mobile_page_navigation .page-nav.disabled {
            pointer-events: none;
            opacity: .4;
        }

    .mobile_page_navigation .page-status {
        font-size: 12px;
        font-weight: 600;
    }

@media (max-width: 768px) {


    .custom_ticketdetails_pipeline_popup {
        width: calc(100vw - 32px);
        max-width: 250px;
        left: 16px !important;
        right: 16px !important;
        box-sizing: border-box;
    }


    .custom_ticketdetails_pipeline_popup_footer {
        margin-left: 0;
        padding: 10px 14px;
    }
}

@media (max-width: 768px) {

    .custom_ticketdetails_email_form_card {
        grid-template-columns: 1fr;
    }

    .custom_field {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }

        .custom_field label {
            width: 100%;
            margin-bottom: 0;
            font-size: 13px;
            font-weight: 500;
        }

        .cus_dropdown,
        .cus_dropdown-btn,
        .cus_ca-dd-menu,
        .custom_field input,
        .custom_field select {
            width: 100%;
        }

    .cus_email-card {
        padding: 16px;
    }


    .custom_ticketdetails_email_topbar {
        height: auto;
        padding: 8px 0;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
    }

    .custom_ticketdetails_email_topbar_left {
        flex-wrap: nowrap;
        min-width: max-content;
        padding: 0 12px;
    }

        .custom_ticketdetails_email_topbar_left button {
            flex-shrink: 0;
        }


    .custom_ticketdetails_email_topbar::-webkit-scrollbar {
        display: none;
    }

    .custom_ticketdetails_email_title_wrap {
        top: 0;
        padding: 20px 16px;
    }

        .custom_ticketdetails_email_title_wrap h1 {
            font-size: 16px;
        }

        .custom_ticketdetails_email_title_wrap p {
            font-size: 13px;
        }

    .custom_ticketdetails_email_footer {
        height: auto;
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        padding: 12px 16px;
        gap: 10px;
    }

    .custom_ticketdetails_email_footer_cancel {
        width: 100%;
        height: 40px;
        padding: 0;
        text-align: center;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom_ticketdetails_email_footer_primary {
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 999px;
    }

        .custom_ticketdetails_email_footer_primary span {
            flex: 1;
            justify-content: center;
            padding: 0;
        }

    .custom_ticketdetails_email_footer_arrow {
        width: 44px;
        flex-shrink: 0;
    }

    .custom_ticketdetails_call_page {
        max-width: 100%;
    }

    .custom_ticketdetails_call_header {
        padding: 16px;
        align-items: flex-start;
        gap: 10px;
    }

        .custom_ticketdetails_call_header h2 {
            font-size: 16px;
            line-height: 1.3;
        }

        .custom_ticketdetails_call_header p {
            margin-top: 4px;
            font-size: 12px;
        }

    .custom_ticketdetails_panel_close {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .custom_ticketdetails_call_body {
        padding: 16px;
        gap: 16px;
    }

    .custom_ticketdetails_call_field {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

        .custom_ticketdetails_call_field label {
            width: 100%;
            font-size: 13px;
        }

        .custom_ticketdetails_call_field input,
        .custom_ticketdetails_call_field select,
        .custom_ticketdetails_call_field textarea {
            width: 100%;
            box-sizing: border-box;
        }

    .custom_ticketdetails_call_upload {
        padding-left: 0;
        justify-content: flex-start;
    }

    .custom_ticketdetails_call_checkbox {
        flex-wrap: wrap;
        gap: 10px;
    }


    .custom_ticketdetails_call_text_ellipsis {
       /* width: 100%;*/
        max-width: 100%;
    }

    .custom_ticketdetails_phcall_footer {
        display: flex;
        flex-direction: column-reverse;
        gap: 12px;
        padding-top: 16px;
    }

        .custom_ticketdetails_phcall_footer .custom_ticketdetails_email_footer_primary {
            width: 100%;
            height: 40px;
            min-height: 40px;
        }

            .custom_ticketdetails_phcall_footer .custom_ticketdetails_email_footer_primary span {
                flex: 1;
                padding: 0 16px;
                height: auto;
                line-height: 40px;
                justify-content: center;
            }

        .custom_ticketdetails_phcall_footer .custom_ticketdetails_email_footer_arrow {
            width: 40px;
            height: 40px;
            flex-shrink: 0;
        }

        .custom_ticketdetails_phcall_footer .custom_ticketdetails_email_footer_cancel {
            width: 100%;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: none;
            background: transparent;
        }

    .custom_ticketdetails_panel.phonecall-panel {
        width: 100vw;
        max-width: 100vw;
    }

    .custom_panel-footer {
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #e5e5e5;
        z-index: 100;
    }

    .custom_panel-footer_content {
        display: flex;
        flex-direction: column;
        padding: 0 16px;
        gap: 12px;
    }
    .custom_NewActivity_popup_content{
        height: auto !important;
    }
    /* Cancel button */
    .custom_panel-footer_content .btn-outline {
        width: 100%;
        border: none;
        background: transparent;
        padding: 12px;
        justify-content: center;
        color: #111;
    }

            .custom_panel-footer_content .btn-outline:hover {
                background: transparent;
            }

        /* Save button */
        .custom_panel-footer_content .btn-primary {
            width: 100%;
            border-radius: 28px;
            padding: 14px;
            font-size: 16px;
            justify-content: center;
        }

        .custom_panel-footer_content button {
            flex: none;
        }
}

.custom_email-btn {
    height: 35px;
    border: none;
    border-radius: 24px;
    background: #0f0f12;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 768px) {

    .custom_createtickets_pipeline_container {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }

    .custom_createtickets_pipeline_container {
        min-width: unset !important;
    }


        .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_steps {
            min-width: 700px;
            justify-content: space-around;
        }


        .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step {
            flex: 0 0 140px;
        }


        .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step_card {
            max-width: 140px;
            padding: 6px 8px;
        }

            .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step_card h5 {
                font-size: 10px;
            }

            .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_step_card span {
                font-size: 9px;
            }

        .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_circle {
            width: 26px;
            height: 26px;
        }

    .custom_createtickets_step_number {
        font-size: 10px;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_line {
        display: none !important;
    }

    .custom_createtickets_pipeline_container .custom_ticketdetails_pipeline_next_btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    .custom_createticket_statusbox,
    .custom_createticket_owner {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .custom_createticket_right {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .custom_createticket_dropdown_btn {
        height: 42px;
        font-size: 13px;
    }

    .custom_createticket_statusbox label {
        font-size: 10px;
    }

    .custom_createticket_owner_name {
        font-size: 13px;
    }

    .custom_createticket_owner_label {
        font-size: 11px;
    }

    .custom_createticket_statusbox,
    .custom_createticket_owner {
        padding: 12px;
        border-radius: 14px;
    }
}

@media (max-width: 768px) {
    .custom_contactsdetails .CA_list-Header {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .custom_AddContact_form-group.g-col-6 {
        grid-column: span 12 !important;
        width: 100%;
    }

    .custom_AddContact_form-group {
        margin-bottom: 12px;
    }

    .ticket-comm-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }

        .ticket-comm-top .ticket-btn {
            width: auto;
            flex-shrink: 0;
        }

    .ticket-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .ticket-card {
        width: 100%;
        margin-bottom: 0;
    }

    .ticket-card-header {
        padding: 14px 16px;
        font-size: 14px;
    }

    .ticket-card-body {
        padding: 16px;
    }

    .ticket-asso-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .ticket-avatar {
        flex-shrink: 0;
    }

    .ticket-asso-content {
        min-width: 0;
    }

    .ticket-asso-name {
        font-size: 16px;
        font-weight: 600;
    }

    .ticket-info {
        word-break: break-word;
    }

    .ticket-center-content {
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .ticket-full-btn {
        width: 100%;
    }

        .ticket-full-btn .ticket-btn {
            width: 100%;
            justify-content: center;
        }
}

.custom_association_mobile_pagination {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.custom_association_mobile_info {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.custom_association_mobile_rows {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
}

.custom_association_mobile_nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.custom_association_mobile_page {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.custom_association_mobile_btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom_association_mobile_btn.disabled {
        opacity: .4;
        pointer-events: none;
    }

    .custom_association_mobile_btn svg {
        width: 16px;
        height: 16px;
    }

.custom_association_mobile_rows .cus_dropdown-btn {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 6px;
}

/*HYK Responsive End*/


/*HYK given and zm edit start*/
@media (max-width: 768px) {

    .ticket-box {
        padding: 14px;
        border-radius: 12px;
    }


    .ticket-field {
        width: 100%;
        display: grid;
        grid-template-columns: 130px 1fr;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .ticket-label,
    .ticket-labels {
        font-size: 12px;
        margin-bottom: 4px;
    }


    .ticket-control,
    .ticket-control-input {
        font-size: 13px;
        min-width: 0;
        width: 100%;
    }


    .ticket-control-group,
    .ticket-control-with-icons {
        width: 100%;
    }


    .ticket-control-actions {
        padding: 0 8px;
        gap: 6px;
    }


    .ticket-title {
        font-size: 15px;
    }


    .ticket-text {
        font-size: 13px;
    }


    .ticket-insight-row {
        gap: 8px;
    }


    .ticket-insight-texts {
        max-width: 100%;
    }


    .ticket-center-box {
        padding: 15px;
        min-height: auto;
    }


    .ticket-control-textarea {
        height: 80px;
    }


    .ticket-control option {
        font-size: 11px;
    }
}
/*HYK given and zm modified end*/
/*zm responsive start*/
@media (max-width: 1024px) {
    .ticket-grid {
        grid-template-columns: minmax(80px, 120px) 1fr;
        width: 100%;
        overflow-x: hidden;
        display: block !important;
    }

        .ticket-grid > div {
            width: 100% !important;
            max-width: 100% !important;
            display: block !important;
        }


    .ticket-card {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .ticket-page {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .custom_ticketdetails_lookup {
        width: 100%;
        min-width: 0;
        display: flex;
        align-items: center;
    }

        .custom_ticketdetails_lookup .custom_ticketdetails_lookup_selected {
            flex: 1;
            min-width: 0;
        }


    .custom_ticketdetails_lookup_search {
        flex-shrink: 0;
    }
}
/*Details tab modify*/
/*tts*/
/*#details .ticket-grid {
    display: flex;
    gap: 16px;
}

#details .ticket-grid > div {
    flex: 1;
    display: flex;
}

#details .ticket-grid .ticket-card {
    flex: 1;
    : flex;
    flex-direction: column;
}*/
#details .ticket-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
/*ph and direction*/
@media (max-width: 768px) {

    #largePanel #callSection .grid-2 {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
    }


        #largePanel #callSection .grid-2 .ticket-field {
            width: 100%;
        }


        #largePanel #callSection .grid-2 input,
        #largePanel #callSection .grid-2 select {
            width: 100%;
            box-sizing: border-box;
        }
}


/*zm test*/
/*@media (min-width: 400px) {
    .ticket-field {
        grid-template-columns: 120px 1fr;
    }
}

@media (min-width: 600px) {
    .ticket-field {
        grid-template-columns: 140px 1fr;
    }
} */

/*for Activity Tab start*/
/*for mobile*/
@media (max-width: 426px) { /*426 to 767*/

    .ticket-activity-bar {
        display: flax !important;
        grid-template-columns: 1fr !important;
        gap: 8px;
    }

    .ticket-activity-info {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .ticket-card {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: hidden;
        position: relative;
        -webkit-overflow-scrolling: touch;
    }

    #eqactivityListTable {
        width: 100%;
        min-width: 100%;
        border-collapse: collapse;
        display: table;
    }

        #eqactivityListTable th,
        #eqactivityListTable td {
            white-space: nowrap;
            min-width: 120px;
        }

            #eqactivityListTable th:first-child,
            #eqactivityListTable td:first-child {
                min-width: 40px;
            }

            #eqactivityListTable th:nth-child(2),
            #eqactivityListTable td:nth-child(2) {
                min-width: 180px;
            }

    .ticket-card-body {
        padding: 10px;
    }

    #activities {
        overflow-x: hidden;
    }
}

/*for desktop and tablet*/
@media (min-width: 426px) {

    .ticket-activity-bar {
        display: flex !important;
        align-items: center;
        gap: 10px;
    }

    #desktopFilterContainer {
        display: flex;
        gap: 10px;
        align-items: center;
        width: 600px;
    }

        #desktopFilterContainer .cus_dropdown {
            flex: 1 1 130px;
            min-width: 10px;
            position: relative;
        }

    .ticket-search {
        flex: 1;
        min-width: 200px;
    }

    #desktopFilterContainer select {
        width: auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    .ticket-activity-bar {
        display: flex !important;
        align-items: center;
        width: 100%;
        gap: 6px;
    }

    #desktopFilterContainer {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
        flex-wrap: nowrap;
    }

        /* Dropdowns */
        #desktopFilterContainer .cus_dropdown {
            flex: 1 1 0;
            min-width: 0; /* important for iPad */
            max-width: none;
        }

        #desktopFilterContainer .cus_dropdown-btn {
            width: 100%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    .activity-table-wrapper {
        width: 100%;
        overflow-x: auto;
    }
}

.activity-table-wrapper {
    width: 100%;
    /*overflow-x: auto;*/ /*toggleRowMenu fix by TTS*/
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
}

.cus_enq_activity-flt {
    min-width: 120px !important;
}

/*filtering for mobile*/
@media (max-width: 767px) {

    /*test*/
    .ticket-activity-bar {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
        /*test end*/
        .ticket-activity-bar select {
            display: none !important;
        }

    #desktopFilterContainer {
        display: none;
    }

    .ticket-filter-btn {
        display: flex;
        width: 100%;
        height: 40px;
        border-radius: 20px;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: 1px solid #ddd;
        background: #fff;
    }

    .activity-table-wrapper {
        width: 100%;
        /*overflow-x: auto;*/ /*toggleRowMenu fix by TTS*/
        -webkit-overflow-scrolling: touch;
    }
    /*test start*/
    #eqactivityListTable {
        width: 100%;
        min-width: 100%;
        border-collapse: collapse;
        display: table;
    }

        #eqactivityListTable th,
        #eqactivityListTable td {
            white-space: nowrap;
            min-width: 120px;
        }

            #eqactivityListTable th:first-child,
            #eqactivityListTable td:first-child {
                min-width: 40px;
            }

            #eqactivityListTable th:nth-child(2),
            #eqactivityListTable td:nth-child(2) {
                min-width: 180px;
            }
    /*test end*/
}

/*default*/
.ticket-filter-btn {
    display: none;
}
/*test*/
/*.activity-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}*/
/*my new modal*/
.ticket-filter-modal {
    display: none;
}

    .ticket-filter-modal.active {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1000;
    }

.ticket-filter-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.ticket-filter-panel {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 16px;
    max-height: 85vh;
    overflow-y: auto;
}
/*filter and sort design*/
.ticket-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

    .ticket-filter-header span:last-child {
        font-size: 20px;
        cursor: pointer;
    }

    .ticket-filter-header + p {
        font-size: 13px;
        color: #666;
        margin-top: 4px;
    }

.ticket-filter-body {
    margin-top: 16px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

    .filter-group label {
        font-size: 13px;
        color: #666;
        margin-bottom: 6px;
    }

.ticket-filter-panel select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 14px;
}

.ticket-filter-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

    .ticket-filter-footer .btn-reset {
        flex: 1;
        height: 44px;
        border-radius: 24px;
        border: 1px solid #ccc;
        background: #fff;
        font-size: 14px;
    }

    .ticket-filter-footer .btn-apply {
        flex: 1;
        height: 44px;
        border-radius: 24px;
        border: none;
        background: #0b0b23;
        color: #fff;
        font-size: 14px;
    }

@media (max-width: 767px) {

    .ticket-filter-btn {
        display: flex !important;
    }
}
/*pagination start*/
@media (max-width: 767px) {

    .custom_ticket_table_bottom {
        display: flex;
        justify-content: center;
        padding: 16px;
    }

    .pagination-wrapper {
        display: flex !important;
        flex-direction: column;
        margin: 0 auto;
        align-items: center;
        gap: 10px;
        width: 80%;
        max-width: 260px;
        padding: 14px;
        border-radius: 12px;
    }

    .custom_pagination_left {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .pagination-info {
        font-size: 13px;
        text-align: center;
    }

    .rows-per-page {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 13px;
    }

        .rows-per-page select {
            border: none;
            background: transparent;
            font-size: 13px;
        }

    .custom_pagination {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 14px;
    }

        .custom_pagination a {
            padding: 4px 6px;
        }
}
/* button design*/


.ticket-filter-footer {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

    /*reset*/
    .ticket-filter-footer .btn-reset {
        flex: 1;
        height: 44px;
        border-radius: 999px;
        border: 1px solid #ccc;
        background: #fff;
        color: #333;
        font-size: 14px;
        font-weight: 500;
    }

    /*show*/
    .ticket-filter-footer .btn-apply {
        flex: 1;
        height: 44px;
        border-radius: 999px;
        border: none;
        background: #070722;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
    }


/*pagination end*/
/*panel responsive*/
@media (max-width: 768px) {


    #largePanel {
        width: 100% !important;
        height: 100%;
        border-radius: 0;
    }
}

@media (max-width: 767px) {

    #activityPanel {
        width: 100% !important;
        height: 100%;
        border-radius: 0;
    }
}

/*toolbar*/
@media (max-width: 768px) {

    .large-toolbar {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

        .large-toolbar > * {
            flex-shrink: 0;
        }
}

@media (max-width: 480px) {


    .large-header {
        display: block !important;
    }


    .header-right {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
    }


        .header-right .meta-item {
            width: 50% !important;
            box-sizing: border-box;
        }
}

/*testing*/
/*@media (max-width: 768px) {

    .header-right {
        display: grid !important;
        grid-template-columns: 1fr 1fr; 
        gap: 12px;
        width: 100%;
    }
}*/


/*testing*/

@media (max-width: 768px) {

    #largePanel {
        overflow-x: hidden;
    }

    .large-header {
        display: block !important;
    }
}
/*@media (max-width: 768px) {

    .header-right {
        flex-wrap: wrap;
        gap: 12px;
    }

        .header-right .meta-item {
            width: 48%; 
        }
}*/
/*date and time*/
@media (max-width: 767px) {


    .ticket-field .grid-2 {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

        .ticket-field .grid-2 input {
            width: 100%;
            box-sizing: border-box;
        }
}

/*form*/
@media (max-width: 767px) {

    #largePanel #callSection .ticket-field {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

        #largePanel #callSection .ticket-field .ticket-label {
            width: 100%;
        }

        /*input wrapper */
        #largePanel #callSection .ticket-field > div,
        #largePanel #callSection .ticket-field input,
        #largePanel #callSection .ticket-field select {
            width: 100%;
        }
}

/*large panel's form*/
@media (max-width: 767px) {


    #largePanel .ticket-field {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px;
    }

        #largePanel .ticket-field .ticket-label {
            width: 100%;
        }

        #largePanel .ticket-field > div,
        #largePanel .ticket-field input,
        #largePanel .ticket-field select,
        #largePanel .ticket-field textarea {
            width: 100%;
            box-sizing: border-box;
        }
}

@media (max-width: 768px) {


    #largePanel .ticket-field input[type="checkbox"] {
        width: auto !important; /*  FIX */
        margin: 0;
    }
}
/*editor toolbar */
@media (max-width: 768px) {

    #largePanel .editor-toolbar {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        overflow: visible;
    }


        #largePanel .editor-toolbar .tool-btn {
            flex: 0 0 auto; /*  keep size */
        }

    /*  divider line fix */
    /*        #largePanel .editor-toolbar .divider {
            width: 100%;
            height: 1px;
            background: #eee;
        }*/
}
/*samll panel*/
@media (max-width: 767px) {

    /* panel body spacing */
    #activityPanel .panel-body {
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }


    .panel-header-advanced {
        padding: 12px 16px;
    }

    /*edit duplicate delete*/
    .activity-panel .action-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

        .activity-panel .action-buttons button {
            flex: 1 1 auto;
            min-width: 90px;
        }


    .ticket-card {
        border-radius: 12px;
        /*        padding: 14px;*/ /*zm test*/
        margin-bottom: 8px;
    }


    .ticket-card-body {
        display: flex;
        flex-direction: column;
        /*        gap: 12px;*/ /*zm test*/
    }


    .ticket-card h4,
    .ticket-card h5 {
        margin-bottom: 6px;
    }


    .ticket-card p {
        margin: 0;
        line-height: 1.4;
    }


    .ticket-card-body > div {
        /*        align-items: flex-start;*/
        /*        gap: 10px;*/ /*zm test*/
    }


    .badge,
    .tag,
    .status-chip {
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 10px;
    }
}
/*for small panel responsive*/
/*timeline form*/
@media (max-width: 767px) {

    .timeline-header-row {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }


        .timeline-header-row > div:first-child {
            width: 100%;
        }

        /* title */
        .timeline-header-row strong {
            font-size: 15px;
            font-weight: 600;
            display: block;
        }

        /* description */
        .timeline-header-row .ticket-text {
            font-size: 13px;
            color: #777;
            margin-top: 4px;
        }


    .timeline-actions {
        display: flex;
        gap: 10px;
        justify-content: flex-start;
        margin-top: 4px;
        width: 100%;
    }

        .timeline-actions .icon {
            padding: 6px;
            border-radius: 6px;
            cursor: pointer;
        }
}

/*for modified responsive*/

@media (max-width: 767px) {

    #activityPanel #noteCard .ticket-card-body {
        flex-direction: row !important;
        align-items: flex-start;
        gap: 10px;
    }


    #activityPanel #noteCard .myAvatar {
        flex-shrink: 0;
    }


    #activityPanel #noteCard .ticket-card-body > div[style*="flex:1"] {
        display: flex;
        flex-direction: column;
    }


    #activityPanel #noteCard .activity-actions {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin: 6px 0;
    }

        #activityPanel #noteCard .activity-actions .icon {
            display: inline-flex;
            width: auto !important;
        }
}

@media (max-width: 768px) { /*767 to 768*/ /*zm test*/


    #activityPanel #noteCard .ticket-card-body > div[style*="flex:1"] {
        display: flex;
        flex-direction: column;
    }


    #activityPanel #noteCard .activity-actions {
        position: static !important;
        display: flex;
        gap: 10px;
    }


    #activityPanel #noteCard .ticket-text {
        order: 1;
    }

    #activityPanel #noteCard div:has(#cardTypeIcon),
    #activityPanel #noteCard .appointment-row {
        order: 2;
    }


    #activityPanel #noteCard .activity-actions {
        order: 3;
    }

    /* Title */
    #activityPanel #noteCard #cardSubject {
        order: 4;
    }

    /* Description */
    #activityPanel #noteCard #cardDescription {
        order: 5;
    }

    /* View more */
    #activityPanel #noteCard #viewMoreBtn {
        order: 6;
    }
}


@media (max-width: 375px) {

    .panel-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

        .panel-actions .ticket-btn {
            flex: 0 0 auto;
        }
}
/*Note panel responsive*/

@media (max-width: 768px) {

    #activityPanel #noteCard .ticket-card-body > div[style*="flex:1"] {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    #activityPanel #noteCard .ticket-text {
        order: 1;
    }

    #activityPanel #noteCard #cardTypeIcon {
        order: 2;
    }

    #activityPanel #noteCard #noteEditArea {
        order: 3;
        width: 100%;
        margin-top: 12px;
    }

        #activityPanel #noteCard #noteEditArea > div {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

    #activityPanel #noteCard textarea,
    #activityPanel #noteCard input {
        width: 100%;
        box-sizing: border-box;
    }

    #activityPanel #noteCard
    #noteEditArea > div > div[style*="justify-content:space-between"] {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

        #activityPanel #noteCard
        #noteEditArea > div > div[style*="justify-content:space-between"] > div:first-child {
            flex: 0 0 100%;
        }

    #activityPanel #noteCard .attachment-box {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 6px !important;
        justify-content: flex-start !important;
        overflow: hidden;
    }

        #activityPanel #noteCard .attachment-box span:first-child {
            width: 100%;
            flex: 1;
            min-width: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        #activityPanel #noteCard .attachment-box span:last-child,
        #activityPanel #noteCard .attachment-box button {
            display: flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }

    #activityPanel #noteCard
    #noteEditArea > div > div:last-child {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    #activityPanel #noteCard
    #noteEditArea button {
        flex: 1;
        min-width: 0;
        padding: 6px 10px;
        font-size: 13px;
        white-space: normal;
    }
}
/*testing */



/*testing*/
/*pane; root*/
#activityPanel {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


    #activityPanel .panel-header-advanced {
        flex-shrink: 0;
    }


    #activityPanel .panel-body {
        display: block !important;
        overflow-y: auto;
        height: calc(100vh - 120px);
        padding-bottom: 20px;
    }

/*large panel's header-tools not to stay sticky*/


#largePanel .large-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
}

#largePanel .large-header {
    position: sticky;
    /*top: 56px;*/
    top: 37px;
    z-index: 15;
    background: #fff;
}



@media (max-width: 360px) {

    #activityPanel #noteCard
    #noteEditArea > div > div:last-child {
        display: flex;
        gap: 8px;
        width: 100%;
    }


    #activityPanel #noteCard
    #noteEditArea button {
        flex: 1;
        min-width: 0;
        white-space: normal; /*  allow text wrap */
        padding: 6px 8px; /* reduce size */
        font-size: 13px;
    }
}

/*dropdown responsive*/
/*    @media (max-width: 480px) {

        .custom_ticketdetails_lookup_item {
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
        }

        .custom_ticketdetails_lookup_avatar {
            flex: 0 0 auto;
        }

        .custom_ticketdetails_lookup_info {
            flex: 1;
            min-width: 0;
        }

            .custom_ticketdetails_lookup_info strong,
            .custom_ticketdetails_lookup_info span {
                display: block;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

        .custom_ticketdetails_lookup_badge {
            flex: 0 0 auto;
            white-space: nowrap;
            margin-left: auto;
        }
    }*/
/*    @media (max-width: 480px) {

        .custom_ticketdetails_lookup_info {
            display: none;
        }
    }
    .custom_ticketdetails_lookup_info {
    flex: 1;
    min-width: 0;
}

.custom_ticketdetails_lookup_info strong,
.custom_ticketdetails_lookup_info span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}*/
/*for filter and sort Active*/
.filter-active-badge {
    display: none; /* hidden by default */
    margin-left: 8px;
    background: #3b79ff;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 999px;
}

/*  show when active */
.ticket-filter-btn.active .filter-active-badge {
    display: inline-block;
}

/*timeline action responsive*/
/*    @media (max-width: 768px) {

        #activityPanel .timeline-actions {
            align-items: flex-start;
        }
    }*/

/*@media (max-width: 426px) {

    .ticket-dropdown {
        position: relative;
        z-index: 10000;
    }

    .ticket-dropdown-menu {
        z-index: 10001;
    }
}
*/
@media (max-width: 426px) {

    .ticket-card:has(.ticket-dropdown) {
        overflow-y: visible !important;
        overflow-x: visible !important;
    }
}

.ticket-label {
    white-space: nowrap;
}

/*main fix start*/
.ticket-box-content {
    display: flex;
    flex-direction: column;
    /*    gap: 12px;*/ /*zmns*/
}

#eqactivityListTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 900px; /*zm test*/
}

.ticket-card-body div:last-child {
    /*    margin-top: 6px;*/ /*zm test*/
}

/*main fix end*/
/*zm responsive part end*/

/*zm reopen responsive start*/
@media (max-width: 767px) {

    #watchBrandField,
    #watchBrandField .custom_ticketdetails_lookup,
    #watchBrandField .custom_ticketdetails_lookup.active {
        overflow: visible !important;
    }
}

@media (max-width: 767px) {

    #watchInfoCard,
    #boutiqueField {
        overflow: visible !important;
    }
}

@media (max-width: 426px) {

    #watchInfoCard,
    #boutiqueField {
        overflow: visible !important;
    }
}

@media (max-width: 767px) {

    #watchBrandField .custom_ticketdetails_call_text_ellipsis,
    #watchModelField .custom_ticketdetails_call_text_ellipsis,
    #boutiqueField .custom_ticketdetails_call_text_ellipsis {
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: unset !important;
        width: max-content !important;
    }
}

@media (max-width: 767px) {

    #watchBrandField .custom_ticketdetails_lookup_dropdown,
    #watchModelField .custom_ticketdetails_lookup_dropdown,
    #boutiqueField .custom_ticketdetails_lookup_dropdown {
        overflow-y: auto;
        overflow-x: auto;
    }
}

@media (max-width: 767px) {

    #boutiqueField .custom_ticketdetails_lookup_dropdown
    .custom_ticketdetails_call_text_ellipsis {
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: unset !important;
        width: max-content !important;
    }

    #boutiqueField .custom_ticketdetails_lookup_dropdown {
        overflow-x: auto;
        overflow-y: auto;
    }
}
/*selected boutique*/
@media (max-width: 767px) {

    #boutiqueField .custom_ticketdetails_lookup_selected {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        #boutiqueField .custom_ticketdetails_lookup_selected::-webkit-scrollbar {
            display: none;
        }

    #boutiqueField .custom_ticketdetails_call_text_ellipsis {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
/*saleperson start*/

/*small*/
@media (max-width: 340px) {

    #salespersonField .custom_ticketdetails_lookup_item {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #salespersonField .custom_ticketdetails_lookup_info {
        display: none;
    }

    #salespersonField .custom_ticketdetails_lookup_badge {
        margin-left: auto;
    }
}

/*medium*/
@media (min-width: 341px) and (max-width: 767px) {

    #salespersonField .custom_ticketdetails_lookup_item {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #salespersonField .custom_ticketdetails_lookup_avatar {
        flex-shrink: 0;
    }

    #salespersonField .custom_ticketdetails_lookup_info {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    #salespersonField .custom_ticketdetails_lookup_badge {
        flex-shrink: 0;
        margin-left: auto;
    }

    #salespersonField .custom_ticketdetails_lookup_info strong,
    #salespersonField .custom_ticketdetails_lookup_info span {
        display: block;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

/* Badge */
#salespersonField .custom_ticketdetails_lookup_badge {
    width: 90px;
    text-align: center;
}

/*saleperson end*/
/*zm reopen responsive end*/

/*HYK Responsive 060726*/
/*HYK Responsive 070726*/
@media (min-width: 768px) and (max-width: 1024px) {
    /* iPad Mini */
    .custom_dealsdetails_tabs {
        width: 100%;
        overflow-x: auto;
    }
}

@media (min-width: 1025px) and (max-width: 1366px) {
    /* iPad Pro */
    .custom_dealsdetails_tabs {
        width: 100%;
        overflow-x: auto;
    }
}
/*HYK Responsive 070726*/
/*HYK Responsive End*/
/*zm again reopen start*/
/*current fix for task date start*/
@media (max-width: 580px) {

    #metaDue {
        white-space: nowrap;
    }
}
/*owner*/
@media (max-width: 580px) {

    .owner-row {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }
}

/*for meta status*/
@media (max-width: 580px) {

    #metaStatus {
        white-space: nowrap;
    }
}

/* owner */
@media (max-width: 580px) {

    .owner-row {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }
}
/* Very small screens */
@media (max-width: 320px) {

    #ownerAvatar {
        width: 60% !important;
    }

    .owner-name {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        /*        overflow: hidden;*/
        text-overflow: ellipsis;
    }
}

@media (max-width: 350px) {

    #ownerAvatar {
        width: 60% !important;
    }

    .owner-name {
        /*        overflow: hidden;*/
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (min-width: 350px) and (max-width: 580px) {

    .owner-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }
}

@media (min-width: 321px) and (max-width: 580px) {

    #ownerAvatar {
        width: auto !important;
    }
}

@media (max-width: 580px) {


    .large-header {
        display: block !important;
    }


    .header-right {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
    }


        .header-right .meta-item {
            width: 50% !important;
            box-sizing: border-box;
        }
}

@media (min-width: 581px) {

    .header-right .meta-item {
        white-space: nowrap;
    }

    #metaDue,
    #metaStatus {
        white-space: nowrap;
    }
}

@media (min-width: 581px) {

    .owner-row {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .owner-name {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (min-width: 580px) and (max-width: 700px) {
    .header-right {
        display: flex;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
    }
}

@media (max-width: 375px) {
    .meta-item {
        padding-left: 10px;
        margin-left: 10px;
    }
}

/*zm reopen responsive end*/

/*zm for note only start*/
@media (max-width: 768px) {

    #noteEditArea .custom_AddContact_form-group {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 575px) {

    #EditNoteAttachmentList .d-flex.justify-content-between.flex-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    #EditNoteAttachmentList .custom-upload-file-left {
        width: 100%;
    }

    #EditNoteAttachmentList .d-flex.align-items-center.justify-content-end.gap-1 {
        width: 100%;
        justify-content: flex-start !important;
        margin-top: 6px;
    }
}

@media (max-width: 480px) {

    .custom_activity_uploadfiles {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {

    #noteEditArea .cus_grid {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    #noteEditArea .custom_activity_uploadfiles {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 575px) {

    .cus_attachment_preview span:last-child,
    .cus_attachment_download span:last-child {
        display: none;
    }
}
/*for test*/
@media (max-width: 480px) {

    .custom-upload-file-left {
        min-width: 0;
        flex: 1;
    }

    .custom-upload-file-name {
        display: block;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 50px;
    }
}

@media (max-width: 480px) {

    .cus_previewtxt {
        display: block;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}
/*fix test for cardFromUser*/
@media (max-width: 320px) {

    #cardFromUser {
        white-space: nowrap;
    }
}
/*delete gap fix*/
@media (min-width: 425px) and (max-width: 768px) {

    .cus_attachment_remove {
        margin-left: 8px;
    }
}
/*for note only end*/
/*tts 130726*/
.ticket-more .icon {
    cursor: pointer;
}
/* Ensure wrapper is positioned for overlay */
.custom_table-wrapper {
    position: relative;
}
/* Default primary button */
.btn-primary {
    /* background-color: #007bff;*/
    color: #fff;
    cursor: pointer;
}

    /* Disabled state */
    .btn-primary:disabled,
    .btn-primary.disabled {
        background-color: #c0c0c0; /* greyed out */
        color: #666; /* dimmed text */
        cursor: not-allowed; /* show blocked cursor */
        opacity: 0.7; /* optional: make it look faded */
    }

.cus_cd-grid-wrapper_ticket {
    display: grid;
    grid-template-columns: 120px 18px 1fr;
    gap: 11px;
}

.icon-2 {
    cursor: pointer;
}

.sort-icon {
    cursor: pointer;
}

.cus_cd-grid-wrapper_ticket_date {
    display: grid;
    grid-template-columns: 131px 18px 1fr;
    gap: 11px;
}

.outside-dropdown1_min {
    background: #fff;
    border-radius: 8px;
    padding: 4px !important;
    min-width: 187px;
    border: 1px solid rgb(224, 224, 224);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 5px;
    max-height: 250px;
    overflow-y: auto;
}
/*tts 130726*/
/*tts 15826*/
/* Base popup */
.custom-activity-closepopup {
    position: fixed;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    padding: 20px;
    width: 400px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    z-index: 1000;
    font-family: "Segoe UI", Arial, sans-serif;
}

#closeActivityPopup {
    top: 33% !important;
    left: 60% !important;
}
/* Hidden by default */
.custom-activity-closepopup.hidden {
    display: none;
}

/* Title */
.custom-activity-closepopup h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: #323130;
}

/* Message */
.custom-activity-closepopup p {
    margin: 0 0 0px;
    font-size: 14px;
    color: #605e5c;
}

/* Labels */
.custom-activity-closepopup label {
    display: block;
    margin: 5px 0 4px;
    font-size: 13px;
    font-weight: 500;
    color: #323130;
}

/* Dropdowns */
.custom-activity-closepopup select {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 12px;
}

/* Buttons */
.custom-activity-closepopup button {
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    margin-left: 8px;
}

    /* Primary (blue) */
    .custom-activity-closepopup button.primary {
        background-color: #0078d4;
        color: #fff;
        border: none;
    }

    /* Secondary (gray) */
    .custom-activity-closepopup button.secondary {
        background-color: #f3f2f1;
        color: #323130;
        border: 1px solid #ccc;
    }

/* Row container for label + select */
.custom-activity-closepopup .form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0;
}

    /* Label styling */
    .custom-activity-closepopup .form-row label {
        flex: 0 0 40%; /* label takes ~40% width */
        font-size: 13px;
        font-weight: 500;
        color: #323130;
    }

    /* Dropdown styling */
    .custom-activity-closepopup .form-row select {
        flex: 1; /* dropdown takes remaining space */
        padding: 4px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 13px;
    }
/* Position the close icon */
.custom-activity-closepopup .popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

    /* Icon hover effect */
    .custom-activity-closepopup .popup-close img {
        filter: grayscale(50%);
        transition: filter 0.2s ease;
    }

    .custom-activity-closepopup .popup-close:hover img {
        filter: none;
    }

.cus_close_grid {
    align-items: flex-start;
    grid-template-columns: 103px 1fr !important;
    margin-top: 12px;
}

.cus_activity-dropdownbtn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px !important;
    border: 1px solid #e0e0e0;
    border-radius: 8px !important;
    background: #fff;
    font-size: 13px !important;
    cursor: pointer !important;
    width: 100%;
    justify-content: space-between;
    color: #2a2a2a;
}

    .cus_activity-dropdownbtn svg {
        width: 15px;
        height: 15px;
        opacity: .5;
    }
/* =========================================
   CLOSE ACTIVITY STATUS DROPDOWN
   ========================================= */

#closeStatusDropdown {
    position: relative;
    width: 100%;
}


/* Dropdown button */
#dropdownBtn_CloseStatus {
    width: 100%;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px !important;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    line-height: 22px;
    color: #222;
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
}


    /* Button hover */
    #dropdownBtn_CloseStatus:hover {
        border-color: #cfcfcf;
    }


    /* Button focus */
    #dropdownBtn_CloseStatus:focus {
        outline: none;
    }


    /* Arrow */
    #dropdownBtn_CloseStatus svg,
    #dropdownBtn_CloseStatus img {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }


/* =========================================
   DROPDOWN MENU
   ========================================= */

#dropdownMenu_CloseStatus {
    position: absolute;
    top: calc(100% + 5px);
    left: 8px;
    width: 100%;
    max-height: 310px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    box-sizing: border-box;
    min-width: 248px !important;
}


    /* =========================================
   DROPDOWN ITEMS
   ========================================= */

    #dropdownMenu_CloseStatus .cus_dropdown-item {
        width: 100%;
        padding: 4px 15px;
        box-sizing: border-box;
        font-size: 13px;
        line-height: 21px;
        color: #222;
        background: #fff;
        border-radius: 3px;
        cursor: pointer;
        text-align: left;
        transition: background-color 0.15s ease;
    }


        /* Hover - same style as your first screenshot */
        #dropdownMenu_CloseStatus .cus_dropdown-item:hover {
            background-color: #f1f1f1;
        }


        /* Selected item */
        #dropdownMenu_CloseStatus .cus_dropdown-item.selected {
            background-color: #f1f1f1;
        }


        /* Disabled item */
        #dropdownMenu_CloseStatus .cus_dropdown-item.disabled {
            color: #999;
            cursor: default;
        }


            /* Disabled item should not get hover */
            #dropdownMenu_CloseStatus .cus_dropdown-item.disabled:hover {
                background-color: #fff;
            }


    /* =========================================
   SCROLLBAR
   ========================================= */

    #dropdownMenu_CloseStatus::-webkit-scrollbar {
        width: 8px;
    }

    #dropdownMenu_CloseStatus::-webkit-scrollbar-track {
        background: transparent;
    }

    #dropdownMenu_CloseStatus::-webkit-scrollbar-thumb {
        background: #cfcfcf;
        border-radius: 10px;
    }

        #dropdownMenu_CloseStatus::-webkit-scrollbar-thumb:hover {
            background: #b5b5b5;
        }


/* =========================================
   MAKE SURE POPUP DOES NOT CLIP DROPDOWN
   ========================================= */

#closeActivityPopup {
    overflow: visible;
}

    #closeActivityPopup .cus_close_grid {
        overflow: visible;
    }

    #closeActivityPopup .custom_detailpage_form-group {
        overflow: visible;
    }

    #closeActivityPopup .custom_field {
        overflow: visible;
    }

td.activity-clickable {
    cursor: pointer;
}

.custom_tickets_board_card {
    cursor: pointer;
}
/*tts 15826*/
/*tts default image alignment ckeditor*/
.ck-editor__editable figure.image {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

    .ck-editor__editable figure.image img {
        display: block;
    }
/*tts default image alignment ckeditor*/

.cus_dropdown-btn {
    cursor: default !important;
}

/* tts field copied */
.cus_dropdown .cus_dropdown-btn > span {
    user-select: text;
    cursor: text;
}
.validation-error {
    border: 1px solid #dc3545 !important;
    box-shadow: 0 0 0 1px #dc3545 !important;
}

/* tts MR*/
@media (max-width: 767px) {
    .custom_filter-panel {
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        right: -100%;
    }

    .custom_filter-panel.active {
        right: 0;
    }

    .custom_filter-header {
        flex-shrink: 0;
    }

    .custom_filter-body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .custom_filter-footer {
        flex-shrink: 0;
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
}
/* TTS MR Enquiry Details*/
/* =========================
   Mobile Responsive Fix
   ========================= */
@media (max-width: 767px) {

    .custom-ticket-grid3 {
        grid-template-columns: 90px 29px minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
    }

    .custom-ticket-grid3 .ticket-label {
        min-width: 0;
        white-space: nowrap;
    }

    .custom-ticket-grid3 .custom_input_lock {
        width: 29px;
        min-width: 29px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-ticket-grid3 .custom_input_lock svg {
        width: 20px;
        height: 20px;
    }

    .custom-ticket-grid3 .ticket-control {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .cus_cd-grid-wrapper_ticket_date {
        display: grid;
        grid-template-columns: 100px 18px 1fr;
        gap: 11px;
    }

}
@media (max-width: 375px) {

    .custom-ticket-grid3 {
        grid-template-columns: 95px 26px minmax(0, 1fr);
    }

    .custom-ticket-grid3 .custom_input_lock {
        width: 26px;
        min-width: 26px;
    }

    .custom-ticket-grid3 .custom_input_lock svg {
        width: 18px;
        height: 18px;
    }
}
.cus_cd-grid-wrapper_ticket_date {
    padding-top: 3px;
}
/* TTS Date Filter MR */
.range {
    display: flex;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.created-date-wrapper {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.created-date-wrapper input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: 13px;
    padding: 6.5px 38px 6.5px 12px;
}

.created-date-wrapper .icon-2 {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.created-date-wrapper .icon-2 svg {
    width: 18px;
    height: 18px;
    max-width: 100%;
}

@media screen and (max-width: 767.98px) {
    .range {
        gap: 8px;
    }

    .created-date-wrapper input {
        padding-right: 32px;
    }

    .created-date-wrapper .icon-2 {
        right: 8px;
    }
}
/* TTS Date Filter MR */
.flatpickr-calendar.open {
    z-index: 999999 !important;
}

.filter-panel,
.filter-panel-content {
    overflow: visible;
}

/* TTS Email Panel MR */
@media screen and (max-width: 768px) {

    #custom_create_eamil_footer {
        justify-content: flex-start !important;
    }

    #EnquiryEmailSendBtn,
    #custom_emailfootercancel {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 90px !important;
        min-height: 44px !important;
        align-items: flex-start !important;
        justify-content: left !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 8px 16px !important;
        border-radius: 6px !important;
    }
}
.flatpickr-calendar.open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 2147483647 !important;
    position: absolute !important;
}

/* CKEditor */
.ck.ck-balloon-panel.ck-balloon-panel_visible {
    z-index: 99999999;
}
/* Ticket Details */

/* Mobile responsive - Summary tab only */
/* Desktop view remains unchanged */
@media screen and (max-width: 767px) {

    #Summary .ticket-field {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        gap: 6px;
    }

    /* Keep label and lock icon on the same row */
    #Summary .ticket-field > .ticket-label {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        width: auto;
        max-width: 100%;
        margin: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #Summary .ticket-field > .custom_input_lock {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        width: auto;
        height: auto;
        margin: 0;
    }

    /* Place the field below the label and lock icon */
    #Summary .ticket-field > input.ticket-control,
    #Summary .ticket-field > textarea.ticket-control,
    #Summary .ticket-field > .cus_dropdown,
    #Summary .ticket-field > .custom_ticketdetails_lookup,
    #Summary .ticket-field > div:not(.ticket-label):not(.custom_input_lock) {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Ensure controls and dropdown buttons fit the screen */
    #Summary .ticket-field .ticket-control,
    #Summary .ticket-field .cus_dropdown-btn,
    #Summary .ticket-field .custom_ticketdetails_lookup {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    #Summary .ticket-field .cus_dropdown-btn {
        width: 100%;
    }

    /* Prevent long selected values from overflowing */
    #Summary .ticket-field .custom_ticketdetails_lookup_selected,
    #Summary .ticket-field .custom_ticketdetails_lookup_chip,
    #Summary .ticket-field .custom_ticketdetails_call_text_ellipsis {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    #Summary .ticket-field .custom_ticketdetails_lookup_chip {
        overflow: hidden;
    }

    #Summary .ticket-field .custom_ticketdetails_call_text_ellipsis {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Textareas */
    #Summary .ticket-field textarea.ticket-control {
        width: 100%;
        resize: vertical;
        text-wrap: wrap;
    }

    #Summary .custom-ticket-grid3 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }

    /* Label */
    #Summary .custom-ticket-grid3 > .ticket-label {
        order: 1;
        display: inline-flex;
        align-items: center;
        width: auto;
        max-width: 100%;
        margin: 0;
        white-space: normal;
    }

    /* Lock icon immediately after the label */
    #Summary .custom-ticket-grid3 > .custom_input_lock {
        order: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        min-width: 18px;
        height: 20px;
        margin: 0;
    }

    #Summary .custom-ticket-grid3 > .custom_input_lock svg {
        width: 16px;
        height: 16px;
    }

    /* Field takes the full next row */
    #Summary .custom-ticket-grid3 > .cus_dropdown,
    #Summary .custom-ticket-grid3 > input.ticket-control,
    #Summary .custom-ticket-grid3 > textarea.ticket-control,
    #Summary .custom-ticket-grid3 > .custom_ticketdetails_lookup {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Mobile: keep label and lock icon on the same line */
    #Summary .custom-ticket-grid3 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 5px;
        row-gap: 6px;
    }

    /* Label */
    #Summary .custom-ticket-grid3 > .ticket-label {
        order: 1;
        flex: 0 1 auto;
        width: auto;
        align-self: auto;
    }

    /* Lock icon immediately after the label */
    #Summary .custom-ticket-grid3 > .custom_input_lock {
        order: 2;
        flex: 0 0 18px;
        width: 18px;
        min-width: 18px;
        height: 20px;
        align-self: auto;
        margin: 0;
    }

    /* Field on the next line */
    #Summary .custom-ticket-grid3 > .cus_dropdown,
    #Summary .custom-ticket-grid3 > input.ticket-control,
    #Summary .custom-ticket-grid3 > textarea.ticket-control,
    #Summary .custom-ticket-grid3 > .custom_ticketdetails_lookup {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

}
/* Details tab - Mobile responsive only */
@media screen and (max-width: 767px) {

    #details .ticket-field {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        gap: 6px;
    }

    /* Keep label and lock icon on the same row */
    #details .ticket-field > .ticket-label {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        width: auto;
        max-width: 100%;
        margin: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #details .ticket-field > .custom_input_lock {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        width: auto;
        height: auto;
        margin: 0;
    }

    /* Field below the label and lock icon */
    #details .ticket-field > input.ticket-control,
    #details .ticket-field > textarea.ticket-control,
    #details .ticket-field > .cus_dropdown,
    #details .ticket-field > .custom_ticketdetails_lookup,
    #details .ticket-field > div:not(.ticket-label):not(.custom_input_lock) {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Ensure controls fit the screen */
    #details .ticket-field .ticket-control,
    #details .ticket-field .cus_dropdown-btn,
    #details .ticket-field .custom_ticketdetails_lookup {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    #details .ticket-field .cus_dropdown-btn {
        width: 100%;
    }

    /* Prevent selected values from overflowing */
    #details .ticket-field .custom_ticketdetails_lookup_selected,
    #details .ticket-field .custom_ticketdetails_lookup_chip,
    #details .ticket-field .custom_ticketdetails_call_text_ellipsis {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    #details .ticket-field .custom_ticketdetails_lookup_chip {
        overflow: hidden;
    }

    #details .ticket-field .custom_ticketdetails_call_text_ellipsis {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Textareas */
    #details .ticket-field textarea.ticket-control {
        width: 100%;
        resize: vertical;
        text-wrap: wrap;
    }

    /* Three-column fields */
    #details .custom-ticket-grid3 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 5px;
        row-gap: 6px;
        min-width: 0;
        max-width: 100%;
    }

    /* Label */
    #details .custom-ticket-grid3 > .ticket-label {
        order: 1;
        display: inline-flex;
        align-items: center;
        flex: 0 1 auto;
        width: auto;
        max-width: 100%;
        align-self: auto;
        margin: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Lock icon immediately after the label */
    #details .custom-ticket-grid3 > .custom_input_lock {
        order: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 18px;
        width: 18px;
        min-width: 18px;
        height: 20px;
        align-self: auto;
        margin: 0;
    }

    #details .custom-ticket-grid3 > .custom_input_lock svg {
        width: 16px;
        height: 16px;
    }

    /* Field takes the full next row */
    #details .custom-ticket-grid3 > .cus_dropdown,
    #details .custom-ticket-grid3 > input.ticket-control,
    #details .custom-ticket-grid3 > textarea.ticket-control,
    #details .custom-ticket-grid3 > .custom_ticketdetails_lookup {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Keep date and other controls within the screen */
    #details .custom-ticket-grid3 input,
    #details .custom-ticket-grid3 textarea,
    #details .custom-ticket-grid3 select,
    #details .custom-ticket-grid3 .ticket-control,
    #details .custom-ticket-grid3 .cus_dropdown-btn {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Date fields - Mobile layout */
    #details .custom_detailpage_form-group
    .cus_cd-grid-wrapper_ticket_date {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        position: relative;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        gap: 6px;
    }

    /* Label */
    #details .custom_detailpage_form-group
    .cus_cd-grid-wrapper_ticket_date > label {
        order: 1;
        display: inline-flex;
        align-items: center;
        flex: 0 1 auto;
        width: auto;
        max-width: calc(100% - 30px);
        margin: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Lock icon wrapper beside the label */
    #details .custom_detailpage_form-group
    .cus_cd-grid-wrapper_ticket_date > div:not(.cus_dropdown) {
        order: 2;
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        margin: 0;
    }

    #details .custom_detailpage_form-group
    .cus_cd-grid-wrapper_ticket_date .custom_input_lock {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        margin: 0;
    }

    #details .custom_detailpage_form-group
    .cus_cd-grid-wrapper_ticket_date .custom_input_lock svg {
        width: 16px;
        height: 16px;
    }

    /* All date inputs take the full next row */
    #details .custom_detailpage_form-group
    .cus_cd-grid-wrapper_ticket_date > input[type="text"] {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        padding-right: 36px !important;
    }

    /* Calendar icon inside the date input */
    #details .custom_detailpage_form-group
    .cus_cd-grid-wrapper_ticket_date > span[id$="Ic"] {
        order: 4;
        position: absolute !important;
        top: auto !important;
        right: 12px !important;
        bottom: auto !important;
        transform: none !important;
        width: 18px;
        height: 18px;
        margin-top: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    #details .custom_detailpage_form-group
    .cus_cd-grid-wrapper_ticket_date > span[id$="Ic"] svg {
        display: block;
        width: 18px;
        height: 18px;
    }

    /* Time dropdown takes the full next row */
    #details .custom_detailpage_form-group
    .cus_cd-grid-wrapper_ticket_date > .cus_dropdown {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    #details #dropdownBtn_lastcampignTime {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
}

    /* Date fields - Calendar icon alignment */
    #details .cus_cd-grid-wrapper_ticket_date {
        position: relative;
    }

    /* All calendar icons - Desktop */
    #details .cus_cd-grid-wrapper_ticket_date span[id$="Ic"] {
        position: absolute !important;
        top: auto !important;
        right: 12px !important;
        bottom: auto !important;
        transform: none !important;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
        margin-top: 9px;
    }

    /* Keep calendar icons inside the input */
    #details .cus_cd-grid-wrapper_ticket_date input[type="text"] {
        padding-right: 36px !important;
        box-sizing: border-box;
    }

    /* Calendar SVG size */
    #details .cus_cd-grid-wrapper_ticket_date span[id$="Ic"] svg {
        display: block;
        width: 18px;
        height: 18px;
    }

/* Mobile calendar icon alignment */
@media screen and (max-width: 767px) {
    #details .cus_cd-grid-wrapper_ticket_date span[id$="Ic"] {
        right: 12px !important;
        margin-top: 20px;
    }

    #details .cus_cd-grid-wrapper_ticket_date input[type="text"] {
        padding-right: 36px !important;
        box-sizing: border-box;
    }
}

.status-cell > span {
    font-weight: 500;
}
.priority-cell > span {
    font-weight: 500;
}
.activity-table-wrapper {
    position: relative;
}

#custom_Contacts_Board {
    position: relative;
}

#EnquiryBoardTableLoader {
    position: absolute;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
}

#EnquiryBoardTableLoader.show {
    display: flex !important;
}
}

#EnquiryNoteActivityDescription .ql-toolbar .ql-link,
#EditNoteActivityDescription .ql-toolbar .ql-link {
    display: none !important;
}

.panel-alert.error {
    background-color: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}