/* ------------------ RESET ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Archivo;
}

/* ---------- FONTS ---------- */
@font-face {
  font-family: "Archivo";
  src: url("./font/Archivo-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Archivo-Bold";
  src: url("./font/Archivo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* ------------------ HEADER ------------------ */
header.header-publico {
  background: #faba32;
  padding: 7px 0;
}

.header-candidato {
  background: #353d66;
  padding: 7px 0;
}

header .container {
  width: 80%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 80px;
}

.logo img {
  height: 80px;
  object-fit: contain;
}

.logo a{
  height: 100%;
  object-fit: contain;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  text-decoration: underline;
}

.menu { display: none; }
.menu.active { display: block; }

/* ------------------ SEARCH ------------------ */
.search {
  width: 90%;
  max-width: 1000px;
  margin: 20px auto;
  text-align: center;
}

.search input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 25px;
  font-size: 1rem;
}

/* ------------------ JOB CARDS ------------------ */
.jobs {
  width: 90%;
  max-width: 1000px;
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.job-card {
  border: 1px solid #f4ba32;
  border-radius: 15px;
  padding: 25px;
  background: white;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.05);
  width: 250px;
  height: 150px;
  align-items: center;
  text-align: left;
  position: relative;
  overflow: visible;
  flex: 1 1 calc(33.33% - 20px);
}

.job-card h3 {
  text-transform: uppercase;
  color: #353d66;
  margin-bottom: 5px;
}

.job-card .company {
  text-transform: capitalize;
  color: gray;
  font-size: 0.9rem;
}

.job-card .details {
  margin: 5px 0;
  font-size: 0.85rem;
  color: #444;
}

.job-card button {
  background: #faba32;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.job-card button:hover {
  background: #e09e20;
}

.job-description{
  color: #353d66;
  width: 80%;
  max-width: 900px;
  margin: auto;
  padding-top: 30px;
  display: block;
  justify-content: center;
}

.btn , .cadastro_vaga{
  color: white;
  font-size: medium;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
  display: block;
  margin: 20px auto;
}

.btn{
  background-color: #2c3153;
}

.cadastro_vaga{
  background-color: #faba32;
}

.cadastro_vaga:hover{
  background-color: #fcd279;
}

.btn:hover{
  background: lightgray;
}

.job-description h1{
  text-transform: uppercase;
  font-family: Archivo-Bold;
}

.job-description h2{
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 400;
  padding-left: 10px;
  color: #8b8b8b;
}

.job-description h3{
  margin: 5px 0 5px 0;
  font-size: 1rem;
  font-weight: 600;
  padding-top: 10px;
}

.item{
  display: flex;
  align-items: left;
  padding-top: 10px;
}

.item p{
  padding-left: 20px;
  padding-top: 10px;
  align-content: center;
}

.job-description p{
  color: #8b8b8b;
}

/* ------------------ LOGIN PAGE ------------------ */
.bluebg{
  background-color: #353d66;
}

.block-login{
  width: 700px;
  height: 480px;
  background-color: white;
  display: flex;
  flex-direction: column;
  margin: 60px auto;
  border-radius: 30px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo-login img{
  display: flex;
  justify-content: center;
  height: 150px;
}

.login-cand{
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 50px;
  width: 100%;
}

.login-cand-form, .login-emp {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-cand-form form, .login-emp form{
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: Archivo-Regular, sans-serif;
  text-transform: uppercase;
  text-align: center;
  color: #353d66;
  align-items: center;
}

.btn-cad-cand, .btn-cad-emp{
  background: #faba32;
  color: white;
  font-size: small;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
  width: 200px;
}

.btn-cad-cand:hover,
.btn-cad-emp:hover{
  background: lightgray;
}

.btn-login-blue{
  background: #353d66;
  color: white;
  font-size: medium;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
  width: 200px;
}

.btn-login-blue:hover{
  background: lightgray;
}

.v-line {
  width: 1px;
  background: lightgray;
  height: 230px;
}

.login-cand-form input, .login-emp input{
  border: none;
  border-bottom: 1px solid lightgray;
  font-family: Archivo-Regular, sans-serif;
  font-size: medium;
  width: 220px;
  padding: 5px;
}

.login-cand-form input:focus, .login-emp input:focus{
  color: #8b8b8b;
  border-bottom: 2px solid #353d66;
  outline: none;
}

/* ------------------ FORMULÁRIO DE CADASTRO ------------------ */
.block-cad{
  width: 800px;
  min-height: 570px;
  background-color: white;
  display: flex;
  flex-direction: column;
  margin: 30px auto;
  border-radius: 30px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 0 0;
}

.head-cad{
  display: flex;
  flex: 1;
  width: 750px;
  height: 200px;
}

.head-cad h1{
  color: #353d66;
  text-align: right;
  padding-top: 20px;
  padding-left: 50px;
  text-transform: uppercase;
  font-size: 30px;
}

.head-cad img{
  height: 100px;
  width: auto;
  padding-right: 20%;
  padding-left: 20px;
}

.progressbar {
  position: absolute;
  margin: 100px auto;
  width: 35%;
  height: 4px;
  background: lightgray;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.progressbar.progress-blue .progress{
  background: #353d66;
}

.progressbar.progress-blue .step.active{
  background: #353d66;
}

.progressbar.progress-yellow .progress{
  background: #faba32;
}

.progressbar.progress-yellow .step.active{
  background: #faba32;
}

.progressbar img{
  width: auto;
  height: 30px;
}

.progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  transition: width 0.3s ease-in-out;
  z-index: 0;
}

.step {
  width: 40px;
  height: 40px;
  background: lightgray;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: background 0.3s;
}

.step.active {
  color: white;
}

/* ----------- FORM-CAND ------------ */
.form-cand {
  width: 90%;
  max-width: 100%;
  padding: 20px 50px;
  box-sizing: border-box;
}

.form-cand .form-step {
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  text-transform: uppercase;
  font-family: Archivo-Regular, sans-serif;
  font-size: small;
  color: #444; 
}

.form-step.active {
  display: flex;
  gap: 10px;
}

.step-final{
  flex-direction: column;
  text-align: center;
  align-items: center;
  height: 200px;
  justify-content: center;
}

.form-step input[type="text"],
.form-step input[type="email"],
.form-step input[type="tel"],
.form-step input[type="date"],
.form-step input[type="password"],
.form-step select{
  width: 90%;
  border: none;
  border-bottom: solid 1px #8b8b8b;
  font-size: small;
  padding: 5px 2px;
}

.form-step input:focus,
.form-step select:focus{
  outline: none;
  border-bottom: solid 1.5px #353d66;
}

.form-step textarea{
  width: 85%;
  border: none;
  border-bottom: solid 1px #8b8b8b;
  resize: none;
  height: 50px;
}

.form-step textarea:focus{
  outline: none;
}

.form-buttons{
  display: flex;
  justify-content: space-around;
  gap: 5px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.form-step button{
  font-size: medium;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
  width: auto;
  min-width: 120px;
  color: white;
}

.form-step button.add{
  padding: auto;
  font-size: x-small;
  background-color: #bdbcbc;
}

.prev{
  background: #8b8b8b;
}

.next , .submit {
  background-color: #353d66;
  color: white;
}


/* ------------------ CANDIDATURAS / VAGAS ------------------ */
.candidaturas , .vagas{
  width: 80%;
  padding-top: 50px;
  margin: 0 10%;
  justify-content: center;
  align-content: center;
  text-align: center;
  text-transform: uppercase;
}

.candidaturas{ color: #353d66; }
.vagas{ color: #faba32; }

.candidatura , .vaga{
  display: flex;
  text-align: left;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.candidatura-info , .vaga-info{
  display: flex;
  flex-direction: column;
}

.candidatura-info strong{
  font-size: 16px;
  color: #2c3153;
}

.candidatura-info span{
  font-size: 14px;
  color: #555;
}

button { padding: 8px 15px; border: none; border-radius: 5px; cursor: pointer; margin-left: 5px; }
button.ver-mais{ background-color: #2c3153; color: #fff;}
button.ver-mais:hover{ background-color: #353d66; }
button.editar{ background-color: #faba32; color: #fff; }
.editar:hover{ background-color: #fcd279; }
button.excluir { background-color: #ccc; color: #555; }
button.excluir:hover{ background-color: #ddd; }

a { text-decoration: none; }

/* ------------------ PERFIL ------------------ */
.perfil , .perfil-emp{
  display: flex;
  flex-direction: column;
  align-items: left;
  padding: 50px;
  max-width: 800px;
  margin: 0 auto;
  gap: 30px;
  color: #555;
}

.head-profile{
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  width: 80%;
}

.perfil h1, .head-emp h1{
  text-transform: uppercase;
  color: #1d2138;
}

.perfil h2{
  color: #1d2138;
  padding-bottom: 10px;
  padding-top: 10px;
}

.perfil-btn{
  display: flex;
  align-items: center;
  padding: 50px;
  justify-content: center;
  gap: 30px;
}

.head-emp{
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  width: 90%;
  color: #faba32;
}

/* ------------------ PRINT ------------------ */
@media print {
  body * { visibility: hidden; }
  #curriculo, #curriculo * { visibility: visible; }
  #curriculo { position: absolute; left: 0; top: 0; }
}

/* -------------- drop down ------------------- */
.dropdown {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 10px 0;
  font-family: Arial, sans-serif;
}

.dropdown-button {
  background: #f3f3f3;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.dropdown-button::after {
  content: "▼";
  float: right;
  font-size: 0.8em;
  color: #555;
}

.dropdown-menu {
  display: none;
  position: absolute;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-height: 250px;
  overflow-y: auto;
  z-index: 10;
  margin-top: 4px;
  padding: 10px;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu label {
  display: block;
  padding: 6px;
  cursor: pointer;
  border-radius: 4px;
}

.dropdown-menu label:hover {
  background: #f1f1f1;
}

/* ----------- botao vaga preenchida --------------- */
.opcoes-preenchimento {
    margin-top: 5px;
}

.opcao-btn, .opcao-cancelar {
    margin-right: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.opcao-btn { background-color: #007bff; color: #fff; }
.opcao-cancelar { background-color: #6c757d; color: #fff; }


.redirect a{
  color: #e09e20;
  text-decoration: none;
}

.vaga-preenchida {
    background-color: #f0f0f0; /* cinza claro */
    opacity: 0.7;
    color:#555;
}
.vaga-preenchida .preencher-vaga {
    display: none;
}

.btn-notify-wrapper {
  position: relative;
  display: inline-block;
}

.notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: red;
  color: white;
  font-size: 11px;
  font-weight: bold;
  border-radius: 60%;
  padding: 2px 6px;
  line-height: 1;
  min-width: 18px;
  text-align: center;
}
