/* Mix7 shared interface. Customer-facing widget themes are intentionally excluded. */
body.crm-light {
    --green: #25d366;
    --green-dark: #1fbf59;
    --green-ink: #075e31;
    --green-soft: #e6f7ef;
    --chart-green: #25d366;
    --chart-blue: #2784d5;
    --chart-orange: #eb652b;
    --chart-purple: #9163d8;
    color-scheme: light;
}
.crm-light .content-page > .content > .container-fluid { max-width: 1600px; padding: 0; margin-inline: auto; }
.crm-light .navbar-custom > .container-fluid { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.crm-light ul.list-unstyled.topnav-menu.topnav-menu-left.m-0 { display: flex; align-items: center; justify-content: flex-start; min-width: 0; flex: 1; }
.crm-light .topnav-menu-left > li:last-child { min-width: 0; }
.crm-light .dashboard-breadcrumb { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-light .navbar-custom .topnav-menu .nav-link { white-space: nowrap; }
.crm-light .content-page .text-primary { color: var(--green-ink) !important; }
.crm-light .text-success { color: #087949 !important; }
.crm-light .text-danger, .crm-light .text-pink { color: #ba3345 !important; }
.crm-light .text-info { color: #146b9b !important; }
.crm-light .text-warning { color: #95601b !important; }
.crm-light hr { border-color: var(--line); margin-block: 28px; }
.crm-light .card .card, .crm-light .card-dark { background: #f7faf9; border: 1px solid var(--line); box-shadow: none; }
.crm-light .card-header, .crm-light .card-footer { background: #f7faf9; border-color: var(--line); color: var(--ink); padding: 22px 28px; }
.crm-light .card-header:first-child { border-radius: 24px 24px 0 0; }
.crm-light .card-footer:last-child { border-radius: 0 0 24px 24px; }
.crm-light .border, .crm-light .border-primary { border-color: #d8e6e0 !important; }
.crm-light .btn-primary, .crm-light .btn-success { background: var(--green); border-color: var(--green); color: #103a25; box-shadow: none; }
.crm-light .btn-primary:hover, .crm-light .btn-success:hover { background: var(--green-dark); border-color: var(--green-dark); color: #103a25; box-shadow: 0 5px 15px #25d36624; }
.crm-light .btn-primary:focus, .crm-light .btn-success:focus { box-shadow: 0 0 0 3px #25d36655; }
.crm-light .btn-primary:disabled, .crm-light .btn-success:disabled { background: #e1e8e5; border-color: #d1dcd7; color: #536b61; opacity: 1; cursor: not-allowed; }
.crm-light .btn-info { background: #e8f3fc; border-color: #bbd7ee; color: #176193; box-shadow: none; }
.crm-light .btn-warning { background: #fff3dd; border-color: #f0d196; color: #815017; box-shadow: none; }
.crm-light .btn-secondary, .crm-light .btn-dark { background: #edf1f3; border-color: #d4dfe3; color: #3e5662; box-shadow: none; }
.crm-light .btn-light:hover, .crm-light .btn-light:focus,
.crm-light .btn-outline-primary:hover, .crm-light .btn-outline-secondary:hover,
.crm-light .responsive-table-plugin .btn-default:hover { background: var(--green-soft) !important; color: #066347; border-color: #a1d8bf; }
.crm-light .btn-outline-primary { color: #007355; border-color: #a7cbbd; }
.crm-light .btn-danger:hover, .crm-light .btn-outline-danger:hover { background: #a92f35; color: #fff; border-color: #a92f35; }
.crm-light .btn-icon { min-width: 44px; }
.crm-light .btn > i + span { margin-left: 8px; }
.crm-light .badge { padding: 6px 10px; border-radius: 7px; font-size: 13px; line-height: 1.4; }
.crm-light .badge-success { background: #e0f6eb; color: #096140; }
.crm-light .badge-info, .crm-light .badge-primary { background: #e7f2f7; color: #24546e; }
.crm-light .badge-warning { background: #fff0d0; color: #825512; }
.crm-light .badge-dark, .crm-light .badge-secondary { background: #e9edef; color: #50626b; }
.crm-light .badge-danger { background: #ffebeb; color: #ae2c3e; }

/* The existing Bootstrap, table and picker plugins keep their behavior. */
.crm-light label { line-height: 1.5; }
.crm-light .form-control, .crm-light .custom-select { height: auto; min-height: 48px; color: var(--ink); background-color: #f8faf9; border: 1px solid #cbd8d2; font-size: 16px; border-radius: 10px; }
.crm-light .form-control:focus, .crm-light .custom-select:focus { background: #fff; color: var(--ink); border-color: var(--green); box-shadow: 0 0 0 3px #25d36630; }
.crm-light select.form-control option { color: #20352e; background: #fff; }
.crm-light textarea.form-control { min-height: 110px; }
.crm-light input[type=color].form-control { height: 48px; padding: 6px; }
.crm-light input[type=file] { max-width: 100%; font-size: 14px; }
.crm-light input[type=file]::file-selector-button { color: #096044; background: #e7f4ed; border: 1px solid #aacfbf; border-radius: 8px; padding: 10px 14px; margin-right: 12px; cursor: pointer; }
.crm-light .form-control:disabled, .crm-light .form-control[readonly] { color: #64726c; background: #edf1ef; opacity: 1; }
.crm-light .form-control.is-invalid { border-color: #c8434d; }
.crm-light .invalid-feedback { color: #ae2937; font-size: 14px; margin-top: 8px; }
.crm-light .input-group-text { background: #ecf3ef; border-color: #cbd8d2; color: #476157; border-radius: 10px; }
.crm-light .input-group { flex-wrap: nowrap; }
.crm-light .input-group > .form-control { min-width: 0; }
.crm-light .input-group > .btn:last-child { border-radius: 0 10px 10px 0; }
.crm-light .bootstrap-select.form-control { padding: 0; border: 0; background: transparent; }
.crm-light .bootstrap-select > .dropdown-toggle { min-height: 48px; padding: 12px 16px; border: 1px solid #cbd8d2; background: #f8faf9; color: var(--ink) !important; box-shadow: none; }
.crm-light .bootstrap-select .filter-option-inner-inner { font-size: 16px; line-height: 1.5; }
.crm-light .bootstrap-select .dropdown-menu { max-width: min(100vw - 40px, 100%); }
.crm-light .dropdown-item.active, .crm-light .dropdown-item:active,
.crm-light .bootstrap-select.show-tick .dropdown-menu .inner ul li.selected { background: #e3f5ed; color: #05674a; }
.crm-light .bootstrap-select .no-results { background: #f3f6f4; color: var(--muted); }
.crm-light .custom-control { min-height: 28px; padding-left: 30px; }
.crm-light .custom-control-label { cursor: pointer; }
.crm-light .custom-control-label::before, .crm-light .custom-control-label::after { width: 20px; height: 20px; left: -30px; top: .16em; }
.crm-light .custom-control-label::before { border: 1px solid #8fa99c; background-color: #fff; }
.crm-light .custom-control-input:checked ~ .custom-control-label::before,
.crm-light .custom-control-input:indeterminate ~ .custom-control-label::before { background-color: var(--green-dark); border-color: var(--green-dark); }
.crm-light .custom-control-input:disabled ~ .custom-control-label::before { background: #e6ece8; border-color: #cad5cf; }
.crm-light .custom-control-input:focus ~ .custom-control-label::before { box-shadow: 0 0 0 3px #25d36655; }
.crm-light input[type=checkbox], .crm-light input[type=radio] { accent-color: var(--green-dark); }
.crm-light .navtab-bg { background: #f0f5f2; border: 1px solid #dde7e1; padding: 6px; border-radius: 15px; gap: 6px; }
.crm-light .navtab-bg.pull-in { margin-inline: 0; }
.crm-light .nav-pills .nav-link, .crm-light .nav-tabs .nav-link { padding: 14px 18px; border-radius: 10px; font-size: 15px; color: #4c6258; }
.crm-light .nav-pills .nav-link.active, .crm-light .nav-pills .show > .nav-link { background: var(--green); color: #103a25; box-shadow: 0 4px 12px #25d36624; }
.crm-light .nav-tabs { border-color: var(--line); }
.crm-light .nav-tabs .nav-link.active { background: #fff; color: #006c4c; border-color: var(--line); }
.crm-light .list-group-item { background: #fff; border-color: var(--line); color: var(--ink); padding: 18px 22px; }
.crm-light .page-link { background: #fff; color: #326350; border-color: #d7e3dc; padding: 12px 16px; min-width: 44px; text-align: center; }
.crm-light .page-item.active .page-link { background: var(--green); border-color: var(--green); color: #103a25; }
.crm-light .page-item.disabled .page-link { background: #f2f5f3; border-color: #dce5df; color: #7c8a82; }
.crm-light .pagination { gap: 5px; flex-wrap: wrap; margin-block: 24px 0; }
.crm-light .page-link, .crm-light .page-item:first-child .page-link, .crm-light .page-item:last-child .page-link { border-radius: 9px; }
.crm-light .table tbody th { background: transparent; font-size: 15px; }
.crm-light .table thead th { font-size: 14px; }
.crm-light .table a:not(.btn) { color: #006c50; font-weight: 600; }
.crm-light .table tbody tr:hover { background: #f0f8f3; }
.crm-light .table .btn { margin: 3px 2px; font-size: 14px; padding: 10px 12px; }
.crm-light .table .custom-control { min-height: 24px; }
.crm-light .table-wrapper .btn-toolbar { gap: 8px; flex-wrap: wrap; }
.crm-light .table-wrapper .dropdown-menu li { padding: 8px 12px; }
.crm-light .table-wrapper .dropdown-menu li input { margin-right: 8px; }
.crm-light .table-responsive { scrollbar-color: #a3b8ad #f0f4f2; }

/* Companies: filters and confirmations use the same accessible light controls. */
.crm-light #companyManagementPage .company-bulk-controls { background: #f4f9f6; border-color: #d7e8de !important; box-shadow: none; }
.crm-light #companyManagementPage .company-bulk-controls label { color: #40594d; font-weight: 600; font-size: 14px; }
.crm-light #companyManagementPage .company-bulk-controls .form-control { background: #fff !important; color: var(--ink) !important; border-color: #bfd2c7 !important; }
.crm-light #companyManagementPage .custom-checkbox .custom-control-label::before { border: 1px solid #789e8a; }
.crm-light #companyManagementPage .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before { background: var(--green-dark); border-color: var(--green-dark); }
.crm-light #companyManagementPage .company-status-button { border-radius: 10px; min-width: 118px; font-size: 14px; font-weight: 600; }
.crm-light #companyManagementPage .company-status-button.btn-success { background: #e0f6ea; color: #076c43; border-color: #a5d8bd; }
.crm-light #companyManagementPage .company-status-button.btn-warning { background: #fff2da; color: #84581d; border-color: #edd09b; }
.crm-light .modal-content, .crm-light .swal2-popup { background: #fff; color: var(--ink); border: 1px solid #e1e9e4; border-radius: 24px; box-shadow: 0 22px 80px #17352b33; }
.crm-light .modal-header, .crm-light .modal-footer { border-color: var(--line); padding: 24px; gap: 10px; }
.crm-light .modal-body { padding: 26px; font-size: 16px; }
.crm-light .close { color: #486157; text-shadow: none; opacity: .8; }
.crm-light .swal2-popup { padding: 32px; font-size: 16px; }
.crm-light .swal2-title { color: var(--ink); font-size: 25px; line-height: 1.3; }
.crm-light .swal2-content, .crm-light .swal2-html-container { color: #536b60; font-size: 17px; line-height: 1.65; }
.crm-light .swal2-actions { gap: 12px; }
.crm-light .swal2-popup .swal2-actions .swal2-styled { border-radius: 12px; padding: 14px 20px; font-size: 16px; min-height: 48px; margin: 0; }
.crm-light .swal2-styled.swal2-cancel { background: #edf2ef !important; color: #40574b; }
.crm-light .alert { padding: 20px 24px; border-radius: 14px; font-size: 16px; line-height: 1.6; }
.crm-light .alert-success, .crm-light .jq-icon-success { background-color: #e5f7ed; color: #14623c; border: 1px solid #b4dfc8; }
.crm-light .alert-danger, .crm-light .jq-icon-error { background-color: #fff0ef; color: #9e3039; border: 1px solid #efc4c3; }
.crm-light .alert-warning, .crm-light .jq-icon-warning { background-color: #fff5de; color: #7d571c; border: 1px solid #e9d29c; }
.crm-light .alert-info, .crm-light .jq-icon-info { background-color: #eaf4fc; color: #285b80; border: 1px solid #bbd9ed; }
.crm-light .jq-toast-single { border-radius: 14px; font-size: 15px; line-height: 1.6; padding-block: 18px; box-shadow: none; }
.crm-light #companyManagementPage .company-feedback .close { color: inherit; }
.crm-light .jq-toast-single .close-jq-toast-single { color: inherit; font-size: 22px; }
.crm-light .datepicker, .crm-light .daterangepicker, .crm-light .daterangepicker .calendar-table { background: #fff !important; color: var(--ink); border-color: #d6e2db; border-radius: 12px; }
.crm-light .datepicker { padding: 16px; }
.crm-light .datepicker table tr td, .crm-light .datepicker table tr th { padding: 9px; }
.crm-light .datepicker table tr td.day:hover, .crm-light .datepicker table tr td span:hover,
.crm-light .datepicker table tr td span.focused, .crm-light .daterangepicker td.available:hover { background: #e8f6ee !important; color: #07573d; }
.crm-light .datepicker table tr td.active, .crm-light .datepicker table tr td.active:hover,
.crm-light .daterangepicker td.active, .crm-light .daterangepicker td.active:hover { background: var(--green) !important; color: #103a25; }
.crm-light .daterangepicker td.off { background: #f8faf9 !important; color: #7c8982 !important; }
.crm-light .note-editor.note-frame { border-color: #cedbd4; border-radius: 12px; overflow: hidden; }
.crm-light .note-editor .note-toolbar, .crm-light .note-editor .note-statusbar { background: #f1f6f3; border-color: #dce6df; }
.crm-light .note-editor.note-frame .note-editable { background: #fff !important; color: var(--ink); font-size: 16px; padding: 20px; }
.crm-light .note-editor .note-btn { background: #fff; border-color: #cfdcd4; color: #345044; border-radius: 7px; padding: 9px; }

/* Roomier forms and secondary pages, without changing dashboard/report layouts. */
.workspace-screen .content .card-body { padding: 32px; }
.workspace-screen .content .card-body .card-body { padding: 24px; }
.workspace-screen .header-title { font-size: clamp(24px, 2vw, 30px); margin-bottom: 14px; }
.workspace-screen .sub-header { font-size: 16px; line-height: 1.6; margin-bottom: 28px; }
.workspace-screen .form-group { margin-bottom: 24px; }
.workspace-screen .dataTables_filter { text-align: left !important; }
.workspace-screen .form-group > label, .workspace-screen .col-form-label { font-size: 15px; font-weight: 600; color: #42594e; }
.workspace-screen .custom-control-label { font-size: 15px; }
.workspace-screen .card-body > .row:has(> .col-4:empty) { justify-content: center; }
.workspace-screen .card-body > .row:has(> .col-4:empty) > .col-4:empty { display: none; }
.workspace-screen .card-body > .row:has(> .col-4:empty) > .col-lg-4 { flex: 0 1 560px; max-width: 100%; padding-block: 18px; }
.workspace-screen .card-body > .row > .col-lg-4 > h4.text-danger { color: #385b48 !important; font-size: 22px; margin-bottom: 20px; }
.workspace-screen small, .workspace-screen .small { font-size: 14px; line-height: 1.6; }
.workspace-screen .tab-content { padding: 30px 0 0; }
.workspace-screen .tab-content h5 { font-size: 15px; margin-bottom: 12px; }
.workspace-screen .tab-pane p, .workspace-screen .tab-pane .row > div { overflow-wrap: anywhere; }
.workspace-screen .tab-pane > .row > div { margin-bottom: 20px; }
.workspace-screen .content p.text-center:has(> img) { background: #213b45; border-radius: 16px; padding: 24px; min-height: 100px; display: flex; align-items: center; justify-content: center; }
.workspace-screen .content p.text-center > img { max-width: 100%; height: auto; }
.workspace-screen img[id$="-img-default"] { max-width: 100%; height: auto; padding: 16px; background: #213b45; border-radius: 12px; }
.workspace-screen .content .card-body > .row:first-child { row-gap: 20px; }
.workspace-screen .export-form > .row { column-gap: 16px; margin-inline: 0; }
.workspace-screen .export-form > .row > #dates,
.workspace-screen .export-form > .row > #data,
.workspace-screen .export-form > .row > #fields { flex: 0 0 calc((100% - 32px) / 3); max-width: calc((100% - 32px) / 3); padding: 24px; border: 1px solid #dfebe4; background: #f6faf7; border-radius: 16px; margin-bottom: 24px; }
.workspace-screen .export-form .custom-control { margin-block: 14px; }

/* Builder editor only: never overwrite .wa-preview-head or visitor field colors. */
.crm-light #whatsappWidgetBuilder .wa-field-card { background: #fff; border-color: #d6e5dd; border-radius: 16px; padding: 22px; margin-bottom: 18px; }
.crm-light #whatsappWidgetBuilder .wa-field-head { gap: 10px; margin-bottom: 22px; }
.crm-light #whatsappWidgetBuilder .wa-field-controls { gap: 18px; }
.crm-light #whatsappWidgetBuilder .wa-type-button { background: #fff; color: #264737; border-color: #c8dfd2; padding: 16px 14px 16px 42px; border-radius: 13px; }
.crm-light #whatsappWidgetBuilder .wa-type-button:hover { background: #eaf8f0; border-color: var(--green); }
.crm-light #whatsappWidgetBuilder .wa-type-button:focus-visible { outline-color: var(--green-dark); }
.crm-light #whatsappWidgetBuilder .wa-type-button strong { font-size: 15px; }
.crm-light #whatsappWidgetBuilder .wa-type-button small,
.crm-light #whatsappWidgetBuilder .wa-editor-help, .crm-light #whatsappWidgetBuilder .wa-field-help,
.crm-light #whatsappWidgetBuilder .wa-fields-caption, .crm-light #whatsappWidgetBuilder .wa-field-type { color: #587065; font-size: 14px; }
.crm-light #whatsappWidgetBuilder .wa-type-icon, .crm-light #whatsappWidgetBuilder .wa-drag { color: var(--green-ink); }
.crm-light #whatsappWidgetBuilder .wa-required-label { color: #314b3f; }
.crm-light #whatsappWidgetBuilder .wa-small-button { background: #eef6f1; color: #226045; border-color: #bcd5c7; border-radius: 8px; min-height: 36px; min-width: 36px; }
.crm-light #whatsappWidgetBuilder .wa-option-row { gap: 10px; margin-bottom: 12px; }
.crm-light #whatsappWidgetBuilder .wa-config-error { color: #b33340; font-size: 14px; }
.crm-light #whatsappWidgetBuilder .wa-field-card.is-invalid { border-color: #ce5761; }
.crm-light #whatsappWidgetBuilder .wa-preview-caption { color: #203e30; font-size: 17px; margin-bottom: 16px; }
.crm-light #whatsappWidgetBuilder .wa-preview-caption span { color: #60746a; font-size: 14px; }
.crm-light #whatsappWidgetBuilder .wa-preview-shell { box-shadow: 0 12px 32px #1438271a; }
.crm-light #whatsappWidgetBuilder .wa-avatar-picker { border: 0; min-width: 0; margin: 6px 0 0; padding: 0; }
.crm-light #whatsappWidgetBuilder .wa-avatar-picker legend { font-size: 17px; font-weight: 600; color: #244a35; margin-bottom: 6px; }
.crm-light #whatsappWidgetBuilder .wa-avatar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.crm-light #whatsappWidgetBuilder .wa-avatar-option { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 106px; padding: 14px 6px; border: 2px solid #d7e6dc; border-radius: 14px; background: #fff; cursor: pointer; }
.crm-light #whatsappWidgetBuilder .wa-avatar-option:has(input:checked) { border-color: var(--green); background: #edfaf2; box-shadow: 0 0 0 2px #25d36640; }
.crm-light #whatsappWidgetBuilder .wa-avatar-option:focus-within { outline: 3px solid #1965a4; outline-offset: 2px; }
.crm-light #whatsappWidgetBuilder .wa-avatar-option:hover { border-color: var(--green); }
.crm-light #whatsappWidgetBuilder .wa-avatar-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.crm-light #whatsappWidgetBuilder .wa-avatar-option img { display: block; width: 82px; height: 82px; object-fit: cover; border-radius: 50%; }
.crm-light #whatsappWidgetBuilder .wa-avatar-reset { min-height: 44px; }
.crm-light #whatsappWidgetBuilder .wa-avatar-upload { border-top: 1px solid #d7e6dc; padding-top: 18px; }
.crm-light #whatsappWidgetBuilder .wa-avatar-upload.is-selected { border-color: var(--green); }
@media(max-width:575px) { .crm-light #whatsappWidgetBuilder .wa-avatar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.crm-light .wa-platform-button, .crm-light .wa-method-card { background: #f7faf8; color: #3a5849; border-color: #cfe1d6; border-radius: 14px; padding: 20px; }
.crm-light .wa-platform-button strong { color: #244a35; }
.crm-light .wa-platform-button.active { background: #e6f7ed; border-color: var(--green); box-shadow: 0 0 0 2px #25d36630; }
.crm-light .wa-install-panel { background: #f0f8f3; color: #345443; border-left-color: var(--green); padding: 24px; }
.crm-light .wa-step-list li:before, .crm-light .wa-help { background: #d1f1e1; color: #075d40; }
.crm-light .wa-script-box { background: #f4f7f5; color: #315447; border-color: #d3e1d9; padding: 20px; border-radius: 12px; font-size: 14px; line-height: 1.7; }

/* A consistent, vivid palette for the same metrics on every surface. */
.crm-light .dot-whatsapp { background: var(--chart-green); }
.crm-light .dot-phone { background: var(--chart-blue); }
.crm-light .dot-email { background: var(--chart-orange); }
.crm-light .dot-petrol { background: var(--chart-blue); }
.crm-light .dot-sky { background: var(--chart-purple); }
.crm-light .report-channel-whatsapp .report-channel-icon { background: #d8f6e7; color: #007a4e; }
.crm-light .dashboard-goal-insight { background: #edfaf2; border-color: #c6ead5; }
.crm-light .dashboard-goal-actions .btn, .crm-light .dashboard-switch input:checked + .dashboard-switch-slider { background: var(--green); border-color: var(--green); color: #103a25; }

/* Access pages: white card, calm backdrop, logo used as a circular avatar. */
.crm-light .auth-fluid { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 48px 20px; background: radial-gradient(ellipse at 10% 10%, #d9f5e8, transparent 48%), radial-gradient(ellipse at 90% 85%, #dceef5, transparent 45%), #f5f7f5 !important; }
.crm-light .auth-fluid .auth-fluid-form-box { flex: 0 1 520px; width: 100%; min-height: auto; padding: 16px; background: #fff; border: 1px solid #e6ece8; border-radius: 28px; box-shadow: 0 25px 75px #26473914; }
.crm-light .auth-fluid .card-body { padding: 32px; }
.crm-light .auth-brand { position: static; margin: 0 0 24px; }
.crm-light .auth-logo img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; box-shadow: 0 7px 20px #193c3220; }
.crm-light .auth-fluid h4 { font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1.3; }
.crm-light .auth-fluid .form-group { margin-bottom: 24px; }
.crm-light .auth-fluid .form-control { min-height: 52px; }
.crm-light .auth-fluid .btn-block { min-height: 52px; }
.crm-light .auth-fluid .footer { position: static; padding: 24px 0 0; margin-top: 32px; background: transparent; text-align: center; font-size: 13px; }
.crm-light .auth-fluid .footer .container-fluid { padding: 0; }
.crm-light .auth-fluid .footer .row { justify-content: center; }
.crm-light .auth-fluid .footer [class*=col-] { flex: 0 0 100%; max-width: 100%; }
body.crm-light#endpoints { background: var(--canvas); color: var(--ink); }
body.crm-light#endpoints h2 { color: var(--ink); }
.crm-light .auth-legacy main { max-width: 1000px; margin: 60px auto; padding-inline: 20px; }
.crm-light .auth-legacy .navbar { background: #fff; padding: 20px; }
.crm-light.error-page { display: grid; min-height: 100vh; margin: 0; padding: 24px; place-items: center; background: #f5f7f5; color: #243c30; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.crm-light.error-page > div { min-height: auto; background: #fff; color: #243c30; border: 1px solid #e0e9e3; padding: clamp(28px, 6vw, 72px); border-radius: 28px; box-shadow: 0 18px 50px #1a432414; max-width: 760px; }
.crm-light.error-page .text-lg { font-size: 20px; text-transform: none; letter-spacing: normal; color: #395b49; }
.crm-light.error-page .border-r { color: #008961; font-size: 32px; font-weight: 700; border-color: #dce9e1; }
.crm-light.error-page a.btn { background: var(--green); color: #103a25; padding: 14px 24px; border-radius: 12px; margin-top: 28px; }

@media (max-width: 1199px) {
    .crm-light #companyManagementPage .company-bulk-controls .row > [class*=col-lg] { flex: 0 0 100%; max-width: 100%; margin-block: 8px; }
    .crm-light #bulkCompanyForm { justify-content: flex-start !important; }
}
@media (max-width: 992px) {
    .crm-light .content-page { margin-left: 0 !important; }
    .crm-light .footer { left: 0; }
    .workspace-screen .content .card-body { padding: 26px; }
    .workspace-screen .form-horizontal > .form-group.row > [class*=col-] { flex: 0 0 100%; max-width: 100%; }
    .crm-light .navbar-custom .pro-user-name { display: none; }
}
@media (max-width: 767px) {
    .workspace-screen .content .card-body > .row:first-child { row-gap: 0; }
    .workspace-screen .content .card-body, .workspace-screen .content .card-body .card-body { padding: 22px 18px; }
    .workspace-screen .header-title { font-size: 26px; }
    .workspace-screen .export-form > .row > #dates, .workspace-screen .export-form > .row > #data,
    .workspace-screen .export-form > .row > #fields, .workspace-screen #selectDay > .col-6 { flex: 0 0 100%; max-width: 100%; }
    .crm-light .navtab-bg { flex-direction: column; }
    .crm-light .navtab-bg .nav-link { text-align: left; }
    .crm-light .navtab-bg .nav-link .d-none { display: inline !important; }
    .crm-light .table td, .crm-light .table th { padding: 14px 12px; }
    .crm-light .table .btn { padding: 10px; }
    .crm-light .swal2-popup { padding: 26px 18px; }
    .crm-light .swal2-title { font-size: 23px; }
    .crm-light .swal2-actions { flex-direction: column; width: 100%; }
    .crm-light .swal2-actions button { width: 100%; }
    .crm-light .auth-fluid { padding: 24px 14px; }
    .crm-light .auth-fluid .auth-fluid-form-box { padding: 6px; }
    .crm-light .auth-fluid .card-body { padding: 26px 18px; }
    .crm-light .auth-fluid h4 { font-size: 28px; }
    .crm-light #whatsappWidgetBuilder .wa-field-card { padding: 18px; }
    .crm-light .dashboard-breadcrumb strong { font-size: 14px; }
    .crm-light .navbar-custom > .container-fluid { gap: 8px; }
}
body.crm-light tr.contact-duplicate,
body.crm-light tr.contact-duplicate:nth-of-type(odd),
body.crm-light tr.contact-duplicate:nth-of-type(even) { background: #fff7e6 !important; }
body.crm-light tr.contact-duplicate:hover { background: #ffefcc !important; }
body.crm-light .contact-duplicate-badge { display: block; width: max-content; max-width: 100%; margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: #ffe0a3; color: #80510a; font-size: 11px; font-weight: 700; line-height: 1.35; }
