body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f4f5f7; /* Fundo cinza claro */
}

/* =========================================
   SIDEBAR (Administrador)
   ========================================= */
.side-bar {
  width: 272px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 10;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(121, 12, 230, 0.3) transparent;
}

.sidebar-top { display: flex; justify-content: flex-start; padding-left: 10px; margin-bottom: 30px; margin-top: 10px; }

.sidebar-menu { display: flex; flex-direction: column; flex: 1; gap: 6px; }

.menu-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  text-decoration: none;
  color: #555555;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.menu-item img {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

.menu-item.active img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.menu-divider-admin { height: 1px; background-color: transparent; margin: 10px 0; }

.sidebar-footer-admin {
  margin-top: auto;
  background-color: #f6f0ff;
  border-radius: 8px;
  padding: 16px;
}

.footer-admin-info { display: flex; flex-direction: column; gap: 4px; }

.admin-nome-rodape { font-size: 14px; font-weight: 700; color: #000; }

.btn-encerrar-sessao {
  background: none;
  border: none;
  color: #790ce6;
  font-size: 12px;
  font-weight: 600;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: 0.2s;
}

/* =========================================
   BARRA SUPERIOR (BRANCA)
   ========================================= */
.main-content {
  flex: 1;
  margin-left: 272px;
  display: flex;
  flex-direction: column;
}

.top-bar-white {
  background-color: #ffffff;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pesquisa-wrapper { display: flex; align-items: center; background-color: #f5f5f5; border-radius: 35px; padding: 6px 10px 6px 20px; width: 100%; max-width: 500px; height: 48px; justify-content: space-between; }

.input-busca-real { border: none; background: transparent; font-size: 15px; color: #333; width: 100%; font-style: italic; }

.btn-filtrar { display: flex; align-items: center; gap: 8px; background: transparent; border: none; color: #790ce6; font-size: 15px; font-weight: 600; font-style: italic; cursor: pointer; padding: 5px 15px; border-left: 1px solid rgba(0, 0, 0, 0.1); }

/* =========================================
   PESQUISAR VAGAS (NOVO CONTEÚDO)
   ========================================= */
.pesquisa-page-wrapper {
  padding: 40px;
  max-width: 1100px; /* Um pouco mais contido que os painéis de 2 colunas para o input não ficar gigante demais */
}

.page-header { margin-bottom: 30px; }

.page-title { font-size: 28px; font-weight: 800; color: #000; margin: 0 0 8px 0; }

.page-subtitle { font-size: 15px; color: #666; margin: 0; }

/* Layout de Coluna Única Empilhada */
.pesquisa-conteudo {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.card-painel {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}

/* --- BLOCO SUPERIOR: BUSCA AVANÇADA --- */
.busca-avancada-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.busca-input-row {
  display: flex;
  gap: 15px;
}

.input-grande {
  flex: 1;
  background-color: #f9fafc;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 15px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #333;
}

.input-grande:focus {
  outline: none;
  border-color: #790ce6;
}

.btn-primary-large {
  background-color: #790ce6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0 35px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.btn-primary-large:hover { background-color: #6109b8; }

/* Filtros rápidos (Tags Clicáveis) */
.filtros-rapidos-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.filtros-label {
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

.btn-filtro-tag {
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-filtro-tag:hover { opacity: 0.8; }

.tag-sinalizadas { background-color: #ffe4e6; color: #e11d48; }

.tag-recentes    { background-color: #e0e7ff; color: #3730a3; }

/* --- BLOCO INFERIOR: RESULTADOS --- */
.panel-header { margin-bottom: 25px; }

.panel-title { font-size: 18px; font-weight: 800; color: #000; margin: 0 0 4px 0; }

.panel-subtitle { font-size: 13px; color: #888; margin: 0; }

.panel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resultado-item {
  background-color: #f9fafc;
  padding: 18px 25px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
  cursor: pointer;
}

.resultado-item:hover {
  background-color: #ffffff;
  border-color: rgba(121, 12, 230, 0.2);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.resultado-textos { display: flex; flex-direction: column; gap: 4px; }

.item-title { font-size: 16px; font-weight: 700; color: #000; margin: 0; }

.item-desc { font-size: 14px; color: #666; margin: 0; }

/* --- BADGES (Status das vagas) --- */
.badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.badge-ocultada { background-color: #ffedd5; color: #c2410c; }

/* Laranja */
.badge-ativa    { background-color: #dcfce7; color: #15803d; }

/* Verde */
.badge-revisao  { background-color: #ffe4e6; color: #e11d48; }

/* Vermelho */

@media (max-width: 1024px) {
  .pesquisa-page-wrapper {
    padding: 30px 20px;
  }

.top-bar-white {
    padding: 0 20px;
  }
}

/* Telas Pequenas (Celulares) - Abaixo de 768px */
@media (max-width: 768px) {
  /* Esconde a Sidebar */
  .side-bar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

/* Faz o conteúdo principal ocupar toda a tela */
  .main-content {
    margin-left: 0;
  }

/* Ajustes da barra de pesquisa do topo */
  .top-bar-white {
    padding: 0 15px;
    gap: 15px;
  }

.pesquisa-wrapper {
    padding: 6px 10px;
  }

.input-busca-real {
    font-size: 14px;
  }

/* Esconde o texto "Filtrar" no botão mobile */
  .btn-filtrar span {
    display: none;
  }

/* Esconde os textos do perfil no topo */
  .perfil-textos-top {
    display: none;
  }

/* Ajustes de tipografia do cabeçalho */
  .page-title {
    font-size: 24px;
  }

.page-subtitle {
    font-size: 14px;
  }

/* Reduz o padding interno dos cards */
  .card-painel {
    padding: 20px 15px;
  }

/* Ajusta a busca avançada (input e botão ocupam 100%) */
  .busca-input-row {
    flex-direction: column;
  }

.btn-primary-large {
    width: 100%;
    padding: 15px;
  }

/* Permite que as tags rápidas quebrem linha */
  .filtros-rapidos-row {
    flex-wrap: wrap;
  }

/* Resultados da Auditoria: Não deixa o texto sobrepor a badge */
  .resultado-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

.badge {
    align-self: flex-start;
  }
}