/* UltraLED 5.3.0 — cabeçalho responsivo */
.topbar-title-wrap {
    min-width: 0;
}

.topbar-title {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767.98px) {
    .topbar {
        height: 74px;
        min-height: 74px;
        padding: 0 10px;
        gap: 7px;
    }

    .topbar-menu-button,
    .topbar .top-actions > .btn,
    .topbar .top-actions > a.btn {
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        flex: 0 0 44px;
    }

    .topbar-menu-button i,
    .topbar .top-actions i {
        margin: 0 !important;
        font-size: 1.18rem;
    }

    .topbar-title-wrap {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .topbar-title {
        margin: 0 !important;
        font-size: 1.08rem !important;
        line-height: 1.2 !important;
        font-weight: 800;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .topbar .breadcrumb-lite {
        display: none !important;
    }

    .topbar .top-actions {
        margin-left: 0 !important;
        gap: 6px;
        flex: 0 0 auto;
    }

    .topbar .top-actions .btn-primary {
        font-size: 0 !important;
    }

    .topbar .top-actions .activity-dot {
        font-size: .52rem;
    }
}

@media (max-width: 389.98px) {
    .topbar {
        padding: 0 7px;
        gap: 5px;
    }

    .topbar-menu-button,
    .topbar .top-actions > .btn,
    .topbar .top-actions > a.btn {
        width: 41px;
        min-width: 41px;
        height: 41px;
        flex-basis: 41px;
    }

    .topbar .top-actions {
        gap: 4px;
    }

    .topbar-title {
        font-size: .98rem !important;
    }
}
