body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    color: #333;
    text-align: center;
    font-family: Arial, sans-serif;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.input-group label {
    margin-right: 5px;
}

.input-group input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    flex: 1;
    min-width: 150px;
}

.input-group button {
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.input-group button:hover {
    background-color: #45a049;
}

#map {
    height: 400px;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 4px;
}

.resultados {
    margin-top: 20px;
}

.resultado-item {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    border-left: 4px solid #4CAF50;
    font-family: 'Courier New';
}

.resultado-item h3 {
    margin-top: 0;
    color: #333;
    font-family: 'Courier New';
}

.calle-cercana {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.calle-cercana:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}


    .tabla-avanzada {
        display: table;
        width: 100%;
        border: 2px solid #333;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .fila-titulo {
        display: table-row;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }
    
    .celda-titulo {
        display: table-cell;
        padding: 15px;
        text-align: center;
        font-weight: bold;
        border-right: 1px solid #555;
        width: 25%;
    }
    
    .celda-titulo:last-child {
        border-right: none;
    }
    
    .fila-datos {
        display: table-row;
        transition: background-color 0.3s;
        width: 25%;
    }
    
    .fila-datos:nth-child(even) {
        background-color: #f8f9fa;
               width: 25%;
    }
    
    .fila-datos:hover {
        background-color: #e3f2fd;
               width: 25%;
    }
    
    .celda-datos {
        display: table-cell;
        padding: 12px;
        border-bottom: 1px solid #ddd;
        border-right: 1px solid #ddd;
        text-align: center;
        width: 25%;
        }
    
    .celda-datos:last-child {
        border-right: none;
    }