.app-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #e7e8ec;
    box-shadow: 0 3px 14px rgba(25, 31, 45, .045);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.app-navbar {
    min-height: 72px;
    padding: 0;
}

.app-navbar-inner {
    gap: 24px;
    margin: 0 auto;
    max-width: 1480px;
    min-height: 72px;
    padding: 0 24px;
}

.app-brand {
    align-items: center;
    color: #283143;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 11px;
    text-decoration: none;
}

.app-brand img {
    display: block;
    height: 42px;
    object-fit: contain;
    width: 98px;
}

.app-brand-divider {
    background: #e1e3e7;
    height: 25px;
    width: 1px;
}

.app-brand-product {
    font-size: .78rem;
    font-weight: 720;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.app-main-nav {
    align-items: center;
    gap: 3px;
}

.app-mobile-nav-item { display: none; }

.app-main-nav .nav-link {
    align-items: center;
    border-radius: 9px;
    color: #657083;
    display: flex;
    font-size: .84rem;
    font-weight: 600;
    gap: 7px;
    padding: 10px 11px !important;
    transition: background-color .16s ease, color .16s ease;
}

.app-main-nav .nav-link i {
    font-size: .82rem;
    text-align: center;
    width: 16px;
}

.app-main-nav .nav-link:hover {
    background: #f6f2f3;
    color: #771b29;
}

.app-main-nav .nav-link.active {
    background: #f5e9eb;
    color: #811f2d;
}

.app-header-tools {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
    margin-left: auto;
}

.app-create-button {
    align-items: center;
    background: #851f2d;
    border-radius: 9px;
    color: #fff;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 650;
    gap: 7px;
    min-height: 39px;
    padding: 0 13px;
    text-decoration: none;
    transition: background-color .16s ease, transform .16s ease;
}

.app-create-button:hover {
    background: #671620;
    color: #fff;
    transform: translateY(-1px);
}

.app-icon-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #687284;
    display: inline-flex;
    font-size: .94rem;
    height: 39px;
    justify-content: center;
    position: relative;
    text-decoration: none;
    width: 39px;
}

.app-notification-group {
    align-items: center;
    background: transparent;
    border: 0;
    display: flex;
    gap: 3px;
    padding: 0;
}

.app-notification-group .app-icon-button {
    border: 1px solid transparent;
    display: inline-flex;
    height: 39px;
    justify-content: center;
    padding: 0;
    width: 39px;
}

.app-notification-group .app-icon-button + .app-icon-button::before {
    content: none;
}

.app-icon-button:hover,
.app-icon-button.active {
    background: #f6f2f3;
    border-color: #eadbdd;
    color: #811f2d;
}

.app-notification-badge,
#notificacoesCounter.app-notification-badge,
#notificacoesMissoesCounter.app-notification-badge {
    align-items: center;
    background: #b4232f;
    border: 1.5px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 0;
    height: 9px;
    justify-content: center;
    line-height: 1;
    min-width: 9px;
    padding: 0;
    position: absolute;
    right: 5px;
    top: 5px;
    white-space: nowrap;
}

.app-user-menu {
    border-left: 1px solid #e5e7eb;
    margin-left: 3px;
    padding-left: 10px;
}

.app-user-trigger {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: #273143;
    display: flex;
    gap: 9px;
    padding: 5px 7px;
    text-align: left;
}

.app-user-trigger:hover,
.app-user-trigger[aria-expanded="true"] {
    background: #f6f7f8;
}

.app-user-avatar {
    align-items: center;
    background: #efe2e4;
    border: 1px solid #e3cdd1;
    border-radius: 50%;
    color: #7e1e2b;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: .78rem;
    font-weight: 760;
    height: 34px;
    justify-content: center;
}

.app-user-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.18;
    max-width: 130px;
}

.app-user-copy strong {
    font-size: .78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-user-copy small {
    color: #89909d;
    font-size: .65rem;
    margin-top: 3px;
}

.app-user-chevron {
    color: #a0a6b0;
    font-size: .57rem;
}

.app-user-dropdown {
    border: 1px solid #e2e4e8;
    border-radius: 13px;
    box-shadow: 0 16px 38px rgba(29, 35, 48, .14);
    margin-top: 9px !important;
    min-width: 230px;
    padding: 7px;
}

.app-user-dropdown-heading {
    display: flex;
    flex-direction: column;
    padding: 7px 10px 5px;
}

.app-user-dropdown-heading strong { color: #2b3445; font-size: .83rem; }
.app-user-dropdown-heading span { color: #89909d; font-size: .7rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; }
.app-user-dropdown .dropdown-divider { border-color: #eceef1; margin: 6px 4px; }

.app-user-dropdown .dropdown-item {
    align-items: center;
    border-radius: 8px;
    color: #4d5768;
    display: flex;
    font-size: .8rem;
    gap: 10px;
    padding: 9px 10px;
}

.app-user-dropdown .dropdown-item i { color: #7e8795; text-align: center; width: 16px; }
.app-user-dropdown .dropdown-item:hover { background: #f6f2f3; color: #791b29; }
.app-user-dropdown .app-logout-link,
.app-user-dropdown .app-logout-link i { color: #ad3037; }

.app-nav-toggler {
    align-items: center;
    border: 1px solid #e1e3e7 !important;
    border-radius: 9px;
    color: #5e6879;
    display: none;
    font-size: .9rem;
    height: 39px;
    justify-content: center;
    padding: 0;
    width: 39px;
}

.app-nav-toggler:focus { box-shadow: 0 0 0 3px rgba(133, 31, 45, .1); }

.auth-brand-header {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #ececef;
    display: flex;
    justify-content: center;
    min-height: 112px;
    padding: 18px;
}

.auth-brand-header img {
    height: 75px;
    object-fit: contain;
    width: 174px;
}

.app-section-dropdown {
    border: 1px solid #e1e4e9;
    border-radius: 11px;
    box-shadow: 0 14px 34px rgba(27, 36, 52, .13);
    min-width: 190px;
    padding: 6px;
}

.app-section-dropdown .dropdown-item {
    align-items: center;
    border-radius: 7px;
    color: #596579;
    display: flex;
    font-size: .72rem;
    font-weight: 650;
    gap: 9px;
    padding: 9px 10px;
}

.app-section-dropdown .dropdown-item i {
    color: #8d5962;
    text-align: center;
    width: 15px;
}

.app-section-dropdown .dropdown-item:hover,
.app-section-dropdown .dropdown-item.active {
    background: #f8eff1;
    color: #861f2d;
}

.app-section-dropdown .dropdown-item.active i {
    color: #861f2d;
}

@media (max-width: 1199.98px) {
    .app-nav-toggler { display: inline-flex; }
    .app-navbar-inner { flex-wrap: wrap; gap: 0; }
    .app-navbar .navbar-collapse { flex-basis: 100%; order: 3; }
    .app-main-nav { align-items: stretch; border-top: 1px solid #eceef1; gap: 3px; padding: 10px 0 14px; }
    .app-main-nav .nav-link { padding: 10px 12px !important; }
    .app-mobile-nav-item { display: block; }
}

@media (max-width: 720px) {
    .app-navbar-inner { min-height: 64px; padding: 0 12px; }
    .app-brand img { height: 36px; width: 83px; }
    .app-brand-divider,
    .app-brand-product { display: none; }
    .app-user-copy,
    .app-user-chevron { display: none; }
    .app-user-menu { border-left: 0; margin-left: 0; padding-left: 0; }
    .app-user-trigger { padding: 2px; }
    .app-create-button { height: 37px; min-height: 37px; padding: 0; width: 37px; justify-content: center; }
    .app-create-button span { display: none; }
    .app-icon-button { height: 37px; width: 37px; }
    .app-nav-toggler { height: 37px; width: 37px; }
    .app-header-tools { gap: 4px; }
}

@media (max-width: 430px) {
    .app-notification-group .app-icon-button:last-child { display: none; }
    .app-notification-group .app-icon-button + .app-icon-button::before { display: none; }
}
