#west {
    height: min-content;
}

/* Call List Dashboard Styles - Modern SaaS Redesign */

.call-list-dashboard {
    --cl-bg-light: #f8fafc;
    --cl-border-color: #cbd5e1;
    --cl-primary-color: #0d6efd;
    --cl-row-even: #ffffff;
    --cl-row-odd: #f8fafc;
    --cl-row-hover: #edf2f7;
    --cl-text-dark: #0f172a;
    --cl-text-muted: #64748b;

    max-width: 1750px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--cl-text-dark);
}

/* Scoped Button Text Color Overrides */
.call-list-dashboard .btn-primary,
.call-list-dashboard a.btn-primary,
.call-list-dashboard .btn-primary:hover,
.call-list-dashboard a.btn-primary:hover,
.call-list-dashboard .btn-primary:focus,
.call-list-dashboard a.btn-primary:focus,
.call-list-dashboard .btn-primary:active,
.call-list-dashboard a.btn-primary:active {
    color: #ffffff !important;
}

.call-list-dashboard .call-list-card {
    border: 1px solid var(--cl-border-color) !important;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    background-color: #ffffff;
    overflow: hidden;
}

/* Segmented Pill Tabs Navigation */
.call-list-dashboard .call-list-nav-pills {
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
}

.call-list-dashboard .call-list-nav-pills .nav-link.call-link {
    color: #475569;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 8px 16px;
    border: 1px solid transparent;
    transition: all 0.15s ease-in-out;
    background-color: transparent;
    cursor: pointer;
    outline: none !important;
}

.call-list-dashboard .call-list-nav-pills .nav-link.call-link:hover,
.call-list-dashboard .call-list-nav-pills .nav-link.call-link:focus,
.call-list-dashboard .call-list-nav-pills .nav-link.call-link:active,
.call-list-dashboard .call-list-nav-pills .nav-link.call-link:focus-visible {
    color: #0f172a;
    background-color: #e2e8f0;
    outline: none !important;
}

.call-list-dashboard .call-list-nav-pills .nav-link.call-link.active {
    color: #0d6efd !important;
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06) !important;
    outline: none !important;
}

.call-list-dashboard .tab-content > .call-list-tab-pane {
    opacity: 1 !important;
}

/* Control Bar & Search Input */
.call-list-dashboard .custom-search-wrap {
    position: relative;
    width: 220px;
}

.call-list-dashboard .custom-search-wrap .search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 1px;
    line-height: 1;
    pointer-events: none;
    font-size: 0.82rem;
    color: #94a3b8;
    z-index: 4;
}

.call-list-dashboard .custom-search-wrap input.customSearch {
    padding-left: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.875rem;
    background-color: #ffffff;
    font-family: inherit;
}

.call-list-dashboard .custom-search-wrap input.customSearch::placeholder {
    font-family: inherit;
    font-weight: normal;
    color: #94a3b8;
    opacity: 1;
}

.call-list-dashboard .custom-search-wrap input.customSearch:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.call-list-dashboard .caller-filter-btn,
.call-list-dashboard .call-visibility-btn {
    width: 32px;
    height: 31px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #475569;
    background-color: #ffffff;
    transition: all 0.15s ease-in-out;
}

.call-list-dashboard .caller-filter-btn:hover,
.call-list-dashboard .call-visibility-btn:hover {
    background-color: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

.call-list-dashboard .caller-filter-btn.active,
.call-list-dashboard .call-visibility-btn.active {
    background-color: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}

.call-list-dashboard .caller-filter-menu {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.call-list-dashboard .caller-checkbox-list::-webkit-scrollbar {
    width: 6px;
}

.call-list-dashboard .caller-checkbox-list::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 3px;
}

.call-list-dashboard .caller-mode-toggle .caller-mode-btn {
    font-size: 0.775rem;
    padding: 0.25rem 0.5rem;
    font-weight: 500;
    line-height: 1.35;
    transition: all 0.15s ease-in-out;
}

.call-list-dashboard .caller-mode-toggle .caller-mode-btn.btn-outline-secondary {
    border-color: #cbd5e1;
    color: #475569;
    background-color: #f8fafc;
}

.call-list-dashboard .caller-mode-toggle .caller-mode-btn.btn-outline-secondary:hover {
    background-color: #e2e8f0;
    color: #1e293b;
    border-color: #94a3b8;
}

.call-list-dashboard .caller-mode-toggle .caller-mode-btn.btn-primary.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(13, 110, 253, 0.25);
}

.call-list-dashboard .toggleHiddenCalls {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    background-color: #ffffff;
    transition: all 0.15s ease;
}

.call-list-dashboard .toggleHiddenCalls:hover,
.call-list-dashboard .toggleHiddenCalls:focus,
.call-list-dashboard .toggleHiddenCalls:active {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    box-shadow: 0 0 0 0.2rem rgba(148, 163, 184, 0.25) !important;
    outline: none !important;
}

/* Call Table Styling */
.call-list-dashboard .callTable {
    border-collapse: separate;
    border-spacing: 0;
    width: 100% !important;
    margin: 0 !important;
}

.call-list-dashboard .callTable thead th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    border-bottom: 2px solid #cbd5e1;
    border-top: none;
}

.call-list-dashboard .callTable tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
    color: #1e293b;
}

.call-list-dashboard .callTable tr.even td {
    background-color: #ffffff;
}

.call-list-dashboard .callTable tr.odd td {
    background-color: #f8fafc;
}

.call-list-dashboard .callTable tbody tr:hover td {
    background-color: var(--cl-row-hover) !important;
    cursor: pointer;
}

.call-list-dashboard .callTable tbody td.firstDataCol,
.call-list-dashboard .callTable thead th.firstDataCol {
    padding-left: 12px;
}

.call-list-dashboard .callTable tbody td.callbackCol,
.call-list-dashboard .callTable thead th.callbackCol {
    border-left: 1px solid #e2e8f0;
    padding-left: 14px;
}

.call-list-dashboard .callTable tbody td.leftListIcon,
.call-list-dashboard .callTable thead th.leftListIcon {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    text-align: center !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.call-list-dashboard .badge-col-header {
    display: inline-block;
    width: 24px;
    height: 1px;
    visibility: hidden;
    vertical-align: middle;
}

.call-list-dashboard .callTable th.statusBadgeCol,
.call-list-dashboard .callTable td.statusBadgeCol {
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    width: 110px;
}

.call-list-dashboard .callTable .rowLink {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    outline: none !important;
}

.call-list-dashboard .callTable .rowLink:hover,
.call-list-dashboard .callTable .rowLink:focus,
.call-list-dashboard .callTable .rowLink:active {
    color: #0d6efd;
    text-decoration: underline;
    outline: none !important;
}

/* Expanded Child Row & Drawer Styles */
.call-list-dashboard .callTable tr.shown td {
    background-color: #f1f5f9 !important;
}

.call-list-dashboard .callTable tr.dataTableChild > td {
    padding: 0 !important;
    background-color: #f8fafc !important;
    border-bottom: 2px solid #cbd5e1 !important;
    box-shadow: inset 4px 0 0 #3b82f6;
}

.call-list-dashboard .call-drawer-content {
    background-color: transparent;
}

.call-list-dashboard .drawer-call-generated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #64748b;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 3px 10px;
    border-radius: 6px;
    line-height: 1.3;
    white-space: nowrap;
}

.call-list-dashboard .drawer-call-generated i {
    font-size: 0.8rem;
    color: #94a3b8;
    position: relative;
    top: 1px;
}

.call-list-dashboard .drawer-call-generated .call-gen-val {
    color: #334155;
    font-weight: 600;
}

.call-list-dashboard .drawer-ongoing-call-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: #991b1b;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    padding: 3px 10px;
    border-radius: 6px;
    line-height: 1.3;
}

.call-list-dashboard .drawer-ongoing-call-info i {
    font-size: 0.8rem;
    color: #dc2626;
    position: relative;
    top: 0.5px;
}

.call-list-dashboard .drawer-ongoing-call-info .ongoing-val {
    color: #7f1d1d;
    font-weight: 600;
}

.call-list-dashboard .drawer-ongoing-call-info .ongoing-divider {
    color: #fca5a5;
    font-weight: 300;
}

/* Action Buttons in Table & Expanded Drawer */
.call-list-dashboard .drawer-action-btn {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.call-list-dashboard .startCallButton {
    background-color: #198754 !important;
    border: 1px solid #198754 !important;
    color: #ffffff !important;
}

.call-list-dashboard .startCallButton:hover,
.call-list-dashboard .startCallButton:focus,
.call-list-dashboard .startCallButton:active,
.call-list-dashboard .startCallButton:focus-visible {
    background-color: #157347 !important;
    border-color: #146c43 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(25, 135, 84, 0.35) !important;
    outline: none !important;
}

.call-list-dashboard .startCallButton:hover i,
.call-list-dashboard .startCallButton:focus i,
.call-list-dashboard .startCallButton:active i {
    color: #ffffff !important;
}

.call-list-dashboard .endCallButton {
    background-color: #dc3545 !important;
    border: 1px solid #dc3545 !important;
    color: #ffffff !important;
}

.call-list-dashboard .endCallButton:hover,
.call-list-dashboard .endCallButton:focus,
.call-list-dashboard .endCallButton:active,
.call-list-dashboard .endCallButton:focus-visible {
    background-color: #bb2d3b !important;
    border-color: #b02a37 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.35) !important;
    outline: none !important;
}

.call-list-dashboard .endCallButton:hover i,
.call-list-dashboard .endCallButton:focus i,
.call-list-dashboard .endCallButton:active i {
    color: #ffffff !important;
}

.call-list-dashboard .noCallsButton {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px;
    font-size: 0.8125rem;
    color: #475569 !important;
    background-color: #ffffff !important;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none !important;
    box-shadow: none;
}

.call-list-dashboard .noCallsButton:hover,
.call-list-dashboard .noCallsButton:focus,
.call-list-dashboard .noCallsButton:active,
.call-list-dashboard .noCallsButton:focus-visible {
    background-color: #f97316 !important;
    border-color: #f97316 !important;
    color: #ffffff !important;
    text-decoration: none;
    outline: none !important;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.35) !important;
}

.call-list-dashboard .noCallsButton:hover i,
.call-list-dashboard .noCallsButton:focus i,
.call-list-dashboard .noCallsButton:active i {
    color: #ffffff !important;
}

/* Button Bouncing Ball Loader (No slider track, no text) */
.call-list-dashboard .btn-bounce-ball-stage {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 38px;
    height: 14px;
    margin: 0 auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    overflow: visible;
}

.call-list-dashboard .btn-bounce-ball {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    position: absolute;
    top: 3px;
    left: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    animation: ballBounceLeftRight 0.65s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

@keyframes ballBounceLeftRight {
    0% {
        transform: translateX(0) scale(0.88, 1.12);
    }
    12% {
        transform: translateX(3px) scale(1, 1);
    }
    50% {
        transform: translateX(15px) scale(1.12, 0.9);
    }
    88% {
        transform: translateX(27px) scale(1, 1);
    }
    100% {
        transform: translateX(30px) scale(0.88, 1.12);
    }
}

.call-list-dashboard .btn-loading {
    cursor: wait !important;
    pointer-events: none !important;
    opacity: 0.92;
    justify-content: center !important;
}

/* Status Badges in Column 0 */
.call-list-dashboard .badge-icon-cell {
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    line-height: 1;
    box-sizing: border-box;
}

.call-list-dashboard .badge-call-ongoing {
    background-color: #dc3545 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    box-shadow: 0 1px 3px rgba(220, 53, 69, 0.4) !important;
    flex-shrink: 0;
}

.call-list-dashboard .badge-call-ongoing i {
    color: #ffffff !important;
}

.call-list-dashboard .badge-multi-tab {
    color: #475569 !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.call-list-dashboard .callback-msg-badge {
    color: #dc3545 !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.call-list-dashboard .notes-icon-badge {
    color: #0d6efd !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Toolbar Call Visibility & Toggle Hidden Calls Buttons */
.call-list-dashboard .toggle-hidden-calls-btn,
.call-list-dashboard .call-visibility-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    color: #475569 !important;
    background-color: #ffffff !important;
    font-size: 0.875rem;
    transition: all 0.15s ease-in-out;
    outline: none !important;
    box-shadow: none !important;
}

.call-list-dashboard .toggle-hidden-calls-btn:hover:not(:disabled),
.call-list-dashboard .toggle-hidden-calls-btn:focus:not(:disabled),
.call-list-dashboard .toggle-hidden-calls-btn:active:not(:disabled),
.call-list-dashboard .toggle-hidden-calls-btn:focus-visible:not(:disabled),
.call-list-dashboard .call-visibility-btn:hover:not(:disabled),
.call-list-dashboard .call-visibility-btn:focus:not(:disabled),
.call-list-dashboard .call-visibility-btn:active:not(:disabled),
.call-list-dashboard .call-visibility-btn:focus-visible:not(:disabled),
.call-list-dashboard .call-visibility-btn.active:not(:disabled) {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(148, 163, 184, 0.25) !important;
}

.call-list-dashboard .toggle-hidden-calls-btn:hover:not(:disabled) i,
.call-list-dashboard .toggle-hidden-calls-btn:focus:not(:disabled) i,
.call-list-dashboard .toggle-hidden-calls-btn:active:not(:disabled) i,
.call-list-dashboard .toggle-hidden-calls-btn:focus-visible:not(:disabled) i,
.call-list-dashboard .call-visibility-btn:hover:not(:disabled) i,
.call-list-dashboard .call-visibility-btn:focus:not(:disabled) i,
.call-list-dashboard .call-visibility-btn:active:not(:disabled) i,
.call-list-dashboard .call-visibility-btn:focus-visible:not(:disabled) i,
.call-list-dashboard .call-visibility-btn.active:not(:disabled) i {
    color: #0f172a !important;
}

/* Empty State Refresh Button */
.call-list-dashboard .empty-refresh-btn {
    border: 1px solid #0d6efd !important;
    color: #0d6efd !important;
    background-color: #ffffff !important;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
    outline: none !important;
    box-shadow: none;
}

.call-list-dashboard .empty-refresh-btn:hover,
.call-list-dashboard .empty-refresh-btn:focus,
.call-list-dashboard .empty-refresh-btn:active,
.call-list-dashboard .empty-refresh-btn:focus-visible,
.call-list-dashboard .empty-refresh-btn:hover:focus {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 2px 5px rgba(13, 110, 253, 0.3) !important;
}

.call-list-dashboard .empty-refresh-btn:hover i,
.call-list-dashboard .empty-refresh-btn:focus i,
.call-list-dashboard .empty-refresh-btn:active i,
.call-list-dashboard .empty-refresh-btn:focus-visible i {
    color: #ffffff !important;
}

/* Child Row Inset Drawer */
.call-list-dashboard .dataTableChild {
    background-color: #f8fafc !important;
    padding: 12px 16px !important;
    border-left: 4px solid #0d6efd;
    border-bottom: 1px solid #cbd5e1;
}

.call-list-dashboard .dataTableChild .dtChildData {
    font-size: 0.875rem;
    color: #334155;
}

/* DataTables Controls & Pagination */
.call-list-dashboard .dataTables_wrapper {
    padding: 0;
}

.call-list-dashboard .dataTables_footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    min-height: 52px;
}

.call-list-dashboard .dataTables_info_wrapper {
    min-height: 38px;
}

.call-list-dashboard .dataTables_wrapper .dataTables_info {
    padding: 6px 0;
    font-size: 0.85rem;
    color: #64748b;
}

.call-list-dashboard .call-len-box {
    border-color: #cbd5e1 !important;
}

.call-list-dashboard .custom-page-len-input {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #334155;
    font-weight: 500;
    background-color: #ffffff;
    padding: 2px 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.call-list-dashboard .custom-page-len-input:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.2);
}

.call-list-dashboard .dataTables_wrapper .dataTables_paginate {
    padding: 6px 0;
}

.call-list-dashboard .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #334155 !important;
    margin: 0 2px;
}

.call-list-dashboard .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current) {
    color: #0d6efd !important;
    background: #eff6ff !important;
    border-color: #93c5fd !important;
}

.call-list-dashboard .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.call-list-dashboard .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #0d6efd !important;
    color: #ffffff !important;
    border-color: #0d6efd !important;
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.25) !important;
}

/* Universal Scoped Button & Link Overrides - Neutralize REDCap global hover outline (button:hover, a:hover { outline: 1px solid #4ca2ff; }) and browser focus rings */
.call-list-dashboard button,
.call-list-dashboard button:hover,
.call-list-dashboard button:focus,
.call-list-dashboard button:active,
.call-list-dashboard button:focus-visible,
.call-list-dashboard .btn,
.call-list-dashboard .btn:hover,
.call-list-dashboard .btn:focus,
.call-list-dashboard .btn:active,
.call-list-dashboard .btn:focus-visible,
.call-list-dashboard .btn:hover:focus,
.call-list-dashboard .btn:active:focus {
    outline: none !important;
}

.call-list-dashboard .dataTables_wrapper .dataTables_paginate .paginate_button,
.call-list-dashboard .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.call-list-dashboard .dataTables_wrapper .dataTables_paginate .paginate_button:focus,
.call-list-dashboard .dataTables_wrapper .dataTables_paginate .paginate_button:active {
    outline: none !important;
}

/* Loading & Empty State Placeholders */
.call-list-dashboard .call-list-loading-placeholder,
.call-list-dashboard .call-list-empty-placeholder {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.call-list-dashboard .placeholder-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Call List Bottom Footer */
.call-list-dashboard .call-list-footer {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-radius: 0 0 10px 10px;
    font-size: 0.8125rem;
    color: #64748b;
    padding-left: 14px !important;
    padding-right: 14px !important;
    user-select: none;
}

.call-list-dashboard .call-list-footer .last-pull-icon {
    position: relative;
    top: 1.5px;
    font-size: 0.85rem;
}

.call-list-dashboard .call-list-footer .last-pull-time {
    color: #1e293b;
    font-weight: 600;
}

.call-list-dashboard .call-list-footer .btn-link {
    color: #64748b !important;
    font-size: 0.8125rem !important;
    font-weight: 500;
    transition: color 0.15s ease;
}

.call-list-dashboard .call-list-footer .btn-link:hover {
    color: #2563eb !important;
}

[x-cloak] {
    display: none !important;
}

/* Column Reordering and Customization */
.callTable.columns-unlocked thead th {
    cursor: grab !important;
    position: relative;
    user-select: none;
    background-color: #f8fafc;
}

.callTable.columns-unlocked thead th:hover {
    background-color: #e2e8f0;
}

.callTable.columns-unlocked thead th:active {
    cursor: grabbing !important;
}

.callTable.columns-unlocked thead th.leftListIcon {
    cursor: default !important;
}

div.DTCR_pointer {
    width: 2px !important;
    background-color: #0d6efd !important;
    box-shadow: 0 0 6px rgba(13, 110, 253, 0.6) !important;
    z-index: 10000 !important;
}

table.DTCR_clonedTable.dataTable {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
    opacity: 0.9 !important;
    z-index: 10001 !important;
}

.columns-unlocked-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fefce8;
    border-color: #fef08a !important;
    color: #854d0e;
    font-size: 0.8125rem;
}

.columns-unlocked-banner[style*="display: none"] {
    display: none !important;
}

.columns-unlocked-banner .btn {
    font-size: 0.75rem;
    line-height: 1.4;
    border-color: #ca8a04;
    color: #854d0e;
}

.columns-unlocked-banner .btn:hover {
    background-color: #ca8a04;
    color: #ffffff !important;
}

/* Column Header Context Menu */
.call-header-context-menu {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    min-width: 230px;
    padding: 6px 0;
    font-size: 0.84rem;
}

.call-header-context-menu .dropdown-item {
    padding: 6px 14px;
    color: #334155;
    display: flex;
    align-items: center;
    transition: background 0.1s ease;
    cursor: pointer;
}

.call-header-context-menu .dropdown-item:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.call-header-context-menu .dropdown-item.disabled {
    color: #94a3b8 !important;
    background-color: transparent !important;
    pointer-events: none;
    cursor: default;
}

.call-header-context-menu .dropdown-submenu {
    position: relative;
}

.call-header-context-menu .dropdown-submenu > .dropdown-toggle::after {
    display: inline-block;
    margin-left: auto;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
}

.call-header-context-menu .dropdown-submenu .submenu-popup {
    display: none;
    position: absolute;
    top: -6px;
    left: 100%;
    min-width: 200px;
    max-height: 280px;
    overflow-y: auto;
}

.call-header-context-menu .dropdown-divider {
    border-top: 1px solid #e2e8f0;
    margin: 4px 0;
}

/* Call History & Notes Table in Drawer */
.call-list-dashboard .call-history-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.call-list-dashboard .call-history-table {
    margin-bottom: 0;
    font-size: 0.8125rem;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.call-list-dashboard .call-history-table thead th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #cbd5e1;
    padding: 8px 12px;
    white-space: nowrap;
}

.call-list-dashboard .call-history-table tbody tr.call-history-row {
    transition: background-color 0.12s ease;
}

.call-list-dashboard .call-history-table tbody tr.call-history-row:hover {
    background-color: #f1f5f9;
}

.call-list-dashboard .call-history-table td {
    padding: 10px 12px;
    vertical-align: top !important;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
}

.call-list-dashboard .call-history-table tbody tr.call-history-row:last-child td {
    border-bottom: none;
}

.call-list-dashboard .call-history-date-cell {
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
}

.call-list-dashboard .call-history-time-cell {
    color: #64748b;
    white-space: nowrap;
}

.call-list-dashboard .call-history-user-cell {
    font-weight: 500;
    color: #334155;
    white-space: nowrap;
}

.call-list-dashboard .call-history-outcome-cell {
    white-space: nowrap;
}

.call-list-dashboard .call-history-note-text {
    color: #1e293b;
    text-align: left;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
    font-size: 0.8125rem;
}