.header {
    height: 72px;
}

.header .container {
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 992px) {
    .header .container {
        padding-left: 0;
        padding-right: 0;
    }
}

.header .nav-icon .nav-link {
    padding: 0;
    font-size: 21px;
    line-height: 1;
    color: #6e7985;
    transition: all 0.25s;
}

@media (prefers-reduced-motion: reduce) {
    .header .nav-icon .nav-link {
        transition: none;
    }
}

.header .nav-icon .nav-link + .nav-link {
    margin-left: 8px;
}

.header .nav-icon .nav-link:hover {
    color: #506fd9;
    transform: scale(1.1);
}

.header-logo, .sidebar-logo {
    font-size: 24px;
    font-family: "Archivo", sans-serif;
    font-weight: 600;
    display: inline-block;
    line-height: 1;
    color: #212830;
    letter-spacing: -.5px;
    position: relative;
}

.header-logo:hover, .sidebar-logo:hover, .header-logo:focus, .sidebar-logo:focus {
    color: #212830;
}

.header-logo::after, .sidebar-logo::after {
    content: '';
    position: absolute;
    bottom: 3.5px;
    right: -8px;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: #506fd9;
}

.header-main {
    height: 72px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 800;
    border-bottom: 1px solid #f3f5f9;
    background-color: #fff;
    display: flex;
    align-items: center;
    transition: all 0.25s;
    box-shadow: 0 1px 1px rgba(33, 40, 48, 0.01), 0 4px 4px rgba(33, 40, 48, 0.01), 0 16px 16px rgba(33, 40, 48, 0.01);
}

@media (prefers-reduced-motion: reduce) {
    .header-main {
        transition: none;
    }
}

@media (min-width: 992px) {
    .header-main {
        left: 240px;
        border-left: 1px solid #f8f9fc;
    }
}

@media (min-width: 1400px) {
    .header-main {
        left: 250px;
    }
}

.header-main .form-search {
    width: 180px;
    box-shadow: none;
    background-color: #f3f5f9;
}

@media (max-width: 767.98px) {
    .header-main .form-search {
        height: 38px;
        border-radius: 4px;
    }
}

@media (min-width: 576px) {
    .header-main .form-search {
        width: 270px;
    }
}

@media (min-width: 1200px) {
    .header-main .form-search {
        width: 320px;
    }
}

.header-main .form-search .form-control, .header-main .form-search .gridjs-input {
    padding-left: 3px;
}

.header-main .form-search i {
    opacity: .6;
}

.header-main .form-search.onfocus {
    background-color: #fff;
}

.header-main .menu-link {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.325rem;
    color: #6e7985;
}

.header-main .menu-link:hover {
    color: #506fd9;
}

.header-main .nav-link {
    color: #6e7985;
}

.header-main .nav-link:hover {
    color: #41505f;
}

.header-main .nav-link.active {
    font-weight: 500;
    color: #506fd9;
    letter-spacing: -.1px;
}

.header-main .nav-link .badge {
    color: #506fd9;
    border: 1px solid #506fd9;
    border-radius: 4px;
    padding: 3px;
    margin-left: 2px;
}

.header-main .dropdown-link {
    display: block;
    color: #6e7985;
    position: relative;
}

.header-main .dropdown-link:hover {
    color: #41505f;
}

.header-main .dropdown-link i {
    font-size: 20px;
    line-height: 1.4;
}

.header-main .dropdown-link small, .header-main .dropdown-link .small {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: #dc3545;
    color: #fff;
    font-size: 9px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    box-shadow: 0 0 0 1px #fff;
}

.dropdown-skin .dropdown-link {
    display: flex;
    margin-top: 2px;
}

.dropdown-skin .dropdown-link i {
    animation: rotation 5s infinite linear;
    color: #506fd9;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.dropdown-skin .dropdown-menu {
    width: 250px;
    margin-right: 10px;
    padding: 20px;
    border-color: #e2e5ec;
    border-radius: 6px;
    border-width: 0;
    box-shadow: 0 2px 10px rgba(110, 121, 133, 0.1), 0 10px 20px rgba(110, 121, 133, 0.1);
}

.dropdown-skin .dropdown-menu label {
    font-size: 10px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    color: #6e7985;
    text-transform: uppercase;
    display: block;
    letter-spacing: .5px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.dropdown-skin .dropdown-menu hr {
    border-color: #e2e5ec;
    opacity: 1;
    margin: 20px 0;
}

.nav-skin {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-skin .nav-link {
    border: 1px solid #ccd2da;
    font-size: 0.8125rem;
    padding: 4px 15px;
    color: #41505f;
}

.nav-skin .nav-link:hover, .nav-skin .nav-link:focus {
    border-color: #9ea7b1;
    background-color: #f3f5f9;
    position: relative;
}

.nav-skin .nav-link + .nav-link {
    margin-left: -1px;
}

.nav-skin .nav-link:first-child {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.nav-skin .nav-link:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.nav-skin .nav-link.active {
    letter-spacing: normal;
    font-weight: 400;
    border-color: #6e7985;
    background-color: #e2e5ec;
    color: #212830;
    position: relative;
    z-index: 2;
}

.dropdown-notification {
    position: relative;
}

.dropdown-notification .dropdown-link {
    margin-top: 5px;
}

.dropdown-notification .dropdown-menu {
    margin-right: 10px;
    width: 320px;
    padding: 0;
    border-color: #e2e5ec;
    border-radius: 6px;
    border-width: 0;
    box-shadow: 0 2px 10px rgba(110, 121, 133, 0.1), 0 10px 20px rgba(110, 121, 133, 0.1);
}

@media (min-width: 576px) {
    .dropdown-notification .dropdown-menu {
        width: 340px;
    }
}

.dropdown-notification .dropdown-menu-header {
    height: 48px;
    border-bottom: 1px solid #e2e5ec;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.dropdown-notification .dropdown-menu-title {
    font-weight: 600;
    font-size: 15px;
    color: #212830;
    margin-bottom: 0;
}

.dropdown-notification .list-group {
    padding: 5px;
}

.dropdown-notification .list-group-item {
    border-width: 0;
    display: flex;
    padding: 8px 10px;
    border-radius: 4px;
    background-color: transparent;
}

.dropdown-notification .list-group-item:hover {
    background-color: rgba(243, 245, 249, 0.85);
    cursor: pointer;
}

.dropdown-notification .list-group-item strong {
    font-weight: 600;
}

.dropdown-notification .avatar {
    margin-right: 15px;
    flex-shrink: 0;
}

.dropdown-notification .list-group-body {
    color: #313c47;
    line-height: 1.4;
    padding-right: 10px;
}

.dropdown-notification .list-group-body p {
    margin-bottom: 2px;
}

.dropdown-notification .list-group-body span {
    font-size: 11px;
    color: #6e7985;
}

.dropdown-notification .dropdown-menu-footer {
    text-align: center;
    padding: 8px 10px;
    border-top: 1px solid #e2e5ec;
    font-size: 0.8125rem;
}

.dropdown-profile .dropdown-link .avatar {
    width: 34px;
    height: 34px;
}

.dropdown-profile .dropdown-menu {
    width: 230px;
    padding: 0;
    border-color: #e2e5ec;
    border-radius: 6px;
    border-width: 0;
    box-shadow: 0 2px 10px rgba(110, 121, 133, 0.1), 0 10px 20px rgba(110, 121, 133, 0.1);
}

.dropdown-profile .dropdown-menu-body {
    padding: 20px 20px 15px;
}

.dropdown-profile .dropdown-menu-body h5, .dropdown-profile .dropdown-menu-body .h5 {
    font-size: 16px;
}

.dropdown-profile .nav {
    flex-direction: column;
    margin: 0 -10px;
}

.dropdown-profile .nav a {
    display: flex;
    align-items: center;
    padding: 7px 8px;
    color: #41505f;
    border-radius: 4px;
    transition: all 0.25s;
}

@media (prefers-reduced-motion: reduce) {
    .dropdown-profile .nav a {
        transition: none;
    }
}

.dropdown-profile .nav a:hover {
    background-color: #f3f5f9;
    color: #212830;
}

.dropdown-profile .nav a i {
    font-size: 17px;
    line-height: 1;
    margin-right: 10px;
}

.dropdown-profile hr {
    opacity: .12;
    margin: 5px -2px;
}