:root {
  /* Cores Primárias */
  --primary-blue: #4285f4;
  --primary-red: #ea4335;
  --primary-yellow: #fbbc05;
  --primary-green: #34a853;

  /* Cores Secundárias */
  --secondary-blue: #aecbfa;
  --secondary-red: #f4c7c3;
  --secondary-yellow: #fde293;
  --secondary-green: #a8dab5;
  --secondary-purple: #9420fe;

  /* Tons de cinza */
  --gray-light: #f1f3f4;
  --gray-medium: #e0e0e0;
  --gray-dark: #b0b0b0;

  /* Cores adicionais */
  --dark: #202124;
  --white: #ffffff;

  --bs-box-shadow-sm: .5rem .5rem 3rem rgba(57, 13, 161, 0.24) !important;
  --bs-box-shadow-sm-black: .5rem .5rem .3rem rgba(0, 0, 0, 0.24) !important;
}

.header {
  box-shadow: var(--bs-box-shadow-sm-black);
}

/* reset  */
* {
  margin: 0;
  padding: 0;
  box-sizing: 0;
}

html,
body {
  min-height: 100vh;
}

.display-7 {
  font-size: 1.2rem;
}

#wrapper {
  height: 100%;

  & .navBarStyle {
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #7615d8, #1f8bff) 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
  }
}

a {
  text-decoration: none !important;
}


/* input search  */
.search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
  padding: 10px 20px;
  width: 100%;
  max-width: 600px;
  margin: auto;
}

.search-bar-empregos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  padding: 5px 10px;
  width: 100%;
  max-width: 600px;
  margin: auto;
}

.search-bar input {
  border: none;
  outline: none;
  flex-grow: 1;
  font-size: 16px;
  color: gray;
}

.search-bar input::placeholder {
  color: lightgray;
}

.search-bar button {
  background: linear-gradient(45deg, #7615d8, #1f8bff);
  border: none;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.search-bar button:hover {
  transform: scale(1.1);
}

.search-bar button .icon {
  color: var(--gray-medium);
  font-size: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  & .card-body-mn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    /* Fundo branco */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra leve */
    padding: 10px 5px;
    height: 370px;
    text-align: center;
    transition: transform 0.2s ease;
  }

  & .card-body-md {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 320px;
  }

  & .category-card:hover {
    transform: scale(1.05);
  }

  & .category-icon {
    font-size: 24px;
    /* Tamanho do ícone */
    color: #ff0000;
    /* Vermelho */
    margin-bottom: 5px;
  }

  & .category-title {
    font-size: 14px;
    color: #9e9e9e;
    /* Text-muted */
  }
}

/* vaga page */
.vaga-container {
  background-color: var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  margin-top: 2rem;
  border-radius: 10px;

  & .vaga-header {
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
  }

  & .vaga-header h1 {
    font-size: 2.5rem;
    color: var(--primary-red);
    font-weight: bold;
  }

  & .vaga-header h4 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
  }

  & .vaga-body {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.6;
  }

  & .vaga-footer {
    border-top: 3px solid var(--primary-red);
    margin-top: 2rem;
    padding-top: 1rem;
  }

  & .vaga-footer a {
    text-decoration: none;
    color: var(--primary-green);
  }

  & .share-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
  }

  & .share-box a {
    text-decoration: none;
    color: var(--primary-yellow);
    padding-top: 1rem;
    display: flex;
    justify-content: center;
  }

}


#jobs {
  & .card-body {
    background-color: var(--white) !important;
  }

  & .card-title {
    color: var(--dark) !important;
  }

  & .card-text {
    color: var(--dark) !important;
  }
}

/* Estilos para a div lateral com outras vagas */
.outros-vagas {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 10px;

  & h3 {
    font-size: 1.75rem;
    color: var(--dark);
  }

  & ul {
    list-style-type: none;
    padding-left: 0;
  }

  & li {
    margin-bottom: 1rem;
    background-color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  & li p {
    text-decoration: none !important;
    color: var(--primary-blue);
    font-weight: bold;
  }
}

/* Modal */
.modal-content {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-header {
  padding: 1.5rem;
  text-align: center;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: bold;
}

.modal-body {
  padding: 2rem;
  border-radius: 8px;
}

.modal-footer {
  background-color: var(--gray-light);
  padding: 1rem;
}

.btn-secondary {
  background-color: var(--secondary-red);
  color: var(--white);
  border: none;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary-red);
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-blue);
}

/* Formatação de campos de input */
.form-control {
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--gray-medium);
  transition: all 0.3s ease;
}

label {
  color: var(--dark);
  font-weight: bold;
}

/* Filtro */

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.form-check-label {
  font-size: 1rem;
}

.form-control {
  font-size: 1rem;
}

.btn-primary {
  background-color: #ff4081;
  border-color: #ff4081;
}

.btn-primary:hover {
  background-color: #e0356b;
  border-color: #e0356b;
}

.mt-3 {
  margin-top: 1rem;
}

/* Card Horizontal empresas*/

.card-body {
  padding: 1.5rem;

  & .card-title {
    font-size: 1.4rem;
    font-weight: bold;
  }

  & .stars {
    font-size: 1.2rem;
  }

  & .text-muted {
    font-size: 0.9rem;
  }

  & .text-muted span {
    font-style: italic;
  }

  & .btn-light {
    background-color: #f1f3f4;
  }

  & .btn-outline-dark {
    border-color: #6c757d;
    color: #6c757d;
  }

  & .btn-outline-dark:hover {
    background-color: #e9ecef;
  }

  .btn-sm {
    font-size: 0.8rem;
  }
}



/* Botões de ação */

.d-flex button i {
  margin-right: 5px;
}

/* Footer */
footer {
  background-color: var(--gray-light);
  color: var(--gray-dark);
  padding: 20px 0;

  & a {
    color: var(--secondary-purple);
    text-decoration: none;
  }

  & .social-icons a {
    margin: 0 10px;
    font-size: 20px;
  }

}


.splide__slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Estilo do Accordion */
#accordion {
  max-width: 800px;
  margin: 30px auto;
  padding: 10px;
}

/* Estilo de cada Card */
.card {
  /* background-color: var(--white); */
  background-color: var(--white) !important;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0 !important;
}

.card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Estilo do Cabeçalho do Card */
.card-header {
  background-color: var(--primary-blue);
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  color: var(--white);
  font-weight: bold;
  font-size: 18px;
  text-align: left;
}

.card-header button {
  background: none;
  border: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-align: left;
  width: 100%;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--secondary-green);
}

.card-header button:focus {
  outline: none;
}

.card-header button.collapsed {
  color: var(--primary-yellow);
}

.card-header button:hover {
  color: var(--secondary-yellow);
}

/* Estilo do Corpo do Card */
.card-body {
  background-color: var(--gray-light);
  padding: 20px;
  font-size: 16px;
  line-height: 1.6;
  border-radius: 0 0 8px 8px;
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.05);
}

/* Animação de Expansão */

.card-body.show {
  max-height: 1000px;
}

/* Estilo do ícone de seta (botão) */
.card-header button::after {
  content: " ▼";
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.card-header button.collapsed::after {
  content: " ▲";
}

.btn-vaga {
  background-color: var(--secondary-purple) !important;
  box-shadow: var(--bs-box-shadow-sm);
  color: var(--white) !important;
}

.btn-vaga:hover {
  background-color: var(--secondary-red) !important;
}

.search-toogle {
  display: none;
}

.search-noToggle {
  display: flex;
}

.connect {
  display: flex;
  background-color: var(--secondary-blue) !important;
  border-radius: 8px;
}

.connect:hover {
  background-color: var(--secondary-yellow) !important;
  transition: 0.3s ease-in-out;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {

  /* Ajuste para telas menores */
  .splide__arrows>button {
    display: none;
  }

  .connect {
    display: none;
  }

  .search-toogle {
    display: flex;
  }

  .search-noToggle {
    display: none;
  }

  .card-header {
    font-size: 16px;
    padding: 12px 16px;
  }

  .card-body {
    padding: 15px;
  }

  .card {
    margin-bottom: 15px;
  }

  .card-header button.collapsed {
    font-size: 16px;
  }
}