/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* ==========================================================================
   1. TIPOGRAFIA DAS SIGLAS FIXAS DENTRO DOS ESTADOS (SVG)
   ========================================================================== */
#map text, 
#map tspan,
.sm_label {
    font-family: "antipoda-variable", sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    fill: #ffffff !important; /* Cor do texto dentro da área do estado */
    pointer-events: none !important; /* Evita atrapalhar o clique no mapa */
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.7) !important; /* Garante leitura sobre a cor do estado */
}

/* ==========================================================================
   2. HOVER VISUAL SUAVE (SEM DESLOCAR A ÁREA DO ESTADO)
   ========================================================================== */
#map path[class*="sm_state"] {
    transition: fill 0.2s ease, stroke 0.2s ease, filter 0.2s ease !important;
    cursor: pointer !important;
}

#map path[class*="sm_state"]:hover {
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.35)) !important;
    stroke: #FFFFFF !important;
    stroke-width: 2px !important;
    opacity: 0.95 !important;
}

/* ==========================================================================
   3. CAIXA / BALÃO DE HOVER (TOOLTIP)
   ========================================================================== */
#tt_sm, 
.sm_popup {
    font-family: "antipoda-variable", sans-serif !important;
    background-color: #1A1A1A !important;
    color: #FFFFFF !important;
    border: 1px solid #333333 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3) !important;
    font-size: 13px !important;
    text-align: center !important;
}

/* Sigla no topo do balão de hover */
#tt_sm .sm_popup_title,
#tt_sm div:first-child {
    font-family: "antipoda-variable", sans-serif !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    color: #F9B222 !important; /* Cor de destaque da IDV */
}