/* --- PADRONIZAÇÃO DO MENU DE AÇÕES (3 PONTOS) --- */
.action-menu {
  position: relative;
  display: inline-block;
}
.btn-dots {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 1.1rem;
  border-radius: 50%;
  transition: 0.2s;
}
.btn-dots:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary);
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: white;
  min-width: 190px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.dropdown-content.drop-down {
  top: 100%;
  margin-top: 5px;
}
.dropdown-content.drop-up {
  bottom: 100%;
  margin-bottom: 5px;
}
.dropdown-content.show {
  display: block;
}

.dropdown-content button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px 15px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}
.dropdown-content button:hover {
  background: #f8fafc;
  color: var(--primary);
}
.dropdown-content button i {
  width: 16px;
  text-align: center;
}

/* Impede o corte do menu na tabela */
.card-table,
.admin-table td {
  overflow: visible !important;
}

/* Estilo para a visualização do HWID */
.hwid-text {
  font-family: monospace;
  font-size: 0.7rem;
  color: #94a3b8;
  display: block;
  margin-top: 4px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
