/* CABEÇALHO */
.cabeca {
  position: relative;
  padding: 10px;
  display: flex;
  background: transparent !important;
  box-shadow: none;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  overflow: visible;
}

/* ===== USER CHIP ===== */
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-color);
  background: var(--secondary-color);
  border-radius: 999px;
  padding: 6px 14px;
  border: 3px solid #1d7efd;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

/* EFEITO DE PISCAR A BORDA */
.user-chip {
  animation: glow 1s infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px #1d7efd;
  }
  to {
    box-shadow: 0 0 20px #1d7efd;
  }
}

.user-chip:hover {
  background: var(--secondary-hover-color);
}

.user-chip img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid;
  border-color: #1d7efd;
}

/* ===== USER CHIP INFO ===== */
.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.user-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

/* Pontinho verde */
.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e; /* verde moderno */
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}

.status-dot {
  display: none;
}

/* Texto pequeno */
.status-text {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--subheading-color);
}

.chat-title-bar {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-color);
  background: var(--secondary-color);
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid #1d7efd;
  box-shadow: 0 0 10px rgba(29, 126, 253, 0.4);
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
