/* Estilos comuns às páginas do ecossistema CCG (login, conta, fórum,
   pedidos, beta, admin). Extraído de apps-hub.css / upload.css para não
   duplicar as mesmas regras em cada folha de estilo nova. */

:root {
  /* Faz o navegador desenhar os controles nativos (o menu que abre de um
     <select>, scrollbar, etc.) na variação escura — sem isso, alguns
     navegadores mostram o texto branco do site num fundo branco padrão
     do sistema operacional dentro do dropdown, ilegível. */
  color-scheme: dark;
}

/* Reforço explícito para navegadores que não respeitam color-scheme no
   popup do <select> (o próprio <select> fechado já fica ok via
   .nexus-input; isto aqui é só a lista de opções ao abrir). */
select option {
  background-color: #0B0F14;
  color: #E2E8F0;
}

body {
  background-color: #080B10;
  color: #E2E8F0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.12) 0%, transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.14) 0%, transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent);
  background-attachment: fixed;
}

.glass-panel {
  background: rgba(13, 17, 23, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.text-gradient {
  background: linear-gradient(to right, #00E5FF, #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nexus-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.nexus-input:focus {
  outline: none;
  border-color: #00E5FF;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.btn-glow {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.4);
}

.btn-glow:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.filter-pill {
  transition: all 0.25s ease;
  border: 1px solid rgba(255,255,255,0.08);
  color: #94A3B8;
}

.filter-pill.active,
.filter-pill:hover {
  border-color: rgba(0, 229, 255, 0.35);
  color: white;
  background: rgba(0, 229, 255, 0.12);
}

.hub-card {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.35);
}

.empty-state {
  border: 1px dashed rgba(255,255,255,0.18);
}

.fade-in {
  animation: fadeIn 0.7s ease-out forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

.status-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.status-pendente { background: rgba(251,191,36,.12); color: #fcd34d; border-color: rgba(251,191,36,.3); }
.status-em_analise { background: rgba(59,130,246,.12); color: #93c5fd; border-color: rgba(59,130,246,.3); }
.status-aprovado { background: rgba(52,211,153,.12); color: #6ee7b7; border-color: rgba(52,211,153,.3); }
.status-recusado { background: rgba(248,113,113,.12); color: #fca5a5; border-color: rgba(248,113,113,.3); }
.status-concluido { background: rgba(0,229,255,.12); color: #67e8f9; border-color: rgba(0,229,255,.3); }

.hub-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 11, 16, 0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hub-nav-link {
  color: #94A3B8;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.hub-nav-link:hover,
.hub-nav-link.active {
  color: #00E5FF;
}

.security-note {
  border: 1px solid rgba(0,229,255,0.18);
  background: rgba(0,229,255,0.05);
  border-radius: 1rem;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #080B10; }
::-webkit-scrollbar-thumb { background: #1E293B; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #00E5FF; }
