/* NOVO TOPBAR FUNCTIONAL LAYER */

body,
.main-content,
#page-topbar,
.app-menu.navbar-menu {
    transition: margin-left .18s ease, left .18s ease, transform .18s ease;
}

@media (min-width: 992px) {
    body.novo-sidebar-hidden .app-menu.navbar-menu {
        transform: translateX(-105%) !important;
    }

    body.novo-sidebar-hidden .main-content {
        margin-left: 0 !important;
    }

    body.novo-sidebar-hidden #page-topbar {
        left: 0 !important;
    }

    body.novo-sidebar-hidden .footer {
        left: 0 !important;
    }
}

.novo-search-host {
    position: relative !important;
}

.novo-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(560px, calc(100vw - 32px));
    max-height: 520px;
    overflow-y: auto;
    z-index: 1080;
    background: #fff;
    border: 1px solid #e7e9ef;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(37, 42, 66, .14);
    padding: 7px;
}

.novo-search-group + .novo-search-group {
    margin-top: 5px;
    border-top: 1px solid #eef0f5;
    padding-top: 5px;
}

.novo-search-group-title {
    padding: 7px 10px 4px;
    color: #9aa2b4;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.novo-search-item {
    align-items: center;
    border-radius: 7px;
    color: #30384d;
    display: flex;
    gap: 10px;
    padding: 9px 10px;
    text-decoration: none !important;
}

.novo-search-item:hover,
.novo-search-item.active {
    background: #f3f1fb;
    color: #40569a;
}

.novo-search-icon {
    align-items: center;
    background: #f4f5f8;
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
}

.novo-search-copy {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.novo-search-title {
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.novo-search-subtitle {
    color: #8b93a7;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.novo-search-arrow {
    color: #abb1bf;
}

.novo-search-empty,
.novo-search-loading {
    color: #8b93a7;
    padding: 20px;
    text-align: center;
}

.novo-notification-host {
    position: relative !important;
}

.novo-notification-badge {
    align-items: center;
    background: #ef5b5b;
    border: 2px solid #fff;
    border-radius: 99px;
    color: #fff;
    display: inline-flex;
    font-size: 9px;
    font-weight: 700;
    height: 18px;
    justify-content: center;
    min-width: 18px;
    padding: 0 4px;
    position: absolute;
    right: 2px;
    top: 2px;
    line-height: 1;
}

.novo-notification-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(390px, calc(100vw - 24px));
    z-index: 1090;
    background: #fff;
    border: 1px solid #e7e9ef;
    border-radius: 10px;
    box-shadow: 0 14px 42px rgba(37,42,66,.16);
    overflow: hidden;
}

.novo-notification-head {
    align-items: center;
    border-bottom: 1px solid #edf0f5;
    display: flex;
    justify-content: space-between;
    padding: 14px 15px;
}

.novo-notification-list {
    max-height: 410px;
    overflow-y: auto;
}

.novo-notification-item {
    align-items: flex-start;
    border-bottom: 1px solid #f0f2f5;
    color: #30384d;
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    text-decoration: none !important;
}

.novo-notification-item:hover {
    background: #f8f8fb;
}

.novo-notification-dot {
    border-radius: 99px;
    flex: 0 0 8px;
    height: 8px;
    margin-top: 6px;
    width: 8px;
}

.novo-notification-copy {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.novo-notification-title {
    font-size: 13px;
    font-weight: 600;
}

.novo-notification-body {
    color: #697286;
    display: -webkit-box;
    font-size: 11px;
    margin-top: 2px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.novo-notification-meta {
    color: #9aa2b4;
    font-size: 10px;
    margin-top: 5px;
}

.novo-notification-empty {
    color: #8b93a7;
    padding: 30px 20px;
    text-align: center;
}

.novo-notification-empty i {
    color: #5fb878;
    display: block;
    font-size: 28px;
    margin-bottom: 5px;
}

.novo-notification-footer {
    background: #fafbfc;
    display: block;
    font-size: 12px;
    font-weight: 500;
    padding: 11px 14px;
    text-align: center;
    text-decoration: none !important;
}

@media (max-width: 767.98px) {
    .novo-search-results {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 70px;
        width: auto;
    }

    .novo-notification-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 70px;
        width: auto;
    }
}
