@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* ------------------------ LOGIN ------------------------- */
#card-login{
    width: 100%; 
    height: 500px;
    padding: 0px;
    margin: 0px;
    border: 0px;
    border-radius: 20px 20px 20px 20px;
}

#card-entrada-dados{
    display: flex;
    padding: 0px;
}

#form-entrada-dados{
    align-items: center;
    margin:auto;
    margin-top: 1%;
}

#titulo_login {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600; /* Negrito para dar destaque */
    font-size: 24px; /* Ajuste o tamanho conforme necessário */
    color: #333; /* Cor escura para contraste */
}

#input_login {
    border: none; /* Remove todas as bordas */
    border-top: 0px solid #ccc; /* Borda superior cinza */
    border-left: 0px solid #ccc; /* Borda esquerda cinza */
    border-right: 0px solid #ccc; /* Borda direita cinza */
    border-bottom: 2px solid #ccc; /* Linha inferior laranja */
    outline: none; /* Remove o contorno ao focar */
    margin-top: 10px;
    width: 350px;
}

#input_login:focus {
    outline: none; /* Remove o contorno azul ao focar */
    border-bottom: 2px solid #6200d9; /* Altera a cor da linha inferior ao focar (opcional) */
    box-shadow:0 0 0 .25rem rgb(253 135 13 / 25%)
}

#div_img_login img {
    width: 600px;
    height: 500px;
    padding: 0px;
    margin: 0px;
    border-radius: 20px 0px 0px 20px;
}


#btn_login{
    background-image: linear-gradient(to top right, #6200d9, #997cff);
    width: 250px;
    border-radius: 25px;
    border: #6200d9 1px solid;
}
/* ------------------------ CADASTRO ------------------------ */

#card-main-cadastro{
    width: 70%; 
    height: 100%;
    margin-bottom: 4%;
}

.card-header{
    margin: 0px;
    background-color : white;
    border-bottom : 0px 
}


#btn_cadastrar{
    background-image: linear-gradient(to top right, #6200d9, #997cff);
    width: 250px;
    border-radius: 25px;
}

#btn_voltar{
    background-image: linear-gradient(to top right, #ffffff, #b8b8b8);
    width: 200px;
    border-radius: 25px;
}

#input_cadastro:focus {
    outline: none; /* Remove o contorno azul ao focar */
    border-bottom: 2px solid #6200d9; /* Altera a cor da linha inferior ao focar (opcional) */
    box-shadow:0 0 0 .25rem rgb(253 135 13 / 25%)
}

#input_cadastro {
    border: none; /* Remove todas as bordas */
    border-top: 0px solid #ccc; /* Borda superior cinza */
    border-left: 0px solid #ccc; /* Borda esquerda cinza */
    border-right: 0px solid #ccc; /* Borda direita cinza */
    border-bottom: 2px solid #ccc; /* Linha inferior laranja */
    outline: none; /* Remove o contorno ao focar */
    width: 350px;
}

/* ------------------------ HEADER ------------------------ */

#home_titulo_header{
    text-align: center;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 70px;
}


.jumbotron{
    width: 100%;
}

.header {
    position: relative;
    width: 100%;
    height: 130px;
    background: linear-gradient(135deg, #6200d9, #9b5fff, #c39bff);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: #333;
    text-align: left;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" fill="none" viewBox="0 0 200 200"><path d="M30 10L60 30V70L30 90L0 70V30L30 10Z" stroke="%23ffffff20" stroke-width="2"/></svg>');
    background-size: 80px;
    opacity: 0.3;
    z-index: 0;
}

.header-title {
    font-size: 65px;
    color: #ffffff;
    font-weight: bold;
    z-index: 2;
    display: flex;
    align-items: baseline;
    margin-left: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.header-title .rfb {
    color: #ffffff;
    margin-left: 5px;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    z-index: 2;
}

.nav-buttons .btn {
    background: #fff;
    border: none;
    color: #6200d9;
    padding: 10px 18px;
    border-radius: 30px; /* deixa pill */
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.nav-buttons .btn:hover {
    background: #6200d9;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

#links-header{
    width: 180px;
    margin: 8px;
    border: #6200d9 1px solid;
}


/* ------------------------ EMPRESAS DADOS ------------------------ */

#btn_abrir_detalhes {
    border-radius: 15px;
    margin-left: 35%;
    margin-right: 35%;
    margin-bottom: 10px;
}

.card_detalhes {
    display: flex;
    justify-content: space-between;
    margin-left: 50px;
    margin-right: 50px;
}

/* -------------------- POPUP PRINCIPAL -------------------- */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #2b2b2b;
    padding: 30px 40px;
    border-radius: 20px;
    width: 70%;
    max-width: 1000px;
    max-height: 90vh;
    box-sizing: border-box;
    transition: all 0.4s ease;
    opacity: 0;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.4);
}

/* Popup detalhes */
.popup_detalhes{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2b2b2b;
    padding: 20px 20px;
    border-radius: 8px;
    width: 900px;
    box-sizing: border-box;
    transition: all 0.4s;
    opacity: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
}

/* Popup aberto */
.popup.opened {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 999;
    display: flex;
}

/* Título do popup */
.popup h2.title {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
}

/* Separador */
.popup hr {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.3);
    margin: 15px 0;
}

/* Labels, inputs e selects */
.popup h4, .popup h5, .popup label {
    color: #fff;
}

.popup input, 
.popup select {
    width: 100%;
    max-width: 750px;
    padding-left: 5px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #2b2b2b;
    color: #fff;
}

.popup input::placeholder {
    color: rgba(255,255,255,0.7);
}

.popup input:focus,
.popup select:focus {
    border-color: #7e3ecc;
    box-shadow: 0 0 8px rgba(126, 62, 204, 0.5);
}

/* Botões gerais do popup */
.popup-button,
.popup .close-popup-button {
    background-color: #fff;
    border: 2px solid #6200d9;
    color: #6200d9;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 5px 0 0;
}

.popup-button:hover,
.popup .close-popup-button:hover {
    background-color: #6200d9;
    color: #fff;
    transform: scale(1.05);
}

/* Close button circular no canto */
.popup .close-popup-button {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 28px;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.popup .close-popup-button:hover {
    background-color: #fff;
    color: #6200d9;
    transform: scale(1.2);
}

/* Botão BUSCAR destacado */
#btn_buscar {
    background-color: #7e3ecc;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 16px;
    margin: 20px auto 0 auto; /* centraliza horizontalmente */
    display: block; /* garante centralização */
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #7e3ecc;
}

#btn_buscar:hover {
    background-color: #fff;
    color: #7e3ecc;
    transform: scale(1.05);
}

/* Botão fixo no rodapé do popup */
/* rodapé sempre no final */
.popup-footer {
    margin-top: auto;       /* empurra para o final */
    background: #2b2b2b;    /* cor de fundo */
    padding: 15px;
    text-align: center;
}

/* ------------------------------ POP UP EMPRESA ------------------------------ */

.title-pop-up-emp {
    color: white;
}

.info-row {
    display: flex;
    justify-content: space-between;
    color: white;

}

/* Mantém informações principais e contato lado a lado */
.info-row:not(.socio-info) {
    flex-direction: row;
}

/* Sócios: informações em coluna */
.socio-info {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Espaçamento entre linhas */
    margin-left: 50px; /* recuo opcional */
}

.info-sum {
    color: white;
}


.info-sum-socio{
    margin-left: 25px;
    color: white;
}

/* ------------------------ CONFIGURAÇÃO POP MODAL --------------------------- */

#popup_filtro{
    max-height: 550px; 
    overflow-y: auto;  
}

.div_filtro_select{
    display: flex;
    justify-content:space-between;
}

.label_form_filtro{
    font-size: 18px;
    width: 240px;
    margin-top: auto;
}


/* ------------------------ CONFIGURAÇÕES DE GRAFICOS ------------------------ */

.div_grafico{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: #FFF 1px solid;
    padding-top: 15px;
    padding-bottom: 35px;
    border-radius: 15px;
    width: 85%;
    margin: auto;
}

/* ------------------------ CONFIGURAÇÕES DE SUMARIO ------------------------ */

summary::-webkit-details-marker {
    display: none;
}


/* ------------------------ CONFIGURAÇÕES DE BUTTON ------------------------ */

#button-sair {
    border: 1px solid #6200d9; /* Borda laranja para consistência */
    background-color: #fff;
    color: #6200d9; /* Texto laranja */
    font-size: 12px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    outline: none;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
    width: 80px;
    text-align: center;
    float: right;
}

#button-sair:hover {
    background-color: #6200d9; /* Fundo laranja no hover */
    color: #fff; /* Texto branco no hover */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* Aumento da sombra no hover */
}

#button-sair:active {
    transform: scale(0.95); /* Efeito de pressionado */
}

/* ------------------------ CONFIGURAÇÕES DE PAGINAÇÃO ------------------------ */

.pagination{
    display: flex;
    justify-content: center;
}

/* ------------------------ CONFIGURAÇÕES DAS DIV HOME ------------------------ */

/* Caixa das empresas ativas (mantendo o teu estilo) */
/* Container principal */
.container {
  width: 87%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Cards de destaque */
.info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 40px 0;
}

.card {
  flex: 1;
  min-width: 250px;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.08);
  text-align: center;
}

.card h4 {
  margin: 0;
  font-size: 20px;
  color: #2b2b2b;
}

.card p {
  font-size: 26px;
  font-weight: bold;
  color: #ffffff;
  margin: 10px 0 0 0;
}

.card.destaque {
  width: 100%;
  background: linear-gradient(135deg, #7e3ecc, #b181ff);
  color: #fff;
  padding: 30px 20px;
  border-radius: 20px;
  border: 1px solid white;
  box-shadow: 0px 6px 18px rgba(98, 0, 217, 0.25);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.destaque:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 25px rgba(98, 0, 217, 0.35);
}

.card.destaque h4 {
  font-size: 22px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 1px;
}

.card.destaque p {
  font-size: 40px;
  font-weight: bold;
  margin: 10px 0 0 0;
  line-height: 1.2;
}

/* Seções */
.section {
  margin: 40px 0;
}

.section h3 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 24px;
  border-left: 6px solid #bfa6ff;
  padding-left: 12px;
  font-weight: 600;
}

/* Caixas dos gráficos */
.chart-box {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
}

.chart-box h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #2b2b2b;
}
/* ------------------------ CONFIGURAÇÕES DA DIV PERFIL ------------------------ */


#perfil_usuario_div{
    width: 100%;
    height: 500px;
    background-color: #686868;
    border-radius: 15px;
    color:#ffffff;
    padding: 40px;
    display: flex;
    border: #ffffff 1px solid;
    padding-left: 15%;
}

#perfil_usuario_div_cont{
    margin-left: 20%;
}

#perfil_foto{
    width: 180px;
    height: 180px;
    background-color: #bcbcbc;
    border: #ffffff 1px solid;
    border-radius: 100px;
}

#atualizaCadastro{
    width: 100%;
    height: 100%;
    background-color: #686868;
    border-radius: 15px;
    color:#ffffff;
    padding: 40px;
    border: #ffffff 1px solid;
    padding-left: 15%;
}


/* ------------------------ CONFIGURAÇÕES DA DIV DISPONIBILIZAÇÃO ------------------------ */
#disponibilicao_div {
    position: relative; /* necessário pro filho absolute funcionar */
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom right, #6200d9, #997cff);
    border-radius: 15px;
    border: #ffffff 1px solid;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 200px; /* espaço pra tutorial flutuar */
    padding-bottom: 5%;
}

.div_bloco_disponibilizacao_tutorial {
    width: 80%;
    height: 150px;
    background-color: aliceblue;
    border-radius: 15px;
    border: #575757 1px solid;
    color: #333;
    text-align: center;
    padding: 2%;
    margin-top: 2%;
    font-size: 18px;

    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* só pra ficar lindão */
}

.div_bloco_disponibilizacao {
    width: 450px;
    height: 450px;
    background-color: aliceblue;
    border-radius: 15px;
    border: #575757 1px solid;
    color: #333;
    text-align: center;
    padding-top: 5%;
    margin-top: 5%;
    font-size: 18px;
}


.disponibilizacao-button {
    margin-top: 8%;
    border: 1px solid #6200d9; /* Borda laranja para combinar com o header */
    background-color: #fff;
    border-radius: 5px;
    width: 70%;
    height: auto;
    padding: 12px 0;
    text-decoration: none;
    color: #6200d9;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
}

.disponibilizacao-button:hover {
    background-color: #6200d9;
    color: #fff; /* Texto branco no hover */
}

#img_download{
    margin-top: 10%;
    width: 40px;
}

.desc{
    margin-left: 5%;
    margin-right: 5%;
}

/* ------------------------ CONFIGURAÇÕES DA PAGINA CREDITOS ------------------------ */

/* Ajuste da imagem do QR Code */
.div_bloco_credito img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px; /* Espaço abaixo da imagem */
}

/* Estilo do código Pix */
.div_bloco_credito p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

.div_bloco_credito strong {
    font-size: 18px;
    color: #6200d9; /* Cor destacada para o código Pix */
}

/* ------------------------ CONFIGURAÇÕES DA PAGINA PROCESSAMENTO ------------------------ */

#credito_div_main {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom right, #6200d9, #997cff);
    border-radius: 15px;
    border: #ffffff 1px solid;
    display: flex;
    flex-direction: column; /* Organiza os elementos em coluna */
    justify-content: center; /* Centraliza verticalmente */
    align-items: center; /* Centraliza horizontalmente */
    box-sizing: border-box;
    gap: 20px; /* Espaço entre tutorial e bloco de crédito */
    padding: 5%;
}

.div_bloco_credito_tutorial {
    width: 90%;
    height: 180px;
    background-color: aliceblue;
    border-radius: 15px;
    border: #575757 1px solid;
    color: #333;
    margin: 0 auto;
    text-align: center;
    padding: 3%; /* Ajuste no padding para dar mais espaço */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Sombra opcional para dar um efeito */
}

.div_bloco_credito {
    width: 100%;
    max-width: 90%;
    background-color: aliceblue;
    border-radius: 15px;
    border: #575757 1px solid;
    color: #333;
    text-align: left;
    padding: 20px;
    font-size: 16px;
}

.container-radio {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.radio-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    transition: 0.3s;
    cursor: pointer;
}

.radio-item:hover {
    background-color: #f0f0f0;
}

.radio-item input[type="radio"] {
    margin-top: 6px;
    transform: scale(1.2);
}

.info-container {
    display: flex;
    flex-direction: column;
}

.info-container span {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.info-box p {
    font-size: 14px;
    color: #555;
    margin: 0;
    text-align: justify;
    line-height: 1.4;
}

/* Estilo do botão */
#proximo-passo {
    width: 100%; /* Faz o botão ocupar toda a largura */
    margin-top: 30px;
    padding: 12px 24px;
    background: linear-gradient(to right, #6200d9, #997cff);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: linear-gradient(to right,#6200d9, #997cff);
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ----------------------------------------- */

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 30px 20px;
    text-align: center;
  }
  .nav-buttons {
    margin-top: 15px;
    justify-content: center;
  }
}