/* Base box-sizing para consistência */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  *, *::before, *::after {
    box-sizing: inherit;
  }
  
  /* Reset de margens, bordas e fontes */
  html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #FDFEFF;
    color: #212529;
    overflow-x: hidden;
  }
  
  /* Tipos de texto padrão */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #212529;
  }
  
  p {
    margin: 0 0 1rem;
  }
  
  /* Listas e tabelas */
  ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  table {
    border-collapse: collapse;
    width: 100%;
  }
  
  /* Links */
  a {
    text-decoration: none;
    color: inherit;
  }
  
  button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
    appearance: none;
  }
  
  /* Imagens responsivas */
  img {
    max-width: 100%;
    display: block;
  }
  
  /* Formulário básico */
  input, textarea {
    border-radius: 4px;
    border: 1px solid #FDFEFF;
    padding: 0.5rem 0.75rem;
    transition: border 0.2s ease;
  }
  
  input:focus, textarea:focus {
    border-color: #343A40;
  }
  
  /* Remove quotes padrão */
  blockquote, q {
    quotes: none;
  }
  blockquote::before,
  blockquote::after,
  q::before,
  q::after {
    content: '';
  }
/*FIM*/  


.header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background: #FDFEFF;
    border-radius: 12px;
  }
  
  .logo {
    font-size: 2.8rem;
    font-weight: 800;
    color: #212529;
    text-decoration: none;
    margin-right: auto;
  }
  
  .search-form {
    flex: 1 1 300px;
    margin: 0 1rem;
    min-width: 220px;
  }
  
  .search-form input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 2px solid #343A40;
    border-radius: 6px;
    font-size: 1rem;
  }
  
  .auth-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
   
  }
  
  .btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
  }
  
  .btn.outline {
    border: 2px solid #343A40;
    color: #FDFEFF;
    background-color: #343A40;
  }
  
  .btn.solid {
    background-color: #343A40;
    color: #FDFEFF;
    border: none;
  }
  
  .user-info {
    flex-basis: 100%;
    background: #FDFEFF;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 6px;
    text-align: center;
  }
  
  .user-info nav {
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .nav-link {
    color: #343A40;
    text-decoration: none;
  }

  @media (max-width: 767px) {
    .header {
      flex-direction: column;
      align-items: stretch;
    }
  
    .search-form,
    .auth-buttons {
      width: 100%;
    }
  
    .logo {
      margin-bottom: 1rem;
      text-align: center;
    }
  }

  .user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    position: relative;    
  }
  
  .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #343A40;
  }
  

  
  .nav-link {
    font-size: 0.85rem;
    color: #343A40;
    text-decoration: none;
  }
  
  .nav-link.logout {
    color: #343A40;
  }

 
  
  .auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .user-name {
    font-weight: 600;
    color: #343A40;
  }
  
  
  /*Footer*/
  .container {
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
  }
  
  .footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #212529;
    text-decoration: none;
    margin-bottom: 1rem;
  }
  
  .footer-text {
    font-size: 0.95rem;
    color: #343A40;
    margin-bottom: 1rem;
  }
  
  .footer-nav {
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
  }
  
  .footer-nav a {
    color: #343A40;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }
  
  .footer-nav a:hover {
    color: #343A40;
  }
  
  /*Header_dashboard*/
  .container {
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /*.custom-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    gap: 1rem;
  }*/
  
  .custom-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background: #FDFEFF;
    border-radius: 12px;
  
  }


  /*.search-form input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 2px solid #343A40;
    border-radius: 4px;
    font-size: 1rem;
  }*/
  
  .logout-group {
    text-align: right;
  }
  
  .btn-logout {
    padding: 0.5rem 1rem;
    border: 2px solid #343A40;
    color: #343A40;
    background-color: transparent;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  
  .btn-logout:hover {
    background-color: #343A40;
    color: #FDFEFF;
  }
  
  /*Views Index - Cards*/
  .main-wrapper {
    max-width: 100vw;
    margin: 0 auto;
    padding: 3rem 1rem;
  }
  
  .note-link {
    display: flex;
    flex-wrap: wrap;  
    justify-content: center;
    gap: 2rem;
    padding: 2rem 1rem; /* top/bottom = 2rem, left/right = 1rem */
  }

  .card-grid {
    display: flex;
    flex-wrap: wrap;  
    justify-content: center;
    gap: 2rem;
    padding: 2rem 1rem; /* top/bottom = 2rem, left/right = 1rem */
  }

  .notes-grid {
      display: flex;
      flex-wrap: wrap;  
      justify-content: center;
      gap: 2rem;
      padding: 2rem 1rem; /* top/bottom = 2rem, left/right = 1rem */
    
  }

  .card-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .card-grid h5 { font-size: 1.2rem;}
  .card-grid p { font-size: .9rem; line-height: 0.8;}
  
  .btn-ver-mais {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #343A40;
    color: #FDFEFF;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
  }
  
  .btn-ver-mais:hover {
    background-color: #343A40;
  }
  
  



  .note-link {
    background: #FDFEFF;
    border: 1px solid #343A40;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    padding: 1.8rem;
    flex: 1 1 100%;
    max-width: 100%;
    transition: transform 0.2s ease;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-column {
  background: #FDFEFF;
  border: 1px solid #343A40;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  padding: 1.8rem;
  flex: 1 1 100%;
  max-width: 100%;
  transition: transform 0.2s ease;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.card-column:hover {
    transform: scale(1.01);
}

.note-link, .card-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #343A40;
}

.note-link, .card-body {
    font-size: 1.1rem;
    color: #343A40;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.note-link, .card-meta {
    font-size: 0.9rem;
    color: #343A40;
    margin-top: auto;
}

/* --- Media Queries --- */

/* Telas médias (tablets) */
@media (min-width: 768px) {
    .note-link, .card-column {
        flex: 1 1 calc(50% - 2rem);
        max-width: calc(50% - 2rem);
    }
}

/* Telas grandes (desktop) */
@media (min-width: 992px) {
    .note-link, .card-column {
        flex: 1 1 calc(33.333% - 2rem);
        max-width: calc(33.333% - 2rem);
    }
}

/* Telas Ultra-Grandes (Full HD, 4K e superiores) */
@media (min-width: 1920px) {
    .note-link, .card-column {
        flex: 1 1 calc(25% - 2rem);
        max-width: calc(25% - 2rem);
    }
    .note-link, .card-grid {
        /*
        OPÇÃO 1: Manter padding relativo ao gap
        Ajustamos o padding horizontal para ser a metade do gap,
        garantindo que os cards não vazem para fora.
        */
        padding-left: 1rem; /* Metade do gap de 2rem */
        padding-right: 1rem; /* Metade do gap de 2rem */

        /* OPÇÃO 2 (Se quiser que o grid seja ainda mais largo,
           mas essa pode não ser a causa da barra horizontal real) */
        /*max-width: 100%; /* Permite que a grade ocupe quase toda a largura da tela */
        /*margin: 0 auto;*/
    }
}



  .no-vagas {
    text-align: center;
    margin: 3rem auto;
    width: 100%;
  }
  
  .loading-spinner {
    text-align: center;
    margin: 2rem 0;
  }
  
  .spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #343A40;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  /* Responsivo */
  @media (max-width: 768px) {
    .card-column {
      flex: 1 1 100%;
    }
  }
  
  /*view-note - dashboard*/
  .breadcrumb-nav {
    margin-bottom: 2rem;
  }
  
  .breadcrumb-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 0.5rem;
    font-size: 0.95rem;
  }
  
  .breadcrumb-list li:not(:last-child)::after {
    content: "›";
    margin: 0 0.5rem;
  }
  
  .note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .title-view {
    font-size: 1.5rem;
    margin: 0;
  }
  
  .note-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .note-title {
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-bottom: 2px solid #343A40;
    padding: 0.5rem;
  }
  
  .note-body {
    padding: 1rem;
    font-size: 1.05rem;
    border: 1px solid #FDFEFF;
    border-radius: 6px;
    resize: vertical;
  }
  
  .btn-primary, .btn-danger, .btn-secondary {
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
  }
  
  .btn-primary {
    background-color: #343A40;
    color: #FDFEFF;
  }
  
  .btn-danger {
    background-color: #343A40;
    color: #FDFEFF;
  }
  
  .btn-secondary {
    background-color: #343A40;
    color: #FDFEFF;
  }
  
  .modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .modal-box {
    background: #FDFEFF;
    padding: 2rem;
    border-radius: 6px;
    max-width: 400px;
    width: 100%;
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
  }
 
/*Search Dashboard*/
.search-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
  }
  
  .search-item {
    margin-bottom: 1.5rem;
  }
  
  .search-item a {
    text-decoration: none;
    color: #343A40;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .search-item a:hover {
    color: #343A40;
  }
  
  .no-results {
    font-size: 1rem;
    color: #343A40;
    text-align: center;
    margin-top: 2rem;
  }
    
  /*Index Dashboard*/
  .dashboard-wrapper {
    max-width: 100vw;
    margin: 0 auto;
    padding: 3rem 1rem;
  }

  
  
  /*.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
  }*/
  
  .dashboard-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background: #FDFEFF;
    border-radius: 12px;
  
  }

  .btn-add, .btn-start {
    padding: 0.5rem 1rem;
    background-color: #343A40;
    color: #FDFEFF;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
  }
  
  .note-link, .notes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .note-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  .note-link .note-card {
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .note-link:hover .note-card {
    transform: scale(1.01);
  }
  
  
  /*.note-card {
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 6px;
    padding: 1rem;
    width: calc(25% - 1rem);
    min-height: 210px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  
  .note-card a {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  .note-card h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .note-card p {
    font-size: 1rem;
    color: #333;
  }*/
  
  .empty-state {
    text-align: center;
    margin: 3rem auto;
  }
  
  .pagination-nav {
    margin-top: 3rem;
    text-align: center;
  }
  
  .pagination-list {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 0.5rem;
  }
  
  .pagination-list li {
    font-size: 0.95rem;
  }
  
  .pagination-list a {
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border: 1px solid #343A40;
    border-radius: 4px;
    color: #343A40;
  }
  
  .pagination-list .active {
    padding: 0.4rem 0.8rem;
    background-color: #343A40;
    color: #FDFEFF;
    border-radius: 4px;
  }
  
  .pagination-list .disabled {
    padding: 0.4rem 0.8rem;
    color: #343A40;
  }
 
 /* --- Estilos Gerais para o Container do Formulário de Vagas --- */
.add-note-wrapper { /* Mantive o nome da classe para consistência com o HTML */
    max-width: 800px; /* Limita a largura do formulário em telas grandes */
    margin: 40px auto; /* Centraliza o wrapper na página */
    padding: 2rem;
    background-color: #FFFFFF; /* Fundo branco para o formulário em si */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Sombra suave para destacar */
}

/* --- Breadcrumbs (Caminho de Navegação) --- */
.breadcrumb-nav {
    margin-bottom: 1.5rem; /* Ajustei um pouco o espaçamento */
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0; /* Garante que não haja margem padrão */
    display: flex;
    font-size: 0.95rem;
    color: #6C757D; /* Cinza para o texto do breadcrumb (suave e legível) */
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›'; /* Separador visual */
    margin: 0 8px; /* Espaçamento ao redor do separador */
    color: #ADB5BD; /* Cinza claro para o separador */
}

.breadcrumb-list a {
    color: #198754; /* Seu verde principal para links do breadcrumb */
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

/* --- Cabeçalho do Formulário --- */
.note-header { /* Mantive o nome da classe para consistência */
    margin-bottom: 2rem;
}

.note-header h1 {
    font-size: 2.2rem; /* Tamanho maior para o título principal do formulário */
    color: #198754; /* Seu verde principal */
    text-align: center; /* Centraliza o título */
}

/* --- Estilos do Formulário de Vagas (a classe 'job-form' do novo HTML) --- */
.job-form { /* Esta é a classe do seu novo formulário <form> */
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Espaçamento entre os grupos de formulário */
}

.form-group { /* Wrapper para Label e Input */
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    color: #343A40; /* Cor do label - seu cinza escuro para texto */
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-input { /* Para todos os inputs (text, select, textarea) */
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #CED4DA; /* Borda cinza padrão (mais suave que o #343A40) */
    border-radius: 8px; /* Cantos arredondados */
    font-size: 1rem;
    color: #343A40; /* Cor do texto digitado */
    background-color: #FFFFFF; /* Fundo branco para os inputs */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box; /* Garante que padding e border não aumentem a largura total */
}



.form-input:focus {
    border-color: #198754; /* Seu verde no foco */
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25); /* Sombra suave verde */
    outline: none; /* Remove o outline padrão do navegador */
}

/* Estilo específico para o textarea (Descrição da Vaga) */
.textarea-height { /* Classe para o textarea principal */
    min-height: 150px; /* Altura mínima para o campo de descrição */
    resize: vertical; /* Permite redimensionar apenas verticalmente */
    line-height: 1.6; /* Boa legibilidade para o conteúdo da descrição */
}

/* --- Estilo para o Botão de Publicar Vaga --- */
.btn-primary-form { /* Nova classe para o botão do formulário de vagas */
    align-self: flex-start; /* Alinha o botão à esquerda dentro do formulário flex */
    background-color: #198754; /* Seu verde principal */
    color: #FFFFFF; /* Texto branco no botão */
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px; /* Cantos arredondados */
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-top: 1rem; /* Espaço acima do botão */
}

.btn-primary-form:hover {
    background-color: #157347; /* Verde um pouco mais escuro no hover */
    transform: translateY(-2px); /* Efeito de "levantar" */
}

/* --- Responsividade para Telas Pequenas --- */
@media (max-width: 767px) {
    .add-note-wrapper {
        margin: 20px 15px; /* Margem menor nas laterais em mobile */
        padding: 1.5rem;
    }

    .note-header h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .job-form {
        gap: 1rem; /* Espaçamento menor entre campos no mobile */
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-input {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }

    .btn-primary-form {
        width: 100%; /* Botão ocupa 100% da largura no mobile */
        padding: 1rem;
        font-size: 1rem;
    }
}
  /*Menu Sanduiche*/
  .desktop-nav {
    /* Estilos do seu menu de desktop */
    display: flex; /* Visível no desktop */
    gap: 20px;
}
@media (max-width: 767px) {
    .desktop-nav {
        display: none; /* Esconde o menu de desktop no mobile */
    }
}


/* --- Estilos do Hambúrguer --- */
.hamburger {
    display: none; /* Escondido por padrão, só aparece no mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px; /* Aumenta a área de clique */
    /* Remove 'position: relative' ou 'position: fixed' aqui se ele estiver dentro de uma header fixa
       e você quer que ele se mova com a header.
       Se ele precisa ficar 'flutuando' no canto da tela INDEPENDENTE do scroll da header,
       então mantenha 'position: fixed' e ajuste 'top/right'. */
    z-index: 1001; /* Garante que fique acima do menu mobile quando aberto */
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #343A40; /* Cor do ícone do hambúrguer */
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Animação do Hambúrguer para o "X" */
.hamburger.is-active .hamburger-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger-icon:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger-icon:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Estilos do Menu Mobile --- */
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed; /* MANTÉM FIXO PARA DESLIZAR DA LATERAL DA TELA */
    top: 0;
    right: -100%; /* Inicia fora da tela, à direita */
    width: 280px; /* Largura do menu quando aberto */
    max-width: 80vw; /* Garante que não exceda 80% da viewport em telas muito pequenas */
    height: 100%;
    background-color: #F8F9FA; /* Fundo do menu - mais claro que o corpo */
    box-shadow: -5px 0 15px rgba(0,0,0,0.1); /* Sombra para profundidade */
    padding: 60px 20px 20px; /* Padding no topo para o hambúrguer, e laterais/base */
    transition: right 0.4s ease-in-out; /* Transição de deslizamento */
    z-index: 1000; /* Abaixo do hambúrguer e da header */
    overflow-y: auto; /* Para rolagem se o conteúdo for grande */
}

.mobile-menu.is-open {
    right: 0; /* Desliza para dentro da tela */
}

.mobile-menu a {
    color: #343A40; /* Cor do texto dos links */
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid #ECEFF1; /* Separador sutil entre links */
    font-size: 1.1rem;
}

.mobile-menu a:last-child {
    border-bottom: none; /* Remove a borda do último item */
}

.mobile-menu a:hover {
    color: #198754; /* Seu verde no hover */
}

.mobile-menu .mobile-search {
    margin-top: 20px;
    padding-bottom: 20px; /* Espaço para o botão de pesquisa */
    border-bottom: 1px solid #ECEFF1;
}

.mobile-menu .mobile-search input {
    width: 100%;
    padding: 10px;
    border: 1px solid #CED4DA; /* Borda padrão de input */
    border-radius: 5px;
    font-size: 1rem;
    color: #343A40;
    background-color: #FDFEFF;
}

.mobile-menu .mobile-search input:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    outline: none;
}

/* --- Media Query: AQUI ESTÁ O AJUSTE PARA O CÓDIGO DO DESKTOP --- */
@media (max-width: 767px) {
    /* Mostra o hambúrguer */
    .hamburger {
        display: block;
        position: fixed; /* Mantenha fixo para que ele "flutue" no canto */
        top: 20px;
        right: 20px;
    }

    /* ESCONDE APENAS OS ELEMENTOS DO DESKTOP QUE NÃO SÃO A LOGO */
    .search-form,
    .auth-buttons,
    .user-menu {
        display: none;
    }

    /* Ajusta a header para acomodar o hambúrguer no mobile */
    .header {
        justify-content: flex-start; /* Alinha o logo à esquerda */
        padding-right: 70px; /* Cria espaço para o hambúrguer fixo à direita */
    }

    /* Opcional: Se o logo estiver muito grande, você pode ajustá-lo no mobile */
    .header .logo {
        font-size: 1.5rem; /* Um pouco menor no mobile */
        /* Remova position/top/transform se ele já estiver alinhado à esquerda pelo flexbox da header */
    }
}


/* Overlay de Fundo (Mesmo da sugestão anterior) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/*Fotos do Usuário nos posts*/
.user-photo {
  width: 30px;
  height: 30px;
  border-radius: 50%;        /* Deixa a imagem redonda */
  object-fit: cover;         /* Garante que a imagem se encaixe bem */
  border: 1px solid #ddd;    /* Borda leve e elegante */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra suave */
  margin-right: 8px;         /* Espaço entre imagem e texto */
  vertical-align: middle;    /* Alinha com o texto ao lado */
}
.user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center; /* centraliza horizontalmente */
}


.user-info span { font-size: 1.2rem; font-weight: 200;}
.user-info .user-photo { width: 1.5rem; height: 1.5rem; display: inline-block;}
.user-info span i { font-size: 1rem;}


/*Abrir Card Mais Detalhes*/
.vaga-detalhes-wrapper {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background: #FDFEFF;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vaga-detalhes-card h1.vaga-titulo {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.vaga-info-basica p,
.vaga-candidatura p,
.vaga-detalhes-card p {
  margin: 0.5rem 0;
}

.vaga-postada-por {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.user-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ccc;
}

.meta {
  font-size: 0.9rem;
  color: #666;
  text-align: center; /* centraliza o texto */
}

.meta i { font-size: .8rem;}
.btn-voltar {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.2rem;
  background-color: #343A40;
  color: #FDFEFF;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-voltar:hover {
  background-color: #343A40;
}


/* Aviso de Cookies */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  background-color: #fff;
  color: #333;
  font-family: system-ui, sans-serif;
  font-size: 12px; /* Mantido como no original */
  line-height: 1.45;
  padding: 16px 24px;
  border-top: 1px solid #ccc;
  box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  max-width: 100%;
}

/* Texto em destaque */
#cookieBanner strong {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* Links */
#cookieBanner a {
  color: #000;
  text-decoration: underline;
  font-weight: 600;
}

#cookieBanner a:hover {
  text-decoration: none;
}

/* Texto do aviso */
.cookie-text {
  flex-grow: 1;
  margin-right: 0;
  margin-bottom: 12px;
  text-align: center;
  max-width: 100%;
}

/* Botões */
.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.cookie-buttons button {
  all: unset;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  border-radius: 2px;
  border: 1px solid #000;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: center;
  width: 100%;
  max-width: 280px;
}

/* Estilos dos botões */
.btn-accept {
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
}

.btn-customize {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
}

/* Telas médias: a partir de 600px */
@media (min-width: 600px) {
  #cookieBanner {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .cookie-text {
    margin-right: 24px;
    margin-bottom: 0;
    text-align: left;
    max-width: 70%;
  }

  .cookie-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: auto;
  }

  .cookie-buttons button {
    width: auto;
    min-width: 120px;
  }
}

/* Telas grandes (>= 1024px) — sem mudar aparência, só refina proporções */
@media (min-width: 1024px) {
  .cookie-text {
    max-width: 75%;
  }
}

/* Telas 4K (>= 1920px) — apenas centraliza */
@media (min-width: 1920px) {
  #cookieBanner {
    margin: 0 auto;
    max-width: 1400px;
  }

  .cookie-text {
    max-width: 80%;
  }
}


#cookieOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* tom escuro com transparência */
  z-index: 10049; /* abaixo do banner (1050) */
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}


/*PRECISA CONSERTAR*/
/* Google Analytics - estilos para modal de cookies */
#cookieModal input[type="checkbox"] {
  cursor: pointer;
  pointer-events: auto;  /* garante que o clique funcione */
}

#cookieModal label {
  cursor: pointer;
  user-select: none; /* evita seleção de texto ao clicar */
  color: #000; /* texto preto */
}

/* Estilos do overlay/modal */
#cookieModal {
  display: none; /* alterar para block quando o modal abrir */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8); /* fundo preto translúcido */
  z-index: 10051;
  padding: 20px;
  overflow-y: auto;
}

/* Conteúdo do modal */
#cookieModal .cookieModalContent {
  background: #fff; /* fundo branco */
  color: #000; /* texto preto */
  padding: 20px;
  max-width: 500px;
  margin: 50px auto;
  border-radius: 8px;
  position: relative;
  z-index: 10052;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Estilo checkbox preto e branco */
input[type="checkbox"] {
  all: unset; /* remove estilos padrões */
  width: 10px;
  height: 10px;
  border: 1px solid #000; /* borda preta */
  border-radius: 4px;
  background-color: #fff; /* fundo branco */
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

input[type="checkbox"]:checked {
  background-color: #000; /* fundo preto quando marcado */
  border-color: #000; /* borda preta */
}

input[type="checkbox"]:checked::after {
  content: "✓";
  color: #fff; /* símbolo branco */
  position: absolute;
  top: 1px;
  left: 4px;
  font-size: 8px;
  font-weight: bold;
}

/* Botões estilo preto e branco */
#cookieModal button {
  background-color: #000 !important; /* preto */
  color: #fff !important; /* branco */
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

#cookieModal button#cancelCookieModal {
  background-color: #000; /* cinza escuro */
  margin-left: 10px;
}

#cookieModal button:hover {
  background-color: #222; /* preto mais claro no hover */
}

#cookieModal button#cancelCookieModal:hover {
  background-color: #333; /* cinza médio no hover */
}

