
.cat_tool_container{
    max-width: 100%;
    padding: 0 15px;
}

/* Element CSS */

.cat_tool_wrapper button.cat-btn{
    padding: 8px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #1E99A0;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    color: #1a4a7c;
}
.cat_tool_wrapper button.cat-btn:hover{
    background: #e8f7ef;
}


/* End of Element CSS */

/* Header css */
.cat_tool_header{
    background-color: #1E99A0;
    padding: 10px 0;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}

.cat_tool_header_elements{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-clientcount{
    display: flex;
    align-items: end;
    gap: 15px;
}

.logo-clientcount .logo span{
    color: #E8F0FBB3;
    font-size: 14px;
}

.logo-clientcount h3{
    margin-bottom: 0;
    font-size: 16px;
    color: #fff;
}

.client-count span{
    font-size: 11px;
    background-color: #FFFFFF33;
    color: #fff;
    padding: 4px 10px;
    border-radius: 24px;
}

.cat_tool_header .actions-buttons{}
.cat_tool_header .actions-buttons button{
    padding: 8px 20px;
    background: #5041412e;
    border-radius: 8px;
    border: 1px solid #d4d1d1;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

.cat_tool_header .actions-buttons .cat-import-csv-btn {
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.cat_tool_header .actions-buttons .cat-import-csv-btn:disabled {
    cursor: not-allowed;
}

.cat_tool_header .actions-buttons .cat-import-csv-btn__progress {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0%;
    background-color: #1f9d55;
    transition: width 0.2s ease;
}

.cat_tool_header .actions-buttons .cat-import-csv-btn__spinner {
    display: none;
    position: absolute;
    left: 12px;
    top: 50%;
    width: 13px;
    height: 13px;
    margin-top: -7px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: cat-spin 0.6s linear infinite;
}

.cat_tool_header .actions-buttons .cat-import-csv-btn__label {
    position: relative;
    z-index: 1;
}

.cat_tool_header .actions-buttons .cat-import-csv-btn.is-importing {
    border-color: #1f9d55;
}

.cat_tool_header .actions-buttons .cat-import-csv-btn.is-importing .cat-import-csv-btn__spinner {
    display: block;
}

.cat_tool_header .actions-buttons .cat-import-csv-btn.is-importing .cat-import-csv-btn__label {
    color: #ffffff;
}

.cat_tool_header .actions-buttons .cat-save-btn {
    position: relative;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.cat_tool_header .actions-buttons .cat-save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cat_tool_header .actions-buttons .cat-save-btn.is-saving {
    color: transparent;
}

.cat_tool_header .actions-buttons .cat-save-btn.is-saving::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: cat-spin 0.6s linear infinite;
}

.cat_tool_header .actions-buttons .cat-save-btn.is-saved {
    background-color: #1f9d55;
    border-color: #1f9d55;
    color: #ffffff;
    opacity: 1;
}

@keyframes cat-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Summery Row CSS started */

.cat-summery-row{
    border-bottom: 1px solid #ccc;
}
.cat-summery-row-elements{
    padding: 10px 0;
}

.cat-summery-row-elements .summery-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
}

.cat-summery-row-elements .summery-list li {
    list-style: none;
    font-size: 12px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 6px;
    
}

.cat-summery-row-elements .summery-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--bullet-color, #111);
    display: inline-block;
}

.cat-summery-row-elements .summery-list li.not-connected {
    --bullet-color: #9ca3af;
}

.cat-summery-row-elements .summery-list li.reached {
    --bullet-color: #1a7c4a;
}

.cat-summery-row-elements .summery-list li.Not-reached {
    --bullet-color: #c76b00;
}

.cat-summery-row-elements .summery-list li.inrested {
    --bullet-color: #1a4a7c;
}

.cat-summery-row-elements .summery-list li.no-interest {
    --bullet-color: #b5312a;
}

.cat-summery-row-elements .summery-list li.email-contact {
    --bullet-color: #1565c0;
}

.cat-summery-row-elements .summery-list li.contract {
    --bullet-color: #14532d;
}

.cat-summery-row-elements .summery-list li:not(:first-child) {
    margin-left: 20px;
}

/* End of Summery Row CSS */

/* CAT search filter css */

.cat-search-filter{}
.cat-search-filter-elements{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.cat-search-filter-elements .cat-keyword-search{
    max-width: 275px;
    font-size: 12px;
}

.cat-search-filter-elements .cat-filter-status{
    max-width: 200px;
    font-size: 12px;
}
.cat-search-filter-elements .cat-filter-status option{
    
}
.cat-search-filter-elements .cat-filter-business-category{
    max-width: 275px;
    font-size: 12px;
}
.cat-search-filter-elements .cat-filter-business-category option{
   
}

.cat-search-filter-elements button.cat-reset-filter{
    font-size: 12px;
}
/* End of CAT search Filter CSS */

/* Started Clients list table css */

/* =========================================
   Client Acquisition Tool Wrapper
========================================= */
.cat-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border-top: 1px solid #d9e1ea;
    border-bottom: 1px solid #d9e1ea;
    font-family: Arial, Helvetica, sans-serif;
    color: #0f172a;
}

/* =========================================
   Shared Grid Layout
========================================= */
.cat-table-header,
.cat-record__main {
    display: grid;
    grid-template-columns: 44px 33fr 31fr 14fr 15fr 7fr;
    min-width: 1200px;
}

/* =========================================
   Header
========================================= */
.cat-table-header {
    background: #eef2f6;
    border-bottom: 1px solid #d9e1ea;
}

.cat-table-header__cell {
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #59697e;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* =========================================
   Record
========================================= */
.cat-record {
    min-width: 1200px;
    background: #ffffff;
    border-bottom: 1px solid #d9e1ea;
}

.cat-record:nth-child(odd) {
    background: #f8fafc;
}

.cat-record__main {
    background: inherit;
}

.cat-record__cell {
    padding: 14px 16px;
    font-size: 14px;
    vertical-align: top;
}

.cat-record__cell--number {
    color: #64748b;
    font-size: 13px;
    min-width: 125px;
}

.cat-record__cell--status,
.cat-record__cell--remark,
.cat-record__cell--details {
    padding-top: 14px;
}

/* =========================================
   Practice / Organisation Info
========================================= */
.cat-practice {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cat-practice__name {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #020617;
    line-height: 1.3;
}

.cat-practice__category,
.cat-practice__address {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.35;
}

.cat-practice__website {
    margin-top: 3px;
    font-size: 13px;
    color: #004b8d;
    text-decoration: none;
    line-height: 1.35;
}

.cat-practice__website:hover {
    text-decoration: underline;
}

/* =========================================
   Contact Info
========================================= */
.cat-contact {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cat-contact__name {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #020617;
    line-height: 1.3;
}

.cat-contact__role {
    margin: 0;
    max-width: 420px;
    font-size: 13px;
    color: #475569;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-contact__email,
.cat-contact__phone {
    font-size: 13px;
    color: #004b8d;
    text-decoration: none;
    line-height: 1.35;
}

.cat-contact__email:hover{
    text-decoration: underline;
}
.cat-contact__phone{
    user-select: text;
}
.cat-contact__phone:hover {
    text-decoration: none;
    cursor:default;
}

.cat-contact .cat-contact__more {
    width: fit-content;
    padding: 0;
    margin-top: 2px;
    border: 0;
    background-color: transparent;
    color: #004b8d;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}

.cat-contact .cat-contact__more:hover {
    text-decoration: none;
    background-color: transparent;
    color: #004b8d;
}

/* =========================================
   Status Select
========================================= */
.cat-status-select {
    width: 100%;
    min-height: 32px;
    padding: 5px 36px 5px 12px;

    border: 1px solid #d9e1ea;
    border-radius: 7px;

    background-color: #eef2f6;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%235b6778' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;

    color: #5b6778;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;

    outline: none;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;

}

.cat-status-select::-ms-expand {
    display: none;
}

.cat-status-select:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}

/* Status Color Variants */
.cat-status-select--not-contacted {
    background-color: #eef2f6;
    border-color: #d9e1ea;
    color: #5b6778;
}

.cat-status-select--reached {
    background-color: #e8f7ef;
    border-color: #1f9d55;
    color: #047857;
}

.cat-status-select--not-reached {
    background-color: #fff3e0;
    border-color: #f57c00;
    color: #d97706;
}

.cat-status-select--interested {
    background-color: #e8f0fb;
    border-color: #1d5fa7;
    color: #004282;
}

.cat-status-select--no-interest {
    background-color: #fff0f0;
    border-color: #e53935;
    color: #d32f2f;
}

.cat-status-select--email-contact {
    background-color: #e8f0fb;
    border-color: #1d5fa7;
    color: #004282;
}

.cat-status-select--contract {
    background-color: #e8f7ef;
    border-color: #1f9d55;
    color: #047857;
}

/* =========================================
   Remark Textarea
========================================= */
.cat-remark-input {
    width: 100%;
    height: 68px;
    padding: 10px 12px;
    resize: none;

    border: 1px solid #d9e1ea;
    border-radius: 7px;

    background: #ffffff;
    color: #334155;

    font-size: 13px;
    font-family: inherit;
    outline: none;
}

.cat-remark-input::placeholder {
    color: #64748b;
}

.cat-remark-input:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}

/* =========================================
   Details Button
========================================= */
.cat-record__cell--details .cat-details-toggle {
    padding: 0;
    border: 0;
    background: transparent;
    color: #004b8d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.cat-record__cell--details .cat-details-toggle:hover {
    text-decoration: none;
    padding: 0;
    color: #004b8d;
    background-color: transparent;
}

.cat-record__cell--details .cat-details-toggle:focus{
    background-color: transparent;
    color: #004b8d;
}


/* =========================================
   Expandable Details Panel
========================================= */
.cat-record__details {
    padding: 0 5px 14px 5px;
    background: inherit;
}

.cat-record__details.is-hidden {
    display: none;
}

.cat-details-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 13px;

    padding: 15px;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #ffffff;
}

.cat-contact-card {
    min-height: 110px;
    padding: 16px;

    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #ffffff;
}

.cat-contact-card__name {
    margin: 0 0 3px;
    font-size: 12px;
    font-weight: 700;
    color: #020617;
    line-height: 1.3;
}

.cat-contact-card__role {
    margin: 0 0 12px;
    font-size: 13px;
    color: #475569;
    line-height: 1.35;
}

.cat-contact-card__email,
.cat-contact-card__phone {
    display: block;
    font-size: 14px;
    color: #004b8d;
    text-decoration: none;
    line-height: 1.5;
}

.cat-contact-card__email:hover,
.cat-contact-card__phone:hover {
    text-decoration: underline;
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 1200px) {
    .cat-table-header,
    .cat-record,
    .cat-record__main {
        min-width: 1100px;
    }
}

@media (max-width: 768px) {
    .cat-table-wrapper {
        border: 1px solid #d9e1ea;
        border-radius: 8px;
    }

    .cat-table-header,
    .cat-record,
    .cat-record__main {
        min-width: 1000px;
    }

    .cat-table-header__cell,
    .cat-record__cell {
        padding: 12px;
    }

    .cat-details-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

/* End of Clients list table css */

/* Pagination CSS Starts */

.cat-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.cat-pagination .cat-pagination__btn {
  
    padding: 2px 12px;
    border: 1px solid #d9e1ea;
    border-radius: 7px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    cursor: pointer;
}

.cat-pagination__btn:hover:not(:disabled),
.cat-pagination__btn.is-active {
    background: #1E99A0;
    border-color: #1E99A0;
    color: #ffffff;
}

.cat-pagination__btn:disabled,
.cat-pagination__btn.is-disabled {
    background: #f1f5f9;
    color: #cbd5e1;
    cursor: not-allowed;
}

.cat-pagination__dots {
    padding: 0 6px;
    color: #64748b;
}

.cat-pagination__info {
    margin-left: 12px;
    color: #64748b;
    font-size: 14px;
    white-space: nowrap;
}

/* End of Pagination CSS */

