/* =========================================
   ESTILO DO POPUP DE CONFIRMAÇÃO CUSTOM
   ========================================= */
#confirmOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}


p.nome-profissional-votante {
    text-align: center;
    margin: 30px 0 10px;
    color: #775e9b;
}

span.nome-profissional {
    font-weight: 700;
    color: #26005E;
}

#confirmBox {
  background: #fff;
  border-radius: 24px;
  padding: 25px 50px;
  text-align: center;
  max-width: 320px;
  width: 90%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.25s ease;
  font-family: "Quicksand";
  font-weight: 500;
  z-index: 999999;
}

#confirmBox p {
  font-size: 16px;
  color: #26005E;
  margin-bottom: 20px;
}

#confirmBox .modal-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
}

#confirmBox button {
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 15px;
  transition: background 0.2s ease;
  font-weight: 600;
}

#confirmYes {
  background: #620BDC;
  color: #fff;
  margin-right: 8px;
}
#confirmYes:hover {
  background: #F2295B;
}

#confirmNo {
  background: #F1EDF5;
  color: #F2295B;
}
#confirmNo:hover {
  background: #ddd;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}



 






.swiper,
.votacao,
.votacao label,
.votacao svg {
  user-select: none;          /* Desativa seleção de texto */
  -webkit-user-select: none;  /* Safari/Chrome */
  -moz-user-select: none;     /* Firefox */
  -ms-user-select: none;      /* IE10+ */
  -webkit-tap-highlight-color: transparent; /* Remove highlight azul no mobile */
  -webkit-touch-callout: none; /* Remove menu de contexto no iOS */
}


.phpswp .swiper-button-next, .phpswp .swiper-button-prev {
    color: #C093FF;
    transform: scale(0.75);
}


.indicacoes-wrapper {
    display: none;
    flex-direction: column;
    width: 100%;
    
}


img.icofeed {
    height: 90px;
    margin-bottom: 15px;
}


#lista-indicacoes {
    display: flex;
    flex-direction: column;
}

.indq {
    text-align: center;
    font-weight: 700;
    line-height: 1.2em;
  
    margin: auto;
    padding: 22px 0 12px;
}
button.remover-indicacao,button.remover-indicacao:hover, button.remover-indicacao:active   {
    border: none;
    display: flex;
    flex-basis: auto;
    padding: 0;
    border-radius: 0;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    background: transparent !important;
}

#lista-indicacoes input, textarea#observacoes_gerais  {
    display: flex;
    flex-grow: 1;
     font-size: 13px;
    padding: 10px 15px;
    border: none;
    background: #F1EDF5;
    border-radius: 10px;
}

#lista-indicacoes select {
    flex-basis: 185px;
    display: flex;
    flex-shrink: 0;
    font-size: 13px;
    padding: 10px 15px;
    border: none;
    background: #F1EDF5;
    border-radius: 10px;
}
.indicacao-item {
    display: flex;
    flex-direction: row;
    gap: 10px !important;
}

.item-profissional.form-extra {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 26px 71px 0;
    font-family: "Quicksand";
    min-height: 340px;
}

.item-profissional.form-extra strong {
  
    text-align: center;
    color: #000;
    line-height: 1.3em;
}


#add-indicacao, #add-indicacao:hover, #add-indicacao:active {
    border: none;
    color: #620BDC;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
}


.nota-voto {
    font-family: "Quicksand";
    font-weight: 600;
    color: #26005E;
    padding: 5px 0 0;
}


.swiper-button-next, .swiper-button-prev {
    
    background-image: none;
    transform: scale(1);
    transform: all 300ms ease;
}

.swiper-button-next:after, .swiper-button-prev:after {
    color: #C093FF;
    font-size: 24px !important;
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
   animation: anisetasai 500ms ease forwards;
}


@keyframes anisetasai {
    0%{
         opacity: 1 ;
    }
    100%{
         opacity: 0 ;
    }
}



.votacao {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-direction: row-reverse;
}

.svg-star {
  width: 32px;
  height: 32px;
  color: #c3b8d3;
  fill: #e3ddeb;
  transition: all 0.2s ease;
  cursor: pointer;
}

.votacao input[type="radio"]:checked ~ label svg,
.votacao label:hover ~ label svg,
.votacao label:hover svg {
  color: #ffe140;
  fill: gold;
  transform: scale(1.2);
}

.votacao label:hover svg {
     transform: scale(1.4);
}

.item-profissional {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0px;
    padding: 30px 0 0
    
}

h3.nome-profissional {
    font-family: "Mulish";
    font-weight: 800;
    color: #620bdc;
    padding: 0;
    margin: 10px 0;
    text-align: center;
    padding: 0 40px;
}

.tipo-profissional {
    color: #26005E;
    font-weight: 500;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 5px;
    font-family: "Handelson", Sans-serif;
    font-size: 38px;
    line-height: 1.3em;
    padding: 0 40px;

}

.tipo-profissional img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50px;
    
}

.votacao {
    padding: 5px 0 0;
}

img.imgprof {
    width: 140px;
    aspect-ratio: 1;
    border-radius: 200px;
    object-fit: cover;
}


.votacao label {
  color: #ccc;
  font-size: 44px;
  cursor: pointer;
}

.votacao input[type="radio"]:checked ~ label {
  color: gold;
}

.feedbk, .indq {
    text-align: center;
}



@media only screen and (max-width: 767px) {
    
    .indicacao-item {
        flex-direction: row;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }


#lista-indicacoes select {
    flex-basis: 200px;
    flex-grow: 1;
}



.item-profissional.form-extra {
     
     padding: 0px 50px 0;
}

.feedbk, .indq {
    max-width: 250px;
}



}

/* =========================================
   ESTILOS DO UPLOAD DE NOTA FISCAL
   ========================================= */
.invoice-upload-section {
    background: #F1EDF5;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    font-family: "Quicksand";
    width: 300px;
    justify-self: anchor-center;
}

.invoice-upload-section.has-invoice {
    padding: 0px;
    border-radius: 0px;
    background: transparent;
    margin: 0;
}

.has-invoice .invoice-uploaded {
    margin-top: 0
}

.invoice-label {
    display: block;
    font-size: 16px;
    color: #26005E;
    margin-bottom: 10px;
    font-weight: 600;
}

#invoice_file {
    display: block;
    margin: 0 auto 10px;
    padding: 10px;
    border: 2px dashed #C093FF;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #620BDC;
    transition: all 0.3s ease;
}

#invoice_file:hover {
    border-color: #620BDC;
    background: #fff;
}

.invoice-info {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}


.invoice-actions {
    display: flex;
}

.invoice-uploaded {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    padding: 10px;
    background: #e1faf2;
    border-radius: 10px;
    flex-wrap: wrap;
}


.invoice-status {
    color: #00be7a;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 5px;
    padding: 0 16px;
}

.invoice-link {
    padding: 5px 7px;
   
    border-radius: 5px;
    transition: all 0.2s ease;
    display: flex;
}

.invoice-link:hover {
    background: #1DD694;
    color: #fff;
}

.invoice-link svg {
    fill: #1DD694;
    
}

.invoice-link:hover svg {
    fill: #fff;
}



.remove-invoice {
    background: transparent;
    color: #fff;
    border: none;
    padding: 5px ;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.remove-invoice:hover {
    background: #F2295B;
}
.remove-invoice:hover svg {

    fill: #fff
}

.upload-progress {
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #620BDC, #C093FF);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #666;
}

@media only screen and (max-width: 767px) {
    .invoice-uploaded {
        flex-direction: row;
        gap: 8px;
    }
    
    .invoice-label {
        font-size: 14px;
    }
}



