:root {
            --emergency-red: #e74c3c;
            --emergency-hover: #c0392b;
            --police-blue: #2980b9;
            --police-hover: #1f618d;
            --fire-orange: #d35400;
            --fire-hover: #ba4a00;
            --other-green: #27ae60;
            --other-hover: #1e8449;
            --bg-color: #f4f6f7;
            --card-bg: #ffffff;
            --text-main: #2c3e50;
            --text-muted: #7f8c8d;
            --border-color: #e2e8f0;
            --radius: 12px;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
       .centraliza_tool {width: 100%; float: left; background-color: var(--bg-color); color: var(--text-main); padding: 20px; display: flex; justify-content: center; height: auto; }
        
        .tool-container { background: var(--card-bg); max-width: 600px; width: 100%; padding: 25px; border-radius: var(--radius); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); border: 1px solid var(--border-color); }
        
        .tool-header { text-align: center; margin-bottom: 25px; border-bottom: 2px solid var(--border-color); padding-bottom: 15px; }
        .tool-header h1 { font-size: 1.4rem; color: var(--emergency-red); margin-bottom: 5px; }
        .tool-header p { font-size: 0.9rem; color: var(--text-muted); }

        /* Seção de Geolocalização */
        .geo-box { background: #ebf5fb; border: 1px solid #aed6f1; border-radius: var(--radius); padding: 15px; margin-bottom: 25px; text-align: center; }
        .geo-box h3 { font-size: 1rem; color: var(--police-blue); margin-bottom: 8px; }
        .geo-info { font-size: 0.85rem; color: var(--text-main); margin-bottom: 12px; word-break: break-all; min-height: 40px; display: flex; align-items: center; justify-content: center; }
        
        .btn-geo { background-color: var(--police-blue); color: white; border: none; border-radius: var(--radius); padding: 10px 18px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s; display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center; }
        .btn-geo:hover { background-color: var(--police-hover); }

        /* Grade de Telefones de Emergência */
        .emergency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        
        .emergency-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; padding: 15px 10px; border-radius: var(--radius); color: white; font-weight: 600; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: transform 0.1s, opacity 0.2s; }
        .emergency-card:active { transform: scale(0.97); }

        .card-samu { background-color: var(--emergency-red); }
        .card-samu:hover { background-color: var(--emergency-hover); }

        .card-policia { background-color: var(--police-blue); }
        .card-policia:hover { background-color: var(--police-hover); }

        .card-bombeiros { background-color: var(--fire-orange); }
        .card-bombeiros:hover { background-color: var(--fire-hover); }

        .card-other { background-color: var(--other-green); }
        .card-other:hover { background-color: var(--other-hover); }

        .emergency-card .number { font-size: 1.4rem; font-weight: 700; margin-bottom: 2px; }
        .emergency-card .label { font-size: 0.8rem; opacity: 0.9; }

        .full-width { grid-column: span 2; }

        .alert-note { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 20px; }