body {
    background: #f5f6f8;
    overflow-x: hidden;
}


/* =========================
   DESKTOP SIDEBAR
   ========================= */

.sidebar {
    min-height: calc(100vh - 56px);
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
}


.sidebar-link {
    display: block;
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
}


.sidebar-link:hover {
    background: #f3f4f6;
    color: #111827;
}


.sidebar-link.disabled {
    color: #9ca3af;
}


/* =========================
   MOBILE MENU
   ========================= */

.mobile-menu {
    background: #212529;
}


.mobile-menu-link {
    display: block;
    padding: 11px 8px;
    margin-bottom: 3px;
    border-radius: 7px;
    color: #ffffff;
    text-decoration: none;
}


.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}


.mobile-menu-link.disabled {
    color: #9ca3af;
}


/* =========================
   MAIN CONTENT
   ========================= */

.content-area {
    padding: 1.5rem;
    min-width: 0;
}


/* =========================
   CARDS
   ========================= */

.dashboard-card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}


.card {
    border-radius: 14px;
}


/* =========================
   TABLE
   ========================= */

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


.table {
    min-width: 900px;
}


.table > :not(caption) > * > * {
    padding: 14px;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 991.98px) {

    .content-area {
        padding: 1rem;
    }

}


@media (max-width: 575.98px) {

    .content-area {
        padding: 0.75rem;
    }


    h2 {
        font-size: 1.5rem;
    }


    h3 {
        font-size: 1.35rem;
    }


    .display-6 {
        font-size: 2rem;
    }


    .display-5 {
        font-size: 2rem;
    }


    .dashboard-card .card-body {
        padding: 1rem;
    }


    /* Prevent buttons from becoming awkwardly small */
    .btn {
        min-height: 40px;
    }


    /* Make large search boxes easier to use */
    .form-control-lg {
        font-size: 1rem;
    }

}

/* =========================
   CUSTOMER TABLE ROW HEIGHT
   ========================= */

#customerTable tbody .customer-row > td {
    height: 52px;
    max-height: 52px;
    padding-top: 8px;
    padding-bottom: 8px;
    vertical-align: middle;
    white-space: nowrap;
}


/* Keep long text from increasing row height */

#customerTable .customer-row .customer-address {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}


/* Network values stay on one line */

#customerTable .customer-network {
    white-space: nowrap;
}

/* =========================
   CUSTOMER TABLE HEADER
   ========================= */

#customerTable thead th {
    height: 48px;
    min-height: 48px;
    padding-top: 10px;
    padding-bottom: 10px;
    vertical-align: middle;
    white-space: nowrap;
}