/* ==========================================================
   🌐 ServentIA CSS Unificado
   Contém: site.css + style.css + style-admin.css + nav_buttons.css
   Imports e variáveis globais unificados
   ========================================================== */



/* ==========================================================
   🔹 BLOCO — site.css
   ========================================================== */

ï»¿* {
    transition: all 0.2s ease-in-out;
}

html, body {
    height: 100%;
    margin: 0;
    /*overflow: hidden;*/ /* remove o scroll */
    font-family: Verdana, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #08545c;
/*    background: linear-gradient(135deg, #08545c 40%, #e47c1c 120%);*/
    background-image: url('/img/fundo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* fundo fixo */
    margin: 0;
    padding-top: 76px; /* espaÃ§o para top-bar + separator-line */
    font-family: Verdana, sans-serif;
    min-height: 100vh;
}
.logo {
    width: 400px; /* ou 300px se quiser maior */
    height: auto;
    display: block;
    margin: 0;
    padding-left: 20px;
}

/* ============================= */
/* Barra superior dividida em 3 blocos */
/* ============================= */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: #08545c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

    .top-bar .left {
        flex: 0 0 auto;
    }

    .top-bar .center {
        position: absolute; /* posição absoluta em relação à barra */
        left: 50%; /* move o início para o centro da tela */
        transform: translateX(-50%); /* puxa de volta metade da largura */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .top-bar .right {
        flex: 0 0 auto;
    }

.nav-buttons {
    display: flex;
    gap: 50px;
}

    /* 🔸 Estado normal (laranja com fonte verde) */
    .nav-buttons a {
        text-decoration: none;
        color: white;
        font-weight: bold;
        padding: 10px 18px;
        border-radius: 6px;
        border: 2px solid #e47c1c;
        background-color: #e47c1c;
        transition: all 0.3s ease;
        position: relative;
        display: inline-block;
        box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    }

        /* 🟢 Hover (fundo verde, texto e borda laranja) */
        .nav-buttons a:hover {
            background-color: #08545c;
            color: #e47c1c;
            border-color: #e47c1c;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(228, 124, 28, 0.4);
        }


/* ============================= */
/* BotÃ£o Alterar Senha fixo no canto direito */
/* ============================= */
.btn-alterar-senha {
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    background-color: #08545c;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

    .btn-alterar-senha:hover {
        background-color: #e47c1c;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        transform: translateY(-2px);
    }

/* ============================= */
/* Linha separadora abaixo da barra */
/* ============================= */
.separator-line {
    position: fixed;
    top: 120px; /* ajustado para ficar logo abaixo da top-bar (que tem 120px de altura) */
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #e47c1c;
    z-index: 2000; /* 🔺 garante que fica acima de tudo */
}

/* ============================= */
/* Ãrea de conteÃºdo */
/* ============================= */


.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.85);
    padding: 40px 60px;
    text-align: center;
    border-radius: 12px;
    max-width: 700px;
}

    .overlay h1 {
        color: #08545c;
        margin-bottom: 20px;
    }

    .overlay p {
        color: #333;
        margin-bottom: 30px;
    }

.access-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #08545c;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

    .access-button:hover {
        background-color: #e47c1c;
        color: white;
        border-color: #e47c1c;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        transform: translateY(-2px);
    }

.modelos-container {
    background-color: rgba(255,255,255,0.95);
    border: 6px solid #e47c1c;
    border-radius: 12px;
    width: 800px;
    max-width: 95%;
    padding: 30px;
    margin: 130px auto 0; /* afasta do topo */
    text-align: center;
}

.modelos-logo {
    display: block;
    margin: 0 auto 30px;
    max-width: 300px;
}

.modelos-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .modelos-form select,
    .modelos-form textarea,
    select#modelos,
    textarea#textoModelo {
        width: 100%;
        box-sizing: border-box;
        display: block;
        margin: 0 auto;
        max-width: 100%;
    }

    /* MantÃ©m estilos visuais harmonizados */
    .modelos-form textarea,
    textarea#textoModelo {
        height: auto;
        min-height: 250px; /* altura mÃ­nima confortÃ¡vel */
        border: 2px solid #08545c;
        border-radius: 8px;
        padding: 12px 14px;
        font-size: 15px;
        color: #333;
        line-height: 1.6;
        resize: vertical;
        transition: all 0.25s ease-in-out;
    }

        .modelos-form textarea:focus,
        textarea#textoModelo:focus {
            border-color: #e47c1c;
            box-shadow: 0 0 6px rgba(228, 124, 28, 0.4);
        }

    .modelos-form button,
    button[onclick*="copiarTexto"],
    button[onclick*="limparCampos"] {
        height: 45px;
        border-radius: 6px;
        font-weight: bold;
        color: white;
        cursor: pointer;
        transition: all 0.25s ease-in-out;
        border: none;
        background-color: #08545c; /* verde principal */
    }

        /* Hover â vira laranja */
        .modelos-form button:hover,
        button[onclick*="copiarTexto"]:hover,
        button[onclick*="limparCampos"]:hover {
            background-color: #e47c1c; /* laranja do projeto */
            transform: translateY(-2px);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
        }

/* Efeito de clique */
button:active {
    transform: scale(0.97);
}

.categoria-item {
    display: block;
    text-align: left;
    color: #08545c;
    font-weight: bold;
    margin-bottom: 5px;
}

.modelos-title {
    color: #08545c;
    margin-bottom: 20px;
}

.bem-vindo {
    color: #08545c;
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
    background-color: rgba(255,255,255,0.8);
    padding: 6px 12px;
    border-radius: 6px;
    text-align: right;
}

/* =========================================================
   AJUSTES FINAIS VISUAIS â CAMPOS E BOTÃES
   ========================================================= */

/* --- SELECT (campo de escolha de modelo) --- */
.modelos-form select,
select#modelos {
    height: 45px;
    padding: 10px 14px;
    border: 2px solid #08545c;
    border-radius: 8px;
    background-color: #fff;
    color: #08545c;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease-in-out;
    box-sizing: border-box;
    outline: none;
}

    .modelos-form select:hover,
    .modelos-form select:focus,
    select#modelos:hover,
    select#modelos:focus {
        border-color: #e47c1c;
        box-shadow: 0 0 6px rgba(228, 124, 28, 0.4);
    }

/* --- TEXTAREA --- */
.modelos-form textarea,
textarea#textoModelo {
    border: 2px solid #08545c;
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.25s ease-in-out;
}

    .modelos-form textarea:focus,
    textarea#textoModelo:focus {
        border-color: #e47c1c;
        box-shadow: 0 0 6px rgba(228, 124, 28, 0.4);
    }

/* --- BOTÃES --- */
.modelos-form button,
button[onclick*="copiarTexto"],
button[onclick*="limparCampos"] {
    height: 45px;
    border-radius: 6px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    border: none;
}

/* Copiar texto (laranja) */
button[onclick*="copiarTexto"] {
    background-color: #e47c1c;
}

    button[onclick*="copiarTexto"]:hover {
        background-color: #cf6e16;
        transform: translateY(-2px);
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    }

/* Limpar texto (azul petrÃ³leo) */
button[onclick*="limparCampos"] {
    background-color: #08545c;
}

    button[onclick*="limparCampos"]:hover {
        background-color: #053d44;
        transform: translateY(-2px);
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    }

/* Efeito de clique */
button:active {
    transform: scale(0.97);
}

/* --- Checkbox das categorias --- */
#categoriasContainer label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #08545c;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

#categoriasContainer input[type="checkbox"] {
    transform: scale(1.2);
    accent-color: #e47c1c;
}

/* --- Container principal (leve sombra elegante) --- */
.modelos-container,
.login-container {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ð§ââï¸ ForÃ§a as cores corretas dos botÃµes Copiar e Limpar */
button[onclick="copiarTexto()"],
button[onclick="limparCampos()"] {
    flex: 1 !important;
    height: 45px !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    background-color: #08545c !important; /* verde padrÃ£o */
}

    /* Hover laranja institucional */
    button[onclick="copiarTexto()"]:hover,
    button[onclick="limparCampos()"]:hover {
        background-color: #e47c1c !important; /* laranja */
        transform: translateY(-2px) !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
    }

    /* Clique (efeito leve) */
    button[onclick="copiarTexto()"]:active,
    button[onclick="limparCampos()"]:active {
        transform: scale(0.97) !important;
    }

/* =========================================================
   BOTÃES LENDÃRIOS â VERDES COM HOVER LARANJA + ÃCONES
   ========================================================= */

.botoes-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .botoes-container button {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 45px;
        background-color: #08545c;
        color: white;
        font-weight: bold;
        font-size: 15px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.25s ease-in-out;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

        .botoes-container button i {
            font-size: 16px;
        }

        /* Hover: muda para laranja e brilho pulsante */
        .botoes-container button:hover {
            background-color: #e47c1c;
            transform: translateY(-2px);
            box-shadow: 0 0 10px rgba(228, 124, 28, 0.5);
            animation: pulseGlow 1s infinite alternate;
        }

        /* Efeito de clique */
        .botoes-container button:active {
            transform: scale(0.97);
            box-shadow: 0 0 5px rgba(228, 124, 28, 0.4);
        }

/* Efeito mÃ¡gico pulsante */
@keyframes pulseGlow {
    from {
        box-shadow: 0 0 8px rgba(228, 124, 28, 0.3);
    }

    to {
        box-shadow: 0 0 14px rgba(228, 124, 28, 0.7);
    }
}

/* =========================================================
   RESPONSIVIDADE â mobile/tablet
   ========================================================= */
@media (max-width: 600px) {
    .botoes-container {
        flex-direction: column;
    }

        .botoes-container button {
            width: 100%;
            font-size: 16px;
            height: 50px;
        }
}

/* =========================================================
   ALERTA ANIMADO "â
 Copiado!"
   ========================================================= */

.alerta-copiado {
    position: relative;
    top: -10px;
    text-align: center;
    color: #08545c;
    font-weight: bold;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid #e47c1c;
    border-radius: 6px;
    padding: 6px 12px;
    width: fit-content;
    margin: 0 auto 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

    /* Estado visÃ­vel */
    .alerta-copiado.visivel {
        opacity: 1;
        transform: translateY(0);
    }

/* =========================================================
   ALERTAS FLUTUANTES ANIMADOS â "â
 Copiado!" / "ð§¹ Limpo!"
   ========================================================= */

/* =========================================================
   ALERTAS FLUTUANTES â POSICIONADOS DENTRO DO CONTAINER
   ========================================================= */
.botoes-container {
    position: relative; /* ð¹ Define referÃªncia local para os alertas */
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.alerta-flutuante {
    position: absolute;
    top: -40px; /* fica logo acima dos botÃµes */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.97);
    color: #08545c;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #e47c1c;
    border-radius: 8px;
    padding: 8px 18px;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease, transform 0.5s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

    /* Estado ativo com voo e fade-out */
    .alerta-flutuante.ativo {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px);
        animation: desaparecer 1.6s forwards ease-in-out;
    }

/* â¨ AnimaÃ§Ã£o de voo + fade */
@keyframes desaparecer {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-25px);
    }
}

/* ============================= */
/* PÃ¡gina ServiÃ§os */
/* ============================= */
.servicos-container {
    background-color: rgba(255, 255, 255, 0.95);
    border: 6px solid #e47c1c;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    max-width: 1000px;
    margin: 180px auto 60px;
    padding: 40px 60px;
    color: #08545c;
    font-family: Verdana, sans-serif;
    line-height: 1.8;
    text-align: justify;
    animation: fadeSlideUp 0.6s ease;
}

.servicos-titulo {
    text-align: center;
    color: #08545c;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Efeito de entrada */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Link ativo na navbar */
.nav-buttons a.ativo {
    background-color: #e47c1c;
    color: white !important;
    border-color: #e47c1c;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ð¹ Estilos para mensagens de feedback no Esqueceu Senha */
.mensagem-feedback {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

    .mensagem-feedback.info {
        background-color: rgba(255, 255, 200, 0.9);
        color: #555;
        border: 2px solid #ccc;
    }

    .mensagem-feedback.sucesso {
        background-color: rgba(0, 200, 100, 0.15);
        color: #087f23;
        border: 2px solid #0a7f26;
    }

    .mensagem-feedback.erro {
        background-color: rgba(255, 0, 0, 0.15);
        color: #a30000;
        border: 2px solid #a30000;
    }
/* =========================================================
   ALERTAS PADRONIZADOS DO SISTEMA - ServentIA
   ========================================================= */

.alerta {
    padding: 14px 18px;
    border-radius: 8px;
    margin: 15px auto;
    font-weight: bold;
    font-size: 15px;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    animation: aparecer 0.6s ease;
}

.alerta-sucesso {
    background-color: rgba(8, 84, 92, 0.1);
    border: 2px solid #08545c;
    color: #08545c;
}

.alerta-erro {
    background-color: rgba(228, 124, 28, 0.1);
    border: 2px solid #e47c1c;
    color: #c85500;
}

.alerta-info {
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px dashed #ccc;
    color: #555;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* ==========================================================
   🔹 BLOCO — style.css
   ========================================================== */

.login-container {
    background-color: rgba(255, 255, 255, 0.95);
    border: 4px solid #e47c1c;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    margin: 60px auto;
    padding: 30px;
    text-align: center;
}

.login-logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 250px;
}

.login-title {
    color: #08545c;
    margin-bottom: 20px;
    font-family: Verdana, sans-serif;
}

.login-error {
    color: red;
    margin-top: 15px;
    font-weight: bold;
}

.login-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #e47c1c;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

    .login-button:hover {
        background-color: #08545c;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        transform: translateY(-2px);
    }

.btn-esqueceu {
    margin-top: 15px;
    padding: 10px 18px;
    background-color: #08545c;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

    .btn-esqueceu:hover {
        background-color: #e47c1c;
        color: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
    }

.password-wrapper {
    position: relative;
    width: 100%;
    margin: 10px 0;
}

    .password-wrapper input {
        width: 100%;
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 14px;
        box-sizing: border-box;
    }

.toggle-senha {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}





/* ==========================================================
   🔹 BLOCO — style-admin.css
   ========================================================== */

ï»¿/* ============================= */
/* Layout Principal ServentIA Admin */
/* ============================= */
body {
    background-color: #08545c;
    background-image: url('/img/fundo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: Verdana, sans-serif;
}

/* ============================= */
/* Estrutura principal */
/* ============================= */
/* Layout principal lado a lado */
.admin-layout {
    display: flex !important;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    flex-wrap: nowrap; /* mantÃ©m lado a lado atÃ© o limite */
    padding: 40px 20px;
    margin-top: 160px; /* espaÃ§o abaixo da top-bar */
    box-sizing: border-box;
}

/* Ajuste das colunas */
.cadastro-coluna,
.lista-coluna {
    background-color: rgba(255, 255, 255, 0.95);
    border: 4px solid #e47c1c;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

/* ð¹ ProporÃ§Ãµes ajustadas */
.cadastro-coluna {
    flex: 1 1 50%; /* aumenta o espaÃ§o da Ã¡rea de cadastro */
    max-width: 760px;
    min-width: 400px;
    min-height: 550px; /* ð¹ forÃ§a altura mÃ­nima */
}

.lista-coluna {
    flex: 1 1 50%; /* diminui a Ã¡rea da lista */
    max-width: 760px;
    min-width: 400px;
}


/* AnimaÃ§Ã£o suave de entrada */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================= */
/* CabeÃ§alhos e tÃ­tulos */
/* ============================= */
.titulo-secao {
    color: #08545c;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ============================= */
/* FormulÃ¡rio de cadastro */
/* ============================= */
.form-cadastro label {
    color: #08545c;
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.form-cadastro input,
.form-cadastro select,
.form-cadastro textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-top: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-cadastro textarea {
    resize: none;
}

/* ð¹ Aumenta apenas a altura da caixa de texto do modelo */
#conteudo {
    min-height: 150px; /* altura mÃ­nima */
    height: 200px; /* altura padrÃ£o */
    resize: none; /* permite ajustar manualmente se quiser */
    line-height: 1.6; /* melhora a legibilidade */
}


/* ============================= */
/* BotÃµes principais */
/* ============================= */
.botoes-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.botao-salvar,
.botao-limpar {
    flex: 1;
    height: 45px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    color: white;
    background-color: #08545c;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .botao-salvar:hover,
    .botao-limpar:hover {
        background-color: #e47c1c;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

/* ============================= */
/* Tabela de modelos */
/* ============================= */
/* ============================= */
/* Tabela de modelos (corrigida) */
/* ============================= */
.tabela-wrapper {
    overflow-x: auto;
    max-height: 520px; /* rolagem vertical se crescer demais */
    overflow-y: auto;
}

.tabela-modelos {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

    .tabela-modelos thead th {
        background-color: #e47c1c;
        color: white;
        padding: 10px;
        text-align: left;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .tabela-modelos td {
        padding: 10px;
        border-bottom: 1px solid #ddd;
        vertical-align: middle;
        color: #333;
    }

    /* ð¹ Aqui estÃ¡ a correÃ§Ã£o: linhas visÃ­veis por padrÃ£o */
    .tabela-modelos tr {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

        /* Efeito hover leve */
        .tabela-modelos tr:hover {
            background-color: rgba(228, 124, 28, 0.08);
        }


/* ============================= */
/* BotÃµes de aÃ§Ã£o na tabela */
/* ============================= */
.acoes {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.botao-editar,
.botao-excluir {
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.botao-editar {
    background-color: #08545c;
}

.botao-excluir {
    background-color: #e47c1c;
}

.botao-editar:hover {
    background-color: #0a6f77;
    transform: scale(1.05);
}

.botao-excluir:hover {
    background-color: #c96200;
    transform: scale(1.05);
}

/* ============================= */
/* PaginaÃ§Ã£o e Busca */
/* ============================= */
.busca-container {
    text-align: right;
    margin-bottom: 10px;
}

    .busca-container input {
        padding: 8px 12px;
        border-radius: 6px;
        border: 1px solid #ccc;
        font-size: 14px;
        width: 100%;
        max-width: 300px;
    }

.paginacao-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.botao-paginacao {
    background-color: #08545c;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .botao-paginacao:disabled {
        opacity: 0.4;
        cursor: default;
    }

    .botao-paginacao:hover:not(:disabled) {
        background-color: #e47c1c;
        transform: translateY(-2px);
    }

/* ============================= */
/* Contador de registros */
/* ============================= */
.contador-registros {
    text-align: center;
    color: #08545c;
    margin-top: 8px;
    font-size: 13px;
    font-weight: bold;
}

/* Responsividade: empilha quando a tela for menor que 1000px */
@media (max-width: 1000px) {
    .admin-layout {
        flex-direction: column !important;
        align-items: center;
    }

    .cadastro-coluna,
    .lista-coluna {
        width: 95% !important;
        max-width: 95% !important;
    }
}

/* ============================= */
/* Alertas flutuantes animados */
/* ============================= */
.alerta-flutuante {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.97);
    color: #08545c;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #e47c1c;
    border-radius: 8px;
    padding: 8px 18px;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease, transform 0.5s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

    /* Estado ativo */
    .alerta-flutuante.ativo {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px);
        animation: desaparecer 1.6s forwards ease-in-out;
    }

/* â¨ AnimaÃ§Ã£o de sumir */
@keyframes desaparecer {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-25px);
    }
}





/* ==========================================================
   🔹 BLOCO — nav_buttons.css
   ========================================================== */

/*.nav-buttons a {
    margin-left: 20px;
    text-decoration: none;
    color: #08545c;
    font-weight: bold;
    font-size: 18px;*/ /* aumenta a fonte */
    /*padding: 14px 24px;*/ /* aumenta o tamanho do botão */
    /*border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-color: transparent;
    position: relative;
    display: inline-block;
}

    .nav-buttons a:hover {
        background-color: #e47c1c;
        color: white;
        border-color: #e47c1c;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
    }*/

.botao-voltar {
    display: inline-block;
    background-color: #08545c;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
}

    .botao-voltar:hover {
        background-color: #e47c1c;
    }

.voltar-btn {
    background-color: #08545c;
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

    .voltar-btn:hover {
        background-color: #e47c1c;
    }

@media (max-height: 800px) {
    main.main-content {
        margin-top: 40px !important;
    }
}

@media (max-width: 768px) {
    .login-container {
        width: 95% !important;
        margin-top: 20px !important;
    }
}

/* ==========================================================
   🔥 Modo Mago Supremo — Painel ServentIA Prioritário
   ========================================================== */

.painel-container .botoes-container button.botao-segmento,
.painel-container .botoes-container .botao-segmento {
    width: 260px !important;
    height: 200px !important;
    background-color: #08545c !important;
    border: 3px solid #08545c !important;
    border-radius: 18px !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-align: center !important;
    padding: 25px 15px !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25) !important;
    transition: all 0.25s ease-in-out !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

    .painel-container .botoes-container button.botao-segmento i {
        font-size: 42px !important;
        margin-bottom: 10px !important;
    }

    /* Hover — cor laranja institucional */
    .painel-container .botoes-container button.botao-segmento:hover {
        background-color: #e47c1c !important;
        border-color: #e47c1c !important;
        color: #fff !important;
        transform: translateY(-5px) scale(1.03) !important;
        box-shadow: 0 12px 22px rgba(228,124,28,0.5) !important;
    }

        /* Ícone com brilho */
        .painel-container .botoes-container button.botao-segmento:hover i {
            filter: drop-shadow(0 0 6px rgba(255,255,255,0.7)) !important;
        }

/* Desabilitado */
.painel-container .botoes-container .botao-desabilitado {
    width: 260px !important;
    height: 200px !important;
    background-color: #efefef !important;
    border: 3px dashed #bbb !important;
    border-radius: 18px !important;
    color: #777 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

    .painel-container .botoes-container .botao-desabilitado i {
        font-size: 42px !important;
        color: #777 !important;
    }

    .painel-container .botoes-container .botao-desabilitado small {
        margin-top: 8px !important;
        font-size: 14px !important;
        color: #666 !important;
    }

/* Garante espaçamento entre botões */
.painel-container .botoes-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 35px !important;
    justify-items: center !important;
}
/* ==========================================================
   🎯 PAINEL DE SEGMENTOS - ServentIA
   ========================================================== */

.painel-segmentos {
    background-color: rgba(255, 255, 255, 0.96);
    border: 6px solid #e47c1c;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 50px 60px;
    text-align: center;
    max-width: 1100px;
    width: 100%;
    margin: 140px auto 60px;
    animation: fadeSlideUp 0.6s ease;
}

    .painel-segmentos h2 {
        color: #08545c;
        font-size: 28px;
        margin-bottom: 40px;
        text-transform: uppercase;
        font-weight: bold;
    }

/* ============================= */
/* BOTÕES DO PAINEL DE SEGMENTOS */
/* ============================= */
.botoes-segmentos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    justify-items: center;
}

.botao-segmento {
    width: 260px;
    height: 200px;
    background-color: #08545c;
    border: 3px solid #08545c;
    border-radius: 18px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 25px 15px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .botao-segmento i {
        display: block;
        font-size: 42px;
        margin-bottom: 12px;
    }

    /* Hover refinado */
    .botao-segmento:hover {
        background-color: #e47c1c;
        border-color: #e47c1c;
        color: #fff;
        transform: translateY(-5px) scale(1.03);
        box-shadow: 0 12px 24px rgba(228, 124, 28, 0.55);
    }

        .botao-segmento:hover i {
            filter: drop-shadow(0 0 6px rgba(255,255,255,0.7));
        }

    /* Botão desabilitado (em breve) */
    .botao-segmento.desabilitado {
        background-color: #efefef;
        border: 3px dashed #bbb;
        color: #777;
        cursor: not-allowed;
        box-shadow: none;
    }

        .botao-segmento.desabilitado i {
            color: #777;
        }

        .botao-segmento.desabilitado small {
            margin-top: 8px;
            font-size: 14px;
            color: #666;
        }

/* Animação de entrada */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
footer {
    position: fixed;
    bottom: 15px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 13px;
}
/* ============================= */
/* Painel de Segmentos Moderno  */
/* ============================= */
.painel-segmentos {
    background: rgba(255, 255, 255, 0.95);
    border: 6px solid #e47c1c;
    border-radius: 16px;
    max-width: 1000px;
    margin: 160px auto;
    padding: 50px 60px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

    .painel-segmentos h2 {
        color: #08545c;
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 50px;
        text-transform: uppercase;
    }

/* ============================= */
/* Grade de botões estilizados  */
/* ============================= */
.botoes-segmentos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
    justify-items: center;
}

/* ============================= */
/* Botão elegante e responsivo   */
/* ============================= */
.botao-segmento {
    width: 240px;
    height: 180px;
    background: linear-gradient(180deg, #08545c 0%, #0a6f77 100%);
    color: #fff;
    font-weight: bold;
    font-size: 17px;
    border: 3px solid #e47c1c;
    border-radius: 14px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

    .botao-segmento:hover {
        background: linear-gradient(180deg, #e47c1c 0%, #f2994a 100%);
        color: #08545c;
        transform: translateY(-5px) scale(1.03);
        box-shadow: 0 10px 18px rgba(228, 124, 28, 0.4);
    }

/* Ícone grande e fixo */
.icone-segmento {
    font-size: 46px;
    margin-bottom: 10px;
}

/* Botão desabilitado */
.botao-segmento.desabilitado {
    background: #f2f2f2;
    border: 3px dashed #bbb;
    color: #777;
    cursor: not-allowed;
    box-shadow: none;
}

    .botao-segmento.desabilitado .icone-segmento {
        color: #aaa;
    }

    .botao-segmento.desabilitado small {
        font-size: 14px;
        color: #999;
        margin-top: 5px;
    }

/* ============================= */
/* Responsividade                */
/* ============================= */
@media (max-width: 768px) {
    .botao-segmento {
        width: 100%;
        height: 160px;
    }

    .painel-segmentos {
        padding: 30px 20px;
        margin: 120px 15px;
    }
}
/* ============================= */
/* Campo de Segmento e Categoria */
/* ============================= */
#segmento, #categoria {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #e47c1c;
    border-radius: 8px;
    background-color: #f8f8f8;
    color: #08545c;
    font-weight: 600;
    transition: all 0.2s ease;
}

    #segmento:focus, #categoria:focus {
        outline: none;
        border-color: #08545c;
        box-shadow: 0 0 6px rgba(8, 84, 92, 0.4);
    }

    #segmento:hover, #categoria:hover {
        background-color: #fff;
    }
.cta-hotmart {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: bold;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-size: 1.25rem;
    background: linear-gradient(90deg, #E47C1C, #f29b41);
    color: white;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(228, 124, 28, 0.6);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

    .cta-hotmart:hover {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(228, 124, 28, 0.8);
    }

/* Responsividade */
@media (max-width: 640px) {
    .cta-hotmart {
        width: 90%;
        font-size: 1.1rem;
        padding: 0.9rem 1.5rem;
    }
}
/* ============================= */
/* 🌐 Seção de links para IAs */
/* ============================= */
.ia-section {
    margin-top: 25px;
    text-align: center;
}

.ia-separator {
    border: none;
    height: 3px;
    width: 80%;
    margin: 0 auto 12px auto;
    background-color: #e47c1c;
    border-radius: 2px;
    opacity: 0.8;
}

.ia-title {
    font-weight: 700;
    color: #08545c;
    font-size: 16px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ia-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 14px;
}

.ia-btn {
    position: relative;
    color: #fff;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: bold;
    min-width: 180px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

    .ia-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
    }

    /* ✨ Tooltip com foco em serventias */
    .ia-btn::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 120%;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(8, 84, 92, 0.95);
        color: #fff;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 13px;
        font-weight: normal;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.2s ease;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .ia-btn:hover::after {
        opacity: 1;
        transform: translateX(-50%) translateY(-4px);
    }
/* ============================= */
/* 🧙‍♂️ Correção definitiva de sobreposição da barra */
/* ============================= */

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* A barra permanece fixa, mas o conteúdo respeita o espaço dela */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: #08545c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1000;
}

/* ============================= */
/* 🚀 Correção forçada de espaçamento do conteúdo */
/* ============================= */
.main-content {
    margin-top: 120px !important; /* altura da top-bar + 10px de respiro */
    padding-top: 0 !important;
    padding-bottom: 20px !important;
    box-sizing: border-box;
}

/* Linha laranja de separação abaixo da barra */
.separator-line {
    position: fixed;
    top: 120px; /* logo abaixo da top-bar */
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #e47c1c;
    z-index: 999; /* fica acima do conteúdo, abaixo da barra */
}
/* ==========================================================
   📱 AJUSTE RESPONSIVO — Topo e Hero ServentIA (Mobile)
   ========================================================== */
@media (max-width: 768px) {
    /* 🔹 Ajusta a barra superior no celular */
    .top-bar {
        height: auto !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 0 !important;
        gap: 10px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

    /* 🔹 Centraliza e empilha os botões */
    .nav-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        margin: 10px 0 !important;
        width: 100% !important;
    }

        /* 🔹 Botões do menu: largura e aparência */
        .nav-buttons a {
            width: 85% !important;
            max-width: 320px !important;
            font-size: 16px !important;
            padding: 12px 0 !important;
            text-align: center !important;
            background-color: #E47C1C !important;
            color: #FFF !important;
            border: 2px solid #E47C1C !important;
            border-radius: 8px !important;
            font-weight: bold !important;
            box-shadow: 0 3px 6px rgba(0,0,0,0.15) !important;
        }

            .nav-buttons a:hover {
                background-color: #08545C !important;
                color: #E47C1C !important;
                transform: translateY(-2px) !important;
            }

    /* 🔹 Corrige a logo */
    .logo {
        width: 260px !important;
        padding: 0 !important;
        margin: 0 auto 5px auto !important;
    }

    /* 🔹 Ajusta o conteúdo principal */
    .main-content,
    .overlay,
    .painel-segmentos,
    .servicos-container {
        margin-top: 160px !important;
        padding: 20px 15px !important;
    }

    /* 🔹 Ajusta o botão "Acessar minha conta" e aviso de vagas */
    .access-button {
        display: block !important;
        width: 80% !important;
        margin: 0 auto 20px auto !important;
        padding: 14px 0 !important;
        font-size: 16px !important;
        background-color: #08545C !important;
        border-radius: 8px !important;
    }

    .aviso-vagas {
        display: block !important;
        background-color: #E47C1C !important;
        color: #FFF !important;
        font-weight: bold !important;
        border-radius: 14px !important;
        width: 80% !important;
        margin: 0 auto 40px auto !important;
        padding: 14px !important;
        text-align: center !important;
        font-size: 15px !important;
    }

    /* 🔹 Footer menor e centralizado */
    footer {
        position: relative !important;
        bottom: 0 !important;
        padding: 20px 0 !important;
        color: #fff !important;
        font-size: 13px !important;
    }
}
