/* =========================================================
   FRETE+PRO 3.9.1 - Alinhamento do topo do Transporte
========================================================= */

.topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

.topbar > div:first-child {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.topbar-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

.dashboard-date,
.system-online {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-height: 36px !important;
  padding: 0 11px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  font-size: 12px !important;
}

.dashboard-date svg {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 auto !important;
}

.system-online span {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  border-radius: 50% !important;
  background: #35a85b !important;
}

.topbar .user {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  min-width: max-content !important;
}

.topbar .user-avatar {
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  font-size: 12px !important;
}

.topbar .user > div:last-child {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
}

.topbar .user strong,
.topbar .user small {
  margin: 0 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.topbar .user strong {
  font-size: 12px !important;
}

.topbar .user small {
  margin-top: 2px !important;
  font-size: 10.5px !important;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start !important;
  }

  .topbar-actions {
    flex-wrap: wrap !important;
    max-width: 430px !important;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .topbar-actions {
    justify-content: flex-start !important;
    max-width: none !important;
  }
}
