 /* =========================================================
   WATER DELIVERY MANAGEMENT SYSTEM
   PREMIUM BUSINESS UI
   Visual layer only - functionality untouched
   ========================================================= */

:root {
    --wd-navy: #0b1220;
    --wd-navy-2: #111b2e;
    --wd-blue: #1677ff;
    --wd-blue-dark: #0d5ed7;
    --wd-blue-soft: #eaf3ff;
    --wd-text: #172033;
    --wd-muted: #718096;
    --wd-border: #e7ebf2;
    --wd-bg: #f4f7fb;
    --wd-white: #ffffff;
    --wd-success: #159570;
    --wd-warning: #d98b00;
    --wd-danger: #d64545;
    --wd-shadow: 0 8px 30px rgba(15, 23, 42, .06);
    --wd-shadow-lg: 0 18px 45px rgba(15, 23, 42, .10);
    --wd-radius: 14px;
}

/* =========================================================
   GLOBAL
   ========================================================= */

html {
    background: var(--wd-bg);
}

body {
    background:
        radial-gradient(circle at top right, rgba(22,119,255,.045), transparent 28%),
        var(--wd-bg) !important;
    color: var(--wd-text) !important;
    font-family: "Segoe UI", Inter, Arial, sans-serif !important;
    letter-spacing: -.01em;
}

a {
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
    width: 258px !important;
    background:
        linear-gradient(180deg, #0b1220 0%, #101a2c 55%, #0b1220 100%) !important;
    border-right: 1px solid rgba(255,255,255,.06);
    box-shadow: 10px 0 35px rgba(15,23,42,.08);
}

.sidebar-header {
    height: 76px !important;
    padding: 0 20px !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
}

.brand {
    gap: 12px !important;
}

.brand-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #1677ff, #0954c5) !important;
    box-shadow: 0 7px 18px rgba(22,119,255,.30);
}

.brand-text {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .02em;
}

.sidebar-content {
    padding: 22px 13px 30px !important;
}

.nav-section {
    margin-bottom: 24px !important;
}

.nav-section-title {
    color: #6f7f99 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase;
    padding: 0 13px 9px !important;
}

.nav-link-custom {
    min-height: 43px !important;
    margin: 3px 0 !important;
    padding: 10px 13px !important;
    border-radius: 10px !important;
    color: #aebbd0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all .18s ease !important;
}

.nav-link-custom:hover {
    background: rgba(255,255,255,.065) !important;
    color: #fff !important;
    transform: translateX(2px);
}

.nav-link-custom.active {
    background: linear-gradient(90deg, #1677ff, #1269df) !important;
    color: #fff !important;
    box-shadow: 0 7px 18px rgba(22,119,255,.22);
}

.nav-icon {
    width: 27px !important;
    font-size: 16px !important;
    opacity: .9;
}

.nav-link-custom.active .nav-icon {
    opacity: 1;
}

.nav-arrow {
    color: #65748b !important;
}

/* =========================================================
   MAIN AREA
   ========================================================= */

.app-main {
    margin-left: 258px !important;
    width: calc(100% - 258px) !important;
    background: transparent !important;
}

.topbar {
    height: 76px !important;
    background: rgba(255,255,255,.92) !important;
    border-bottom: 1px solid var(--wd-border) !important;
    box-shadow: 0 2px 14px rgba(15,23,42,.025);
    backdrop-filter: blur(12px);
}

.page-heading {
    color: #111827 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: -.025em;
}

.user-button {
    border: 1px solid var(--wd-border) !important;
    background: #fff !important;
    border-radius: 12px !important;
    padding: 5px 9px 5px 6px !important;
    transition: .18s ease;
}

.user-button:hover {
    border-color: #cfd8e6 !important;
    box-shadow: 0 5px 16px rgba(15,23,42,.06);
}

.user-avatar {
    width: 38px !important;
    height: 38px !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #1677ff, #0954c5) !important;
    box-shadow: 0 5px 14px rgba(22,119,255,.20);
}

/* =========================================================
   CONTENT
   ========================================================= */

.page-content {
    padding: 30px !important;
}

/* =========================================================
   CARDS
   ========================================================= */

.card,
.dashboard-card,
.stat-card {
    border: 1px solid var(--wd-border) !important;
    border-radius: var(--wd-radius) !important;
    background: var(--wd-white) !important;
    box-shadow: var(--wd-shadow) !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover,
.dashboard-card:hover,
.stat-card:hover {
    box-shadow: var(--wd-shadow-lg) !important;
}

.card-header {
    background: #fff !important;
    border-bottom: 1px solid var(--wd-border) !important;
    padding: 18px 20px !important;
    font-weight: 700;
}

.card-body {
    padding: 20px !important;
}

/* =========================================================
   DASHBOARD / STATISTICS
   ========================================================= */

.stat-card {
    position: relative;
    overflow: hidden;
    padding: 22px !important;
}

.stat-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -28px;
    top: -28px;
    border-radius: 50%;
    background: rgba(22,119,255,.055);
}

.stat-card h3,
.stat-card .value {
    color: #101827 !important;
    font-size: 28px !important;
    font-weight: 750 !important;
    letter-spacing: -.04em;
}

.stat-card .label,
.stat-card .title {
    color: var(--wd-muted) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.stat-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wd-blue-soft);
    color: var(--wd-blue);
}

/* =========================================================
   PAGE HEADINGS
   ========================================================= */

.page-content h1 {
    color: #111827;
    font-size: 26px;
    font-weight: 750;
    letter-spacing: -.035em;
}

.page-content h2 {
    color: #172033;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.025em;
}

.page-content h3 {
    color: #172033;
    font-weight: 700;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    border-radius: 9px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 9px 15px !important;
    transition: all .18s ease !important;
}

.btn-primary {
    background: linear-gradient(135deg, #1677ff, #0d61d5) !important;
    border-color: #1677ff !important;
    box-shadow: 0 5px 13px rgba(22,119,255,.18);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d69e8, #0954c5) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(22,119,255,.24);
}

.btn-success {
    background: #159570 !important;
    border-color: #159570 !important;
}

.btn-danger {
    background: #d64545 !important;
    border-color: #d64545 !important;
}

.btn-outline-primary {
    color: var(--wd-blue) !important;
    border-color: #b9d3f7 !important;
    background: #fff !important;
}

.btn-outline-primary:hover {
    background: var(--wd-blue-soft) !important;
    color: var(--wd-blue-dark) !important;
}

/* =========================================================
   FORMS
   ========================================================= */

.form-label {
    color: #374151 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-bottom: 7px !important;
}

.form-control,
.form-select {
    min-height: 43px !important;
    border: 1px solid #dce3ed !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #172033 !important;
    font-size: 13px !important;
    box-shadow: none !important;
    transition: all .18s ease !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #76aef5 !important;
    box-shadow: 0 0 0 3px rgba(22,119,255,.10) !important;
}

textarea.form-control {
    min-height: 100px !important;
}

/* =========================================================
   TABLES
   ========================================================= */

.table {
    margin-bottom: 0 !important;
    color: #263246 !important;
    font-size: 13px !important;
}

.table thead th {
    background: #f8fafc !important;
    color: #69778d !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-top: none !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase;
    padding: 13px 14px !important;
    white-space: nowrap;
}

.table tbody td {
    border-color: #edf1f6 !important;
    padding: 14px !important;
    vertical-align: middle !important;
}

.table tbody tr {
    transition: background .15s ease;
}

.table tbody tr:hover {
    background: #f8fbff !important;
}

/* =========================================================
   BADGES
   ========================================================= */

.badge {
    border-radius: 999px !important;
    padding: 5px 9px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .025em;
}

.bg-success {
    background: #e5f7f1 !important;
    color: #087653 !important;
}

.bg-danger {
    background: #fdeaea !important;
    color: #b42323 !important;
}

.bg-warning {
    background: #fff4dc !important;
    color: #9a6500 !important;
}

.bg-primary {
    background: #eaf3ff !important;
    color: #0d5ed7 !important;
}

/* =========================================================
   ALERTS
   ========================================================= */

.alert {
    border: 1px solid transparent !important;
    border-radius: 11px !important;
    font-size: 13px !important;
    padding: 12px 15px !important;
}

.alert-success {
    background: #eaf8f3 !important;
    border-color: #ccefe2 !important;
    color: #087653 !important;
}

.alert-danger {
    background: #fff0f0 !important;
    border-color: #f6d0d0 !important;
    color: #ad2929 !important;
}

.alert-warning {
    background: #fff8e8 !important;
    border-color: #f4dfae !important;
    color: #8a5b00 !important;
}

/* =========================================================
   SEARCH / FILTER AREAS
   ========================================================= */

input[type="search"] {
    border-radius: 9px !important;
}

.form-control::placeholder {
    color: #a0aabc !important;
}

/* =========================================================
   DROPDOWNS
   ========================================================= */

.user-dropdown {
    border: 1px solid var(--wd-border) !important;
    border-radius: 12px !important;
    box-shadow: var(--wd-shadow-lg) !important;
    padding: 7px !important;
    background: #fff !important;
}

.user-dropdown a,
.user-dropdown button {
    border-radius: 8px !important;
    font-size: 13px !important;
    padding: 9px 11px !important;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    background: #f3f7fc !important;
}

/* =========================================================
   FOOTER
   ========================================================= */

.app-footer {
    background: rgba(255,255,255,.85) !important;
    border-top: 1px solid var(--wd-border) !important;
    color: #8a96a8 !important;
    font-size: 11px !important;
    padding: 15px 25px !important;
}

/* =========================================================
   LOADING BAR
   ========================================================= */

.loading-bar::before {
    background: linear-gradient(90deg, #1677ff, #5aa1ff) !important;
    box-shadow: 0 0 10px rgba(22,119,255,.45);
}

/* =========================================================
   LOGIN
   ========================================================= */

body:has(.login-container) {
    background:
        radial-gradient(circle at 15% 20%, rgba(22,119,255,.16), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(13,94,215,.12), transparent 30%),
        #f3f6fa !important;
}

.login-container {
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 70px rgba(15,23,42,.12) !important;
    background: rgba(255,255,255,.97) !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .sidebar {
        width: 258px !important;
    }

    .app-main {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .page-content {
        padding: 20px 16px !important;
    }

    .topbar {
        height: 68px !important;
    }

    .page-heading {
        font-size: 17px !important;
    }
}

@media (max-width: 575px) {

    .page-content {
        padding: 16px 12px !important;
    }

    .card-body {
        padding: 16px !important;
    }

    .table {
        font-size: 12px !important;
    }

    .btn {
        padding: 8px 12px !important;
    }
}

/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 20px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #334155;
}

/* =========================================================
   FINAL POLISH
   ========================================================= */

hr {
    border-color: var(--wd-border) !important;
    opacity: 1 !important;
}

.text-muted {
    color: var(--wd-muted) !important;
}

.shadow-sm {
    box-shadow: var(--wd-shadow) !important;
}

.container,
.container-fluid {
    max-width: 100%;
}
/* =========================================================
   BUSINESS CENTRAL-INSPIRED CUSTOMER LIST
   ========================================================= */

.bc-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px 28px 40px;
    color: #242424;
}

/* Page Header */
.bc-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 18px;
}

.bc-breadcrumb {
    color: #616161;
    font-size: 13px;
    margin-bottom: 4px;
}

.bc-page-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.bc-page-header p {
    margin: 5px 0 0;
    color: #616161;
    font-size: 14px;
}

/* Primary Page Action */
.bc-page-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bc-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.bc-action-primary {
    background: #0067b8;
    border-color: #0067b8;
    color: #fff;
}

.bc-action-primary:hover {
    background: #005a9e;
    border-color: #005a9e;
    color: #fff;
}

/* Success Alert */
.bc-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    margin-bottom: 16px;
    border: 1px solid;
    border-radius: 2px;
    font-size: 14px;
}

.bc-alert-success {
    background: #f3faf3;
    border-color: #9fd29f;
    color: #245b24;
}

/* Toolbar */
.bc-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: 5px 10px;
    background: #f5f5f5;
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
}

.bc-toolbar-left {
    display: flex;
    align-items: center;
    gap: 3px;
}

.bc-toolbar-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid transparent;
    background: transparent;
    color: #242424;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 2px;
}

.bc-toolbar-action:hover {
    background: #e8e8e8;
    color: #0067b8;
}

.bc-toolbar-divider {
    width: 1px;
    height: 24px;
    background: #d0d0d0;
    margin: 0 5px;
}

.bc-record-count {
    color: #616161;
    font-size: 13px;
}

/* Search / Filter Area */
.bc-filter-panel {
    padding: 14px 0 16px;
}

.bc-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 760px;
}

.bc-search-box {
    position: relative;
    flex: 1;
}

.bc-search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #616161;
    font-size: 20px;
    line-height: 1;
    pointer-events: none;
}

.bc-search-input {
    width: 100%;
    height: 38px;
    padding: 0 12px 0 34px;
    border: 1px solid #8a8a8a;
    border-radius: 2px;
    background: #fff;
    color: #242424;
    font-size: 14px;
    outline: none;
}

.bc-search-input:hover {
    border-color: #616161;
}

.bc-search-input:focus {
    border-color: #0067b8;
    box-shadow: 0 0 0 1px #0067b8;
}

.bc-search-button,
.bc-clear-button {
    height: 38px;
    padding: 0 16px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bc-search-button {
    border: 1px solid #0067b8;
    background: #0067b8;
    color: #fff;
}

.bc-search-button:hover {
    background: #005a9e;
    border-color: #005a9e;
}

.bc-clear-button {
    border: 1px solid #8a8a8a;
    background: #fff;
    color: #242424;
}

.bc-clear-button:hover {
    background: #f3f3f3;
}

.bc-search-result {
    margin-top: 9px;
    color: #616161;
    font-size: 13px;
}

/* Desktop List */
.bc-list-container {
    border: 1px solid #d6d6d6;
    background: #fff;
    overflow-x: auto;
}

.bc-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.bc-list-table thead th {
    height: 42px;
    padding: 0 12px;
    background: #f5f5f5;
    border-bottom: 1px solid #c8c8c8;
    color: #3b3b3b;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.bc-list-table tbody td {
    height: 46px;
    padding: 7px 12px;
    border-bottom: 1px solid #e5e5e5;
    color: #323232;
    vertical-align: middle;
}

.bc-list-table tbody tr:hover {
    background: #f5f9fc;
}

.bc-list-table tbody tr:last-child td {
    border-bottom: 0;
}

.bc-column-id {
    width: 90px;
    color: #616161 !important;
}

.bc-column-actions {
    width: 150px;
    white-space: nowrap;
}

.bc-customer-link {
    color: #0067b8;
    font-weight: 600;
    text-decoration: none;
}

.bc-customer-link:hover {
    color: #004f8c;
    text-decoration: underline;
}

.bc-row-action {
    color: #0067b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-right: 14px;
}

.bc-row-action:hover {
    text-decoration: underline;
}

/* Status */
.bc-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 9px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.bc-status-active {
    background: #e7f4e7;
    color: #256225;
}

.bc-status-inactive {
    background: #eeeeee;
    color: #616161;
}

/* Empty State */
.bc-empty-state {
    text-align: center;
    padding: 46px 20px;
}

.bc-empty-icon {
    font-size: 28px;
    color: #8a8a8a;
    margin-bottom: 8px;
}

.bc-empty-state h3 {
    margin: 0 0 5px;
    font-size: 17px;
    font-weight: 600;
}

.bc-empty-state p {
    margin: 0;
    color: #707070;
    font-size: 14px;
}

/* Mobile */
.bc-mobile-list {
    margin-top: 4px;
}

.bc-mobile-record {
    background: #fff;
    border: 1px solid #d6d6d6;
    margin-bottom: 10px;
}

.bc-mobile-record-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid #e5e5e5;
}

.bc-record-id {
    color: #707070;
    font-size: 12px;
    margin-bottom: 3px;
}

.bc-record-name {
    color: #0067b8;
    font-size: 16px;
    font-weight: 600;
}

.bc-mobile-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 13px 14px;
}

.bc-mobile-details span {
    display: block;
    color: #707070;
    font-size: 12px;
    margin-bottom: 3px;
}

.bc-mobile-details strong {
    color: #323232;
    font-size: 14px;
    font-weight: 500;
}

.bc-mobile-actions {
    display: flex;
    gap: 18px;
    padding: 10px 14px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
}

.bc-link-button {
    color: #0067b8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.bc-link-button:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 767.98px) {

    .bc-page {
        padding: 18px 14px 30px;
    }

    .bc-page-header {
        align-items: center;
        margin-bottom: 14px;
    }

    .bc-page-header h1 {
        font-size: 23px;
    }

    .bc-page-header p {
        display: none;
    }

    .bc-page-actions .bc-action {
        min-height: 34px;
        padding: 0 12px;
    }

    .bc-toolbar {
        padding: 5px 6px;
    }

    .bc-record-count {
        font-size: 12px;
    }

    .bc-search-form {
        flex-wrap: wrap;
    }

    .bc-search-box {
        flex: 1 1 100%;
    }

    .bc-search-button,
    .bc-clear-button {
        flex: 1;
    }

    .bc-mobile-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }

}
```css
/* =========================================================
   BUSINESS CENTRAL-INSPIRED CUSTOMER DETAILS / EDIT
   ========================================================= */

.bc-page-title {
    margin: 0;
    color: #242424;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.bc-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
    align-items: start;
}

.bc-detail-section {
    background: #fff;
    border: 1px solid #d6d6d6;
}

.bc-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 12px 18px;
    border-bottom: 1px solid #d6d6d6;
    background: #fafafa;
}

.bc-section-header h2 {
    margin: 0;
    color: #242424;
    font-size: 17px;
    font-weight: 600;
}

.bc-section-header span {
    display: block;
    margin-top: 3px;
    color: #707070;
    font-size: 12px;
}

.bc-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bc-detail-field {
    min-height: 76px;
    padding: 16px 18px;
    border-bottom: 1px solid #e5e5e5;
}

.bc-detail-field:nth-child(odd) {
    border-right: 1px solid #e5e5e5;
}

.bc-detail-label {
    display: block;
    margin-bottom: 6px;
    color: #707070;
    font-size: 12px;
    font-weight: 500;
}

.bc-detail-value {
    display: block;
    color: #242424;
    font-size: 14px;
    font-weight: 600;
}

/* =========================================================
   FACTBOX
   ========================================================= */

.bc-factbox {
    background: #fff;
    border: 1px solid #d6d6d6;
}

.bc-factbox-header {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #d6d6d6;
}

.bc-factbox-header h2 {
    margin: 0;
    color: #242424;
    font-size: 15px;
    font-weight: 600;
}

.bc-factbox-body {
    padding: 4px 16px;
}

.bc-factbox-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    border-bottom: 1px solid #e5e5e5;
}

.bc-factbox-item:last-child {
    border-bottom: 0;
}

.bc-factbox-item span {
    color: #707070;
    font-size: 12px;
}

.bc-factbox-item strong {
    color: #242424;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

/* =========================================================
   EDIT FORM
   ========================================================= */

.bc-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 4px 18px 18px;
}

.bc-form-field {
    padding: 14px 10px;
}

.bc-form-field-full {
    grid-column: 1 / -1;
}

.bc-form-label {
    display: block;
    margin-bottom: 7px;
    color: #3b3b3b;
    font-size: 13px;
    font-weight: 600;
}

.bc-form-control {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #8a8a8a;
    border-radius: 2px;
    background: #fff;
    color: #242424;
    font-size: 14px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bc-form-control:hover {
    border-color: #616161;
}

.bc-form-control:focus {
    border-color: #0067b8;
    box-shadow: 0 0 0 1px #0067b8;
}

.bc-form-control.bc-readonly {
    background: #f5f5f5;
    color: #616161;
    cursor: not-allowed;
}

select.bc-form-control {
    cursor: pointer;
}

.bc-validation {
    display: block;
    margin-top: 5px;
    color: #a4262c;
    font-size: 12px;
}

.bc-form-help {
    margin-top: 4px;
    color: #707070;
    font-size: 12px;
}

/* =========================================================
   ACTIVE / INACTIVE SWITCH
   ========================================================= */

.bc-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid #e5e5e5;
}

.bc-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
    flex: 0 0 auto;
    margin: 0;
}

.bc-switch input {
    width: 0;
    height: 0;
    opacity: 0;
}

.bc-switch-slider {
    position: absolute;
    inset: 0;
    background: #c8c8c8;
    border-radius: 22px;
    cursor: pointer;
    transition: background-color .15s ease;
}

.bc-switch-slider::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
    transition: transform .15s ease;
}

.bc-switch input:checked + .bc-switch-slider {
    background: #107c10;
}

.bc-switch input:checked + .bc-switch-slider::before {
    transform: translateX(20px);
}

/* =========================================================
   FORM FOOTER
   ========================================================= */

.bc-form-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: #f5f5f5;
    border-top: 1px solid #d6d6d6;
}

/* =========================================================
   DETAILS / EDIT ALERT
   ========================================================= */

.bc-alert-danger {
    margin: 14px 18px 4px;
    background: #fde7e9;
    border-color: #f1b5b9;
    color: #a4262c;
}

/* =========================================================
   DETAILS / EDIT RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .bc-detail-layout {
        grid-template-columns: 1fr;
    }

    .bc-factbox {
        order: 2;
    }
}

@media (max-width: 767.98px) {

    .bc-page-title {
        font-size: 23px;
    }

    .bc-detail-grid {
        grid-template-columns: 1fr;
    }

    .bc-detail-field:nth-child(odd) {
        border-right: 0;
    }

    .bc-edit-grid {
        grid-template-columns: 1fr;
        padding-left: 10px;
        padding-right: 10px;
    }

    .bc-form-field-full {
        grid-column: auto;
    }

    .bc-toggle-row {
        align-items: flex-start;
    }

    .bc-form-footer {
        flex-wrap: wrap;
    }

    .bc-form-footer .bc-action {
        flex: 1;
    }
}
```css
/* =========================================================
   BUSINESS CENTRAL WORKSPACE
   SIDEBAR + DASHBOARD
   ========================================================= */

/* =========================================================
   SIDEBAR - BUSINESS CENTRAL STYLE
   ========================================================= */

.sidebar {
    width: 248px;
    background: #ffffff;
    color: #242424;
    border-right: 1px solid #d6d6d6;
    box-shadow: none;
}

.sidebar-header {
    height: 64px;
    padding: 0 16px;
    background: #ffffff;
    border-bottom: 1px solid #e1e1e1;
}

.brand {
    gap: 9px;
    color: #242424;
    font-size: 16px;
    font-weight: 600;
}

.brand:hover {
    color: #242424;
}

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: #0078d4;
    font-size: 17px;
}

.brand-text {
    letter-spacing: -0.1px;
}

.sidebar-content {
    padding: 14px 10px 24px;
}

.nav-section {
    margin-bottom: 16px;
}

.nav-section-title {
    padding: 0 11px 6px;
    color: #666666;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nav-link-custom {
    min-height: 38px;
    margin-bottom: 2px;
    padding: 8px 10px;
    border-radius: 2px;
    color: #323130;
    font-size: 13px;
    font-weight: 400;
    transition:
        background-color .12s ease,
        color .12s ease,
        box-shadow .12s ease;
}

.nav-link-custom:hover {
    background: #f3f2f1;
    color: #242424;
}

.nav-link-custom.active {
    background: #e5f1fb;
    color: #005a9e;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #0078d4;
}

.nav-icon {
    width: 27px;
    min-width: 27px;
    font-size: 15px;
    filter: saturate(.85);
}

.nav-text {
    font-size: 13px;
}

.nav-arrow {
    color: #666666;
    font-size: 9px;
}

.nav-group.open > .group-toggle {
    background: #f3f2f1;
    color: #242424;
}

.nav-submenu {
    padding: 2px 0 2px 17px;
}

.nav-submenu .nav-link-custom {
    min-height: 35px;
    padding: 7px 9px;
    font-size: 12.5px;
}

.nav-submenu .nav-icon {
    width: 24px;
    min-width: 24px;
    font-size: 13px;
}

/* Sidebar scrollbar */

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: #ffffff;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #c8c8c8;
    border-radius: 0;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #a6a6a6;
}

/* Sidebar tooltip */

.nav-link-custom[data-tooltip]::after {
    background: #242424;
    color: #ffffff;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    font-size: 11px;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    height: 60px;
    padding: 0 22px;
    background: #ffffff;
    border-bottom: 1px solid #d6d6d6;
    box-shadow: none;
}

.page-heading {
    color: #242424;
    font-size: 16px;
    font-weight: 600;
}

.page-heading small {
    color: #707070;
    font-size: 11px;
}

/* User area */

.user-button {
    padding: 5px 8px;
    border-radius: 2px;
}

.user-button:hover {
    background: #f3f2f1;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 2px;
    background: #0078d4;
    font-size: 13px;
}

.user-name {
    color: #242424;
    font-size: 12px;
}

.user-role {
    color: #707070;
    font-size: 10px;
}

.user-dropdown {
    top: 46px;
    width: 220px;
    border: 1px solid #d6d6d6;
    border-radius: 2px;
    box-shadow: 0 6px 18px rgba(0,0,0,.14);
}

.dropdown-header {
    padding: 10px 11px;
}

.dropdown-link {
    border-radius: 2px;
    font-size: 12px;
}

.dropdown-link:hover {
    background: #f3f2f1;
}

/* =========================================================
   MAIN WORKSPACE
   ========================================================= */

.app-main {
    background: #f5f5f5;
}

.page-content {
    padding: 22px;
    background: #f5f5f5;
}

/* =========================================================
   DASHBOARD HEADER
   ========================================================= */

.page-content > .container-fluid {
    max-width: 100%;
}

.page-content > .container-fluid > .d-flex:first-child {
    padding-bottom: 14px;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #d6d6d6;
}

.page-content > .container-fluid > .d-flex:first-child h1 {
    margin: 0 !important;
    color: #242424;
    font-size: 26px;
    font-weight: 600 !important;
    letter-spacing: -0.3px;
}

.page-content > .container-fluid > .d-flex:first-child p {
    margin-top: 4px;
    color: #707070 !important;
    font-size: 12px;
}

.page-content > .container-fluid > .d-flex:first-child .badge {
    padding: 5px 9px;
    border-radius: 2px;
    background: #e5f1fb !important;
    color: #005a9e !important;
    font-size: 11px;
    font-weight: 600;
}

/* =========================================================
   DASHBOARD SECTION HEADERS
   ========================================================= */

.page-content > .container-fluid h5 {
    position: relative;
    margin-bottom: 10px !important;
    padding-bottom: 7px;
    color: #242424;
    font-size: 15px;
    font-weight: 600 !important;
    border-bottom: 1px solid #d6d6d6;
}

.page-content > .container-fluid h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 42px;
    height: 2px;
    background: #0078d4;
}

/* =========================================================
   DASHBOARD KPI CARDS
   ========================================================= */

.page-content > .container-fluid .card {
    border: 1px solid #d6d6d6 !important;
    border-radius: 2px !important;
    background: #ffffff;
    box-shadow: none !important;
}

.page-content > .container-fluid .card:hover {
    border-color: #b8b8b8 !important;
}

.page-content > .container-fluid .card-body {
    padding: 15px 16px;
}

.page-content > .container-fluid .card .text-muted.small {
    color: #707070 !important;
    font-size: 11px;
    font-weight: 500;
}

.page-content > .container-fluid .card .fs-2 {
    margin: 5px 0 7px;
    color: #242424;
    font-size: 25px !important;
    line-height: 1.1;
    font-weight: 600 !important;
}

.page-content > .container-fluid .card a {
    color: #0067b8;
    font-size: 11px;
    font-weight: 500;
}

.page-content > .container-fluid .card a:hover {
    color: #004578;
    text-decoration: underline !important;
}

/* =========================================================
   DASHBOARD TABLES
   ========================================================= */

.page-content > .container-fluid .table {
    margin-bottom: 0;
    font-size: 12px;
}

.page-content > .container-fluid .table thead th {
    padding: 9px 10px;
    background: #f5f5f5;
    color: #616161;
    border-bottom: 1px solid #d6d6d6;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.page-content > .container-fluid .table tbody td {
    padding: 9px 10px;
    color: #323130;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
}

.page-content > .container-fluid .table tbody tr:last-child td {
    border-bottom: 0;
}

.page-content > .container-fluid .table-hover tbody tr:hover {
    background: #f3f2f1;
}

/* Dashboard status badges */

.page-content > .container-fluid .table .badge {
    padding: 4px 7px;
    border-radius: 2px;
    background: #f3f2f1 !important;
    color: #323130 !important;
    font-size: 10px;
    font-weight: 600;
}

/* =========================================================
   DASHBOARD QUICK ACTIONS
   ========================================================= */

.page-content > .container-fluid .btn-outline-primary {
    min-height: 40px;
    border: 1px solid #8a8a8a;
    border-radius: 2px;
    background: #ffffff;
    color: #242424;
    font-size: 12px;
    font-weight: 600;
    box-shadow: none;
}

.page-content > .container-fluid .btn-outline-primary:hover {
    background: #f3f2f1;
    border-color: #616161;
    color: #005a9e;
}

.page-content > .container-fluid .btn-outline-primary:focus {
    border-color: #0078d4;
    box-shadow: 0 0 0 1px #0078d4;
}

/* =========================================================
   DASHBOARD LINKS
   ========================================================= */

.page-content > .container-fluid a.small.text-decoration-none {
    color: #0067b8;
}

.page-content > .container-fluid a.small.text-decoration-none:hover {
    color: #004578;
}

/* =========================================================
   DASHBOARD FOOTER
   ========================================================= */

.app-footer {
    background: #ffffff;
    border-top: 1px solid #d6d6d6;
    padding: 11px 22px;
    color: #707070;
    font-size: 11px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .sidebar {
        width: 248px;
    }

    .page-content {
        padding: 18px;
    }

    .page-content > .container-fluid > .d-flex:first-child h1 {
        font-size: 23px;
    }
}

@media (max-width: 576px) {

    .page-content {
        padding: 14px;
    }

    .page-content > .container-fluid > .d-flex:first-child {
        padding-bottom: 12px;
        margin-bottom: 16px !important;
    }

    .page-content > .container-fluid > .d-flex:first-child h1 {
        font-size: 21px;
    }

    .page-content > .container-fluid .card-body {
        padding: 13px;
    }

    .page-content > .container-fluid .card .fs-2 {
        font-size: 22px !important;
    }

    .page-content > .container-fluid .table {
        font-size: 11px;
    }
}
 /* =========================================================
    BUSINESS CENTRAL SIDEBAR - FINAL OVERRIDE
    Visual styling only
    ========================================================= */

.sidebar {
    width: 248px !important;
    background: #ffffff !important;
    color: #242424 !important;
    border-right: 1px solid #d6d6d6 !important;
    box-shadow: none !important;
}

.sidebar-header {
    height: 60px !important;
    padding: 0 16px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #d6d6d6 !important;
}

.brand {
    gap: 9px !important;
    color: #242424 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.brand:hover {
    color: #242424 !important;
}

.brand-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 2px !important;
    background: #eaf4fc !important;
    border: 1px solid #d6e7f5 !important;
    color: #0067b8 !important;
    font-size: 16px !important;
}

.brand-title {
    color: #242424 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.brand-subtitle {
    color: #707070 !important;
    font-size: 10px !important;
}

.sidebar-content {
    padding: 14px 8px 24px !important;
}

.nav-section {
    margin-bottom: 14px !important;
}

.nav-section-title {
    padding: 0 10px 6px !important;
    color: #707070 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .05em !important;
}

.nav-link-custom {
    min-height: 38px !important;
    margin-bottom: 2px !important;
    padding: 8px 10px !important;
    border-radius: 2px !important;
    color: #323130 !important;
    background: transparent !important;
    font-size: 13px !important;
    transition: background-color .12s ease, color .12s ease !important;
}

.nav-link-custom:hover {
    background: #f3f2f1 !important;
    color: #242424 !important;
}

.nav-link-custom.active {
    background: #e5f1fb !important;
    color: #005a9e !important;
    border-left: 3px solid #0078d4 !important;
    padding-left: 7px !important;
}

.nav-icon {
    width: 27px !important;
    min-width: 27px !important;
    color: inherit !important;
    font-size: 15px !important;
}

.nav-text {
    color: inherit !important;
}

.nav-arrow {
    color: #707070 !important;
}

.nav-submenu {
    padding: 2px 0 2px 16px !important;
}

.nav-submenu .nav-link-custom {
    min-height: 35px !important;
    font-size: 12px !important;
    padding-left: 9px !important;
}

.nav-submenu .nav-link-custom.active {
    padding-left: 6px !important;
}

.nav-submenu .nav-icon {
    width: 25px !important;
    min-width: 25px !important;
    font-size: 13px !important;
}

/* Sidebar tooltip */

.sidebar-tooltip {
    background: #242424 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 2px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.18) !important;
}

/* Original tooltip generated by nav links */

.nav-link-custom[data-tooltip]::after {
    background: #242424 !important;
    color: #ffffff !important;
    border-radius: 2px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.18) !important;
}

/* Main area must move with the narrower sidebar */

.app-main {
    margin-left: 248px !important;
    width: calc(100% - 248px) !important;
}

/* Mobile */

@media (max-width: 991px) {
    .app-main {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .sidebar {
        width: 248px !important;
    }
}

/* =========================================================
   BUSINESS CENTRAL-INSPIRED DELIVERY UI
   ========================================================= */

/* Delivery total */

.bc-delivery-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    background: #f5f5f5;
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
}

.bc-delivery-total-label {
    display: block;
    color: #242424;
    font-size: 14px;
    font-weight: 600;
}

.bc-delivery-total-help {
    display: block;
    margin-top: 3px;
    color: #707070;
    font-size: 12px;
}

.bc-delivery-total strong {
    color: #242424;
    font-size: 22px;
    font-weight: 700;
}


/* Delivery status colours */

.bc-status-scheduled {
    background: #e5f1fb;
    color: #005a9e;
}

.bc-status-progress {
    background: #fff4ce;
    color: #7a5a00;
}


/* Delivery details notes */

.bc-detail-notes {
    padding: 16px 18px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
}

.bc-detail-notes p {
    margin: 6px 0 0;
    color: #424242;
    font-size: 14px;
    line-height: 1.6;
}


/* Delivery factbox total */

.bc-factbox-total {
    color: #0067b8 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}


/* Delivery status alignment */

.bc-detail-value .bc-status {
    display: inline-flex;
    align-items: center;
}


/* Mobile */

@media (max-width: 767.98px) {

    .bc-delivery-total {
        align-items: flex-start;
        flex-direction: column;
    }

    .bc-delivery-total strong {
        font-size: 20px;
    }

}
/* =========================================================
   BUSINESS CENTRAL-INSPIRED PAYMENT UI
   ========================================================= */

.bc-payment-amount {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.bc-payment-currency {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 0 10px;
    border: 1px solid #8a8a8a;
    border-right: 0;
    background: #f5f5f5;
    color: #424242;
    font-size: 14px;
    font-weight: 600;
}

.bc-payment-amount .bc-form-control {
    flex: 1;
}

.bc-textarea {
    height: auto;
    min-height: 96px;
    padding: 10px;
    resize: vertical;
}

.bc-payment-total {
    color: #107c10;
    font-size: 16px;
    font-weight: 700;
}

.bc-payment-credit {
    color: #107c10 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.bc-detail-muted {
    color: #707070;
    font-size: 13px;
    font-weight: 400;
}

.bc-factbox-warning {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 0;
    color: #7a5a00;
    font-size: 12px;
}

.bc-factbox-warning strong {
    color: #7a5a00;
    font-size: 13px;
}


/* Payment amount field */

#amountInput {
    border-left: 1px solid #8a8a8a;
}

.bc-payment-amount:focus-within .bc-payment-currency {
    border-color: #0067b8;
    background: #eaf4fc;
}


/* Mobile */

@media (max-width: 767.98px) {

    .bc-payment-amount {
        width: 100%;
    }

}
/* =========================================================
   BUSINESS CENTRAL-INSPIRED REPORTS
   ========================================================= */

.bc-report-filter-body {
    padding: 18px;
}

.bc-report-filter-label {
    margin-bottom: 8px;
    color: #3b3b3b;
    font-size: 13px;
    font-weight: 600;
}

.bc-report-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bc-report-period-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #8a8a8a;
    background: #fff;
    color: #323130;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 2px;
    transition: background-color .12s ease,
                border-color .12s ease,
                color .12s ease;
}

.bc-report-period-button:hover {
    background: #f3f2f1;
    border-color: #616161;
    color: #242424;
}

.bc-report-custom-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5e5e5;
}

.bc-report-date-field {
    flex: 1;
    max-width: 260px;
}

.bc-report-apply {
    flex: 0 0 auto;
}

.bc-report-selected-period {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e5e5e5;
    color: #707070;
    font-size: 12px;
}

.bc-report-selected-period strong {
    color: #242424;
    font-weight: 600;
}

.bc-report-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid #d6d6d6;
}

.bc-report-summary-item {
    min-height: 92px;
    padding: 15px 16px;
    border-right: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bc-report-summary-item:last-child {
    border-right: 0;
}

.bc-report-summary-label {
    margin-bottom: 7px;
    color: #707070;
    font-size: 12px;
}

.bc-report-summary-item strong {
    color: #242424;
    font-size: 20px;
    font-weight: 700;
}

.bc-report-summary-item strong small {
    color: #707070;
    font-size: 12px;
    font-weight: 500;
}

.bc-report-sales {
    color: #0067b8 !important;
}

.bc-report-payments {
    color: #107c10 !important;
}

.bc-report-outstanding {
    color: #a4262c !important;
}

.bc-report-balance-body {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding: 20px 18px;
}

.bc-report-balance-body > div:not(.bc-report-balance-operator):not(.bc-report-balance-status) {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bc-report-balance-label {
    color: #707070;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.bc-report-balance-body strong {
    color: #242424;
    font-size: 18px;
}

.bc-report-balance-operator {
    color: #707070;
    font-size: 18px;
}

.bc-report-balance-status {
    margin-left: auto;
}

.bc-report-period {
    color: #707070;
    font-size: 12px;
    font-weight: 500;
}

.bc-report-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
    background: #fff;
    border: 1px solid #d6d6d6;
}

.bc-report-info > div {
    min-height: 70px;
    padding: 14px 18px;
    border-right: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.bc-report-info > div:last-child {
    border-right: 0;
}

.bc-report-info strong {
    color: #707070;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.bc-report-info span {
    color: #242424;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 1199.98px) {

    .bc-report-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bc-report-summary-item:nth-child(3) {
        border-right: 0;
    }

    .bc-report-summary-item:nth-child(n + 4) {
        border-top: 1px solid #e5e5e5;
    }

}

@media (max-width: 767.98px) {

    .bc-report-filter-body {
        padding: 14px;
    }

    .bc-report-quick-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .bc-report-period-button {
        width: 100%;
    }

    .bc-report-custom-form {
        flex-direction: column;
        align-items: stretch;
    }

    .bc-report-date-field {
        max-width: none;
        width: 100%;
    }

    .bc-report-apply {
        width: 100%;
    }

    .bc-report-apply .bc-action {
        width: 100%;
        justify-content: center;
    }

    .bc-report-selected-period {
        align-items: flex-start;
        flex-direction: column;
    }

    .bc-report-summary {
        grid-template-columns: 1fr 1fr;
    }

    .bc-report-summary-item {
        border-right: 0;
        border-bottom: 1px solid #e5e5e5;
    }

    .bc-report-summary-item:nth-child(odd) {
        border-right: 1px solid #e5e5e5;
    }

    .bc-report-summary-item:last-child {
        border-bottom: 0;
    }

    .bc-report-balance-body {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .bc-report-balance-operator {
        display: none;
    }

    .bc-report-balance-status {
        margin-left: 0;
        margin-top: 5px;
    }

    .bc-report-info {
        grid-template-columns: 1fr;
    }

    .bc-report-info > div {
        border-right: 0;
        border-bottom: 1px solid #e5e5e5;
    }

    .bc-report-info > div:last-child {
        border-bottom: 0;
    }

}
 /* Rate Management responsive list fix */
.bc-rate-mobile-list {
    display: none !important;
}

.bc-rate-desktop-list {
    display: block !important;
}

@media (max-width: 767.98px) {

    .bc-rate-mobile-list {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }

    .bc-rate-desktop-list {
        display: none !important;
    }
}
/* =========================================================
   BUSINESS CENTRAL CUSTOMER BALANCES
   ========================================================= */

.bc-balance-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid #d6d6d6;
}

.bc-balance-summary-item {
    min-height: 88px;
    padding: 15px 18px;
    border-right: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.bc-balance-summary-item:last-child {
    border-right: 0;
}

.bc-balance-summary-item span {
    color: #707070;
    font-size: 12px;
}

.bc-balance-summary-item strong {
    color: #242424;
    font-size: 21px;
    font-weight: 700;
}

.bc-balance-payment,
.bc-balance-credit,
.bc-balance-success {
    color: #107c10 !important;
}

.bc-balance-outstanding,
.bc-balance-danger {
    color: #a4262c !important;
}

.bc-balance-neutral {
    color: #242424 !important;
}


/* =========================================================
   SEARCH
   ========================================================= */

.bc-balance-search {
    padding: 4px 18px 18px;
}

.bc-balance-search-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.bc-balance-search-row .bc-form-field {
    flex: 1;
    padding: 10px 0 0;
}

.bc-balance-search-actions {
    display: flex;
    gap: 8px;
    padding-bottom: 10px;
}


/* =========================================================
   CUSTOMER BALANCE COUNT
   ========================================================= */

.bc-balance-count {
    color: #707070 !important;
    font-size: 12px !important;
}


/* =========================================================
   CUSTOMER BALANCE CUSTOMER NAME
   ========================================================= */

.bc-balance-customer {
    color: #0067b8;
    font-weight: 600;
}


/* =========================================================
   STATUS BADGES
   ========================================================= */

.bc-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 9px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.bc-status-danger {
    background: #fde7e9;
    color: #a4262c;
}

.bc-status-success {
    background: #e7f4e7;
    color: #256225;
}

.bc-status-neutral {
    background: #eeeeee;
    color: #616161;
}

.bc-text-success {
    color: #107c10 !important;
}


/* =========================================================
   MOBILE CUSTOMER BALANCES
   ========================================================= */

.bc-balance-mobile-list {
    padding: 4px 0;
}

.bc-balance-mobile-card {
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

.bc-balance-mobile-card:first-child {
    border-top: 0;
}

.bc-balance-mobile-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
}

.bc-balance-phone {
    display: block;
    margin-top: 3px;
    color: #707070;
    font-size: 12px;
}

.bc-balance-mobile-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid #e5e5e5;
}

.bc-balance-mobile-details > div {
    min-height: 70px;
    padding: 13px 14px;
    border-right: 1px solid #e5e5e5;
}

.bc-balance-mobile-details > div:nth-child(2) {
    border-right: 0;
}

.bc-balance-mobile-details span {
    display: block;
    margin-bottom: 5px;
    color: #707070;
    font-size: 11px;
}

.bc-balance-mobile-details strong {
    color: #242424;
    font-size: 14px;
    font-weight: 600;
}

.bc-balance-mobile-total {
    grid-column: 1 / -1;
    border-top: 1px solid #e5e5e5;
    border-right: 0 !important;
    background: #fafafa;
}

.bc-balance-mobile-total strong {
    font-size: 17px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .bc-balance-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bc-balance-summary-item:nth-child(2) {
        border-right: 0;
    }

    .bc-balance-summary-item:nth-child(n + 3) {
        border-top: 1px solid #e5e5e5;
    }

}

@media (max-width: 767.98px) {

    .bc-balance-summary {
        grid-template-columns: 1fr 1fr;
    }

    .bc-balance-summary-item {
        min-height: 76px;
        padding: 12px 13px;
    }

    .bc-balance-summary-item strong {
        font-size: 18px;
    }

    .bc-balance-search {
        padding: 4px 14px 14px;
    }

    .bc-balance-search-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .bc-balance-search-row .bc-form-field {
        padding: 8px 0 0;
    }

    .bc-balance-search-actions {
        padding: 8px 0 0;
    }

    .bc-balance-search-actions .bc-action {
        flex: 1;
    }

}

@media (max-width: 480px) {

    .bc-balance-summary-item strong {
        font-size: 16px;
    }

    .bc-balance-summary-item span {
        font-size: 11px;
    }

}
/* =========================================================
   BUSINESS CENTRAL USERS & ACCESS
   ========================================================= */

.bc-user-search-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.bc-user-search-row .bc-form-field {
    flex: 1;
}

.bc-user-search-actions {
    display: flex;
    gap: 8px;
    padding-bottom: 10px;
}

.bc-user-count {
    color: #707070 !important;
    font-size: 12px !important;
}

.bc-user-name {
    display: block;
    color: #242424;
    font-size: 14px;
}

.bc-user-username {
    color: #0067b8;
}

.bc-column-actions {
    text-align: right;
    white-space: nowrap;
}

.bc-action-small {
    min-height: 30px !important;
    padding: 5px 10px !important;
    font-size: 12px !important;
}


/* =========================================================
   MOBILE USERS
   ========================================================= */

.bc-user-mobile-list {
    padding: 0;
}

.bc-user-mobile-card {
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

.bc-user-mobile-card:first-child {
    border-top: 0;
}

.bc-user-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
}

.bc-user-username {
    display: block;
    margin-top: 3px;
    font-size: 12px;
}

.bc-user-mobile-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e5e5e5;
}

.bc-user-mobile-details > div {
    padding: 12px 14px;
}

.bc-user-mobile-details > div + div {
    border-left: 1px solid #e5e5e5;
}

.bc-user-mobile-details span {
    display: block;
    margin-bottom: 4px;
    color: #707070;
    font-size: 11px;
}

.bc-user-mobile-details strong {
    color: #242424;
    font-size: 13px;
    font-weight: 600;
}

.bc-user-mobile-actions {
    display: flex;
    gap: 8px;
    padding: 10px 14px 14px;
    border-top: 1px solid #e5e5e5;
}

.bc-user-mobile-actions .bc-action {
    flex: 1;
    justify-content: center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {

    .bc-user-search-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .bc-user-search-actions {
        padding-top: 8px;
        padding-bottom: 0;
    }

    .bc-user-search-actions .bc-action {
        flex: 1;
        justify-content: center;
    }

}
/* =========================================================
   BUSINESS CENTRAL-INSPIRED LOGIN
   ========================================================= */

.bc-login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #f3f2f1;
}

.bc-login-panel {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #e1dfdd;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.bc-login-brand {
    text-align: center;
    padding: 30px 30px 24px;
    border-bottom: 1px solid #edebe9;
}

.bc-login-logo {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0078d4;
    color: #ffffff;
    font-size: 26px;
    border-radius: 4px;
}

.bc-login-brand h1 {
    margin: 0;
    color: #242424;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.bc-login-brand p {
    margin: 4px 0 0;
    color: #605e5c;
    font-size: 13px;
}

.bc-login-content {
    padding: 30px;
}

.bc-login-heading {
    margin-bottom: 24px;
}

.bc-login-heading h2 {
    margin: 0 0 6px;
    color: #242424;
    font-size: 24px;
    font-weight: 600;
}

.bc-login-heading p {
    margin: 0;
    color: #605e5c;
    font-size: 13px;
}

.bc-login-field {
    margin-bottom: 18px;
}

.bc-login-input {
    min-height: 42px;
    border-radius: 2px !important;
    font-size: 14px;
}

.bc-login-input:focus {
    border-color: #0078d4 !important;
    box-shadow: 0 0 0 1px #0078d4 !important;
}

.bc-login-button {
    width: 100%;
    min-height: 42px;
    margin-top: 6px;
    border: 1px solid #0078d4;
    border-radius: 2px;
    background: #0078d4;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.bc-login-button:hover {
    background: #106ebe;
}

.bc-login-button:active {
    background: #005a9e;
}

.bc-login-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 30px 20px;
    border-top: 1px solid #edebe9;
    text-align: center;
    color: #797775;
    font-size: 11px;
}


/* =========================================================
   LOGIN VALIDATION
   ========================================================= */

.bc-login-content .bc-alert {
    margin-bottom: 18px;
}

.bc-login-content .bc-validation {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}


/* =========================================================
   LOGIN RESPONSIVE
   ========================================================= */

@media (max-width: 575.98px) {

    .bc-login-page {
        align-items: flex-start;
        padding: 20px 14px;
        padding-top: 40px;
    }

    .bc-login-panel {
        max-width: 100%;
    }

    .bc-login-brand {
        padding: 24px 20px 20px;
    }

    .bc-login-content {
        padding: 24px 20px;
    }

    .bc-login-footer {
        padding: 14px 20px 18px;
    }

}
/* =========================================================
   BUSINESS CENTRAL AUDIT LOGS
   ========================================================= */

.bc-audit-time {
    margin-top: 2px;
    color: #707070;
    font-size: 11px;
}

.bc-audit-mobile-list {
    padding: 0;
}

.bc-audit-mobile-card {
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

.bc-audit-mobile-card:first-child {
    border-top: 0;
}

.bc-audit-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
}

.bc-audit-mobile-header strong {
    display: block;
    color: #242424;
    font-size: 13px;
}

.bc-audit-mobile-header span:not(.bc-status-badge) {
    display: block;
    margin-top: 4px;
    color: #707070;
    font-size: 11px;
}

.bc-audit-mobile-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e5e5e5;
}

.bc-audit-mobile-details > div {
    padding: 12px 14px;
}

.bc-audit-mobile-details > div + div {
    border-left: 1px solid #e5e5e5;
}

.bc-audit-mobile-details span {
    display: block;
    margin-bottom: 4px;
    color: #707070;
    font-size: 11px;
}

.bc-audit-mobile-details strong {
    color: #242424;
    font-size: 13px;
    font-weight: 600;
}

.bc-audit-mobile-description {
    padding: 12px 14px 14px;
    border-top: 1px solid #e5e5e5;
    color: #444;
    font-size: 12px;
    line-height: 1.5;
}