/* *** PESQUISAR DOCENTES *** */

    div.center {
        background-color: #f7f7f7;
    }
    h2#slogan_header.doc::before {
        content: url('../paginas/img/arrow_right2.png'); 
        vertical-align: middle;
    }
    h2#slogan_header.doc {
        font-size: 22px;
        background-color: #f7f7f7;  
    }
    .radio-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }
    .radio-container {
        display: flex;
        align-items: center;
        gap: 1em;
        font-family: Arial, sans-serif;
        font-size: 14px;
        background-color: #f9f9f9;
        color: var(--verde-escuro);
        padding: 10px 15px;
        border-radius: 8px;
        box-shadow: 0 1px 5px rgba(0,0,0,0.1);
        position: relative;
        margin-top: 8px;
    }
    .radio-container input[type="radio"] {
        accent-color: var(--verde-escuro);
        cursor: pointer;
    }
    .radio-container label {
        display: flex;
        align-items: center;
        gap: 0.3em;
        cursor: pointer;
    }
    .tooltip-icon {
        position: relative;
        display: inline-block;
        width: 20px;
        height: 20px;
        cursor: help;
    }
    .tooltip-icon svg {
        width: 20px;
        height: 20px;
        fill: #008099; 
    }
    .tooltip-icon::after {
        content: attr(data-tooltip); /* agora puxando do atributo data-tooltip */
        position: fixed; /* evita corte em telas pequenas */
        bottom: 70px;
        left: 50%;
        transform: translateX(-50%);
        background: #333;
        color: #fff;
        padding: 6px 10px;
        border-radius: 5px;
        font-size: 12px;
        white-space: pre-line;
        width: max-content;
        max-width: 90vw;
        text-align: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: 1000;
    }
    .tooltip-icon:hover::after {
    opacity: 1;
    }
        
  /* RESPONSIVO (768px) */
        
   @media (min-width: 768px) {
     .tooltip-icon::after {
        position: absolute;
        bottom: 125%;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        max-width: 300px;        /* aumenta a largura do tooltip */
        white-space: normal;     /* permite quebra de linha natural */
        text-align: center;
      }
    }
        
    .custom_select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;

        font-size: 14px;
        font-weight: normal;
        padding: 5px 10px;
        width: 100%;
        padding-left: 35px; /* Espaco para o Icone */
        outline: none;
        background: #fff;
        color: #222;
        border: 1px solid var(--verde-escuro);
        border-radius: 5px;
        box-shadow: 3px 3px 2px 0px #E2E2E2;
        transition: .3s ease;
        cursor: pointer;
    }

    .custom_select:focus {
        background: #fff;
        border: 1px solid var(--verde-escuro); 
        border-radius: 10px;
    }

    .custom_input select.input {
        background-image: none; /* Remove a seta padrao */
    }

    .custom_input svg.svg_icon {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        fill: #008099; /* #4660DC; */
        width: 18px;
        height: 18px;
        pointer-events: none;
    }

    @media screen and (max-width: 600px) {
        .custom_select {
            padding-left: 10px;
        }
    }

    .custom_input {
        display: flex;
        align-items: center;
        position: relative;
        max-width: 100%;
    }

    .input {
        font-size: 14px;
        padding: 5px 10px;
        width: 100%;
        padding-left: 35px;
        outline: none;
        background: #fff;
        color: var(--verde-escuro);
        border: 1px solid var(--verde-escuro); 
        border-radius: 5px;
        box-shadow: 3px 3px 2px 0px #E2E2E2;
        transition: .3s ease;
    }

    .input:focus {
        background: #F2F2F2;
        border: 1px solid var(--verde-escuro);
        border-radius: 10px;
    }

    .input::placeholder {
        color: #888; 
    }

    .svg_icon {
        position: absolute;
        left: 10px;
        fill: #008099; 
        width: 18px;
        height: 18px;
    }
    /* Estilos para a tabela */
    table {
        width: 100%;
        border-collapse: collapse;
    }

    table, th, td {
        border: 1px solid #ddd;
    }

    th, td {
        padding: 8px;
        text-align: left;
        color: var(--verde-escuro);
    }

    /* Estilo para a primeira linha da tabela (cabecalho) */
    th {
        background-color: #f7f7f7;
        color: var(--verde-suave);
    }

    /* Estilo para linhas Impares da tabela */
    tr:nth-child(odd) {
        background-color: #f2f2f2;
    }

    /* Estilo para a tabela em tamanho pequeno (responsivo) */
    @media screen and (max-width: 600px) {
        table, thead, tbody, th, td, tr {
                display: block;
        }

        /* Esconder o cabecalho */
        thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

        tr {
            border: 1px solid #ccc;
        }

        td {
            border: none;
            border-bottom: 1px solid #eee;
            position: relative;
            padding-left: 50%;
            color: var(--verde-escuro);
        }

        td:before {
            position: absolute;
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /* Estilo para o cabecalho da coluna */
        td:nth-of-type(1):before {
            content: "Nome";
        }
        td:nth-of-type(2):before {
            content: "Titulação";
        }
        td:nth-of-type(3):before {
            content: "Regime";
        }
        td:nth-of-type(4):before {
            content: "Lattes";
        }
    }
