/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    overflow: hidden;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #e0e0e0;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.header h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
}

.header h1 i {
    color: #3498db;
    margin-right: 0.5rem;
}

/* Toggle de dispositivo */
.device-toggle {
    display: flex;
    gap: 0.5rem;
}

.mode-btn {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #6c757d;
}

.mode-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.mode-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.mode-btn i {
    margin-right: 0.3rem;
}

/* Container principal */
.main-container {
    display: flex;
    height: calc(100vh - 80px);
    position: relative;
}

/* Sidebar */
.sidebar {
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-right: 2px solid #e0e0e0;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 999;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.sidebar-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar-header h3 i {
    margin-right: 0.5rem;
}

.close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.close-sidebar:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Controles de camadas */
.layer-controls {
    padding: 1.5rem;
}

.layer-group {
    margin-bottom: 2rem;
}

.layer-group h4 {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.layer-group h4 i {
    margin-right: 0.5rem;
    color: #3498db;
}

.layer-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.layer-item:hover {
    background: #f8f9fa;
}

.layer-item input[type="radio"],
.layer-item input[type="checkbox"] {
    margin-right: 0.8rem;
    transform: scale(1.2);
}

.layer-item label {
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    flex: 1;
}

/* Botões de ferramentas */
.tool-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.tool-btn i {
    font-size: 1.1rem;
}

/* Botão toggle sidebar (mobile) */
.sidebar-toggle {
    position: fixed;
    top: 100px;
    left: 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    display: none;
}

.sidebar-toggle:hover {
    background: #2980b9;
    transform: scale(1.1);
}

/* Container do botão flutuante de controle de camadas */
.layers-toggle-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* Tooltip informativo */
.layers-toggle-tooltip {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: tooltipFadeIn 0.5s ease-out;
    max-width: 200px;
    text-align: center;
}

.layers-toggle-tooltip i {
    color: #3498db;
    font-size: 0.9rem;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botão flutuante de controle de camadas */
.layers-toggle {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
    justify-content: center;
}

.layers-toggle:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.layers-toggle:active {
    transform: translateY(0);
}

.layers-toggle i {
    font-size: 1rem;
}

.layers-text {
    font-weight: 500;
}

/* Animação de pulso para chamar atenção */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    }
    50% {
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    }
}

.layers-toggle.pulse {
    animation: pulse 2s infinite;
}

/* Container do mapa */
.map-container {
    flex: 1;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
}

/* Popup de boas-vindas */
.welcome-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    max-width: 320px;
    width: 90%;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e9ecef;
}

.popup-header h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.popup-header h3 i {
    color: #3498db;
    margin-right: 0.4rem;
}

.close-popup-btn {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.close-popup-btn:hover {
    background: #f8f9fa;
    color: #495057;
}

.popup-subtitle {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.city-info-compact {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid #3498db;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    color: #495057;
    font-weight: 500;
}

.info-label i {
    color: #3498db;
    margin-right: 0.3rem;
    width: 12px;
}

.info-value {
    color: #2c3e50;
    font-weight: 600;
}

.popup-actions {
    text-align: center;
}

.explore-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.explore-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
}

.history-btn {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.history-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
}

/* Modal da História */
.history-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-header h3 i {
    color: #27ae60;
    margin-right: 0.5rem;
}

.close-modal {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.close-modal:hover {
    background: #f8f9fa;
    color: #495057;
}

.modal-body {
    padding: 1.5rem;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.history-text h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
}

.history-text p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.qr-section {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #27ae60;
}

.qr-section h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.qr-section h4 i {
    color: #27ae60;
    margin-right: 0.5rem;
}

.qr-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.qr-loading {
    text-align: center;
    color: #6c757d;
}

.qr-loading i {
    font-size: 2rem;
    color: #27ae60;
    margin-bottom: 0.5rem;
}

.qr-info {
    color: #6c757d;
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
}

/* Barra de status */
.status-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

/* Estilos para camadas específicas */
.layer-bairros {
    fill: #3498db;
    fill-opacity: 0.3;
    stroke: #2980b9;
    stroke-width: 2;
    stroke-opacity: 0.8;
}

.layer-bairros:hover {
    fill-opacity: 0.6;
    stroke-width: 3;
}

.layer-estruturas {
    fill: #e74c3c;
    fill-opacity: 0.4;
    stroke: #c0392b;
    stroke-width: 1.5;
    stroke-opacity: 0.9;
}

.layer-estruturas:hover {
    fill-opacity: 0.7;
    stroke-width: 2.5;
}

.layer-monlevade {
    fill: #27ae60;
    fill-opacity: 0.2;
    stroke: #229954;
    stroke-width: 3;
    stroke-opacity: 0.9;
    stroke-dasharray: 5,5;
}

.layer-monlevade:hover {
    fill-opacity: 0.4;
    stroke-width: 4;
}

.layer-ruas {
    stroke: #f39c12;
    stroke-width: 2;
    stroke-opacity: 0.8;
}

.layer-ruas:hover {
    stroke-width: 4;
    stroke-opacity: 1;
}

.layer-nascentes {
    fill: #9b59b6;
    fill-opacity: 0.8;
    stroke: #8e44ad;
    stroke-width: 2;
    stroke-opacity: 1;
}

.layer-nascentes:hover {
    fill-opacity: 1;
    stroke-width: 3;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header h1 {
        font-size: 1.4rem;
    }
    
    .sidebar {
        position: fixed;
        left: -320px;
        top: 80px;
        height: calc(100vh - 80px);
        transform: translateX(0);
    }
    
    .sidebar.open {
        transform: translateX(320px);
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .layers-toggle-container {
        top: 15px;
        right: 15px;
        gap: 6px;
    }
    
    .layers-toggle-tooltip {
        padding: 6px 10px;
        font-size: 0.75rem;
        max-width: 150px;
    }
    
    .layers-toggle-tooltip span {
        display: none;
    }
    
    .layers-toggle-tooltip i {
        font-size: 1rem;
    }
    
    .layers-toggle {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-width: 50px;
        border-radius: 20px;
    }
    
    .layers-text {
        display: none;
    }
    
    .welcome-popup {
        max-width: 280px;
        padding: 1rem;
    }
    
    .popup-header h3 {
        font-size: 1rem;
    }
    
    .popup-subtitle {
        font-size: 0.8rem;
    }
    
    .info-row {
        font-size: 0.8rem;
    }
    
    .explore-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .history-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .history-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 90vh;
    }
    
    .qr-container {
        width: 150px;
        height: 150px;
    }
    
    .status-bar {
        flex-direction: column;
        gap: 0.3rem;
        font-size: 0.8rem;
    }
    
    .legend {
        top: 10px;
        right: 10px;
        min-width: 150px;
        padding: 0.8rem;
    }
    
    .legend h4 {
        font-size: 0.9rem;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
    
    .legend-color {
        width: 16px;
        height: 16px;
    }
    
    .analysis-results {
        top: 10px;
        left: 10px;
        min-width: 250px;
        max-width: 300px;
    }
    
    .results-content {
        max-height: 300px;
    }
    
    .result-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }
    
    .header h1 {
        font-size: 1.2rem;
    }
    
    .device-toggle {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .mode-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .sidebar-toggle {
        top: 120px;
        left: 10px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .layers-toggle-container {
        top: 10px;
        right: 10px;
        gap: 4px;
    }
    
    .layers-toggle-tooltip {
        padding: 4px 8px;
        font-size: 0.7rem;
        max-width: 120px;
    }
    
    .layers-toggle {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 45px;
        border-radius: 18px;
    }
    
    .legend {
        display: none; /* Ocultar legenda em telas muito pequenas */
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-popup {
    animation: fadeIn 0.5s ease-out;
}

/* Estilos para popups do Leaflet */
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-content {
    margin: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.leaflet-popup-tip {
    background: white;
}

/* Legenda */
.legend {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 200px;
    border: 2px solid #e0e0e0;
}

.legend h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.legend h4 i {
    margin-right: 0.5rem;
    color: #3498db;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #495057;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 0.8rem;
    border: 1px solid #ddd;
}

/* Controles de Análise Espacial */
.analysis-controls {
    margin-bottom: 1rem;
}

.analysis-controls label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.analysis-select {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    transition: border-color 0.3s ease;
}

.analysis-select:focus {
    outline: none;
    border-color: #3498db;
}

.analysis-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.analysis-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.analysis-btn.secondary {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

.analysis-btn.secondary:hover {
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.4);
}

.analysis-status {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.analysis-status p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
}

.analysis-status p i {
    color: #3498db;
    margin-right: 0.5rem;
}

/* Painel de Resultados */
.analysis-results {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 300px;
    max-width: 400px;
    border: 2px solid #e0e0e0;
    display: none;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 2px solid #e9ecef;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px 8px 0 0;
}

.results-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.results-header h4 i {
    margin-right: 0.5rem;
}

.close-results {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.close-results:hover {
    background: rgba(255, 255, 255, 0.2);
}

.results-content {
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.no-results {
    color: #6c757d;
    text-align: center;
    font-style: italic;
}

.result-item {
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.result-item h5 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1rem;
}

.result-item p {
    margin: 0.3rem 0;
    color: #495057;
    font-size: 0.9rem;
}

.result-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.stat-item {
    background: white;
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #3498db;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Botão de análise nos popups */
.analyze-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    margin-top: 0.8rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Estilos para controles do Leaflet */
.leaflet-control-zoom {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.leaflet-control-zoom a {
    border-radius: 8px;
    margin: 2px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.leaflet-control-zoom a:hover {
    background: #3498db;
    color: white;
} 