/* Variáveis para as cores */
:root {
  --grayishBlue: hsl(237, 18%, 59%);
  --softRed: hsl(345, 95%, 68%);
  --corPrincipal: #256d86;
  --colorHover: #19af91;
  --softBlue: hsl(236, 21%, 26%);
  --white: white;
  --black: hsl(0, 0%, 0%);
  --green: #3cb371;
  --red: #ff6347;
  --grey: #1d1d1d;
  --background: white;
  --scrollbarTrackBackground: #f1f1f1;
}

/* Estilos */
body {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  padding-top: 55px;
}

.background {
  background-color: var(--background);
  width: 100%;
  height: 100%;
  position: absolute;
}

.background-interno {
  background-color: var(--white);
  width: 100%;
  height: 100%;
  position: absolute;
}

.container {
  max-width: none;
}

.py-4 {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}

.card-home {
  border-radius: 10px;
  box-shadow: 0px 20px 40px -20px var(--grayishBlue);
  padding: 30px;
  margin: 20px;
  width: 40rem; /* Alterei a largura do card para 40rem */
}

.card {
  border-radius: 10px;
  box-shadow: 0px 20px 40px -20px var(--grayishBlue);
  padding: 30px;
  margin: 20px;
}

.card-bigger {
  min-width: 100%;
}

.card-cadastro {
  border-radius: 10px;
  box-shadow: 0px 20px 40px -20px var(--grayishBlue);
  background-color: var(--background);
  padding: 30px;
  margin: 20px;
  flex: 1 1 250px; /* Permite que o card cresça igualmente e respeite o mínimo */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
}

.card-body-home {
  padding: 0rem !important;
}

.ordem {
  position: absolute;
  top: 0px; /* Distância do topo */
  right: 10px; /* Distância da borda direita */
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--red); /* Cor de fundo azul */
  color: #ffffff; /* Cor do texto branco */
  border-radius: 50%; /* Formato redondo */
  font-weight: bold;
  font-size: 0.9rem;
}

textarea.form-control[readonly] {
  background-color: transparent !important;
  /* opcional: remover borda cinza também */
  border-color: #ced4da; /* ou outra cor desejada */
  border: none;
}

.hr-blurry {
  border: none; /* Removes the default line */
  height: 0.5px; /* Sets the height of the line */
  background: #ced4da; /* Sets the color of the line */
  width: 90%; /* Sets the width of the line */
  margin: 0 auto; /* Centers the line */
  margin-top: 2rem;
  margin-bottom: 5 rem;
}

#carouselHome {
  max-height: 500px;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none; /* Remove qualquer borda do contêiner */
}

#carouselHome .carousel-inner {
  max-height: 500px;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none; /* Remove borda do contêiner interno */
}

#carouselHome .carousel-item {
  max-height: 500px;
  width: 100%;
  border: none; /* Remove borda do item do carrossel */
}

#carouselHome .carousel-item img {
  max-height: 500px; /* altura máxima */
  object-fit: cover; /* corta e mantém proporção */
  width: 100%; /* garante que ocupa a largura total */
}

.container {
  border: none;
  padding: 0;
  margin: 0;
}

.hidden {
  display: none;
}

.text-white {
  color: var(--white);
}

.img-logo {
  max-width: 50%;
}

.img-logo-footer {
  max-width: 15%;
}

.img-logo-interna {
  max-width: 30%;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
}

/* Você também pode adicionar um estilo para o rodapé se desejar */
.site-footer {
  padding: 20px 0;
}

.capa {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.texto-institucional {
  color: var(--grey);
  font-size: 18px;
  text-align: justify;
  max-width: 60%;
  margin: 0 auto;
}

.texto-responsivo {
  hyphens: auto; /* Permite a quebra com hífen onde apropriado */
  word-wrap: break-word; /* Garante que palavras longas não causem overflow */
  overflow-wrap: break-word; /* Alternativa para navegadores mais modernos */
  text-align: justify; /* Opcional, para um alinhamento mais elegante */
}

/* Customização do Tooltip */
.tooltip-inner {
  background-color: #333 !important; /* Cor de fundo do texto */
  color: #fff !important; /* Cor do texto */
  font-size: 14px; /* Tamanho da fonte */
  border-radius: 5px; /* Borda arredondada */
  padding: 10px; /* Espaçamento interno */
}

.tooltip-arrow {
  border-top-color: #333 !important; /* Cor da seta do tooltip */
}

/* Para tooltips com diferentes cores (ex: preto, vermelho, verde) */
.tooltip-edit {
  background-color: black !important;
  color: white !important;
}

.tooltip-delete {
  background-color: red !important;
  color: white !important;
}

.tooltip-candidates {
  background-color: green !important;
  color: white !important;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
  .texto-responsivo {
    font-size: 1rem; /* Ajusta o tamanho do texto para telas pequenas */
    line-height: 1.6; /* Melhora a legibilidade */
  }
}

.footer {
  margin-top: auto;
  padding: 15px;
  text-align: center;
}

.title-page {
  color: var(--black);
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
}

.btn-principal {
  background-color: var(--corPrincipal) !important;
  color: var(--white);
  border: none;
  border-radius: 5px;
  padding: 8px 20px;
  text-align: center;
  text-decoration: none;
  display: flex; /* Muda de inline-block para flex */
  align-items: center; /* Centraliza verticalmente */
  justify-content: center; /* Centraliza horizontalmente */
  font-size: 17px;
  margin: 0 auto;
  cursor: pointer;
  width: auto;
  box-sizing: border-box;
}

.btn-principal-outline {
  background-color: var(--white);
  color: var(--corPrincipal) !important;
  border: 1px solid var(--corPrincipal);
  border-radius: 5px;
  padding: 8px 20px;
  font-size: 17px;
  margin: 0 auto;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.card-select:hover {
  background-color: color-mix(
    in srgb,
    var(--corPrincipal),
    white 88%
  ) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Botão estilizado */
.btn-candidatese {
  background-color: var(--corPrincipal);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.btn-candidatese:hover {
  background-color: color-mix(in srgb, var(--corPrincipal), black 15%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-candidatese:disabled {
  background-color: #6c757d;
  opacity: 0.7;
  cursor: not-allowed;
}

/* Ícones e textos */
.vaga-info i {
  font-size: 1rem;
  color: var(--corPrincipal);
}

.vaga-info small {
  font-size: 0.875rem;
}

.btn-secondary {
  background-color: var(--grayishBlue);
  color: var(--white);
  border: none;
  border-radius: 5px;
  padding: 7px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 17px;
  cursor: pointer;
  width: 40%; /* Faz o botão ocupar toda a largura disponível */
  box-sizing: border-box; /* Inclui padding no cálculo da largura total */
}

.btn-secundario {
  background-color: var(--grayishBlue);
  color: var(--white);
  border: none;
  border-radius: 5px;
  padding: 7px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 17px;
  cursor: pointer;
  width: 100%; /* Faz o botão ocupar toda a largura disponível */
  box-sizing: border-box; /* Inclui padding no cálculo da largura total */
}

.btn-secundario:hover {
  color: var(--white);
  background-color: var(--softBlue);
}

.logo-link {
  width: 50%;
}

.logo-link img {
  width: 300px; /* define um tamanho fixo, ou ajuste como preferir */
  height: auto; /* mantém a proporção da imagem */
}

.sessao-interesse {
  width: 100vw; /* Largura total da tela */
  background-color: var(--corPrincipal);
  padding: 40px 20px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: calc(-50vw + 50%);
}

.sessao-interesse .conteudo-interesse {
  text-align: center;
  max-width: 800px;
}

.conteudo-interesse p {
  font-size: 1.4rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-interesse {
  display: inline-block;
  background-color: #fff;
  color: var(--corPrincipal);
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-interesse:hover {
  color: var(--black);
  transform: scale(1.05);
}

.card-cadastro-link:hover .card-body-home {
  background-color: #f8f9fa; /* Efeito de hover leve */
  transition: background-color 0.3s;
}

.card-cadastro-link .fas.fa-arrow-right,
.card-cadastro-link .bi.bi-arrow-right {
  font-size: 1.2rem; /* Tamanho do ícone */
  color: #007bff; /* Cor do ícone (ajuste conforme necessário) */
}

.card-cadastro-link:hover .fas.fa-arrow-right,
.card-cadastro-link:hover .bi.bi-arrow-right {
  color: #0056b3; /* Cor do ícone ao passar o mouse */
}

.permission-section {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.permission-section h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.form-check-label {
  margin-left: 5px;
}

.btn-outline-primary {
  border-color: #007bff;
  color: #007bff;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  color: #fff;
}

.badge.bg-primary {
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
}

.permission-section {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.permission-section .d-flex {
  flex-wrap: wrap; /* Permite que os checkboxes quebrem para a próxima linha em telas menores */
}

.permission-section h5 {
  font-size: 1.1rem;
  margin-bottom: 0;
  margin-right: 20px; /* Espaçamento entre o título e os checkboxes */
}

.form-check-label {
  margin-left: 5px;
}

.btn-outline-primary {
  border-color: #007bff;
  color: #007bff;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  color: #fff;
}

.badge.bg-primary {
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
}

.glass-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  /* Mistura a cor da variável com 80% de opacidade */
  background-color: color-mix(in srgb, var(--corPrincipal) 50%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  min-height: 5rem; /* Altura mínima para a navbar */
}

.glass-background {
  background-color: color-mix(in srgb, var(--corPrincipal) 40%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-brand {
  max-width: fit-content; /* O link do logo ocupa apenas o tamanho do conteúdo */
  margin-right: auto; /* Mantém o logo à esquerda */
}

.btn-principal:hover {
  color: var(--white);
  background-color: var(--softBlue);
}

.btn-candidatese {
  background-color: var(--corPrincipal) !important;
  color: var(--white);
  border: none;
  border-radius: 5px;
  padding: 8px 20px;
  display: flex; /* Muda de inline-block para flex */
  text-align: center;
  align-items: center; /* Centraliza verticalmente */
  justify-content: center; /* Centraliza horizontalmente */
  text-decoration: none;

  font-size: 17px;
  margin: 0 auto;
  cursor: pointer;
  width: 80%; /* Faz o botão ocupar toda a largura do card */
}

.btn-candidatese:hover {
  color: var(--white);
  background-color: var(--softBlue);
}

.tooltip .tooltip-inner {
  background-color: var(--corPrincipal) !important;
  color: #fff !important;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tooltip .tooltip-arrow::before {
  border-top-color: var(--corPrincipal) !important;
  border-bottom-color: var(--corPrincipal) !important;
}

.hidden {
  display: none !important;
}

.hover-shadow {
  transition: all 0.3s ease;
}

.hover-shadow:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Fixa o botão no rodapé da modal */
.modal-fixed-footer {
  position: sticky;
  bottom: 0;
  background: white;
  padding: 1rem 0;
  border-top: 1px solid #dee2e6;
  margin: 1.5rem -1.5rem -1.5rem -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  z-index: 10;
}

.btn-link-small {
  color: var(--black);
  display: flex;
  text-decoration: none;
  display: block; /* Garante que fique abaixo do input */
  font-size: 0.85rem; /* Tamanho menor */
  text-align: right; /* Alinhado à esquerda */
  text-decoration: none; /* Remove o sublinhado */
  margin-top: 5px; /* Espaçamento em relação ao input */
  align-items: left;
  margin-left: 5px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; /* tamanho fixo opcional */
  height: 50px; /* tamanho fixo opcional */
  background-color: transparent; /* sem fundo */
  color: var(--corPrincipal); /* usa a cor principal */
  border-radius: 50%; /* deixa redondo */
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 20px; /* tamanho do ícone */
}

.btn-icon:hover {
  background-color: rgba(0, 0, 0, 0.05); /* leve destaque no hover */
}

.btn-link {
  color: var(--black);
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.btn-link:hover {
  color: var(--corPrincipal) !important;
}

.btn-link-small:hover {
  color: var(--corPrincipal) !important;
}

.input {
  background-color: var(--background);
  margin-bottom: 20px;
  border-radius: 10px;
  height: 40px;
}

.tag-success {
  background-color: var(--green);
  color: var(--white);
  border-radius: 5px;
  padding: 5px;
  margin: 5px;
  height: 20px;
  display: flex;
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center; /* Centraliza verticalmente */
}

.tag-danger {
  background-color: var(--red);
  color: var(--white);
  border-radius: 5px;
  padding: 5px;
  margin: 5px;
  height: 20px;
  display: flex;
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center; /* Centraliza verticalmente */
}

.input-group .form-control {
  height: calc(
    2.25rem + 2px
  ); /* Ajuste para garantir que o input tenha a mesma altura */
  padding: 0.375rem 0.75rem; /* Mesma configuração de padding */
  font-size: 1rem; /* Tamanho de fonte igual ao do botão */
  line-height: 1.5; /* Alinha a linha de texto */
  border-radius: 0.375rem; /* Arredondamento dos cantos */
}

.input-group {
  display: flex;
  align-items: center; /* Garante que o conteúdo seja centralizado verticalmente */
}

.input-group .form-control,
.input-group {
  display: inline-flex; /* Garante que os elementos se alinhem em linha */
  align-items: center; /* Alinha verticalmente */
}

/* Barra de rolagem */
::-webkit-scrollbar {
  width: 5px; /* Largura da barra de rolagem */
}

::-webkit-scrollbar-track {
  background: var(
    --scrollbarTrackBackground
  ); /* Cor de fundo da faixa de rolagem */
}

::-webkit-scrollbar-thumb {
  background: var(--black); /* Cor do "polegar" (a parte que você arrasta) */
  border: 1px solid var(--white);
  border-radius: 10%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  margin-right: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--corPrincipal) !important; /* Cor para o estado "On" */
}

input:checked + .slider:before {
  transform: translateX(20px);
}

@media (max-width: 768px) {
  .img-logo {
    max-width: 70%;
  }

  .img-logo-footer {
    max-width: 40%;
  }

  .img-logo-interna {
    max-width: 100%;
  }

  .texto-institucional {
    max-width: 90%;
  }

  .card-cadastro {
    width: 100%;
  }

  .btn-principal {
    background-color: var(--corPrincipal) !important;
    color: var(--white);
    border: none;
    border-radius: 5px;
    padding: 8px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 17px;
    margin: 4px 2px;
    cursor: pointer;
    width: 100%;
  }
  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 10px;
  }

  .nav-item {
    width: 100%;
    text-align: right;
    margin: 5px 0;
  }

  .navbar-toggler {
    margin-left: auto;
    margin-top: 10px;
  }
}
.status-feedback-header {
  white-space: nowrap;
  width: 5%;
}

.glass-navbar .nav-link {
  color: var(--white) !important; /* cor padrão dos links para contrastar */
  transition: text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Muda a cor dos links ao passar o mouse */
.glass-navbar .nav-link:hover {
  color: var(--softBlue) !important;
}
