/* Treky HUB — estilos do painel administrativo */

:root {
  --hub-navy: #14152b;
  --hub-primary: #22147c;
}

.hub-logo {
  font-size: 22px;
  line-height: 1;
  color: #6366f1;
}

/* Sidebar */
.hub-sidebar {
  width: 240px;
  min-height: 100vh;
  background: var(--hub-navy);
  flex-shrink: 0;
}

.hub-nav {
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  border-radius: 10px;
}

.hub-nav:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.hub-nav.active {
  background: var(--hub-primary);
  color: #fff;
}

/* Avatares (logo empresa / motorista) */
.hub-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #e9ecef;
  flex-shrink: 0;
}

.hub-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Cards do dashboard */
.hub-stat {
  border: 0;
  border-radius: 16px;
}

.hub-stat .hub-stat-icone {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Chave de federação (monospace + reticências) */
.hub-chave {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.75rem;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}

/* Área do Croppie no modal */
#cropper-logo {
  width: 100%;
  height: 300px;
}

.badge-suspenso {
  background: #f1f3f5;
  color: #868e96;
}
