body {
    font-family: Poppins, sans-serif;
    background: #f0f2f5
}

p {
    font-family: Poppins, sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
}

a,
a:focus,
a:hover {
    color: inherit;
    text-decoration: none;
    transition: all .3s;
    font-weight:600;
}

.navbar {
    padding: 14px 12px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.navbar-btn {
    box-shadow: none;
    outline: 0!important;
    border: none
}

.navbar-toggle-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1em;
    color: #555;
    cursor: pointer;
    transition: all .15s;
    margin-right: 10px;
}
.navbar-toggle-btn:hover {
    background: #f0f2f5;
    color: #333;
}

.navbar-icon-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: .85em;
    color: #666;
    cursor: pointer;
    transition: all .15s;
}
.navbar-icon-btn:hover {
    background: #f0f2f5;
    color: #333;
}

.navbar-search-input {
    font-size: .82em !important;
    border-radius: 20px 0 0 20px !important;
    min-width: 200px;
}

@media (max-width:768px) {
    .navbar-search-input {
        min-width: 120px;
    }
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0
}

.wrapper {
    display: flex;
    width: 100%
}

/* ============================================
   SIDEBAR
   ============================================ */

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #002e5a;
    color: #fff;
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: rgba(255,255,255,.5);
    font-size: 1.1em;
    cursor: pointer;
    transition: all .15s;
    z-index: 1;
}
.sidebar-close:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}

#sidebar.active {
    transform: translateX(-250px);
}

/* --- User header --- */
#sidebar .sidebar-header {
    padding: 14px 16px 10px;
    flex-shrink: 0;
    background: rgba(0,0,0,.15);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.sidebar-user-name {
    font-weight: 600;
    font-size: .88em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-user-actions {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}
.sidebar-action-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.45);
    font-size: .78em;
    font-weight: 400;
    transition: all .15s;
}
.sidebar-action-btn:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}
.sidebar-btn-logout:hover {
    background: rgba(255,80,80,.15);
    color: #ff6b6b;
}

/* --- Menu --- */
.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-menu::-webkit-scrollbar { width: 4px; }
.sidebar-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }

#sidebar ul.components {
    padding: 8px 10px;
    border-bottom: none;
}

#sidebar ul p {
    color: #fff;
    padding: 10px
}

#sidebar ul li a {
    padding: 7px 12px;
    font-size: .88em;
    display: block;
    border-radius: 6px;
    margin: 1px 0;
    transition: background .15s, color .15s;
    color: rgba(255,255,255,.9);
    font-weight: 600 !important;
}

#sidebar ul li a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

#sidebar ul li.active>a {
    background: rgba(255,255,255,.12);
    color: #fff;
    font-weight: 700;
    border-left: 3px solid #5cabff;
}

a[data-toggle=collapse] {
    position: relative
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    transition: transform .2s;
}

ul ul a {
    font-size: .84em!important;
    padding-left: 26px!important;
    background: transparent!important;
    color: rgba(255,255,255,.5)!important;
    border-left: 1px solid rgba(255,255,255,.1);
    margin-left: 14px!important;
    border-radius: 0!important;
}

ul ul a:hover {
    color: #fff!important;
    border-left-color: #5cabff!important;
}

ul ul li.active>a {
    color: #fff!important;
    border-left-color: #5cabff!important;
    font-weight: 600!important;
    background: transparent!important;
}

ul.CTAs {
    padding: 20px
}

ul.CTAs a {
    text-align: center;
    font-size: .9em!important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px
}

/* --- Footer --- */
.sidebar-footer {
    padding: 10px 16px 12px;
}
.sidebar-version {
    font-size: .68em;
    color: rgba(255,255,255,.35);
    font-weight: 400;
}
.sidebar-version:hover {
    color: rgba(255,255,255,.65);
}

/* --- Mobile overlay --- */
#sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.45);
    z-index: 998;
    opacity: 0;
    transition: opacity .3s ease;
}
#sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   CONTENT
   ============================================ */

#content {
    width: calc(100% - 250px);
    padding: 0;
    min-height: 100vh;
    transition: all .3s;
    position: absolute;
    top: 0;
    right: 0
}

#content .sub-content {
    padding: 0 .6rem
}

#content.active {
    width: 100%
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width:768px) {
    #sidebar {
        transform: translateX(-250px);
    }
    #sidebar.active {
        transform: translateX(0);
    }
    #content {
        width: 100%
    }
    #content.active {
        width: 100%
    }
    #sidebarCollapse span {
        display: none
    }
}