@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
*
{
  font-family: Inter, sans-serif !important;

}

/* ------- DEFAULT -------- */
.pointer
{
  cursor: pointer;
}
span.pointer:hover
{
  opacity: 0.9;
}
.botao,
button
{
  outline: none !important;
  border: none !important;
}

.botao:focus
{
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
}


/* ----- HEADER ----- */

.btn-tutorial-youtube
{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: #333;
  font-weight: 500;
}

.header
{

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 0 !important;
  padding: 1rem 2rem !important;
  width: 100% !important;
  height: 100%;
  flex: 1;
}

#top
{
  height: 110px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.header-buttons
{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}


.header-buttons button:nth-child(2)
{
  background-color: #4885FF;
}

.header-buttons button:nth-child(2):hover
{
  opacity: 0.85;
}

.modal-login
{
  background: transparent;
  width: auto;
  height: auto;
  
  position: absolute;
  top: calc(100% + 10px);
  right: 20px;
}

.modal-login span.title-login
{
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 120%;
}

.container-campos
{
  gap: 1rem;
  min-width: 300px;

  display: flex;
  flex-direction: column;

  background-color: white;
  padding: 2rem 1.5rem;
  border-radius: 4px;
  box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.2);
}

.register-user-container
{
  color: #333;
}

.register-user
{
  align-self: center;
  width: fit-content;
  text-decoration: none !important;
  color: #4885FF;
}

.register-user:hover
{
  color: #4885FF;
  text-decoration: underline !important;
}


/* ----- HEADER ----- */

.error-cpf
{
  text-align: left;
  font-size: 12px;
  color: red;
  font-weight: 400;
}

.error-login
{
  text-align: center;
  font-size: 12px;
  color: red;
  font-weight: 400;
}

.input-container
{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.campos:nth-child(3)
{
  margin-top: 1rem;
}

.mt-2
{
  margin-top: 8px !important;
}

/* ------ NOTIFY ------ */

.btn-notify
{
  position: relative;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  padding: 4px;
  cursor: pointer;
}

.btn-notify:hover
{
  background-color: #f1f1f1;
}

.hot::after
{
  content: '';

  position: absolute;
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
  right: 6px;
  top: 6px;
}


.notify-container
{
  position: absolute;
  right: 0;
  top: 120%;
  padding: 1rem;
  background-color: white;
  border-radius: 4px;
  z-index: 1300;
  width: 240px;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
}

.notify-open
{
  margin: 0;
  width: 100%;
  height: 100%;
  max-height: 300px;
  cursor: default;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  background-color: transparent;
  
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 0.5rem;
}

.notify-item
{
  position: relative;
  display:flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  list-style: none;
  width: 100%;
  background-color: white;
  padding: 1rem;
  padding-left: calc(1rem + 6px);
  cursor: pointer;
  text-align: left;
  word-wrap: break-word;
  border-radius: 4px;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.3);
}

.notify-item span:first-child
{
  font-size: 16px;
  font-weight: bold;
}

.notify-item hr
{
  padding: 0;
  margin: 1rem 0;
  width: 100%;
  height: 1px;
  border-color: rgba(94, 94, 94, 0.377);
}

.notify-item span:last-child
{
  font-size: 12px;
  font-weight: 600;
}

.notify-item button
{
  position: absolute;
  top: 6px;
  right: 6px;


  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;
  background: none;
  outline: none;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
}

.notify-item button:hover
{
  background: #e2e2e2;
}

.notify-item button img
{
  width: 16px;
  height: 16px;
}

.notify-item::after
{
  content: '';
  display: none;
  position: absolute;
  width: 6px;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 4px 0 0 4px;
}

.offer::after
{
  display: inline-block;
  background-color: #f6c75c;
}


.pending::after
{
  display: inline-block;
  background-color: #f8993b;
}

.selected::after
{
  display: inline-block;
  background-color: #003ffc;
}


.approved::after
{
  display: inline-block;
  background-color: #27e631;
}

.rejected::after
{
  display: inline-block;
  background-color: #fc3200;
}

.notify-item:hover
{
  background-color: rgba(255, 255, 255, 0.7);
}

.notify-open::-webkit-scrollbar {
  width: 2px !important;
}


/* ------ NOTIFY ------ */


/* ------ SCROLLER ------ */

.to-top
{
  position: fixed;
  width: 50px;
  height: 50px;
  background-color: #275c88;
  border-radius: 50%;
  bottom: 30px;
  right: 30px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.4;
  transition: 0.24s;
}

.to-top:hover
{
  opacity: 1;
}

.to-top img
{
  width: 24px;
}

 /* width */
::-webkit-scrollbar {
  width: 10px !important;
}

/* Track */
::-webkit-scrollbar-track {
  background: #275c88 !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #f8993b !important;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ffb66d !important;
}


/* ------ SCROLLER ------ */

#identifica
{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #4885FF;
}

#identifica:hover
{
  opacity: 0.85;
}

/* ------- OFFERS NOTIFY ------- */

.offer
{
  gap: 0.8rem;
  background: linear-gradient(90deg, #f6c75c 50%, white 50% );
  transition: 0.3s;
  background-size: 200% 200%;
  background-position: 100% 0%;
  color: #333;
}

.offer.enable:hover
{
  animation: color 0.3s ease-in-out forwards;
  color: white;
}

.offer.disable
{
  animation: uncolor 0.3s ease-in-out forwards;
}

.offer-header
{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offer-show a
{
  font-size: 1rem !important;
  background-color: #73F579;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: #3EA844;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.offer-show a:hover
{
  background-color: #3EA844;
  color: white;
}

.offer-label
{
  font-size: 1rem !important;
  background-color: #f6c75c;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  color: #755F2B !important;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.offer-view
{
  position: relative;

  box-shadow: 0 0 0 4px white, 0 0 0 6px red !important;
}

@keyframes color {
  from
  {  
    background-position: 100% 0%;
  }
  to
  { 
    background-position: 0% 0%;
  }
}


@keyframes uncolor {
  from
  {
    background-position: initial;
  }
  to
  { 
    background-position: 100% 0%;
  }
}

/* --------- CARD VAGAS --------- */

div.panel div.card-container
{
  position: relative;
  background-color: white;

  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 2px 2px 8px 0 rgba(0, 0, 0, 0.2);

}

span.card-status
{
  position: absolute;
  right: 30px;
  top: -15px;
  background: #fc3200;
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
  color: #f1f1f1;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

span.card-status .anim
{
  animation: anim-status 0.5s ease-in-out infinite;
}

@keyframes anim-status {
  from
  {
    opacity: 1;
  }
  50%
  {
    opacity: 0.5;
  }
  to
  {
    opacity: 1;
  }
}

div.card-body
{
  background-color: #f1f1f1;
  animation: body 0.4s forwards;
  transition: 0.3s;
}

@keyframes body {
  from
  {
    color: #33333300;
  }
  to
  {
    color: #333;
  }
}

div.card-body span
{
  font-weight: bold;
}

div.card-footer
{
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  margin: 0;
  padding: 1rem;
  margin-top: 10px;
}

div.card-footer div
{
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left !important;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

div.card-footer div:first-child
{
  color: rgba(0, 0, 0, 0.5);
}

div.card-footer button
{
  margin-top: 1rem;
}

div.card-header div
{
  color: #333 !important;
  padding: 0;
  margin: 0;
}

div.card-header b
{
  font-size: 18px;
}

div.card-header div:nth-child(2)
{
  opacity: 0.5;
}

div.card-header
{
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important; 
  padding: 1.2rem;
  padding-bottom: 0;
  margin-bottom: 1rem;
}

.see-more
{
  color: #4885FF;
  font-weight: 600;
  transition: 0.3s;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.alerta, .alert
{
  padding: 0;
  margin: 0;
  height: auto;
  color: white;
  text-align: right !important;

  background-color: #4885FF;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.alerta.danger, .alert.danger
{
  background-color: #ff4848;
}

.inscritos i
{
  font-style: normal;
  font-size: 20px;
}

.inscritos
{
  font-size: 12px;
  color: #275c88;
  font-weight: bold;
}

span#candidatos
{
  width: 100%;
  padding: 0;
  margin: 0;
  height: auto;
  color: white;
  margin-top: 1rem;
  align-self: flex-end;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

span#candidatos button.btn-info
{
  background-color: #4885FF !important;
  padding: 0.5rem 1rem;
  transition: 0.15s;
  
  font-size: 12px;
  font-weight: 600;
}

span#candidatos button.btn-info:hover
{
  opacity: 0.8;
}


/* ------- FILTER -------- */

.filter-header
{
  width: 100%;
  padding: 1rem 0 2rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.filter-header img
{
  width: 32px;
}

.btn-filter:hover
{
  background-color: #f1f1f1;
}

.btn-filter
{
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  background-color: white;
  padding: 0.5rem;
  border-radius: 4px;
  box-shadow: 0 0 0 1px black;
  cursor: pointer;
}
.btn-filter p
{
  padding: 0;
  margin: 0;
  font-weight: bold;
}

.filter-options
{
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0 1rem;
  transform: translateX(-50px);
  transition: 0.1s linear;
  visibility: hidden;
  opacity: 0;
}

.filter-options.active
{
  visibility: visible;
  transform: translateX(0px);
  opacity: 1;
}



button.filter-item
{
  background-color: #DCDCDC;
  color: #333;
  padding: 0.6rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: 0.3s;

}

button.filter-item.selected
{
  color: white;
  background-color: #58a1cc !important;
}

select.filter-item
{
  box-sizing: border-box;
  appearance: none;
  margin: 0;
  padding: 0.6rem 2rem;
  color: #333;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  background: white;
  border: none;

  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);

}

select.filter-item.selected {
  background-color: #58a1cc !important;
  color: white;
}

select.filter-item option:hover
{
  background-color: white;
}

.info
{
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.info svg
{
  transition: 0.15s;
}

.info svg:hover 
{
  fill: #97021d;
}

.info-header
{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.info-content
{
  position: absolute;
  top: 100%;
  right: 24px;
  background-color: white;
  z-index: 400;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  gap: 0.5rem;

  padding: 1rem;
  border-radius: 4px;

  box-shadow: 0 0 0 2px #4885FF, 0 0 0 6px rgba(0, 0, 0, 0.2);
  width: 260px;
}

/* ---------- END FILTER --------- */

/* ------- MEDIE QUERIES ------- */

@media (max-width: 820px)
{

  .inscritos
  {
    align-self: flex-start;
  }

  span#candidatos
  {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
  }

  span#candidatos .btn-info
  {
    width: 100%;
    font-size: 14px !important;
    font-weight: 600;
  }

  
  span#candidatos .alerta, .alert
  {
    width: 100%;
    text-align: center !important;
    font-size: 14px;
    font-weight: 600;
  }

  .header
  {
    flex-direction: column;
    padding: 2rem;
  }

  .header h2
  {
    font-size: 22px;
    line-height: 120%;
  }

  .header-buttons
  {
    position: static;
    width: 100%;
    justify-content: center;
  }

  .modal-login
  {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000038;
  }

  .modal-login .register-user-container
  {
    margin-top: 5rem;
  }

  .container-campos
  {
    position: static;
    width: 80%;
    max-width: 400px;
    gap: 1rem;
    padding: 3rem 2rem;
    box-shadow: 4px 4px 12px 0px rgba(0, 0, 0, 0.4);
    border-radius: 6px;
  }
  #top
  {
    height: auto !important;
  }
}

@media (max-width: 580px)
{
  .filter-options
  {
    /* width: 100%;
    flex-direction: column;
    align-items: flex-start; */
    display: grid;
    width: 100%;
    grid-template-areas: "a b"
                         "c c";
    grid-template-columns: 1fr 1fr;
  }
  .filter-options select
  {
    grid-area: c;
  }

  .filter-options button:nth-child(1)
  {
    grid-area: a;
  }

  .filter-options button:nth-child(2)
  {
    grid-area: b;
  }

  .filter-options button, select
  {
    width: 100%;
  }

  .hidden-options
  {
    height: 0px;
  }
}

.not-slc
{
  width: 100% !important;
  z-index: 100 !important;
}

