/* public/css/layout.css */

/* O mapa ocupa 100% da tela e fica na camada mais baixa */
#map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Painéis Laterais Base */
.side-panel {
    position: absolute;
    top: 2%;
    height: var(--panel-height);
    width: var(--panel-width);
    min-width: 260px; /* Garante que não quebre em telas pequenas */
    background-color: var(--color-white);
    border: 1px solid var(--color-black);
    border-radius: var(--border-radius-default);
    z-index: 1000; /* Acima do mapa Leaflet */
    padding: 15px;
    overflow-y: auto; /* Scroll interno se o conteúdo extrapolar */
    display: flex;
    flex-direction: column;
}

/* Painel Esquerdo (Legendas) */
#left-panel {
    left: 3%;
}

/* Painel Direito (Configurações) */
#right-panel {
    right: 3%; /* Conforme documentação para deixar espaço para o zoom do Leaflet */
}


/* Esconde elementos nativamente */
.hidden {
    display: none !important;
}

/* Títulos das sessões */
/* Títulos das sessões */
.section-title {
    font-size: var(--font-size-small, 12px);
    font-weight: 800;
    margin-bottom: 15px;
    margin-top: 30px;
    color: #334155; /* Cinza escuro elegante ao invés de preto absoluto */
    display: flex;
    align-items: center;
    gap: 8px; /* Espaço entre ícone e texto */
}

/* Cor do ícone dentro do título */
.section-title i {
    font-size: 16px;
    color: #2563eb; /* Azul da referência */
}



/* =========================================
   ESTILO MODERNO DAS ABAS (TABS)
   ========================================= */
.tab-selector {
    display: flex;
    background-color: #f1f5f9; /* Fundo cinza clarinho */
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 10px;
    gap: 4px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.tab-btn.active {
    background-color: #2563eb; /* Azul destaque da referência */
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Recursos mantidos no código para reativação futura, sem ocupar espaço na interface. */
.future-feature-hidden {
    display: none !important;
}













/* Selects mais modernos */
.dropdown-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    color: #334155;
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s;
    appearance: auto;
}

.dropdown-select:focus {
    border-color: #2563eb;
}

/* Botão de imprimir estilo contorno (outline) igual a referência */
.btn-action-primary {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    border: 2px solid #751537;
    color: #751537;
    border-radius: 8px;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    transition: all 0.2s;
}

.btn-action-primary:hover {
    background-color: #fff7ed;
}





/* IMPORTANTE, ESSE ESTILO PODE SER APLICADO EM LAYOUT OU MAP CONTROL. OU SEJA, INTERAGE COM AMBOS ELEMENTOS
public/css/layout.css (ou map-controls.css) para estilizar os itens da legenda, o botão de visibilidade e as caixas de cor */

/* Estilos da Legenda e Convenções */
.legend-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.legend-item {
    display: flex;
    flex-direction: column;
    padding: 5px;
    border: 1px solid transparent;
    border-radius: var(--border-radius-default);
    background-color: var(--color-white);
    cursor: grab;
    transition: border-color 0.2s;
}

.legend-item:active {
    cursor: grabbing;
}

/* Indicador visual de arrasto */
.legend-item.drag-over {
    border-top: 2px solid var(--color-secondary-blue);
}

.legend-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Botão de Visibilidade (Ativado: Azul Marinho / Desativado: Cinza) */
.btn-visibility {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s;
}

.btn-visibility.active {
    background-color: var(--color-secondary-blue);
}

.btn-visibility.inactive {
    background-color: var(--color-bg-gray);
}

/* Nome da Camada (Quebra de linha se atingir limite) */
.legend-layer-name {
    font-size: var(--font-size-small);
    font-weight: bold;
    word-break: break-word; /* Força a quebra em 90% do tamanho */
    max-width: 90%;
    color: var(--color-black);
}

/* Caixas de Simbologia (Quadrados de Cor) */
.legend-symbology-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: 22px; /* Alinha com o texto, respeitando o botão redondo */
    margin-top: 5px;
}

.symbology-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-box {
    width: 20px;
    height: 15px;
    border: 1px solid var(--color-black);
    border-radius: 2px;
}

.category-label {
    font-size: 10px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}


/* --- MODO DE IMPRESSÃO --- */
/* Overlay que escurece o fundo e congela a interface */
#print-background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(226, 233, 235, 0.4); /* Fundo com 40% opacidade */
    z-index: 500; /* Fica acima do Leaflet padrão, mas abaixo dos painéis */
    pointer-events: none; /* Deixa o mouse passar */
    display: none;
}

#print-background-overlay.active {
    display: block;
}

/* Modificadores que reparentam/reestilizam o container do mapa como uma Folha */
#map-container.print-mode {
    position: absolute;
    transform: translate(-50%, -50%);
    border: 3px solid var(--color-black);
    z-index: 1500; /* Traz a folha para cima do overlay */
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
    background-color: var(--color-white);
    transition: width 0.3s, height 0.3s, border-radius 0.3s;
}

#map-container.border-round {
    border-radius: 20px;
}

/* Elementos Injetados na Impressão */
.map-north-arrow {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 5%;
    max-width: 180px;
    z-index: 1000; /* Acima das camadas do Leaflet */
}

/* Clone da legenda para impressão */
.print-legend-box {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: var(--color-white-translucent);
    border: 1px solid var(--color-black);
    padding: 10px;
    border-radius: var(--border-radius-default);
    z-index: 1000;
    /* pointer-events: none; isso trava a legenda */
    max-height: 95%;
    overflow: hidden;
}




/* =========================================
   RODAPÉ DA MARCA (MAPA GEOTECNOLOGIAS)
   ========================================= */

/* Container fixado na base direita do quadro branco */
.brand-footer {
    /* O SEGREDO: margin-top auto joga o elemento para o extremo fundo do Flexbox */
    margin-top: auto; 
    
    /* Um respiro para garantir que a barra de rolagem/botões nunca encostem na logo */
    padding-top: 15px; 
    padding-right: 5px;

    display: flex;
    justify-content: flex-end; /* Mantém a logo alinhada na direita */
    align-items: center;
}


/* Texto "DESENVOLVIDO POR" quebrado e alinhado à direita */
.brand-text {
    font-family: Arial, Helvetica, sans-serif !important; /* Força essa fonte */
    font-size: 10px;
    font-weight: 800;
    color: #999999; 
    text-align: right;
    line-height: 1.1; 
    margin-right: 10px;
}

/* A Logo da Empresa */
.brand-logo {
    /* Mantém a regra de 6% da altura do quadro */
    height: 6vh; 
    width: 6vh; /* Força a proporção quadrada do seu ícone */
    object-fit: contain; 
}












/* =========================================
   LISTA DE ARQUIVOS GEOJSON (MODAL 1)
   ========================================= */

/* Contêiner que segura todos os inputs */
#file-list {
    display: flex;
    flex-wrap: wrap; /* Faz a lista quebrar para a linha de baixo */
    gap: 12px;
    justify-content: center;
    width: 90%;
    max-height: 8vh; /* Trava a altura em +- 25% da tela */
    overflow-y: auto; /* Adiciona scroll vertical se passar do limite */
    margin: 1% auto 0 auto;
    padding: 1%;
}

/* Oculta a barra de rolagem grossa do navegador e deixa fina */
#file-list::-webkit-scrollbar {
    width: 6px;
}
#file-list::-webkit-scrollbar-thumb {
    background-color: #cccccc;
    border-radius: 4px;
}

/* O input de texto (Estilo refinado) */
.file-name-input {
    width: clamp(80px, 8vw, 150px);
    padding: 8px 10px;
    border: 1px solid #d1d5db; /* Borda cinza clara */
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    color: var(--color-black);
    background-color: var(--color-white);
    text-align: center;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

/* Efeito quando o usuário clica na caixa para editar o nome */
.file-name-input:focus {
    outline: none;
    border-color: var(--color-secondary-blue);
    box-shadow: 0 0 0 2px rgba(31, 85, 104, 0.2); /* Brilho azul */
    background-color: #f0fdfa; /* Leve mudança de fundo */
}



/* =========================================
   ÁREA DE UPLOAD CUSTOMIZADA (MODAL)
   ========================================= */

.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
}

.btn-upload-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
    background-color: #f8fafc; /* Fundo cinza/azul bem claro */
    border: 2px dashed var(--color-secondary-blue, #ea580c); /* Borda tracejada usando sua variável */
    border-radius: var(--border-radius-default, 8px);
    color: var(--color-secondary-blue, #ea580c);
    font-size: var(--font-size-medium, 14px);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-upload-custom:hover {
    background-color: #e0f2fe;
    border-color: #0284c7;
    color: #0284c7;
}

.btn-upload-custom svg {
    transition: transform 0.3s ease;
}

.btn-upload-custom:hover svg {
    transform: translateY(-3px); /* Pequeno pulo do ícone ao passar o mouse */
}



/* =========================================
   MANIPULAÇÃO DE RASTER (ESTILO QGIS)
   ========================================= */

.filtro-terreno-claro {

    /*filter: brightness(1.4) contrast(1.1) saturate(0.6); */
    /* filter: grayscale(100%) brightness(140%) contrast(170%) */
    filter: invert(80%) grayscale(40%) brightness(120%);
}



/* NOTA: Se o seu "Subtrair" no QGIS literalmente inverte as cores (deixando os 
   sombreamentos claros e os cumes escuros), você pode usar:
   filter: invert(1) brightness(1.5) grayscale(1);
*/


/* =========================================
   SCROLLBAR CUSTOMIZADA (PAINÉIS LATERAIS)
   ========================================= */

/* 1. Define a largura da barra */
.side-panel::-webkit-scrollbar {
    width: 6px; 
}

/* 2. O trilho (fundo) da barra */
.side-panel::-webkit-scrollbar-track {
    background: transparent; /* Deixa o fundo invisível */
    
    /* O SEGREDO: Afasta o trilho das bordas superior e inferior, 
       respeitando o border-radius do painel */
    margin-block: 15px; 
}

/* 3. O polegar (a barrinha móvel) */
.side-panel::-webkit-scrollbar-thumb {
    background-color: #cbd5e1; /* Cor cinza clara e elegante */
    border-radius: 10px; /* Deixa a própria barra arredondada */
}

/* 4. Efeito hover ao passar o mouse na barra */
.side-panel::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8; /* Escurece levemente */
}



/* =========================================
   MENU DE CONTEXTO (CLIQUE DIREITO DA LEGENDA)
   ========================================= */
.legend-context-menu {
    position: absolute;
    background: var(--color-white, #ffffff);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 5px;
    z-index: 99999;
    display: none;
}

.legend-context-menu button {
    background: transparent;
    border: none;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: bold;
    color: var(--color-secondary-blue, #1F5568);
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    text-align: left;
    transition: background 0.2s;
}

.legend-context-menu button:hover {
    background: #f1f5f9;
}

/* =========================================
   MODAL DA TABELA DE ATRIBUTOS (MINIMALISTA)
   ========================================= */
.attr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.attr-modal-overlay.hidden {
    display: none;
}

/* Ocupa no máximo 50% da largura e altura da tela */
.attr-modal-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    width: 50vw; 
    max-height: 50vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.attr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
}

.attr-modal-header h3 {
    margin: 0;
    font-size: 13px;
    color: #334155;
    font-weight: bold;
}

.attr-modal-header button {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.attr-modal-header button:hover {
    color: #ef4444;
}

/* Contêiner da tabela com rolagem */
.attr-table-container {
    flex-grow: 1;
    overflow: auto;
    padding: 0;
}

/* Estilo Clean da Tabela */
#attr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    color: #475569;
}

#attr-table th {
    background: #f8fafc;
    position: sticky;
    top: 0;
    padding: 8px 12px;
    text-align: left;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

#attr-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}

#attr-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Customização fina da barra de rolagem da tabela */
.attr-table-container::-webkit-scrollbar { width: 6px; height: 6px; }
.attr-table-container::-webkit-scrollbar-track { background: transparent; }
.attr-table-container::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }





/* =========================================
   CORREÇÃO DO SCROLL DAS ABAS LATERAIS
   ========================================= */

.tab-content {
    flex: 1; /* Ocupa todo o espaço restante do painel abaixo das abas */
    overflow-y: auto; /* Força a barra de rolagem a aparecer apenas no conteúdo */
    min-height: 0; /* Hack essencial de Flexbox para o scroll funcionar */
    
    display: flex;
    flex-direction: column;
    padding-right: 5px; /* Dá um respiro para a barra não colar nos botões */
}

/* Impede que os elementos internos encolham e se amassem em telas pequenas */
.tab-content > * {
    flex-shrink: 0; 
}

/* Customização da barra de rolagem para manter o design premium */
.tab-content::-webkit-scrollbar {
    width: 6px;
}
.tab-content::-webkit-scrollbar-track {
    background: transparent;
}
.tab-content::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}
.tab-content::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}



/* =========================================
   SISTEMA DE PAINÉIS LATERAIS (CIRURGIA LIMPA)
   ========================================= */

/* Força os painéis originais a ficarem fixos na margem esquerda e quadrados */
#left-panel, #right-panel {
    position: fixed !important; 
    top: 0 !important;
    height: 100vh !important;
    width: 310px !important; /* Largura cravada para a matemática do JS funcionar */
    border-radius: 0 !important; /* Visual técnico e quadrado */
    border: none !important;
    box-shadow: 2px 0 10px rgba(0,0,0,0.15);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Animação lisa de deslize */
    margin: 0 !important;
}

#left-panel { z-index: 2001 !important; } 
#right-panel { z-index: 2000 !important; }


/* =========================================
   AS BARRINHAS DE TOGGLE (BOTAO SOBREPOSTO)
   ========================================= */

.side-toggle {
    position: fixed;
    top: 0;
    width: 15px; /* A área do JS continua intacta */
    height: 100vh;
    border: none;
    cursor: pointer;
    z-index: 2002;
    background-color: #ffffff !important; 
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* REMOVIDO o display: flex daqui para não prender o botão */
}

.side-toggle:hover {
    filter: none;
}

/* O BOTÃO FLUTUANTE (Livre das amarras dos 15px) */
.side-toggle::after {
    position: absolute; /* O segredo para ele flutuar livremente */
    top: 50%;
    transform: translateY(-50%); /* Garante que fique exatamente no meio da tela */
    
    display: flex; /* Flex aqui só para centralizar a setinha (< ou >) dentro dele */
    align-items: center;
    justify-content: center;
    width: 22px; 
    height: 50px; 
    background-color: #FFFFFF;
    border: 1px solid #cbd5e1; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); 
    color: #1F5568; 
    font-size: 16px;
    font-weight: bold;
    font-family: sans-serif;
    transition: all 0.2s;
}

/* LADO ESQUERDO */
#toggle-left::after {
    content: "‹";
    left: -15px; /* Puxa o botão para colar perfeitamente na quina do painel */
    border-radius: 0 8px 8px 0; 
    border-left: none; 
}

/* LADO DIREITO */
#toggle-right::after {
    content: "›";
    right: -1px; /* Puxa o botão para colar perfeitamente na quina do painel */
    border-radius: 8px 0 0 8px; 
    border-right: none;
}

/* EFEITO HOVER */
.side-toggle:hover::after {
    background-color: #2b3846; 
    color: #1F5568; 
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08); 
}



/* Ajuste de Centro da Impressão (Já que agora o layout todo pesa pra esquerda) */
#map-container.print-mode {
    position: absolute;
    top: 50% !important;
    left: 60% !important; /* Força pro centro exato */
    transform: translate(-50%, -50%);
}



/* =========================================
   NOVO: QUADRO INTERNO (CARD)
   ========================================= */
.panel-card {
    background-color: #ffffff;
    border-radius: 12px;
    
    /* 1. Removemos a borda rígida (ou deixamos bem sutil, quase invisível) */
    border: 1px solid rgba(0, 0, 0, 0.02); 
    
    /* 2. O Segredo: Duas camadas de sombra para o efeito "espelhado/flutuante" */
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08), /* Sombra difusa e ampla para dar volume */
        0 2px 8px rgba(0, 0, 0, 0.04);   /* Sombra contida para descolar do fundo */
        
    /* ... mantenha o restante do seu código (padding, flex, overflow, etc) ... */
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1; 
    min-height: 0; 
    overflow-y: auto;
}

/* Customização da barra de rolagem especificamente para dentro do card */
.panel-card::-webkit-scrollbar { width: 6px; }
.panel-card::-webkit-scrollbar-track { background: transparent; margin-block: 10px; }
.panel-card::-webkit-scrollbar-thumb { background-color: #cbd5e1; border-radius: 10px; }
.panel-card::-webkit-scrollbar-thumb:hover { background-color: #94a3b8; }




/* =========================================
   ALÇAS DE REDIMENSIONAMENTO INTERATIVO
   ========================================= */
.resize-handle {
    position: absolute;
    z-index: 2000; /* Acima de todo o Leaflet */
    display: none; /* Escondido por padrão */
}

/* Mostra os controles apenas no modo de impressão */
#map-container.print-mode .resize-handle {
    display: block;
}

/* Bordas retas */
.resize-handle-r { top: 0; right: -8px; width: 16px; height: 100%; cursor: ew-resize; }
.resize-handle-l { top: 0; left: -8px; width: 16px; height: 100%; cursor: ew-resize; }
.resize-handle-b { bottom: -8px; left: 0; width: 100%; height: 16px; cursor: ns-resize; }
.resize-handle-t { top: -8px; left: 0; width: 100%; height: 16px; cursor: ns-resize; }

/* Quinas (Para redimensionar altura e largura ao mesmo tempo) */
.resize-handle-br { bottom: -8px; right: -8px; width: 16px; height: 16px; cursor: nwse-resize; }
.resize-handle-bl { bottom: -8px; left: -8px; width: 16px; height: 16px; cursor: nesw-resize; }
.resize-handle-tr { top: -8px; right: -8px; width: 16px; height: 16px; cursor: nesw-resize; }
.resize-handle-tl { top: -8px; left: -8px; width: 16px; height: 16px; cursor: nwse-resize; }


#widget-cancel {
    margin-top: 17px;
    cursor: pointer;
}

#link-modal-cancel {
    margin-top: 17px;
    cursor: pointer;
}

#lead-download-btn {
    margin-top: 17px;
    cursor: pointer;
}



.btn-save-manual-style {
    width: 100% !important;
    padding: 14px !important;
    background-color: rgb(51, 65, 85) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}



.btn-save-manual-style:hover:not(:disabled) {
    background-color: #ea580c !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(234, 88, 12, 0.25) !important;
}



/* Estado bloqueado para quando o usuário não estiver logado */
.btn-save-manual-style:disabled {
    background-color: #f8fafc !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    border: 1px dashed #cbd5e1 !important;
}


#btn-print:hover:not(:disabled) {
    transform: translateY(-2px) !important;
}



#btn-save-manual-symbology {
    width: 100% !important;
    padding: 14px !important;
    background-color: rgb(51, 65, 85) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}



#btn-save-manual-symbology:hover:not(:disabled) {
    background-color: #ea580c !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(234, 88, 12, 0.25) !important;
}



/* Estado bloqueado para quando o usuário não estiver logado */
#btn-save-manual-symbology:disabled {
    background-color: #f8fafc !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    border: 1px dashed #cbd5e1 !important;
}
