/* Início fontes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;700;900&display=swap');
/* Fim fontes */

/* Inicio padrão */
    * {
        padding: 0;
        margin: 0;
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
    }

    body {
        background: #000 url(../../img/BG3.png) center top no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }

    .margpdr{
        margin: 0 4vw ;
    }

    ul{
        list-style: none;
    }

    h2 {
        color: #325792;
        padding: 2vw;
        font-weight: 900;
        font-size: 3vw;
        text-transform: uppercase;
    }

    h3 {
        color: white;
        font-weight: 700;
        font-size: 1vw;
        text-transform: uppercase;
    }

    h4 {
        color: #325792;
        padding: 0.3vw;
        font-weight: 700;
        font-size: 0.8vw;
        text-transform: uppercase;
    }

    .borderbox {
        background-color: #fff;
        padding: 1vw;
        border-radius: 0.4vw;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    input[type="submit"] {
        background-color: #325792;
        color: white;
        padding: 1vw 2vw;
        border: none;
        border-radius: 1vw;
        cursor: pointer;
        font-weight: 700;
        border: 1px solid #274e7e;
        text-transform: uppercase;
    }

    input[type="submit"]:hover {
        background-color: white;
        color: #274e7e;
        border: 1px solid #274e7e;
    }

    button[type="submit"] {
        background-color: #325792;
        color: white;
        padding: 0.5vw 0.5vw;
        border: none;
        border-radius: 1vw;
        cursor: pointer;
        font-weight: 700;
        border: 1px solid #274e7e;
        text-transform: uppercase;
    }

    button[type="submit"]:hover {
        background-color: white;
        color: #274e7e;
        border: 1px solid #274e7e;
    }
    
    .error-message{
        color: red;
    }

    #titulo{
        text-align: center;
        margin-bottom: 1vw;
    }
    #titulo h2{
        font-size: 1.5vw;
    }
    .section {
        border-radius: 5px;
        border: 1.5px solid #274e7e;
        margin-top: 1vw;
        position: relative;
        padding: 1vw;
    }
    .section .titulo {
        width: 100%;
        position: absolute;
        line-height: 1vw;
        top: -1vw;
        left: 0;
    }
    
    .section .titulo span {
        color: #325792;
        padding: 0.8vw;
        font-weight: 700;
        font-size: 1vw;
        text-transform: uppercase;
        background: #fff;
    }
/* Fim padrão */


/* Inicio página de login */

    /* Inicio header */
        #cabecalho {
            text-align: center;
            font-weight: 900;
            list-style: none;
            background: #325792;
            color: white;
            padding: 2vw 5vw 2vw 0vw;
            position: relative;
            overflow: hidden;
        }

        #cabecalho h1{
            padding: 0;
            font-weight: 900;
            letter-spacing: 0.4vw;
            font-size: 2vw;
            text-transform: uppercase;
        }

        #logo {
            position: absolute;
            top: 0;
            right: 0;
            width: 20%;
            max-width: 20%;
            height: 80%;
            padding: 1vw;
            background: rgba(255, 255, 255);
            border-radius: 150px 0 0 0;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden; 
        }

        #logo img {
            max-width: 80%;
            height: auto;
            max-height: 80%;
        }


        /*DROPDOWN PRESENÇAS PARCEIROS */
        /* Estiliza o dropdown */
        .dropdown {
            position: relative;
            display: inline-block;
        }

        /* Estiliza o link "Parceiros" */
        .dropbtn {
            text-decoration: none;
            background: #325792;
            padding: 10px;
            display: block;
        }

        /* Estiliza a lista do dropdown */
        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #325792;
            list-style: none;
            padding: 0;
            margin: 0;
            border: 1px solid #325792;
            width: 200px;
            z-index: 1000;
            margin-top: 3px;
            border-radius: 12px;
            
        }

        .dropdown-menu a {
            color: rgb(250, 250, 250);
        }

        /* Estiliza os itens do menu dropdown */
        .dropdown-menu li {
            padding: 10px;
            text-align: left;
            
        }

        /* Estiliza os links dentro do dropdown é o botão dentro do dropdown*/
        .dropdown-menu li a {
            display: block;
            text-decoration: none;
            padding: 10px;
            background-color: #325792;
            border-radius: 12px;
        }

        

        /*mudar a cor do texto*/
        .dropdown-menu li:nth-child(1) a:hover {
            color: #e9ecef;
        }

        /* Faz o menu aparecer APENAS quando o mouse passa por cima de "Parceiros" */
        .dropdown:hover .dropdown-menu {
            display: block;
        }






       
    /* Fim header */
/* ------------------------------------------------------------------------------- */
    /* Inicio Formulario de login */
        #login form {
            max-width: 20vw;
            margin: 2vw auto; 
            background-color: white;
            padding: 2vw;
            border-radius: 1vw;
            box-shadow: 0 0 1vw rgba(0, 0, 0, 0.1);
            text-align: center;
            text-transform: uppercase;
        }

        #login label {
            display: block;
            margin-bottom: 1vw;
            color: #325792;
            text-align: center; 
        }

        #login input[type="text"],
        #login input[type="password"] {
            width: 80%;
            padding: 1vw;
            margin-bottom: 2vw;
            border: 0.1vw solid #325792;
            border-radius: 1vw;
        }
    /* Fim Formulario de login */

/* Fim página de login */


/* Inicio header padrão (menu) */
    nav{
        border-bottom: 1px solid #274e7e;
    }

    nav ul {
        background: white; 
        color: #325792; 
        text-align: left;
        padding: 1vw;
        font-weight: 700;
        list-style: none;
    }

    nav ul li {
        display: inline;
        margin-right: 2vw;
    }

    nav a {
        text-decoration: none;
        background: #325792; 
        color: white; 
        padding: 0.5vw 1vw;
        border-radius: 1vw;
        font-weight: 700;
        font-size: 0.7vw;
        text-transform: uppercase;
    }

    nav a:hover {
        text-decoration: underline;
    }

    #acesso {
        background-color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 6vw;
        border-bottom: 1px solid #274e7e;
        margin-bottom: 2vw;
    }

    #acesso h3 {
        color: #325792;
        font-weight: 900;
    }

    #acesso img {
        max-height: 5vw;
        float: left;
    }
/* Fim header padrão (menu) */
/* tabelas */
    table td,
    table th {
        padding: 1vw; 
        color: #325792; 
        font-weight: 700; 
        font-size: 0.8vw;
        cursor: pointer;
    }

    table th {
        color: white;
        background:#325792; 
        cursor: pointer;
    }
    table tr:hover td {
        color: white;
        background:#5D88BB; 
        cursor: pointer;
    }
    table.guias tr td {
        color: black;
        background:#b0c9e7; 
        cursor: pointer;
    }

    table {
        width: 100%;
    }


/* Classes únicas */
.item-block {
    border: 1px solid #000;
    padding: 10px;
    margin: 10px 0;
}
.item-block-noborder {
    border: 1px solid #000;
    padding: 10px;
    margin: 10px 0;
}

.indice-input {
    width: 30px;
    text-align: center;
}

.npr {
    margin-top: 10px;
    display: block;
    font-weight: bold;
}

.efeito-title {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
}

.linha-swot {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bloco-swot {
    flex: 1;
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
}

.bloco-swot h3 {
    margin: 0 0 10px 0;
}

.bloco-swot div {
    display: flex;
    flex-direction: column;
}

.bloco-swot div input[type="text"] {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
}

.bloco-swot button {
    align-self: flex-start;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    margin-bottom: 10px;
}

.bloco-swot button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
}

.button:hover {
    background-color: #218838;
}

.bloco-swot select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
}

.bloco-swot select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid black;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

/* Classes repetidas com configurações diferentes */
.fraquezas-mini {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-color: #d29e00; 
}

.ameacas-mini {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-color: #FF5801;
}
.ameacas-mini span,
.fraquezas-mini span {
    padding-left: 23px;
}

.ameacas {
    background-color: #FF5801;
}

.fraquezas {
    background-color: #d1a41e; 
}
.oportunidades {
    background-color: #254C68;
}

.forcas {
    background-color: #01B28D; 
}
.linha-swot {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bloco-swot {
    flex: 1;
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
}

.bloco-swot h3 {
    margin: 0 0 10px 0;
}

.bloco-swot div {
    display: flex;
    flex-direction: column;
}

.bloco-swot div input[type="text"] {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
}

.bloco-swot button {
    align-self: flex-start;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    margin-bottom: 10px;
}

.bloco-swot button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
}

.button:hover {
    background-color: #218838;
}

#message {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid;
    display: none;
}
#message.success {
    border-color: green;
    color: green;
}
#message.error {
    border-color: red;
    color: red;
}
.button-cad {
    display: inline-block;
    background-color: #4CAF50; 
    color: white;
    padding: 10px 20px;
    margin: 10px 0; 
    border: none;
    border-radius: 5px; 
    text-align: center; 
    text-decoration: none;
    font-weight: bold; 
    cursor: pointer;
    transition: background-color 0.3s ease; 
}

.button-cad:hover {
    background-color: #45a049; 
}

.button-cad:active {
    background-color: #3e8e41; 
}

.button-cad:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.5); 
}
.bloco-swot select {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.bloco-swot .error-message {
    color: red;
    font-size: 1em;
    margin-top: 10px;
}
.button-link {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px; 
    transition: background-color 0.3s ease; 
}

.button-link:hover {
    background-color: darkgreen; 
}
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 10px;
}
/**/
.filtro-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-start; /* Ajustar para alinhamento superior */
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0; /* Remover margem inferior */
    flex: 1 1 200px; /* Ajustar a largura mínima dos campos */
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-control, .form-check-input, .btn, input[type="date"] {
    padding: 8px; /* Ajustado para 8px */
    margin: 5px 0; /* Ajustado para 5px 0 */
    box-sizing: border-box;
    border: 2px solid #555; /* Ajustado para 2px e cor #555 */
    border-radius: 8px; /* Ajustado para 8px */
    font-size: 14px; /* Ajustado para 14px */
    transition: all 0.3s ease; /* Adicionado para transição suave */
}

input[type="date"]:focus, .form-control:focus {
    border-color: #0af; /* Cor de foco */
    box-shadow: 0 0 8px rgba(0, 170, 255, 0.8); /* Sombra de foco */
    outline: none;
}

.form-check-input {
    width: auto; /* Ajusta a largura do checkbox */
    margin-right: 5px; /* Espaçamento entre o checkbox e o texto */
}

.form-group label {
    margin-bottom: 5px; /* Margem inferior para o label */
    font-weight: bold;
}

.btn-clear {
    background-color: #c82333;
    color: white;
    padding: 0.5vw 0.5vw;
    border: none;
    border-radius: 1vw;
    cursor: pointer;
    font-weight: 700;
    border: 1px solid #274e7e;
    text-transform: uppercase;
}

.btn-clear:hover {
    background-color: #c82333;
}

.item-block label{
    font-weight: bold;
}
.table-npr {
    clear: both;
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    cursor: none;
}

.table-npr th, .table-npr td {
    border: 1px solid #ddd;
    padding: 5px;
    text-align: left;
    font-size: 12px;
    cursor: none;
}

.table-npr th {
    background-color: #f2f2f2;
    cursor: none;
}

.expand-button {
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.expand-button:hover {
    background-color: #45a049;
}

.fixed-table {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.table-container {
    max-height: 200px;
    overflow-y: auto;
    display: none; /* Escondido inicialmente */
}

.fixed-table table tr:hover td {
    color:#325792; 
    background:white; 
    cursor: help;
}
.fixed-table table th {
    color: black;
    cursor: help;
}
.summary-content {
    display: flex;
    align-items: center;
}

.summary-content span {
    margin-left: 10px;
}

details summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: '\25B6'; /* Right-pointing triangle */
    margin-right: 10px;
    transition: transform 0.3s ease;
}

details[open] summary::before {
    transform: rotate(90deg); /* Rotate to pointing down */
}
.pagination {
    text-align: center;
}
.pagination a {
    margin: 0 5px;
    padding: 5px 10px;
    text-decoration: none;
    color: #274e7e;
    border: 1px solid #ddd;
}

.pagination a.active {
    background-color: #274e7e;
    color: white;
    border: 1px solid #274e7e;
}

.select-forn {
    width: 80%; /* Defina a largura desejada */
    padding: 10px;
    border: 1px solid #274e7e;
    border-radius: 4px;
    font-size: 14px;
    margin-left:4px ;
}

.select-benef {
    width: 80%; /* Defina a largura desejada */
    padding: 10px;
    border: 1px solid #274e7e;
    border-radius: 4px;
    font-size: 14px;
    margin-left:4px ;
}
*{
    text-transform: uppercase;
}
/* Estilo para os botões de faturamento */
.btn-faturamento {
    background-color: #005894; /* Azul escuro */
    color: #ffffff; /* Texto branco */
    padding: 10px 20px; /* Espaçamento interno */
    margin-right: 10px; /* Espaçamento entre botões */
    border: none; /* Remove a borda padrão */
    border-radius: 5px; /* Cantos arredondados */
    cursor: pointer; /* Cursor tipo mãozinha ao passar sobre o botão */
    font-size: 16px; /* Tamanho da fonte */
    transition: background-color 0.3s, transform 0.3s; /* Transição suave para a cor de fundo e transformação */
}

/* Efeito ao passar o mouse */
.btn-faturamento:hover {
    background-color: #3387BD; /* Azul claro */
    transform: translateY(-2px); /* Eleva ligeiramente o botão */
}

/* Efeito ao clicar */
.btn-faturamento:active {
    background-color: #003B6D; /* Azul ainda mais escuro */
    transform: translateY(0); /* Volta à posição original */
}
.toggle-btn {
    background-color: #007bff; /* Cor azul */
    color: white; /* Cor do texto branco */
    border: none; /* Remover borda */
    padding: 5px 10px; /* Adicionar espaçamento interno */
    text-align: center; /* Centralizar o texto */
    text-decoration: none; /* Remover sublinhado */
    display: inline-block; /* Manter em linha */
    font-size: 16px; /* Tamanho da fonte */
    margin: 4px 2px; /* Margem ao redor do botão */
    cursor: pointer; /* Mudar cursor ao passar por cima */
    border-radius: 5px; /* Bordas arredondadas */
}

.toggle-btn:hover {
    background-color: #0056b3; /* Alterar cor ao passar o mouse por cima */
}
.green-background {
    background-color: #d4edda; /* Fundo levemente verde */
}

#index-consulta table td,
#index-consulta table yh,
#index-consulta table tr:hover td{
    cursor: default;
}

.registered-box {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #c3e6cb;
}





/*PAGINAÇÃO TABLE PRESENÇAS PARCEIROS ACADEMIA PAG: lista_presenca_parceiros_TESTE.php*/

.pagination {
    text-align: center;
    margin-top: 20px;
}
.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    text-decoration: none;
    background: #325792;
    color: white;
    border-radius: 4px;
}
.pagination a.active {
    background: #ff4500;
    font-weight: bold;
}
.pagination a:hover {
    background: #ff6347;
}
