/*
Theme Name: Portal Eagle
Description: A basic WordPress theme for Portal Eagle
Author: Portal Eagle Team
Version: 1.0
*/

/* Basic CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size: 62.5%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6rem;
    font-size: 1.6rem;
}

.container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.hidden{
    display: none !important;
} 


/*Loading*/
.loadingGeral{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 43, 45, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loadingbox{
    padding: 2rem;
    border-radius: .5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
}

.loadingbox .loading_icon{
    width: 4.8rem;
    height: 4.8rem;
}
   
.loadingbox svg{
    width: 100%;
    height: 100%;
}

.loadingbox h3{
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
    color: #fff;
}

/*Modal Retorno*/
.modalRetorno{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 43, 45, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
    
.modalbox{
  padding: 4.8rem;
    border-radius: .5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    background-color: #fff; 
    max-width: 96rem;
    width: calc(100% - 1.6rem);
    position: relative;
}

.modalbox svg{
    width: 3.6rem;
    height: 3.6rem;
    fill: #2B2B2D;
}


.modalbox .closeModal{
    position: absolute;
    top: 2.4rem;
    right: 2.4rem;
    cursor: pointer;
}

.modalRetorno.error.FormCadastroEmpresa .iconError {
  display: block !important;
}
.modalRetorno.error.FormCadastroEmpresa .iconError .btnModal{
  display: none;
}


.modalRetorno .iconSucesso,
.modalRetorno .iconError{
    display: none;
  
    
}

.modalRetorno.sucesso .iconSucesso{
    display: block;
}

.modalRetorno.error .iconError{
    display: block;
}

.modalRetorno.sucesso .iconSucesso svg{
    fill: #fbbc5c;
    width: 9.6rem;
    height: 9.6rem;
}

.modalRetorno.error .iconError svg{
    fill: #DB2B39;
    width: 9.6rem;
    height: 9.6rem;
}


/*Campo de Upload*/
/* CSS equivalente para as classes Tailwind no formulário */

/* Para a label na linha 11 */
.font-semibold {
    font-weight: 600;
  }
  
  .text-bloomer_black {
    color: #161616; /* Assumindo que bloomer_black é esta cor */
  }
  
  .text-base {
    font-size: 1rem; /* 16px */
  }
  
  .leading-6 {
    line-height: 1.5rem; /* 24px */
  }
  
  .mb-2 {
    margin-bottom: 0.5rem; /* 8px */
  }
  
  /* Para o parágrafo na linha 12 */
  .text-bloomer_gray_2 {
    color: #666666; /* Assumindo que bloomer_gray_2 é esta cor */
  }
  
  .font-regular {
    font-weight: 400;
  }
  
  /* Para a div na linha 15 */
  .flex {
    display: flex;
  }
  
  .mt-6 {
    margin-top: 1.5rem; /* 24px */
  }
  
  /* Para o span na linha 16 */
  .block {
    display: block;
  }
  
  .max-w-\[200px\] {
    max-width: 200px;
  }
  
  /* Para o link de upload na linha 18 */
  .w-\[200px\] {
    width: 200px;
  }
  
  .p-6 {
    padding: 1.5rem; /* 24px */
  }
  
  .bg-bloomer_gray_4 {
    background-color: #f5f5f5; /* Assumindo que bloomer_gray_4 é esta cor */
  }
  
  .flex-col {
    flex-direction: column;
  }
  
  .justify-center {
    justify-content: center;
  }
  
  .items-center {
    align-items: center;
  }
  
  .gap-2 {
    gap: 0.5rem; /* 8px */
  }
  
  .ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .duration-300 {
    transition-duration: 300ms;
  }
  
  .hover\:opacity-90:hover {
    opacity: 0.9;
  }
  
  .cursor-pointer {
    cursor: pointer;
  }
  
  .rounded-lg {
    border-radius: 0.5rem; /* 8px */
  }
  
  /* Para o texto "Enviar imagem" na linha 25 */
  .text-bloomer_black {
    color: #161616;
  }

 /* Estilos para o botão de upload */
.upload-button {
    border: 2px dashed #ccc;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.4rem;
}

.upload-button:hover {
    border-color: #666;
}

.upload-button.drag-over {
    border-color: #161616;
    background-color: rgba(22, 22, 22, 0.05);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 22, 22, 0.2);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(22, 22, 22, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(22, 22, 22, 0);
    }
}

.upload-button.fileSelected {
    border-color: #161616;
    background-color: rgba(22, 22, 22, 0.05);
}

.file-input {
    display: none;
}

/* Estilos para o container de prévia */
.preview-container {
    margin-right: 1rem;
    position: relative;
    min-height: 100px;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-container.has-image {
    border: 1px solid #ccc;
    border-radius: 50%;
    overflow: hidden;
}

.preview-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Estilo para o botão de remover arquivo */
.remove-file {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff0000;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Estilo para a prévia da imagem */
.preview {
    margin-right: 1rem;
    position: relative;
}

.preview-container {
    position: relative;
    display: inline-block;
}

.preview img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}

/* Estilo para quando o avatar está sendo mostrado */
.avatarCell.has-image {
    border: 1px solid #ccc;
    border-radius: 50%;
    overflow: hidden;
    min-width: 100px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilo para o botão de remover arquivo */
.remove-file {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff0000;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.linhaCampo{
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin-bottom: 1rem;
}

/* Estilos para o repetidor de colaboradores */


.botoes-colaborador {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.remover-colaborador {
    background-color: #E74C3C;
    color: white;
    font-family: 'Poppins', sans-serif;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.6rem;
    transition: background-color 0.3s;
}

.remover-colaborador:hover {
    opacity: .8;
}

.botao-adicionar {
    background-color: #D1D1D6;
    color: #2B2B2D;
    font-family: 'Poppins', sans-serifs;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.botao-adicionar:hover {
    opacity: .8;
}

.separador {
    height: 1px;
    background-color: #ddd;
    margin: 2rem 0;
}

.headerCampo {
    margin-bottom: 1.5rem;
}

.headerCampo h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.subheaderCampo {
    margin-bottom: 1.5rem;
}

.subheaderCampo h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #444;
    margin-bottom: 0.5rem;
}

.subheaderCampo p {
    color: #666;
    font-size: 0.9rem;
}
/* Fim Campos Upload */


/**Select Fake*/
.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
    flex: 1;
  }
  .select-trigger {
    background-color: #fff;
    padding: 1.6rem;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.8rem;
    width: 100%;
    box-sizing: border-box;
  }
  .select-trigger .arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    margin-left: 10px;
  }
  .custom-select.open .select-trigger .arrow {
    transform: rotate(180deg);
  }
  .select-options {
    position: absolute;
    top: 5.2rem;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    display: none;
    z-index: 10;
    border-radius: 4px;
  }
  .select-options li {
    padding: 12px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .select-options li:hover {
    background-color: #F0F0F0;
  }

  .empresa-item{
    display: flex;
    align-items: center;
    gap: .8rem;
  }

  .empresa-icon {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: cover;
    border-radius: 50%;
  }
 

/**Fim Select Fake*/

/**Estilos para Upload de Múltiplos Arquivos**/
.filesPreview {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    min-height: 100px;
    border: 1px dashed #ccc;
    border-radius: 6px;
    padding: 15px;
    background-color: #f7f8fa;
}

.filesPreview .empty-state {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-style: italic;
}

.file-preview {
    position: relative;
    width: 150px;
    height: 150px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.file-preview img.file-thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-bottom: 1px solid #eaeaea;
}

.file-preview .file-icon {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f1f3f9;
    border-bottom: 1px solid #eaeaea;
}

.file-preview .file-icon i {
    font-size: 42px;
    color: #666;
}

.file-preview .file-icon i.fa-file-pdf {
    color: #e74c3c;
}

.file-preview .file-icon i.fa-file-word {
    color: #3498db;
}

.file-preview .file-info {
    padding: 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.file-preview .file-name {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview .file-size {
    font-size: 11px;
    color: #999;
    display: block;
}

.file-preview .remove-file {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.file-preview .remove-file:hover {
    background-color: #f44336;
    color: white;
}

#remove-all-files {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

#remove-all-files:hover {
    background-color: #d32f2f;
}

.error-message {
    color: #f44336;
    margin-top: 10px;
    font-size: 14px;
}

/**Fim Estilos para Upload de Múltiplos Arquivos**/


/*Estilos Extra Tabelas*/
.td_grupoCota {
  max-width: 70px;
  white-space: break-spaces;
  word-break: break-all;
  padding-right: 24px;
}

.td_operacao{
  max-width: 120px;
  white-space: break-spaces;
}