/* Modern navigation shell layered on top of AdminLTE 2 without changing its behavior. */
:root {
    --app-font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea,
.tooltip,
.popover,
.select2-container,
.dataTables_wrapper {
    font-family: var(--app-font-family) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.main-header .logo {
    font-family: var(--app-font-family) !important;
}

.shell-header {
    min-height: 68px;
    max-height: none;
    background: #0d1a3b;
    box-shadow: 0 3px 14px rgba(13, 30, 70, 0.14);
}

.shell-header .logo,
.shell-header .logo:hover,
.shell-header .logo:focus,
body[class*="skin-"] .shell-header .logo,
body[class*="skin-"] .shell-header .logo:hover {
    height: 68px;
    background: linear-gradient(145deg, #111c3e, #0b1532) !important;
    color: #fff !important;
    line-height: 68px;
}

.shell-header .logo .shell-brand {
    display: flex !important;
    align-items: center;
    height: 68px;
    gap: 9px;
    text-align: left;
}

.shell-brand-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(73, 132, 255, 0.7);
    border-radius: 50%;
    color: #dbe6ff;
    font-size: 16px;
}

.shell-brand-name {
    display: -webkit-box;
    flex: 1 1 auto;
    min-width: 0;
    max-height: 38px;
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
}

.shell-header #online_indicator {
    flex: 0 0 auto;
    color: #27d58b !important;
    font-size: 9px;
}

.shell-header .navbar,
body[class*="skin-"] .shell-header .navbar {
    min-height: 68px;
    height: 68px;
    border: 0 !important;
    background: linear-gradient(115deg, #0a68ec, #024acb) !important;
}

.shell-header .navbar > .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 68px;
    padding: 0;
    border: 0 !important;
    color: #fff !important;
    font-size: 17px;
}

.shell-header .navbar > .sidebar-toggle::before {
    display: none;
}

.shell-header .navbar > .sidebar-toggle:hover,
.shell-header .navbar > .sidebar-toggle:focus {
    background: rgba(255, 255, 255, 0.1) !important;
}

.shell-menu-search {
    position: relative;
    float: left;
    width: min(245px, 24vw);
    height: 38px;
    margin-top: 15px;
    margin-left:6px;
    color: rgba(255, 255, 255, 0.78);
}

.shell-menu-search > i {
    position: absolute;
    top: 12px;
    left: 13px;
    z-index: 2;
    font-size: 13px;
}

.shell-menu-search input {
    width: 100%;
    height: 38px;
    padding: 8px 34px 8px 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    outline: 0;
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    font-size: 13px;
    transition: background 0.2s, border-color 0.2s;
}

.shell-menu-search input::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.shell-menu-search input:focus {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.15);
}

.shell-menu-search button {
    position: absolute;
    top: 7px;
    right: 6px;
    display: none;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.68);
}

.shell-menu-search button.is-visible {
    display: block;
}

.shell-header .navbar-custom-menu {
    display: flex !important;
    align-items: center;
    height: 68px;
    padding-right: 10px;
}

.shell-header .navbar-custom-menu > .btn,
.shell-header .navbar-custom-menu > .btn-group,
.shell-header .navbar-custom-menu > a,
.shell-header .navbar-custom-menu > div {
    flex: 0 0 auto;
}

.shell-header .navbar-custom-menu .btn-group > .btn,
.shell-header .navbar-custom-menu > .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    margin: 0 4px !important;
    padding: 0 11px;
    float: none !important;
    border: 0;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    color: #fff;
}

.shell-header .navbar-custom-menu .btn-group > .btn:hover,
.shell-header .navbar-custom-menu > .btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.shell-header .navbar-custom-menu .btn-success,
.shell-header .navbar-custom-menu a.btn-success {
    background: #25bd76 !important;
}

.shell-header .navbar-custom-menu .btn-danger {
    background: #ee4960 !important;
}

.shell-header .shell-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    margin: 0 8px;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
}

.shell-header .navbar-nav {
    display: flex;
    align-items: center;
    height: 68px;
    margin: 0;
}

.shell-header .navbar-nav > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 11px;
    border: 0 !important;
    color: #fff !important;
}

.shell-header .navbar-nav > li > a:hover,
.shell-header .navbar-nav > li.open > a {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12) !important;
}

.shell-header .notifications-menu .label {
    top: 4px;
    right: 2px;
    border-radius: 8px;
}

.shell-header .user-menu > a {
    gap: 8px;
}

.shell-user-avatar {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.shell-header .user-image {
    width: 34px;
    height: 34px;
    margin: 0;
    object-fit: cover;
}

.shell-user-name {
    max-width: 130px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shell-user-chevron {
    font-size: 9px;
    opacity: 0.8;
}

.shell-header .dropdown-menu {
    margin-top: 3px;
    border: 1px solid #e5eaf2;
    border-radius: 9px;
    box-shadow: 0 12px 35px rgba(20, 36, 70, 0.18);
}

.shell-sidebar,
body[class*="skin-"] .shell-sidebar {
    padding-top: 68px;
    background: linear-gradient(160deg, #111c3d, #0b1430 65%, #0c1735) !important;
    box-shadow: 4px 0 22px rgba(13, 26, 59, 0.13) !important;
}

.shell-sidebar .sidebar {
    padding: 8px 12px 26px;
}

.shell-sidebar .shell-mobile-brand {
    background: #101b3c !important;
    color: #fff;
}

.shell-sidebar-label {
    padding: 14px 10px 8px;
    color: #7783a5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.shell-sidebar .sidebar-menu {
    background: transparent !important;
}

.shell-sidebar .sidebar-menu > li {
    margin: 2px 0;
}

.shell-sidebar .sidebar-menu > li > a {
    display: flex;
    align-items: flex-start;
    min-height: 42px;
    padding: 11px 12px !important;
    border: 0 !important;
    border-radius: 6px;
    background: transparent !important;
    color: #d8deef !important;
    font-size: 13px;
    font-weight: 500 !important;
    transition: background 0.18s, color 0.18s;
}

.shell-sidebar .sidebar-menu > li > a > i:first-child {
    flex: 0 0 25px;
    width: 25px;
    margin-top: 1px;
    color: #b8c2dc;
    font-size: 15px;
    text-align: center;
}

.shell-sidebar .sidebar-menu > li > a > span {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.3;
    white-space: normal;
}

.shell-sidebar .sidebar-menu > li:hover > a,
.shell-sidebar .sidebar-menu > li.menu-open > a,
.shell-sidebar .sidebar-menu > li.treeview.active > a {
    background: rgba(64, 112, 210, 0.14) !important;
    color: #fff !important;
}

.shell-sidebar .sidebar-menu > li.active:not(.treeview) > a {
    background: linear-gradient(100deg, #215eb8, #194895) !important;
    box-shadow: 0 5px 14px rgba(0, 67, 174, 0.22);
    color: #fff !important;
}

.shell-sidebar .sidebar-menu > li.active > a > i:first-child,
.shell-sidebar .sidebar-menu > li:hover > a > i:first-child {
    color: #fff;
}

.shell-sidebar .pull-right-container {
    top: 50%;
    right: 9px;
    margin-top: -8px;
}

.shell-sidebar .pull-right-container .fa-angle-left {
    font-size: 12px;
    transition: transform 0.2s;
}

.shell-sidebar .treeview.active > a .fa-angle-left,
.shell-sidebar .treeview.menu-open > a .fa-angle-left,
.shell-sidebar .treeview.shell-search-expanded > a .fa-angle-left {
    transform: rotate(-90deg);
}

.shell-sidebar .treeview-menu,
body[class*="skin-"] .shell-sidebar .treeview-menu {
    margin: 3px 0 5px;
    padding: 2px 0 2px 13px;
    background: transparent !important;
}

.shell-sidebar .treeview-menu > li > a {
    position: relative;
    min-height: 34px;
    padding: 8px 10px 8px 29px !important;
    border-radius: 5px;
    color: #9faac6 !important;
    font-size: 12px !important;
    line-height: 1.3;
    white-space: normal;
}

.shell-sidebar .treeview-menu > li > a::before {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 4px;
    height: 4px;
    margin-top: -2px;
    border-radius: 50%;
    background: #7c89aa;
    content: "";
}

.shell-sidebar .treeview-menu > li:hover > a {
    background: rgba(255, 255, 255, 0.055);
    color: #fff !important;
}

.shell-sidebar .treeview-menu > li.active > a {
    background: linear-gradient(100deg, #215eb8, #194895) !important;
    color: #fff !important;
    font-weight: 600;
}

.shell-sidebar .treeview-menu > li.active > a::before {
    background: #fff;
}

.sidebar-mini.sidebar-collapse .shell-sidebar .sidebar {
    padding-right: 5px;
    padding-left: 5px;
}

.sidebar-mini.sidebar-collapse .shell-sidebar-label {
    display: none;
}

.sidebar-mini.sidebar-collapse .shell-sidebar .sidebar-menu > li > a {
    border-radius: 6px;
}

@media (max-width: 1280px) {
    .shell-menu-search {
        width: 220px;
    }

    .shell-header .shell-date {
        display: none;
    }
}

@media (max-width: 1100px) {
    .shell-menu-search {
        display: none !important;
    }

    .shell-user-name {
        max-width: 90px;
    }
}

@media (max-width: 767px) {
    .shell-header {
        min-height: 58px;
    }

    .shell-header .navbar,
    body[class*="skin-"] .shell-header .navbar {
        min-height: 58px;
        height: 58px;
    }

    .shell-header .navbar > .sidebar-toggle {
        width: 52px;
        height: 58px;
    }

    .shell-header .navbar-custom-menu {
        display: flex !important;
        height: 58px;
        padding-right: 3px;
        float: right !important;
    }

    .shell-header .navbar-nav {
        height: 58px;
    }

    .shell-header .navbar-custom-menu .btn-group > .btn,
    .shell-header .navbar-custom-menu > .btn {
        min-width: 34px;
        height: 34px;
        margin: 0 2px !important;
        padding: 0 8px;
    }

    .shell-sidebar,
    body[class*="skin-"] .shell-sidebar {
        padding-top: 0;
    }

    .shell-sidebar .sidebar {
        padding-top: 4px;
    }
}

@media (max-width: 520px) {
    .shell-header #btnCalculator,
    .shell-header #view_todays_profit {
        display: none;
    }

    .shell-user-chevron {
        display: none;
    }
}
